/* ============================================
   AlphaLens — Marketing Site Stylesheet
   Colors derived from thinkalpha.io palette
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cyan: #33E1F1;
  --mint: #9BFDCF;
  --green: #00d084;
  --dark: #0f0f0f;
  --dark-card: #171717;
  --dark-border: #262626;
  --text: #e5e5e5;
  --text-muted: #929292;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--mint), var(--cyan));
  --radius: 16px;
  --radius-lg: 24px;
}

/* --- Coming Soon Overlay --- */
#coming-soon {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
}

.cs-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(51,225,241,.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(155,253,207,.14) 0%, transparent 60%);
  animation: hero-bg-shift 10s ease-in-out infinite alternate;
}

.cs-content {
  position: relative;
  text-align: center;
  padding: 2rem;
}

.cs-logo {
  height: 48px;
  width: auto;
  margin: 0 auto 2.5rem;
}

.cs-title {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
  color: var(--white);
  margin-bottom: 3rem;
}

.cs-timer {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cs-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  min-width: 90px;
  padding: 1.25rem 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(51,225,241,.15);
  border-radius: var(--radius);
  animation: showcase-glow 4s ease-in-out infinite alternate;
}

.cs-unit span {
  font-family: 'Roboto Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.cs-unit small {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .cs-timer { gap: .75rem; }
  .cs-unit { min-width: 72px; padding: 1rem .75rem; }
  .cs-unit span { font-size: 1.75rem; }
}

/* --- Cursor Aura --- */
.cursor-aura {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(51,225,241,.06) 0%, rgba(155,253,207,.03) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: left .2s ease-out, top .2s ease-out, opacity .4s;
  opacity: 0;
  will-change: left, top;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }

/* --- Gradient Text --- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title,
.section-title,
.feature-detail-content h2 {
  font-family: 'Crimson Text', Georgia, serif;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .3s cubic-bezier(.25,.46,.45,.94);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cyan);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--white);
  box-shadow: 0 0 30px rgba(51,225,241,.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.15);
}
.btn-outline:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.25);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}

.header.scrolled {
  background: rgba(15, 15, 15, .8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.logo-img { height: 36px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 25%; right: 25%;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  opacity: .5;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-login {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
.header-login:hover { color: var(--white); }

.header-cta { padding: .6rem 1.25rem; font-size: .85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(51,225,241,.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(155,253,207,.14) 0%, transparent 60%);
  animation: hero-bg-shift 10s ease-in-out infinite alternate;
}

@keyframes hero-bg-shift {
  0%   { background-position: 0% 0%, 0% 0%; }
  100% { background-position: 5% 2%, -3% -1%; }
}

.hero-grid {
  display: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  perspective: 1200px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-showcase {
  position: relative;
  background: #111;
  border-radius: 14px;
  padding: 6px;
  margin-bottom: calc(2.5rem + 40px);
  border: 1px solid rgba(51,225,241,.15);
  overflow: visible;
  box-shadow:
    0 0 40px rgba(51,225,241,.15),
    0 0 80px rgba(155,253,207,.08);
  animation: showcase-glow 4s ease-in-out infinite alternate;
  transform: rotateX(4deg);
  transform-origin: center bottom;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}

/* Monitor stand */
.hero-showcase::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 40px;
  background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
  clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
  border-bottom: 3px solid #222;
  pointer-events: none;
}

.hero-showcase:hover {
  transform: rotateX(0deg);
}

/* Combine tilt with entrance animation */
.hero-showcase.hero-enter {
  transform: translateY(24px) rotateX(4deg);
}
.hero-showcase.hero-enter.visible {
  transform: translateY(0) rotateX(4deg);
}
.hero-showcase.hero-enter.visible:hover {
  transform: translateY(0) rotateX(0deg);
}

@keyframes showcase-glow {
  0%   { box-shadow: 0 0 40px rgba(51,225,241,.15), 0 0 80px rgba(155,253,207,.08); }
  100% { box-shadow: 0 0 60px rgba(51,225,241,.22), 0 0 100px rgba(155,253,207,.12); }
}

.hero-showcase img {
  width: 100%;
  display: block;
  border-radius: 9px;
}

.hero-subtitle {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: .9375rem;
  color: #6f6f6f;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}
.stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat-divider {
  width: 1px;
  background: var(--dark-border);
  align-self: stretch;
}

/* --- Hero Entrance Animation --- */
.hero-enter {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94);
}
.hero-enter.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Sections --- */
.section { padding: 8rem 0; }
.section-dark { background: rgba(255,255,255,.02); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--cyan);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 2.25rem;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.feature-card:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
}

