/* ===========================
   REELCRAFT — THEME CSS
   =========================== */

:root {
  --bg: #080810;
  --bg-card: #0f0f1a;
  --bg-card-hover: #141424;
  --fg: #f0f0f8;
  --fg-muted: #8888aa;
  --accent: #CAFF00;
  --accent-dim: rgba(202, 255, 0, 0.12);
  --border: rgba(255,255,255,0.07);
  --border-accent: rgba(202, 255, 0, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #000;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--fg);
  max-width: 580px;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  backdrop-filter: blur(12px);
  background: rgba(8, 8, 16, 0.7);
  border-bottom: 1px solid var(--border);
}

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

.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--fg);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover { color: var(--fg); }

.nav-cta {
  font-size: 0.8rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #000 !important;
  background: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}

.glow-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -100px; left: -200px;
}

.glow-2 {
  width: 400px; height: 400px;
  background: #7B5CFF;
  bottom: 0; right: 0;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 440px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

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

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === HERO VISUAL === */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck-scene {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
}

.wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--accent) 0%, transparent 100%);
  opacity: 0.08;
  border-radius: 0;
  animation: waveAnim 4s ease-in-out infinite;
}

.w1 { animation-delay: 0s; }
.w2 { animation-delay: 1s; opacity: 0.05; }
.w3 { animation-delay: 2s; opacity: 0.04; }

@keyframes waveAnim {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.6); }
}

.crowd-row {
  display: flex;
  gap: 0.5rem;
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.crowd-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  animation: bounce 1.5s ease-in-out infinite;
}

.cd1 { animation-delay: 0s; }
.cd2 { animation-delay: 0.15s; }
.cd3 { animation-delay: 0.3s; }
.cd4 { animation-delay: 0.45s; }
.cd5 { animation-delay: 0.6s; }
.cd6 { animation-delay: 0.75s; }

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

.phone-frame {
  width: 100px;
  height: 160px;
  background: #1a1a2e;
  border: 2px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.phone-screen {
  width: 84px;
  height: 130px;
  background: linear-gradient(135deg, #CAFF00 0%, #aadd00 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 0; height: 0;
  border-left: 16px solid #000;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* === PROOF === */
.proof {
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.proof-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--fg);
  font-style: italic;
  line-height: 1.7;
  margin: 1.5rem 0;
  font-weight: 300;
}

.proof-context {
  color: var(--fg-muted);
  font-size: 0.9rem;
}

/* === SERVICES === */
.services {
  padding: 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  margin-bottom: 4rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  padding: 2.5rem;
  transition: background 0.3s;
}

.service-card:hover {
  background: var(--bg-card-hover);
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

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

/* === PROCESS === */
.process {
  padding: 7rem 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-header {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.process-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step {
  padding: 0 2rem;
}

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 1rem;
}

.step-body h3 {
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.step-body p {
  color: var(--fg-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.step-connector {
  width: 60px;
  height: 1px;
  background: var(--border-accent);
  margin-top: 2rem;
  flex-shrink: 0;
}

/* === PRICING === */
.pricing {
  padding: 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pricing-header .section-title {
  margin: 0 auto;
}

.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}

.pricing-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.currency {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--fg);
}

.price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.per {
  font-size: 1rem;
  color: var(--fg-muted);
}

.pricing-desc {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.pricing-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.pricing-includes li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.pricing-note {
  padding: 1.25rem;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.pricing-note strong {
  color: var(--accent);
}

.pricing-cta {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 1.5rem;
}

.pricing-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* === CLOSING === */
.closing {
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.closing-glow {
  position: absolute;
  width: 500px; height: 300px;
  background: var(--accent);
  filter: blur(150px);
  opacity: 0.1;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.closing-headline {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand .wordmark {
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--fg-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.link-col-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.link-col a {
  display: block;
  color: var(--fg-muted);
  font-size: 0.875rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.link-col a:hover { color: var(--fg); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--fg-muted);
  font-size: 0.8rem;
}

/* === ONBOARD PAGE === */
.onboard-page {
  min-height: 100vh;
  padding: 7rem 2rem 5rem;
  display: flex;
  align-items: flex-start;
}

.onboard-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.onboard-header {
  margin-bottom: 4rem;
}

.onboard-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.onboard-title em {
  font-style: normal;
  color: var(--accent);
}

.onboard-sub {
  color: var(--fg-muted);
  font-size: 1rem;
}

.onboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* LEFT: Service snapshot */
.onboard-services-side {
  position: sticky;
  top: 6rem;
}

.service-pill-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.service-snapshot {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.service-snapshot li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.onboard-price {
  margin-bottom: 1.5rem;
}

.onboard-price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fg);
}

.onboard-price-per {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-left: 0.25rem;
}

.onboard-price-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}

.onboard-launch-offer {
  padding: 1rem 1.25rem;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.offer-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent);
  color: #000;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-right: 0.5rem;
}

/* RIGHT: Form side */
.onboard-form-side {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
}

/* === INQUIRY FORM === */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--fg);
}

.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--fg-muted);
  opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  width: 100%;
}

.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
}

/* === SUCCESS STATE === */
.onboard-success {
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.success-title {
  font-size: 1.75rem;
  color: var(--fg);
  margin-bottom: 1rem;
}

.success-body {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.success-divider {
  width: 40px;
  height: 1px;
  background: var(--border-accent);
  margin: 0 auto 2rem;
}

.success-sub {
  color: var(--fg-muted);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-back:hover {
  color: var(--accent);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7rem;
  }

  .hero-sub { margin: 0 auto 2.5rem; }
  .stat-row { justify-content: center; }
  .hero-visual { order: -1; }
  .deck-scene { max-width: 300px; }

  nav { display: none; }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .step-connector {
    width: 40px;
    height: 1px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.25rem; }
  .price { font-size: 3rem; }
  .stat-row { flex-wrap: wrap; gap: 1.5rem; }
  .stat-divider { display: none; }
  .footer-links { grid-template-columns: 1fr; }

  .onboard-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .onboard-services-side {
    position: static;
  }

  .onboard-form-side {
    padding: 2rem;
  }
}