/* ── RESET & BASE ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0a0f;
  --surface:   #111118;
  --surface2:  #18181f;
  --border:    rgba(255,255,255,0.08);
  --accent:    #e8ff47;
  --accent2:   #7c5cfc;
  --text:      #f0f0f5;
  --muted:     #8888a0;
  --radius:    12px;
  --radius-lg: 20px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0f;
  font-weight: 700;
}
.btn-primary:hover { background: #d4eb2a; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(232,255,71,0.25); }

.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); }

.btn-nav {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 9px 18px;
  font-size: 14px;
}
.btn-nav:hover { border-color: rgba(255,255,255,0.2); background: #22222e; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  width: 100%;
  justify-content: center;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.25); background: var(--surface2); }

.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: #22222e; transform: translateY(-1px); }

.btn-large { padding: 15px 28px; font-size: 16px; }

/* ── NAV ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}

.logo-mark {
  display: block;
  width: 26px; height: 26px;
  background: var(--accent);
  border-radius: 6px;
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: var(--bg);
  border-radius: 3px;
}
.logo-mark.small { width: 20px; height: 20px; border-radius: 5px; }
.logo-mark.small::after { inset: 4px; }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ── HERO ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 120px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,255,71,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,255,71,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(232,255,71,0.08);
  border: 1px solid rgba(232,255,71,0.2);
  border-radius: 100px;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 28px;
  font-weight: 500;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.highlight {
  color: var(--accent);
  position: relative;
}

.hero-sub {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-note {
  color: var(--muted);
  font-size: 13px;
}

/* ── APP WINDOW MOCKUP ────────────────────────── */
.hero-visual {
  position: relative;
  z-index: 1;
}

.app-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.window-title {
  margin-left: 12px;
  font-size: 12px;
  color: var(--muted);
}

.window-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 280px;
}

.sidebar {
  padding: 16px 10px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-item {
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.sidebar-item.active {
  background: rgba(232,255,71,0.1);
  color: var(--accent);
  font-weight: 600;
}
.sidebar-item:hover:not(.active) { background: var(--surface2); color: var(--text); }

.main-panel { padding: 18px; }

.panel-header {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.stat-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 12px;
}
.stat-card.accent { border-color: rgba(232,255,71,0.25); background: rgba(232,255,71,0.06); }
.stat-num { font-family: var(--font-head); font-size: 20px; font-weight: 800; }
.stat-card.accent .stat-num { color: var(--accent); }
.stat-label { font-size: 10px; color: var(--muted); margin-top: 2px; }

.chart-area {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 80px;
}
.chart-bar {
  flex: 1;
  height: var(--h);
  background: var(--surface2);
  border-radius: 4px 4px 0 0;
  border: 1px solid var(--border);
  transition: opacity 0.2s;
}
.chart-bar.accent { background: rgba(232,255,71,0.25); border-color: rgba(232,255,71,0.4); }

/* ── LOGOS ────────────────────────────────────── */
.logos {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 40px;
  text-align: center;
}
.logos-label { font-size: 13px; color: var(--muted); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.1em; }
.logos-row { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo-pill {
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--muted);
}

/* ── SHARED SECTION STYLES ────────────────────── */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

/* ── FEATURES ─────────────────────────────────── */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}
.feature-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}
.feature-card.large { grid-column: span 2; }
.feature-card.large.right { grid-column: span 2; }

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }

.feature-tag {
  position: absolute;
  top: 24px; right: 24px;
  padding: 4px 12px;
  background: rgba(124,92,252,0.15);
  border: 1px solid rgba(124,92,252,0.3);
  border-radius: 100px;
  font-size: 12px;
  color: #b09ffc;
  font-weight: 600;
}

/* ── HOW IT WORKS ─────────────────────────────── */
.how {
  padding: 100px 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.steps { display: flex; flex-direction: column; gap: 0; text-align: left; }

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step-divider {
  width: 2px;
  height: 32px;
  background: var(--border);
  margin: 0 0 0 50px;
}

.step-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  min-width: 48px;
}

.step-body h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-body p { color: var(--muted); }

/* ── TESTIMONIALS ─────────────────────────────── */
.testimonials {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testimonial-card.featured {
  background: var(--surface2);
  border-color: rgba(232,255,71,0.15);
  transform: translateY(-12px);
}

.quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-card.featured .quote { color: var(--text); }

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  color: var(--muted);
}
.testimonial-card.featured .author-avatar {
  background: rgba(232,255,71,0.1);
  border-color: rgba(232,255,71,0.2);
  color: var(--accent);
}

.author-name { font-weight: 600; font-size: 14px; }
.author-role { font-size: 12px; color: var(--muted); }

/* ── PRICING ──────────────────────────────────── */
.pricing {
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.pricing-card.featured {
  background: var(--surface2);
  border-color: rgba(232,255,71,0.2);
  transform: translateY(-8px);
}

.plan-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.plan-price {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
}
.plan-price span { font-size: 18px; color: var(--muted); font-weight: 400; }

.plan-desc { font-size: 14px; color: var(--muted); margin-bottom: 24px; line-height: 1.6; }

.plan-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-card.featured .btn-primary { background: var(--accent); color: var(--bg); }

/* ── CTA ──────────────────────────────────────── */
.cta {
  padding: 80px 40px;
}
.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,255,71,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner h2 {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.cta-inner > p { color: var(--muted); font-size: 17px; margin-bottom: 36px; }

.cta-buttons { display: flex; justify-content: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }

.cta-note { font-size: 13px; color: var(--muted); }

/* ── FOOTER ───────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 40px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
}

.footer-links { display: flex; gap: 60px; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.col-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }

/* ── SCROLL ANIMATIONS ────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
