*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080b10;
  --surface: #0e1420;
  --border: rgba(255, 255, 255, 0.07);
  --accent: #00e5ff;
  --accent2: #7c3aed;
  --accent3: #f59e0b;
  --text: #e8edf5;
  --muted: #6b7a96;
  --nav-h: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

/* ── CURSOR ── */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transition:
    transform 0.15s ease,
    opacity 0.2s;
  mix-blend-mode: screen;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition:
    transform 0.4s ease,
    width 0.3s,
    height 0.3s,
    border-color 0.3s;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 56px;
  height: 56px;
  border-color: rgba(0, 229, 255, 0.7);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 48px;
  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    border-bottom 0.4s ease,
    box-shadow 0.4s ease;
}
nav.scrolled {
  background: rgba(8, 11, 16, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span {
  color: var(--accent);
}
.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 229, 255, 0);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.25s;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 32px;
  background: var(--accent);
  color: #000 !important;
  padding: 10px 22px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s !important;
}
.nav-cta:hover {
  background: #33ecff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
  color: #000 !important;
}
.nav-cta::after {
  display: none !important;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}
.glow-1 {
  background: var(--accent);
  top: -200px;
  left: -100px;
}
.glow-2 {
  background: var(--accent2);
  bottom: -200px;
  right: -100px;
}
.glow-3 {
  background: var(--accent3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.07;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
  animation: fadeSlideDown 0.8s ease both;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
}

h1 {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 900px;
  animation: fadeSlideDown 0.9s 0.1s ease both;
}
h1 .accent {
  color: var(--accent);
}
h1 .highlight {
  position: relative;
  display: inline-block;
}
h1 .highlight::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  border-radius: 2px;
  opacity: 0.6;
}

.hero-sub {
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
  animation: fadeSlideDown 1s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeSlideDown 1.1s 0.3s ease both;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 229, 255, 0.35);
  background: #33ecff;
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  font-family: "DM Sans", sans-serif;
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 80px;
  animation: fadeSlideDown 1.2s 0.4s ease both;
  flex-wrap: wrap;
  justify-content: center;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
}
.stat-num span {
  color: var(--accent);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── SECTIONS ── */
section {
  padding: 120px 48px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}
h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 700px;
}
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
  margin-top: 16px;
}

/* FEATURES */
#features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-header {
  text-align: center;
  margin-bottom: 80px;
}
.features-header h2,
.features-header .section-sub {
  max-width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}
.feature-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* HOW IT WORKS */
#how-it-works {
  max-width: 1200px;
  margin: 0 auto;
}
.how-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 80px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
}
.step:first-child {
  padding-top: 0;
}
.step:last-child {
  border-bottom: none;
}
.step-num {
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  width: 32px;
  flex-shrink: 0;
  padding-top: 4px;
  transition: color 0.3s;
}
.step-content h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.step-content p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.step.active .step-num {
  color: var(--accent);
}
.step.active .step-content h3 {
  color: var(--accent);
}

.how-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.visual-content {
  text-align: center;
  animation: fadeIn 0.4s ease;
}
.visual-emoji {
  font-size: 4rem;
  margin-bottom: 20px;
}
.visual-title {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.visual-desc {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}
.visual-bar {
  margin-top: 28px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.visual-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  border-radius: 2px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* PRICING */
#pricing {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}
.pricing-header h2,
.pricing-header .section-sub {
  max-width: 100%;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.pricing-card.featured {
  border-color: var(--accent);
  position: relative;
  background: linear-gradient(160deg, rgba(0, 229, 255, 0.05), transparent);
}
.pricing-card:not(.featured):hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
}
.plan-name {
  font-family: "Syne", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.plan-price {
  font-family: "Syne", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}
.plan-price span {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--muted);
}
.plan-desc {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 32px;
}
.plan-features {
  list-style: none;
  margin-bottom: 36px;
}
.plan-features li {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* TESTIMONIALS */
#testimonials {
  max-width: 1200px;
  margin: 0 auto;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}
.testimonials-header h2,
.testimonials-header .section-sub {
  max-width: 100%;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s;
}
.testimonial:hover {
  transform: translateY(-4px);
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
  opacity: 0.85;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "Syne", sans-serif;
  flex-shrink: 0;
}
.author-name {
  font-weight: 600;
  font-size: 0.875rem;
}
.author-role {
  font-size: 0.8rem;
  color: var(--muted);
}
.stars {
  color: var(--accent3);
  font-size: 0.8rem;
  margin-bottom: 16px;
}

/* CTA */
#cta {
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.1),
    rgba(0, 229, 255, 0.05)
  );
  border-top: 1px solid var(--border);
}
#cta h2 {
  max-width: 100%;
  margin: 0 auto 16px;
}
#cta .section-sub {
  margin: 0 auto 48px;
}
.cta-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 20px;
}

/* FOOTER */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 48px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 12px;
}
.footer-col h4 {
  font-family: "Syne", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--muted);
}
.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ANIMATIONS */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav {
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .how-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  section {
    padding: 80px 24px;
  }
}
@media (max-width: 600px) {
  .hero-stats {
    gap: 28px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile nav open */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(8, 11, 16, 0.97);
  backdrop-filter: blur(20px);
  padding: 32px 24px;
  border-bottom: 1px solid var(--border);
  gap: 24px;
  z-index: 999;
}
