/* ================================================
   SPARK AURA — Section Styles
   spark-aura.com
   ================================================ */


/* ------------------------------------------------
   S1: HERO
   ------------------------------------------------ */

.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 0 120px;
}

/* Star field canvas — fills hero only */
#starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* All hero content above canvas */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo */
.hero-logo {
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.15s forwards;
}

.hero-logo img {
  height: 160px;        /* Large enough that safe zone doesn't shrink the mark  */
  width: auto;
  max-width: 360px;
  display: block;
  margin: -22px auto;   /* Pull in vertical safe zone whitespace top and bottom */
}

/* Headline — Cormorant Garamond, full weight of the brand */
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5.8vw, 74px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--color-text-primary);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.35s forwards;
}

/* Sub-headline */
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.55s forwards;
}

/* CTA group */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.75s forwards;
}

/* "via Telegram or email" line */
.hero-cta-alt {
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

.hero-cta-alt a {
  color: var(--color-gold);
  border-bottom: 1px solid var(--color-gold-border);
  padding-bottom: 1px;
  transition: border-color var(--transition);
}

.hero-cta-alt a:hover {
  border-color: var(--color-gold);
}

/* Scroll indicator — thin gold line that pulses downward */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.6s forwards;
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--color-gold-border) 50%,
    transparent 100%
  );
  margin: 0 auto;
  animation: scrollDrop 2.2s ease-in-out 1.6s infinite;
}


/* ------------------------------------------------
   COOKIE BANNER
   ------------------------------------------------ */

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-gold-border);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.cookie-text a {
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--color-gold-border);
  padding-bottom: 1px;
  margin-left: 4px;
  transition: border-color var(--transition);
}

.cookie-text a:hover {
  border-color: var(--color-gold);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 9px 22px;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.cookie-btn--gold {
  background: var(--color-gold);
  color: #080808;
  border: 1px solid var(--color-gold);
}

.cookie-btn--gold:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
}

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

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

@media (max-width: 560px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
   Elements with [data-reveal] fade up on scroll.
   JS adds .revealed when element enters viewport.
   ------------------------------------------------ */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease-out),
              transform 0.75s var(--ease-out);
}

[data-reveal].revealed             { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"].revealed   { transition-delay: 0.1s; }
[data-reveal-delay="2"].revealed   { transition-delay: 0.22s; }
[data-reveal-delay="3"].revealed   { transition-delay: 0.38s; }
[data-reveal-delay="4"].revealed   { transition-delay: 0.54s; }


/* ------------------------------------------------
   S2: THE PROBLEM
   ------------------------------------------------ */

.section-problem {
  padding: var(--space-section) 0;
}

/* Narrow centred column */
.prob-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.prob-inner .gold-rule {
  margin-bottom: 40px;
}

/* Setup line — reflective, italic serif */
.prob-setup {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: var(--color-text-secondary);
  margin-bottom: 52px;
  letter-spacing: 0.01em;
}

.prob-statements {
  text-align: left;
}

.prob-statement {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
}

/* Gold em dash */
.prob-dash {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-gold);
  flex-shrink: 0;
  line-height: 1.75;
  user-select: none;
  font-family: var(--font-body);
}

.prob-statement p {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-primary);
}

/* Final statement — slightly heavier, lands as the closer */
.prob-statement--close p {
  font-weight: 400;
}

/* Thin divider between statements */
.prob-divider {
  height: 1px;
  background: var(--color-border);
  width: 100%;
}


/* ------------------------------------------------
   S3: WHAT WE DO
   ------------------------------------------------ */

.section-services {
  padding: var(--space-section) 0;
  background: var(--color-bg-surface); /* subtle lift from S2 */
}

/* Header */
.services-header {
  text-align: center;
  margin-bottom: var(--space-block);
}

.services-header .t-label {
  margin-bottom: 16px;
}

.services-frame {
  font-family: var(--font-heading);
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}

/* Grid — 3 equal columns desktop */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

/* Card */
.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition);
}

.service-card:hover {
  border-color: var(--color-gold-border);
}

/* Card title */
.service-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-gold);
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* Short gold accent under title */
.service-rule {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--color-gold-border);
  margin-bottom: 18px;
  flex-shrink: 0;
}

/* What it does */
.service-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 18px;
  flex: 1;
}

/* Who it's for — separated, muted, italic */
.service-for {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-muted);
  font-style: italic;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

/* Consulting entry strip */
.consulting-strip {
  border: 1px dashed var(--color-gold-border);
  border-radius: 3px;
  padding: 18px 28px;
  background: var(--color-gold-muted);
}

.consulting-strip p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-text-secondary);
  text-align: center;
}

.consulting-strip a {
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--color-gold-border);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: border-color var(--transition);
}

.consulting-strip a:hover {
  border-color: var(--color-gold);
}


/* ------------------------------------------------
   RESPONSIVE — S3
   ------------------------------------------------ */

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-card {
    padding: 26px 22px;
  }
  .consulting-strip {
    padding: 16px 20px;
  }
  .consulting-strip p {
    text-align: left;
  }
}


/* ------------------------------------------------
   S4: WHY SPARK AURA
   ------------------------------------------------ */

.section-why {
  padding: var(--space-section) 0;
  background: var(--color-bg); /* back to base — alternates with S3 surface */
}

.why-header {
  margin-bottom: var(--space-block);
}

.why-header .t-label {
  margin-bottom: 14px;
}

.why-headline {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  max-width: 560px;
}

/* Statement list */
.why-list {
  max-width: 700px;
  margin-bottom: 28px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
}

.why-item:first-child {
  border-top: 1px solid var(--color-border);
}

