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

:root {
  --bg: #080c14;
  --bg2: #0d1320;
  --surface: #111827;
  --surface2: #1a2236;
  --border: rgba(255,255,255,0.07);
  --green: #00f5a0;
  --cyan: #00d9f5;
  --purple: #a259ff;
  --pink: #ff6b9d;
  --gold: #ffd200;
  --text: #f0f4ff;
  --text-muted: #8896b0;
  --text-dim: #4a5568;
  --radius: 16px;
  --radius-lg: 24px;
  --glow-green: 0 0 40px rgba(0,245,160,0.25);
  --glow-purple: 0 0 40px rgba(162,89,255,0.25);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow { max-width: 780px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #030a05;
  box-shadow: 0 4px 20px rgba(0,245,160,0.3);
}
.btn-primary:hover {
  box-shadow: 0 8px 40px rgba(0,245,160,0.5);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}
.btn-outline:hover {
  background: rgba(0,245,160,0.1);
  box-shadow: 0 0 20px rgba(0,245,160,0.2);
}
.btn-elite {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  box-shadow: 0 4px 20px rgba(162,89,255,0.3);
}
.btn-elite:hover {
  box-shadow: 0 8px 40px rgba(162,89,255,0.5);
  transform: translateY(-2px);
}
.btn-nav {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #030a05;
  padding: 0.55rem 1.3rem;
  font-size: 0.88rem;
}
.btn-large { padding: 1rem 2.4rem; font-size: 1.05rem; }

/* ===== SECTION COMMON ===== */
.section { padding: 7rem 0; }
.section-dark { background: var(--bg2); }
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.section-title {
  margin-bottom: 1rem;
  color: var(--text);
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0 auto 4rem auto;
  max-width: 560px;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(8,12,20,0.85);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo strong { color: var(--green); }
.logo-icon { font-size: 1.6rem; filter: drop-shadow(0 0 8px var(--green)); }
.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 0.4rem 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 8rem 6vw 6rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,245,160,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,160,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(var(--green), transparent); top: -200px; right: -100px; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(var(--purple), transparent); bottom: -100px; left: -100px; animation-delay: -3s; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(var(--cyan), transparent); top: 40%; left: 30%; animation-delay: -5s; opacity: 0.15; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.hero-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,245,160,0.08);
  border: 1px solid rgba(0,245,160,0.2);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title { margin-bottom: 1.5rem; }
.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 2.5rem;
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  font-family: var(--font);
  line-height: 1;
}
.stat-num + span {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== HERO VISUAL / TERMINAL ===== */
.hero-visual {
  flex: 1;
  min-width: 0;
  max-width: 540px;
  position: relative;
  z-index: 2;
}
.dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), var(--glow-green);
  animation: card-float 6s ease-in-out infinite;
}
@keyframes card-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(0deg); }
}
.dc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.dc-dot { width: 12px; height: 12px; border-radius: 50%; }
.dc-dot.green { background: #00f5a0; }
.dc-dot.yellow { background: #ffd200; }
.dc-dot.red { background: #ff5f57; }
.dc-title { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-left: 0.5rem; font-family: var(--font-mono); }
.dc-body {
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.terminal-line { opacity: 0.85; }
.terminal-line:last-child { opacity: 1; }
.t-time { color: var(--text-dim); }
.t-green { color: var(--green); }
.t-yellow { color: var(--gold); }
.t-cyan { color: var(--cyan); }
.blink-line::after { content: ''; display: inline-block; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.blink-line { animation: blink 1.2s ease infinite; }
.dc-footer {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
}
.pnl-box {
  flex: 1;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-right: 1px solid var(--border);
}
.pnl-box:last-child { border-right: none; }
.pnl-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.pnl-value { font-size: 1rem; font-weight: 700; font-family: var(--font-mono); color: var(--text); }
.pnl-value.positive { color: var(--green); }

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
}
.product-card:hover {
  border-color: rgba(0,245,160,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(0,245,160,0.1);
}
.product-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 20%, transparent), color-mix(in srgb, var(--c2) 20%, transparent));
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
}
.product-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #030a05;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
}
.feature-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.feature-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.feature-list li::first-letter { color: var(--green); }
.card-btn { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ===== STEPS ===== */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
}
.step-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}
.step-card:hover {
  border-color: rgba(0,245,160,0.25);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.step-arrow {
  font-size: 1.5rem;
  color: var(--text-dim);
  padding: 0 0.5rem;
  flex-shrink: 0;
}
.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.step-card h4 { color: var(--text); }
.step-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); }
.featured-testimonial {
  border-color: rgba(0,245,160,0.3);
  background: linear-gradient(135deg, rgba(0,245,160,0.04), rgba(0,217,245,0.04));
  box-shadow: var(--glow-green);
}
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.testimonial-card > p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.5rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #030a05;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--text-muted); }

/* ===== CHART ===== */
.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.chart-title { font-weight: 700; font-size: 1rem; }
.chart-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.chart-badge {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #030a05;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}
.chart-svg { width: 100%; height: auto; }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-featured {
  border-color: rgba(0,245,160,0.4);
  background: linear-gradient(160deg, rgba(0,245,160,0.05) 0%, rgba(0,0,0,0) 60%);
  box-shadow: var(--glow-green);
  transform: scale(1.02);
}
.pricing-featured:hover { transform: scale(1.02) translateY(-4px); }
.pricing-elite { border-color: rgba(162,89,255,0.3); }
.plan-popular {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #030a05;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 1.2rem;
}
.elite-badge {
  background: linear-gradient(135deg, var(--purple), var(--pink)) !important;
  color: #fff !important;
}
.plan-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.plan-price {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}
.currency { font-size: 1.5rem; font-weight: 700; align-self: flex-start; margin-top: 0.5rem; }
.per { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.plan-save {
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-left: 0.5rem;
  align-self: center;
}
.plan-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.plan-features li { font-size: 0.88rem; color: var(--text-muted); }
.plan-features li.disabled { color: var(--text-dim); }
.plan-features li:not(.disabled) { color: var(--text); }
.pricing-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(0,245,160,0.2); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 1rem;
}
.faq-arrow { font-size: 1.2rem; color: var(--green); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-a {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.cta-orb {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(var(--green), transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.06;
  filter: blur(60px);
  pointer-events: none;
}

/* ===== FOOTER ===== */
.footer {
  background: #050911;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: flex;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-brand {
  flex: 1;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 1rem;
  max-width: 260px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 3rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col strong {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-disclaimer { color: var(--text-dim); font-size: 0.75rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero { flex-direction: column; padding: 7rem 5vw 4rem; text-align: center; }
  .hero-sub { margin: 0 auto 2.5rem; }
  .hero-cta-group { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { width: 100%; max-width: 100%; }
  .products-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-featured { transform: scale(1); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .footer-top { flex-direction: column; gap: 2rem; }
}
@media (max-width: 768px) {
  .section { padding: 5rem 0; }
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .nav-hamburger { display: block; }
  .hero-stats { gap: 1rem; }
  .chart-header { flex-direction: column; gap: 1rem; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
}
