@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --brand: #CCFF00;
  --brand-dim: #9ECC00;
  --brand-soft: rgba(204, 255, 0, 0.12);
  --brand-glow: rgba(204, 255, 0, 0.35);
  --blue: #00D4FF;
  --blue-soft: rgba(0, 212, 255, 0.12);
  --coral: #FF6B35;
  --bg: #06080C;
  --bg-2: #0A0E14;
  --surface: #121820;
  --surface-2: #1A2230;
  --text: #E8EDF5;
  --muted: #8B9BB5;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 72px;
  --max: 1180px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--brand); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue); }

img, svg { max-width: 100%; height: auto; display: block; }

.container { width: min(var(--max), 92vw); margin: 0 auto; }

/* ─── Background mesh ─── */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 45% at 85% 5%, rgba(204, 255, 0, 0.09), transparent),
    radial-gradient(ellipse 50% 40% at 5% 95%, rgba(0, 212, 255, 0.07), transparent),
    var(--bg);
  pointer-events: none;
}

/* ─── Nav ─── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(6, 8, 12, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--text);
}
.brand-link img { height: 38px; width: auto; }

.brand-mark {
  height: 38px;
  width: 38px;
  flex-shrink: 0;
}
.brand-wordmark {
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.login-logo-svg {
  width: min(200px, 70vw);
  height: auto;
  margin: 0 auto 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); background: var(--brand-soft); }

.nav-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  font-family: inherit;
  text-align: center;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dim));
  color: #06080C;
  box-shadow: 0 4px 24px var(--brand-glow);
}
.btn-primary:hover { color: #06080C; box-shadow: 0 6px 32px var(--brand-glow); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-blue {
  background: linear-gradient(135deg, var(--blue), #0099CC);
  color: #06080C;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ─── Hero ─── */
.hero {
  padding: 72px 0 48px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(204, 255, 0, 0.25);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--brand), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1.2;
}
.hero-stat span { font-size: 0.8rem; color: var(--muted); }

.hero-visual {
  position: relative;
}
.hero-visual img {
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
}

.float-badge {
  position: absolute;
  bottom: 24px;
  left: -16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow, 0 8px 32px rgba(0,0,0,0.4));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── Sections ─── */
section { padding: 72px 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.15;
}

.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 40px;
}

/* ─── Cards ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.glass-card {
  background: rgba(18, 24, 32, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s;
  backdrop-filter: blur(8px);
}
.glass-card:hover {
  border-color: rgba(204, 255, 0, 0.35);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.card-icon.lime { background: var(--brand-soft); }
.card-icon.blue { background: var(--blue-soft); }
.card-icon.coral { background: rgba(255, 107, 53, 0.15); }

.glass-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
}
.glass-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ─── Role cards ─── */
.role-card {
  text-align: center;
  padding: 36px 24px;
}
.role-card img {
  margin: 0 auto 20px;
  border-radius: var(--radius-sm);
  max-height: 200px;
  object-fit: contain;
}

/* ─── Steps ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px 24px 24px 64px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #06080C;
  font-weight: 900;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h4 { margin: 0 0 8px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ─── Plans ─── */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.plan-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand-glow), 0 16px 48px rgba(0,0,0,0.3);
  position: relative;
}
.plan-card .tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--brand);
  color: #06080C;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.plan-card h3 { margin: 0 0 8px; font-size: 1.3rem; font-weight: 900; }
.plan-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand);
  margin: 12px 0 4px;
}
.plan-price small { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  flex: 1;
}
.plan-card li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.plan-card li::before { content: '✓'; color: var(--brand); font-weight: 800; flex-shrink: 0; }

/* ─── Quote / testimonial ─── */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.quote {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border-left: 4px solid var(--brand);
}
.quote p { margin: 0 0 16px; font-style: italic; color: var(--text); }
.quote cite { font-size: 0.85rem; color: var(--muted); font-style: normal; font-weight: 600; }

/* ─── CTA band ─── */
.cta-band {
  margin: 48px 0;
  padding: 56px 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(204,255,0,0.15), rgba(0,212,255,0.1));
  border: 1px solid rgba(204, 255, 0, 0.25);
  text-align: center;
}
.cta-band h2 { margin: 0 0 12px; font-size: 2rem; font-weight: 900; }
.cta-band p { color: var(--muted); margin: 0 0 28px; font-size: 1.05rem; }
.cta-band .btn { margin: 0 6px; }

/* ─── Feature detail (inner pages) ─── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-list { list-style: none; padding: 0; margin: 20px 0 0; }
.feature-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--muted);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

/* ─── Download cards ─── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.download-card {
  text-align: center;
  padding: 40px 28px;
}
.download-card .platform-icon { font-size: 3rem; margin-bottom: 16px; }

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-top: 48px;
  background: rgba(6, 8, 12, 0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 280px; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  padding: 6px 0;
  font-weight: 500;
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── Page header (inner) ─── */
.page-hero {
  padding: 56px 0 32px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; margin: 0 0 16px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

/* ─── Mobile ─── */
@media (max-width: 900px) {
  .hero-grid, .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  .hero-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg-2);
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ─── FAQ accordion ─── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--surface);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.faq-q:hover { color: var(--brand); }
.faq-q .icon { color: var(--brand); font-size: 1.2rem; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-item.open .faq-a { display: block; }
.faq-a a { font-weight: 600; }

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  text-align: center;
  padding: 36px 24px;
}
.contact-card .emoji { font-size: 2.5rem; margin-bottom: 12px; }
.contact-form {
  max-width: 560px;
  margin: 40px auto 0;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .form-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }
