:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e6e3;
  --fg-muted: #8a8a97;
  --fg-dim: #5a5a67;
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.15);
  --accent-bright: #818cf8;
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.1);
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(99, 102, 241, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent-bright), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
}

.orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  top: 15%;
  right: -10%;
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  top: 40%;
  right: 15%;
  animation-delay: -4s;
  animation-duration: 10s;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, black 20%, transparent 70%);
}

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

/* ===== PROBLEM ===== */
.problem {
  padding: 120px 40px;
  background: var(--bg);
}

.problem-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 20px;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.comparison {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.comp-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: var(--radius-lg);
}

.comp-left {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.comp-right {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.comp-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.comp-left .comp-icon {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-bright);
}

.comp-right .comp-icon {
  background: var(--gold-glow);
  color: var(--gold);
}

.comp-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.comp-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.comp-verdict {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-dim);
  letter-spacing: 0.5px;
}

.comp-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  gap: 8px;
}

.divider-line {
  width: 1px;
  flex: 1;
  background: var(--border);
}

.divider-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.problem-conclusion {
  margin-top: 48px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
  text-align: center;
}

/* ===== ARCHITECTURE ===== */
.architecture {
  padding: 120px 40px;
  background: var(--bg-elevated);
}

.arch-inner {
  max-width: 800px;
  margin: 0 auto;
}

.architecture h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.arch-subtitle {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 64px;
  max-width: 600px;
}

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

.arch-node {
  display: flex;
  gap: 32px;
  padding: 36px 0;
}

.node-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  min-width: 72px;
}

.node-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.node-content p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.arch-connector {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--border-accent), transparent);
  margin-left: 36px;
}

/* ===== TIERS ===== */
.tiers {
  padding: 120px 40px;
  background: var(--bg);
}

.tiers-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.tiers h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: border-color 0.3s;
}

.tier-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.tier-featured {
  border-color: var(--border-accent);
  background: linear-gradient(to bottom, rgba(99, 102, 241, 0.04), var(--bg-card));
}

.tier-featured:hover {
  border-color: var(--accent);
}

.tier-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 16px;
}

.tier-featured .tier-tag {
  color: var(--accent-bright);
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.tier-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg-muted);
}

.tier-card p {
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== CLOSING ===== */
.closing {
  padding: 160px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.closing-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--fg-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    padding: 100px 24px 60px;
    min-height: auto;
  }

  .hero-visual {
    width: 100%;
    opacity: 0.5;
  }

  .problem { padding: 80px 24px; }

  .comparison {
    flex-direction: column;
    gap: 16px;
  }

  .comp-left, .comp-right {
    border-radius: var(--radius-lg) !important;
  }

  .comp-divider {
    flex-direction: row;
    padding: 4px 0;
  }

  .divider-line {
    width: auto;
    height: 1px;
    flex: 1;
  }

  .architecture { padding: 80px 24px; }

  .arch-node {
    flex-direction: column;
    gap: 12px;
  }

  .node-number {
    font-size: 2rem;
    min-width: auto;
  }

  .arch-connector {
    margin-left: 0;
    height: 20px;
  }

  .tiers { padding: 80px 24px; }

  .tier-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .closing { padding: 100px 24px; }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}