:root {
  --bg: #0a0d0f;
  --bg2: #0f1417;
  --surface: #141a1f;
  --surface2: #1a2229;
  --teal: #00e5b8;
  --teal-dim: #00b893;
  --teal-glow: rgba(0, 229, 184, 0.15);
  --teal-glow2: rgba(0, 229, 184, 0.06);
  --yellow: #f5c842;
  --text: #e8eef2;
  --text-muted: #7a8f9e;
  --text-dim: #8cb4ac;
  --border: rgba(0, 229, 184, 0.12);
  --border2: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --radius-lg: 20px;

  /* Fonts */
  --main: "Rubik";
  --supp: "Quantico";
  --ms: "Montserrat";
  --rbk: "Rubik";
  --tech: "Rubik Glitch";
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NOISE OVERLAY */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", monospace;
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

.nav-logo-text {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.nav-logo-text span {
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--teal);
  color: #000 !important;
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 500 !important;
  font-size: 14px;
  transition:
    background 0.2s,
    transform 0.15s !important;
}

.nav-cta:hover {
  background: #00ffd0 !important;
  transform: translateY(-1px);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Glow orb */
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(0, 229, 184, 0.12) 0%,
    transparent 65%
  );
  pointer-events: none;
}

/* Grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 184, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    black 0%,
    transparent 100%
  );
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  font-size: 12px;
  font-family: "Space Grotesk", monospace;
  color: var(--teal);
  margin-bottom: 32px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero h1 {
  font-family: var(--main), sans-serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 900px;
  position: relative;
}

.hero h1 .teal {
  color: var(--teal);
}
.hero h1 .tundum {
  position: relative;
  display: inline-block;
  font-family: var(--main), sans-serif;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.068em;
}

.hero h1 .tundum::before {
  left: -1px;
}
.hero h1 .tundum::after {
  left: 1px;
}
.hero h1 .tundum::before,
.hero h1 .tundum::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  width: 100%;
  font-family: var(--tech), sans-serif;
  font-weight: 100;
  opacity: 1;
  letter-spacing: 0.04em;
}

@keyframes glitchSliceTop {
  0%,
  70%,
  100% {
    opacity: 0;
    transform: translateX(0);
  }
  71% {
    opacity: 0.6;
    transform: translateX(-1px);
  }
  73% {
    opacity: 0.6;
    transform: translateX(-3px);
  }
  75% {
    opacity: 0.6;
    transform: translateX(-2px);
  }
  77% {
    opacity: 0.6;
    transform: translateX(-1px);
  }
  79% {
    opacity: 0.6;
    transform: translateX(-2px);
  }
}
@keyframes glitchSliceBottom {
  0%,
  70%,
  100% {
    opacity: 0;
    transform: translateX(0);
  }
  71%,
  73%,
  75%,
  77%,
  79% {
    opacity: 1;
    transform: translateX(2px);
  }
}

@keyframes disappear {
  0%,
  70%,
  100% {
    color: var(--teal);
  }
  71%,
  73%,
  75%,
  77%,
  79% {
    color: transparent;
  }
}
.hero h1 .tundum::before {
  animation: glitchSliceTop 5s infinite;
  color: #ff11f1;
}
.hero h1 .tundum::after {
  animation: glitchSliceBottom 5s infinite;
  color: var(--teal);
}
.hero h1 .tundum {
  animation: disappear 5s infinite;
  color: var(--teal);
}
.hero h1 .borderline {
  color: var(--text-dim);
}

.hero-sub {
  margin-top: 24px;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: #000;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  box-shadow: 0 0 40px rgba(0, 229, 184, 0.3);
}

.btn-primary:hover {
  background: #00ffd0;
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(0, 229, 184, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid var(--border2);
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--border);
  background: var(--teal-glow2);
}

/* SCREENSHOT */
.hero-screenshot {
  margin-top: 64px;
  position: relative;
  max-width: 900px;
  width: 100%;
}

.screenshot-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60px;
  background: radial-gradient(
    ellipse,
    rgba(0, 229, 184, 0.25) 0%,
    transparent 70%
  );
  filter: blur(20px);
}

.screenshot-frame {
  background: var(--surface);
  border: 1px solid rgba(0, 229, 184, 0.2);
  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);
}

.screenshot-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border2);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-r {
  background: #ff5f57;
}
.dot-y {
  background: #ffbd2e;
}
.dot-g {
  background: #28c840;
}

.screenshot-body {
  padding: 0;
  display: grid;
  grid-template-columns: 280px 1fr 240px;
  min-height: 320px;
  font-size: 12px;
}

.ss-col {
  padding: 20px;
  border-right: 1px solid var(--border2);
}
.ss-col:last-child {
  border-right: none;
}

