/* -------------------------------------
   HEADER / NAV
------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  height: 64px;
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, backdrop-filter .3s;
}
.header.scrolled {
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}
.nav {
  display: flex; align-items: center; gap: 32px;
  width: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; }
.nav-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }

/* -------------------------------------
   HERO
------------------------------------- */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,112,243,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
}
.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px; position: relative;
}
.hero-proof {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; position: relative;
}
.avatars { display: flex; }

/* -------------------------------------
   HERO WINDOW
------------------------------------- */
.hero-window {
  position: relative; margin: 64px auto 0;
  max-width: 860px; border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface2);
  box-shadow: 0 0 0 1px var(--border), 0 30px 80px rgba(0,0,0,.7);
  overflow: hidden;
}
.win-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #0d0d0d; border-bottom: 1px solid var(--border);
}
.win-body {
  display: grid; grid-template-columns: 160px 1fr;
  min-height: 220px;
}
.win-sidebar {
  background: rgba(0,0,0,.3); border-right: 1px solid var(--border);
  padding: 16px 12px; display: flex; flex-direction: column; gap: 4px;
}
.win-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.win-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.win-stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px;
}
.win-chart { display: flex; align-items: flex-end; gap: 6px; height: 72px; }

/* -------------------------------------
   LOGOS
------------------------------------- */
.logos {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0; background: var(--surface);
}

/* -------------------------------------
   SECTIONS
------------------------------------- */
.section { padding: 100px 0; }
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
.feat { background: var(--surface); padding: 36px 32px; transition: background .25s; }
.feat:hover { background: var(--surface2); }

/* -------------------------------------
   METRICS
------------------------------------- */
.metrics {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.metrics-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 40px; text-align: center;
}

/* -------------------------------------
   PRICING
------------------------------------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px; align-items: start;
}
.plan {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px;
  transition: border-color .2s;
}
.plan:hover { border-color: #333; }
.plan.featured {
  background: var(--surface2);
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 20px 60px rgba(0,112,243,.12);
  position: relative;
}
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 28px; }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: .875rem; color: var(--muted);
}
.plan-features li svg { color: #28c840; flex-shrink: 0; }

/* -------------------------------------
   CTA
------------------------------------- */
.cta-section { padding: 100px 0; }
.cta-box {
  position: relative; text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 80px 40px; overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 350px;
  background: radial-gradient(ellipse, rgba(0,112,243,.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-actions {
  display: flex; justify-content: center;
  gap: 12px; flex-wrap: wrap; position: relative;
}

/* -------------------------------------
   FOOTER
------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 26px; width: auto; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--subtle); transition: color .2s; }
.footer-social a:hover { color: #ededed; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 12px;
}
.footer-legal { display: flex; gap: 24px; }

/* -------------------------------------
   RESPONSIVE
------------------------------------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .metrics-grid  { grid-template-columns: repeat(2,1fr); }
  .pricing-grid  { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .win-body      { grid-template-columns: 1fr; }
  .win-sidebar   { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .metrics-grid  { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .lang-toggle { display: inline-flex; }
  .hero { padding: 120px 0 80px; }
  .cta-box { padding: 48px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