.feature-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(51,225,241,.08);
  margin-bottom: 1.5rem;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--cyan); }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.feature-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.step { text-align: center; }
.step-num {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .75rem;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.step p {
  font-size: .9rem;
  color: var(--text-muted);
  max-width: 300px;
  margin: 0 auto;
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  position: relative;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.pricing-card:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
}

.pricing-disabled {
  opacity: .55;
  pointer-events: none;
}

.badge-coming-soon-lg {
  background: rgba(51,225,241,.12);
  border: 1px solid rgba(51,225,241,.4);
  color: var(--cyan);
  font-size: .8rem;
  padding: .4rem 1.25rem;
  letter-spacing: .1em;
}

.pricing-featured {
  border-color: rgba(51,225,241,.3);
  background: rgba(51,225,241,.04);
  box-shadow: 0 0 60px rgba(51,225,241,.08);
}
.pricing-featured:hover {
  background: rgba(51,225,241,.06);
  border-color: rgba(51,225,241,.4);
  box-shadow: 0 0 60px rgba(51,225,241,.12);
}

.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: .3rem 1rem;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--cyan);
  color: var(--dark);
}

.pricing-tier {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: .15rem;
  margin-bottom: .75rem;
}
.price-currency { font-size: 1.5rem; font-weight: 600; color: var(--text-muted); }
.price-amount { font-size: 3.5rem; font-weight: 800; color: var(--white); line-height: 1; }
.price-cents { font-size: 1.5rem; font-weight: 600; color: var(--text-muted); }
.price-period { font-size: .85rem; color: var(--text-muted); margin-left: .25rem; }

.pricing-desc {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--text);
  padding: .45rem 0;
}

.check {
  width: 18px; height: 18px;
  flex-shrink: 0;
  fill: var(--cyan);
}

/* --- Feature Detail (features page) --- */
.features-hero {
  position: relative;
  padding: 6rem 0 3rem;
  overflow: hidden;
}
.features-hero .hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(51,225,241,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(155,253,207,.08) 0%, transparent 60%);
}
.features-hero .hero-grid {
  display: none;
}

.feature-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-detail-inner.reverse { direction: rtl; }
.feature-detail-inner.reverse > * { direction: ltr; }

.feature-detail-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  margin: .25rem 0 .75rem;
}
.feature-detail-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-bullets {
  list-style: none;
}
.feature-bullets li {
  position: relative;
  padding: .35rem 0 .35rem 1.5rem;
  font-size: .9rem;
  color: var(--text);
}
.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: .7rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* Mock UI Elements */
.mock-chart, .mock-terminal, .mock-news, .mock-nlp {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  overflow: hidden;
}

.section-dark .mock-chart,
.section-dark .mock-terminal,
.section-dark .mock-news,
.section-dark .mock-nlp {
  background: rgba(255,255,255,.02);
}

.mock-chart-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--dark-border);
}

.mock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--dark-border);
}
.mock-dot.green { background: var(--green); }

.mock-title {
  font-size: .75rem;
  color: var(--text-muted);
  margin-left: auto;
  font-weight: 500;
}

.mock-chart-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Mock Terminal */
.mock-terminal-body { padding: 1.25rem; }
.mock-line {
  font-family: 'Roboto Mono', monospace;
  font-size: .8rem;
  padding: .2rem 0;
  color: var(--text);
}
.mock-prompt { color: var(--cyan); margin-right: .5rem; }
.mock-result { color: var(--mint); padding-left: 1rem; }
.mock-meta { color: var(--text-muted); font-size: .7rem; }

