/* ═══════════════════════════════════════════
   STACKED — Scroll-Driven Video Website
   ═══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg: #0A0A0A;
  --bg-card: #111111;
  --accent: #FF6B2C;
  --accent-glow: rgba(255, 107, 44, 0.25);
  --text: #F0EDE8;
  --text-muted: #888888;
  --font-display: 'Satoshi', sans-serif;
  --font-body: 'Satoshi', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ═══════════ LOADER ═══════════ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.loader-brand {
  width: 64px;
  height: auto;
  margin: 0 auto 24px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.loader-bar-track {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 12px;
}

#loader-bar {
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.15s ease;
}

#loader-percent {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ═══════════ HEADER / NAV ═══════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  width: 100%;
  padding: 16px 32px;
  margin: 16px auto 0;
  border-radius: 0;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}

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

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--accent);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

/* ═══════════ HERO ═══════════ */
.hero-standalone {
  position: relative;
  z-index: 10;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  text-align: center;
  padding: 100px 24px 80px;
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 10rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
}

.hw.accent {
  color: var(--accent);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 32px;
  opacity: 0;
  transform: translateY(20px);
}

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: bob 2s ease-in-out infinite;
  z-index: 11;
}

@keyframes bob {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ═══════════ CANVAS ═══════════ */
.canvas-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  clip-path: circle(0% at 50% 50%);
}

canvas#canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ═══════════ DARK OVERLAY ═══════════ */
#dark-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  background: rgba(10, 10, 10, 0.9);
  opacity: 0;
  pointer-events: none;
}

/* ═══════════ MARQUEE ═══════════ */
.marquee-wrap {
  position: fixed;
  bottom: 6vh;
  left: 0;
  width: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
}

.marquee-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12vw;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  display: inline-block;
  will-change: transform;
}

/* ═══════════ SCROLL CONTAINER ═══════════ */
#scroll-container {
  position: relative;
  z-index: 5;
  height: 1100vh;
  width: 100%;
}

/* ── SCROLL SECTIONS (generic) ── */
.scroll-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 6;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.scroll-section.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.section-inner {
  max-width: 480px;
}

/* Side alignment */
.align-left {
  padding-left: 6vw;
}

.align-right {
  justify-content: flex-end;
  padding-right: 6vw;
}

/* ── TYPOGRAPHY ── */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-body {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 420px;
}

/* ═══════════ STATS ═══════════ */
.section-stats {
  justify-content: center;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 900px;
  width: 100%;
  padding: 0 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--accent);
  display: inline;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

/* ═══════════ CTA SECTION ═══════════ */
.section-cta {
  justify-content: center;
  text-align: center;
}

.cta-inner {
  max-width: 640px;
  text-align: center;
}

.cta-inner .section-body {
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  margin-top: 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: 50px;
  background: var(--accent);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  pointer-events: auto;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.section-note {
  display: block;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ═══════════ INNER PAGE WRAPPER ═══════════ */
.page-main {
  padding-top: 80px;
  min-height: 100vh;
  background: var(--bg);
}

.nav-links a.active {
  color: var(--accent);
}

/* ═══════════ PAGE SECTIONS ═══════════ */
.page-section {
  position: relative;
  z-index: 10;
  padding: 120px 24px;
  background: var(--bg);
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.page-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text);
  line-height: 1.15;
  margin-top: 12px;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
}

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 44, 0.3);
  box-shadow: 0 12px 40px rgba(255, 107, 44, 0.08);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── PRICING ── */
.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #FF9A44);
}

.pricing-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 6px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-currency {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--accent);
}

.pricing-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--text);
  line-height: 1;
}

.pricing-period {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.pricing-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 0.95rem;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-cta {
  width: 100%;
  text-align: center;
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

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

.faq-toggle {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CONTACT FORM ── */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group.full-width {
  margin-bottom: 24px;
}

.form-group label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

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

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

.form-submit {
  width: 100%;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.form-status {
  display: none;
}

/* ── TOAST MODAL ── */
.toast-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.toast-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.toast-card {
  background: rgba(30, 30, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.85) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-overlay.visible .toast-card {
  transform: scale(1) translateY(0);
}

.toast-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff8c42);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
}

.toast-title {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 12px;
}

.toast-message {
  font-family: var(--font);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.toast-close {
  margin-top: 28px;
  padding: 12px 32px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 12px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.toast-close:hover {
  transform: scale(1.04);
  opacity: 0.9;
}

/* ── REVEAL ANIMATION ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── FOOTER ── */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 48px 24px;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.footer-brand img {
  height: 28px;
  width: auto;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════ MOBILE ═══════════ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    font-size: 0.75rem;
    padding: 8px 18px;
  }

  #scroll-container {
    height: 600vh;
  }

  .align-left,
  .align-right {
    padding: 0 24px;
    justify-content: center;
    text-align: center;
  }

  .section-inner {
    max-width: 100%;
  }

  .section-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.75);
  }

  .section-inner {
    position: relative;
    z-index: 2;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hero-heading {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }

  .marquee-text {
    font-size: 20vw;
  }

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

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

  .pricing-card {
    padding: 36px 24px;
  }

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

  .page-section {
    padding: 80px 20px;
  }
}