.ss-label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.ss-field {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: "DM Mono", monospace;
  overflow: hidden;
}

.ss-btn {
  background: var(--teal);
  color: #000;
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  margin-top: 12px;
}

.ss-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

.ss-node {
  width: 52px;
  height: 52px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.ss-node.active {
  border-color: var(--teal);
  background: var(--teal-glow2);
  box-shadow: 0 0 20px rgba(0, 229, 184, 0.2);
}

.ss-arrow {
  color: var(--text-dim);
  font-size: 14px;
}

.ss-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border2);
  font-size: 11px;
}
.ss-stat:last-child {
  border-bottom: none;
}
.ss-stat-label {
  color: var(--text-muted);
}
.ss-stat-val {
  color: var(--teal);
  font-family: "DM Mono", monospace;
}

/* STATS BAR */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 40px 48px;
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  background: var(--bg2);
}

.stat-item {
  flex: 1;
  max-width: 200px;
  text-align: center;
  padding: 0 40px;
  border-right: 1px solid var(--border2);
}
.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: "Syne", sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* SECTION */
section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.section-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
  background: var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 36px 32px;
  position: relative;
  transition: background 0.25s;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  background: var(--surface2);
}
.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-glow);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.feature-title {
  font-family: "Syne", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* HOW IT WORKS */
.how-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

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

.step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border2);
  cursor: pointer;
  transition: all 0.2s;
}

.step:last-child {
  border-bottom: none;
}
.step:hover .step-content h3 {
  color: var(--teal);
}

.step-num {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--text-dim);
  width: 24px;
  padding-top: 4px;
  flex-shrink: 0;
}

.step-content h3 {
  font-family: "Syne", sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* Terminal */
.terminal {
  background: #050709;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 229, 184, 0.08);
}

.terminal-bar {
  padding: 12px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-title {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--text-dim);
  margin-left: auto;
  margin-right: auto;
}

.terminal-body {
  padding: 24px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.9;
}

.t-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.t-prompt {
  color: var(--teal);
  flex-shrink: 0;
}
.t-cmd {
  color: var(--text);
}
.t-out {
  color: #4a9;
  padding-left: 0;
}
.t-info {
  color: var(--text-dim);
}
.t-success {
  color: var(--teal);
}
.t-yellow {
  color: var(--yellow);
}

.cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--teal);
  animation: blink 1s step-end infinite;
  vertical-align: -2px;
  margin-left: 2px;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition:
    transform 0.2s,
    border-color 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 184, 0.2);
}

.pricing-card.featured {
  border-color: var(--teal);
  background: linear-gradient(
    135deg,
    var(--surface2) 0%,
    rgba(0, 229, 184, 0.05) 100%
  );
  box-shadow: 0 0 60px rgba(0, 229, 184, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-tier {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.pricing-price {
  font-family: "Syne", sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-period {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check {
  color: var(--teal);
  flex-shrink: 0;
}
.cross {
  color: var(--text-dim);
  flex-shrink: 0;
}

.btn-pricing {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-pricing-primary {
  background: var(--teal);
  color: #000;
  box-shadow: 0 0 30px rgba(0, 229, 184, 0.3);
}

.btn-pricing-primary:hover {
  background: #00ffd0;
  transform: translateY(-1px);
}

.btn-pricing-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}

.btn-pricing-secondary:hover {
  border-color: var(--border);
  background: var(--teal-glow2);
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s;
}

.testimonial:hover {
  border-color: var(--border);
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 20px;
  font-style: italic;
}

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

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: var(--surface2);
  border: 1px solid var(--border2);
}

.author-name {
  font-family: "Syne", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.author-role {
  font-size: 12px;
  color: var(--text-dim);
  font-family: "DM Mono", monospace;
}

.stars {
  color: var(--yellow);
  font-size: 12px;
  margin-bottom: 14px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 48px;
  max-width: 720px;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  padding: 22px 28px;
  font-family: "Syne", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--teal);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  color: var(--teal);
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer-inner {
  padding: 0 28px 22px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* CTA SECTION */
.cta-section {
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(0, 229, 184, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-section h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 300;
}

/* FOOTER */
footer {
  padding: 48px;
  border-top: 1px solid var(--border2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
  font-family: "DM Mono", monospace;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-muted);
}
/* RESPONSIVE */
@media (max-width: 900px) {
  nav {
    padding: 16px 24px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding: 100px 24px 60px;
  }
  section {
    padding: 60px 24px;
  }
  .features-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .how-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-bar {
    flex-wrap: wrap;
    gap: 32px;
  }
  .stat-item {
    border-right: none;
  }
  .screenshot-body {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    text-align: center;
  }
}
