/* ============================================
   ooi. — V2: Editorial Dark Premium
   Inspired by Basic/Dept, tuned for AI
   ============================================ */

:root {
  --bg: #0c0c0e;
  --bg-alt: #111114;
  --bg-card: #161619;
  --accent: #d4ff00;
  --accent-dim: rgba(212, 255, 0, 0.08);
  --accent-glow: rgba(212, 255, 0, 0.15);
  --cream: #e8e4dd;
  --text: #f2f0ed;
  --text-secondary: #8a8880;
  --text-muted: #4a4a45;
  --border: #222220;
  --border-light: #2c2c28;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --sans: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --body: 'Inter', -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---- Typography ---- */
.overline {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-muted);
}

.section-number {
  font-family: var(--body);
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 12px;
}

.section-heading {
  font-family: var(--sans);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.section-heading em {
  color: var(--accent);
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
}

.logo-dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: #e5ff4d;
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn-ghost:hover {
  border-color: var(--text-secondary);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
  width: 100%;
}

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

/* ---- Hero ---- */
.hero {
  padding: 160px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.hero-headline {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -3px;
  max-width: 75%;
}

.hero-line-1 {
  display: block;
  font-size: clamp(48px, 6.5vw, 88px);
  color: var(--text);
}

.hero-line-2 {
  display: block;
  font-size: clamp(52px, 7vw, 96px);
  padding-left: 25%;
}

.hero-line-2 em {
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
}

.hero-line-3 {
  display: block;
  font-size: clamp(48px, 6.5vw, 88px);
  color: var(--text);
  padding-left: 12.5%;
}

.hero-bottom {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  margin-top: 48px;
  padding-left: 50%;
  position: relative;
  z-index: 2;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-footer {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { opacity: 0.6; box-shadow: 0 0 0 8px transparent; }
}

/* ---- Marquee ---- */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  align-items: center;
  animation: scroll 35s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0 16px;
}

.marquee-sep {
  color: var(--border-light) !important;
  padding: 0 4px !important;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Sections ---- */
.section {
  padding: 120px 48px;
}

.section-alt {
  background: var(--bg-alt);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ---- Manifesto ---- */
.manifesto {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
}

.manifesto-left {
  padding-top: 8px;
}

.manifesto-heading {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.5px;
  color: var(--cream);
  margin-bottom: 32px;
}

.manifesto-heading em {
  color: var(--accent);
}

.manifesto-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 640px;
}

/* ---- Stats ---- */
.stats-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.stat {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.stat-value {
  font-family: var(--sans);
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -4px;
  color: var(--cream);
  margin-bottom: 16px;
}

.stat-unit {
  font-size: 0.4em;
  color: var(--accent);
  letter-spacing: 0;
  margin-left: 2px;
}

.stat-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}

/* ---- Services ---- */
.services-header {
  max-width: 1400px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
}

.services-header-left {
  padding-top: 8px;
}

/* Flagship Service */
.service-flagship {
  max-width: 1400px;
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 80px;
  padding: 56px 0;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.service-flagship::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

.service-flagship-label {
  padding-top: 4px;
}

.service-flagship-title {
  font-family: var(--sans);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.service-flagship-title em {
  color: var(--accent);
}

.service-flagship-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 500px;
}

.service-flagship-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: end;
}

.service-flagship-tags span {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.service-flagship-tags span:last-child {
  border-bottom: none;
}

/* Services Grid */
.services-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service-item {
  padding: 40px 40px 40px 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.service-item:nth-child(3n+2),
.service-item:nth-child(3n+3) {
  padding-left: 40px;
  border-left: 1px solid var(--border);
}

.service-num {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: block;
}

.service-item h3 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.service-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- How it Works ---- */
.how-header {
  max-width: 1400px;
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
}

.how-header-left {
  padding-top: 8px;
}

.steps {
  max-width: 1400px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 60px;
  padding: 48px 0;
}

.step-divider {
  height: 1px;
  background: var(--border);
  max-width: 1400px;
  margin: 0 auto;
}

.step-num {
  font-family: var(--sans);
  font-size: 64px;
  font-weight: 700;
  color: var(--border-light);
  line-height: 1;
}

.step-content h3 {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

/* ---- Pricing ---- */
.pricing-header {
  max-width: 1400px;
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
}

.pricing-header-left {
  padding-top: 8px;
}

.pricing-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.7;
}

.pricing-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  background: var(--bg);
  transition: all 0.3s ease;
}

.price-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.price-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 60px var(--accent-dim);
}

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

.price-card-inner {
  padding: 40px 36px;
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.price-tier {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.price-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
  min-height: 44px;
}

.price-amount {
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
}

.price-dollar {
  font-size: 22px;
  opacity: 0.4;
  vertical-align: top;
  line-height: 1.8;
}

.price-period {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0;
}

.price-custom {
  font-family: var(--serif);
  font-style: italic;
  font-size: 40px;
  color: var(--accent);
  letter-spacing: -1px;
}

.price-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.price-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.price-card-featured .price-features li::before {
  background: var(--accent);
}

/* ---- FAQ ---- */
.faq-header {
  max-width: 1400px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
}

.faq-header-left {
  padding-top: 8px;
}

.faq-list {
  max-width: 1400px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.3px;
  padding: 28px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color 0.2s;
}

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

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  width: 16px;
  height: 1.5px;
  top: 7px;
  left: 0;
}

.faq-icon::after {
  width: 1.5px;
  height: 16px;
  top: 0;
  left: 7px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-a {
  max-height: 300px;
}

.faq-a p {
  padding-bottom: 28px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 680px;
}

/* ---- CTA ---- */
.section-cta {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}

.cta-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 120px;
  align-items: center;
}

.cta-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.cta-heading {
  font-family: var(--sans);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2.5px;
  margin-bottom: 20px;
}

.cta-heading em {
  color: var(--accent);
}

.cta-sub {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
}

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

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

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

/* ---- Scroll Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero, .section, .section-cta, .footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .nav {
    padding: 0 32px;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-line-2 {
    padding-left: 15%;
  }

  .hero-bottom {
    padding-left: 30%;
  }

  .manifesto,
  .services-header,
  .how-header,
  .pricing-header,
  .faq-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-flagship {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-item:nth-child(3n+2),
  .service-item:nth-child(3n+3) {
    padding-left: 40px;
    border-left: none;
  }

  .service-item:nth-child(2n) {
    padding-left: 40px;
    border-left: 1px solid var(--border);
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .cta-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cta-circle {
    width: 100px;
    height: 100px;
  }

  .step {
    grid-template-columns: 80px 1fr;
    gap: 32px;
  }

  .step-num {
    font-size: 48px;
  }
}

@media (max-width: 640px) {
  .nav-links { display: none; }

  .hero, .section, .section-cta, .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav { padding: 0 20px; }

  .hero {
    padding-top: 120px;
  }

  .hero-line-2,
  .hero-line-3 {
    padding-left: 0;
  }

  .hero-bottom {
    padding-left: 0;
    margin-top: 32px;
  }

  .hero-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

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

  .service-item,
  .service-item:nth-child(2n),
  .service-item:nth-child(3n+2),
  .service-item:nth-child(3n+3) {
    padding-left: 0;
    border-left: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat-value {
    font-size: 72px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-num {
    font-size: 36px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