/* Gold dot */
.why-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
  margin-top: 9px;
}

.why-item p {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 300;
  line-height: 1.82;
  color: var(--color-text-secondary);
}

/* Selectivity closer — gold left border, set apart */
.why-closer {
  max-width: 700px;
  padding: 22px 26px;
  border-left: 2px solid var(--color-gold);
  background: var(--color-gold-muted);
  border-radius: 0 3px 3px 0;
}

.why-closer p {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text-primary);
}


/* ------------------------------------------------
   S5: SHOW, DON'T TELL
   ------------------------------------------------ */

.section-results {
  padding: var(--space-section) 0;
  background: var(--color-bg-surface); /* lifted — alternates with S4 */
}

.results-header {
  margin-bottom: var(--space-block);
}

.results-header .t-label {
  margin-bottom: 14px;
}

.results-headline {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

/* Two case study cards side by side */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

/* Case card */
.case-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-left: 2px solid var(--color-gold-border);
  border-radius: 0 3px 3px 0;
  padding: 28px 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-left-color var(--transition);
}

.case-card:hover {
  border-left-color: var(--color-gold);
}

/* "Real situation — Q1 2026" label */
.case-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.case-card p {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-text-secondary);
}

/* YouTube block */
.yt-block {
  max-width: 720px;
}

/* 16:9 aspect ratio wrapper */
.yt-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  margin-bottom: 14px;
}

.yt-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.yt-caption {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.yt-caption a {
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--color-gold-border);
  padding-bottom: 1px;
  transition: border-color var(--transition);
  white-space: nowrap;
}

.yt-caption a:hover {
  border-color: var(--color-gold);
}


/* ------------------------------------------------
   S6: CTA / CONTACT
   ------------------------------------------------ */

.section-contact {
  padding: var(--space-section) 0;
  background: var(--color-bg);
}

/* Centred bordered box — the conversion destination */
.cta-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 48px;
  border: 1px solid var(--color-gold-border);
  border-radius: 3px;
  background: var(--color-bg-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Logo — same safe-zone compensation as hero */
.cta-logo {
  margin-bottom: 32px;
}

.cta-logo img {
  height: 100px;
  width: auto;
  margin: -14px auto;
  display: block;
}

/* Headline */
.cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin-bottom: 18px;
}

/* Sub-text */
.cta-sub {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 420px;
  margin-bottom: 36px;
}

/* CTA button — wider than default */
.cta-btn {
  padding: 16px 48px;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

/* Email fallback line */
.cta-email-line {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text-muted);
}

.cta-email-line a {
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--color-gold-border);
  padding-bottom: 1px;
  transition: border-color var(--transition);
}

.cta-email-line a:hover {
  border-color: var(--color-gold);
}


/* ------------------------------------------------
   FOOTER
   ------------------------------------------------ */

.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-gold-border);
  padding: 36px 0 32px;
}

/* Main row — brand / social / legal */
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

/* Brand block */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin: -6px 0;
  display: block;
}

.footer-domain {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* Social links */
.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social a,
.footer-legal a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

.footer-social a:hover,
.footer-legal a:hover {
  color: var(--color-gold);
}

/* Legal links */
.footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Waitlist line — quiet seed */
.footer-waitlist {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  color: var(--color-text-muted);
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.footer-waitlist a {
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--color-gold-border);
  padding-bottom: 1px;
  transition: border-color var(--transition);
}

.footer-waitlist a:hover {
  border-color: var(--color-gold);
}


/* ------------------------------------------------
   RESPONSIVE — S6 + FOOTER
   ------------------------------------------------ */

@media (max-width: 640px) {
  .cta-box {
    padding: 36px 24px;
  }
  .cta-logo img {
    height: 80px;
    margin: -10px auto;
  }
  .cta-btn {
    width: 100%;
    padding: 16px 24px;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-social,
  .footer-legal {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .case-card {
    padding: 22px 20px 22px 18px;
  }
  .yt-block {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .why-item {
    gap: 16px;
    padding: 22px 0;
  }
  .why-dot {
    margin-top: 8px;
  }
  .why-closer {
    padding: 18px 20px;
  }
}
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-card {
    padding: 26px 22px;
  }
  .consulting-strip {
    padding: 16px 20px;
  }
  .consulting-strip p {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .prob-inner {
    text-align: left;
  }
  .prob-inner .gold-rule {
    margin-left: 0;
    margin-right: auto;
  }
  .prob-setup {
    margin-bottom: 36px;
    font-size: 20px;
  }
  .prob-statement {
    gap: 14px;
    padding: 22px 0;
  }
}


/* ------------------------------------------------
   ANIMATIONS
   ------------------------------------------------ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes scrollDrop {
  0%   { transform: translateY(-8px); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(8px);  opacity: 0; }
}


/* ------------------------------------------------
   REDUCED MOTION — all animations disabled
   ------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .hero-headline,
  .hero-sub,
  .hero-cta-group,
  .scroll-indicator {
    opacity: 1;
    animation: none;
  }
}


/* ------------------------------------------------
   RESPONSIVE — HERO
   ------------------------------------------------ */

@media (max-width: 768px) {
  .section-hero {
    padding: 80px 0 100px;
  }
  .hero-logo {
    margin-bottom: 32px;
  }
  .hero-logo img {
    height: 120px;
    margin: -16px auto;
  }
  .hero-headline {
    margin-bottom: 20px;
  }
  .hero-sub {
    margin-bottom: 36px;
    font-size: 15px;
  }
  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 400px) {
  .hero-headline {
    font-size: 34px;
  }
}