/* Mock News */
.mock-news-body { padding: .5rem; }
.mock-news-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .75rem;
  border-radius: 6px;
  font-size: .8rem;
  transition: background .2s;
}
.mock-news-item:hover { background: rgba(255,255,255,.03); }
.mock-news-badge {
  flex-shrink: 0;
  padding: .15rem .5rem;
  border-radius: 4px;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.mock-news-badge.earnings { background: rgba(0,208,132,.15); color: var(--green); }
.mock-news-badge.filing { background: rgba(155,253,207,.15); color: var(--mint); }
.mock-news-badge.news { background: rgba(51,225,241,.15); color: var(--cyan); }
.mock-news-badge.dividend { background: rgba(255,105,0,.15); color: #ff6900; }
.mock-news-headline { color: var(--text); flex: 1; }
.mock-news-time { color: var(--text-muted); font-size: .7rem; white-space: nowrap; }

/* Mock NLP */
.mock-nlp-body { padding: 1.25rem; }
.mock-nlp-input {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  font-size: .85rem;
  color: var(--text);
}
.mock-nlp-input svg { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.mock-nlp-arrow {
  text-align: center;
  padding: .5rem 0;
}
.mock-nlp-arrow svg { width: 20px; height: 20px; color: var(--cyan); margin: 0 auto; }
.mock-nlp-output {
  padding: .75rem 1rem;
  background: rgba(51,225,241,.08);
  border: 1px solid rgba(51,225,241,.2);
  border-radius: 8px;
}
.mock-nlp-output code {
  font-family: 'Roboto Mono', monospace;
  font-size: .8rem;
  color: var(--cyan);
  line-height: 1.6;
}

/* TradingView attribution */
.tv-attribution {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  padding: .5rem 1rem;
  border: 1px solid rgba(41,98,255,.3);
  border-radius: 6px;
  background: rgba(41,98,255,.08);
  font-size: .75rem;
  color: var(--text-muted);
  letter-spacing: .02em;
}
.tv-logo { width: 20px; height: 16px; flex-shrink: 0; }

/* Coming Soon badge */
.badge-coming-soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: .5rem;
  padding: .2em .65em;
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cyan);
  border: 1px solid rgba(51,225,241,.3);
  border-radius: 100px;
  background: rgba(51,225,241,.08);
  white-space: nowrap;
}

/* Backtest stats bar */
.mock-backtest-stats {
  display: flex;
  justify-content: space-around;
  padding: .75rem 1rem;
  border-top: 1px solid var(--dark-border);
  font-size: .75rem;
  color: var(--text-muted);
}
.mock-backtest-stats strong { color: var(--green); }

/* NLP Examples Table */
.nlp-examples {
  margin-top: 2rem;
}
.nlp-examples h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.nlp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}
.nlp-table th {
  text-align: left;
  padding: .6rem .75rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--dark-border);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.nlp-table td {
  padding: .6rem .75rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--text);
}
.nlp-table code {
  font-family: 'Roboto Mono', monospace;
  font-size: .8rem;
  color: var(--cyan);
}

/* --- Comparison Table --- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.06);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 640px;
}
.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--dark-border);
}
.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
}

.comparison-table thead th {
  background: rgba(255,255,255,.03);
  font-weight: 700;
  color: var(--white);
  font-size: .85rem;
  position: sticky;
  top: 0;
}
.table-price {
  display: block;
  font-weight: 500;
  color: var(--text-muted);
  font-size: .75rem;
  margin-top: .25rem;
}

.comparison-table tbody tr:hover {
  background: rgba(255,255,255,.02);
}
.comparison-table tbody td {
  color: var(--text-muted);
}

.featured-col {
  background: rgba(51,225,241,.04);
}

.check-mark { color: var(--cyan); font-size: 1.2rem; }
.cross-mark { color: var(--text-muted); opacity: .5; }

/* --- Footer --- */
.footer {
  background: rgba(255,255,255,.02);
  padding: 5rem 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-brand { max-width: 280px; }
.footer-tagline {
  margin-top: .75rem;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  opacity: .55;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: .9rem;
  color: var(--text-muted);
  padding: .3rem 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 4rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom p {
  font-size: .8rem;
  color: var(--text-muted);
}

/* --- CTA Section --- */
.cta .section-title { margin-bottom: .75rem; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero-enter {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-showcase {
    animation: none;
    transform: none;
    transition: none;
  }
  .hero-showcase.hero-enter,
  .hero-showcase.hero-enter.visible,
  .hero-showcase.hero-enter.visible:hover {
    transform: none;
  }
  .hero-bg {
    animation: none;
  }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-featured { box-shadow: 0 0 40px rgba(51,225,241,.06); }
  .pricing-featured:hover { box-shadow: 0 0 40px rgba(51,225,241,.1); }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .feature-detail-inner,
  .feature-detail-inner.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }
  .footer-links { gap: 2rem; }
}

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(15,15,15,.97);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--dark-border);
  }
  .nav-toggle { display: flex; }
  .header-actions { display: none; }
  .hero { min-height: auto; padding: 7rem 0 3rem; }
  .hero-inner { perspective: none; }
  .hero-showcase,
  .hero-showcase:hover,
  .hero-showcase.hero-enter,
  .hero-showcase.hero-enter.visible,
  .hero-showcase.hero-enter.visible:hover {
    transform: none;
  }
  .hero-showcase.hero-enter {
    transform: translateY(24px);
  }
  .hero-showcase.hero-enter.visible {
    transform: translateY(0);
  }
  .hero-stats { gap: 1.25rem; }
  .stat-divider { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
}
