/* SoulEQ — Midnight Sapphire landing page
   Background wallpaper system preserved verbatim; editorial layer rebuilt
   for a calm, premium, Apple-level long-scroll. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Fraunces:opsz,wght@9..144,200;9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=JetBrains+Mono:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --ink-0: #07071a;
  --ink-1: #0a0d24;
  --ink-2: #0a1228;
  --ink-3: #0a1842;
  --cyan: #2DD4D4;
  --cyan-bright: #00E5FF;
  --blue: #3B82F6;
  --blue-bright: #00BFFF;
  --indigo: #6366F1;
  --violet: #8B5CF6;
  --violet-light: #A78BFA;
  --gold-warm: #E8C766;
  --gold: rgba(212, 168, 69, 0.7);
  --text-hi: rgba(255,255,255,0.92);
  --text-mid: rgba(255,255,255,0.62);
  --text-lo: rgba(255,255,255,0.42);
}

body {
  background: #000;
  color: var(--text-mid);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}


.mono {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0;
}
.italic { font-style: italic; }

/* SHIMMER GRADIENT TEXT */
.shimmer-text {
  background: linear-gradient(90deg, #2DD4D4 0%, #60A5FA 30%, #818CF8 60%, #A78BFA 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer-line 8s linear infinite;
}
@keyframes shimmer-line {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.violet-text { color: var(--violet-light); }
.cyan-text { color: #67E8F9; }
/* Static gradient — same colors as the shimmer, but no motion */
.gradient-static {
  background: linear-gradient(100deg, #2DD4D4 0%, #60A5FA 34%, #818CF8 66%, #A78BFA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-text {
  background: linear-gradient(100deg, #F3DD9A 0%, #E8C766 45%, #C9A24B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* =========================================================
   BACKGROUND WALLPAPER — DO NOT CHANGE (per brief)
   ========================================================= */
.stage {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.panel.state-card:hover
 {
    border-color: rgba(167, 139, 250, 0.5);
    background: rgba(99, 102, 241, 0.08);
}
.panel.step.panel-top-line:hover {
    border-color: rgba(167, 139, 250, 0.5);
    background: rgba(99, 102, 241, 0.08);
}
.stage-base {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, #0a1228 0%, #0a0d24 45%, #07071a 85%),
    #000;
}
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  mix-blend-mode: screen;
}
.aurora-1 {
  top: -10%; left: -15%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(45, 212, 212, 0.40) 0%, rgba(45, 212, 212, 0.10) 40%, transparent 70%);
  animation: aurora-flow-1 22s ease-in-out infinite;
}
.aurora-2 {
  top: 10%; right: -20%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45) 0%, rgba(99, 102, 241, 0.18) 40%, transparent 75%);
  animation: aurora-flow-2 26s ease-in-out infinite;
}
.aurora-3 {
  top: 35%; left: 20%;
  width: 65vw; height: 65vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.45) 0%, rgba(109, 40, 217, 0.18) 45%, transparent 75%);
  animation: aurora-flow-3 30s ease-in-out infinite;
}
.aurora-4 {
  bottom: -10%; right: 10%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.30) 0%, rgba(99, 102, 241, 0.10) 45%, transparent 75%);
  animation: aurora-flow-4 24s ease-in-out infinite;
}
@keyframes aurora-flow-1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.55; }
  33% { transform: translate(12%, -6%) rotate(8deg) scale(1.12); opacity: 0.7; }
  66% { transform: translate(-6%, 10%) rotate(-5deg) scale(0.96); opacity: 0.45; }
}
@keyframes aurora-flow-2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1.05); opacity: 0.5; }
  50% { transform: translate(-10%, -8%) rotate(-12deg) scale(1.25); opacity: 0.7; }
}
@keyframes aurora-flow-3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.35; }
  50% { transform: translate(-8%, -12%) rotate(15deg) scale(1.2); opacity: 0.55; }
}
@keyframes aurora-flow-4 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  50% { transform: translate(8%, 6%) scale(1.2); opacity: 0.55; }
}
.grain {
  position: fixed; inset: 0;
  z-index: 1;
  opacity: 0.045;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stars {
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
}
.star {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 4px rgba(255,255,255,0.6);
}
.strip-top, .strip-bottom {
  position: fixed; left: 0; right: 0;
  height: 1px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(45,212,212,0.6) 30%, rgba(167,139,250,0.7) 50%, rgba(99,102,241,0.6) 70%, transparent 100%);
  box-shadow: 0 0 14px rgba(99,102,241,0.5), 0 0 24px rgba(45,212,212,0.3);
  animation: shimmer-strip 5s ease-in-out infinite;
}
.strip-top { top: 0; }
.strip-bottom { bottom: 0; }
@keyframes shimmer-strip {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
/* ===================== END WALLPAPER ===================== */


/* PAGE LAYOUT */
.page { position: relative; z-index: 10; width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; margin-left: auto; margin-right: auto; }

/* NAV */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  padding: 26px 0;
  background: transparent;
  border-bottom: none;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { font-size: 21px; font-weight: 300; letter-spacing: -0.01em; color: #fff; display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; height: 30px; width: auto; }
.brand-logo-lg { height: 48px; }
.foot-left .brand-logo { height: 38px; }
.brand-eq {
  background: linear-gradient(135deg, #2DD4D4 0%, #3B82F6 40%, #6366F1 70%, #A78BFA 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tm { font-size: 11px; color: var(--text-lo); font-family: 'JetBrains Mono', monospace; top: -0.7em; margin-left: 1px; }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-mid); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(167,139,250,0.4);
  background: rgba(99,102,241,0.08); color: #fff; text-decoration: none;
  transition: all 0.2s; white-space: nowrap;
}
.nav-cta:hover {
  background: linear-gradient(135deg, rgba(45,212,212,0.25) 0%, rgba(99,102,241,0.35) 100%);
  border-color: rgba(167,139,250,0.7);
  box-shadow: 0 0 20px rgba(99,102,241,0.35);
}

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 30px; border-radius: 999px;
  background: linear-gradient(135deg, #2DD4D4 0%, #6366F1 60%, #A78BFA 100%);
  color: #fff; text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  border: none;
  box-shadow: 0 0 30px rgba(99,102,241,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 44px rgba(99,102,241,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 30px; border-radius: 999px;
  background: rgba(255,255,255,0.03); color: #fff; text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: rgba(167,139,250,0.5);
  background: rgba(99,102,241,0.08);
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-row.center { justify-content: center; }

/* EYEBROW */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.38em; text-transform: uppercase;
  color: rgba(167,139,250,0.7);
  display: inline-flex; align-items: center; gap: 11px;
  margin-bottom: 30px;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet-light); box-shadow: 0 0 8px var(--violet-light);
}
.eyebrow.center { justify-content: center; }

h1, h2, h3 { font-family: 'Cormorant', Georgia, serif; font-weight: 500; margin: 0; letter-spacing: -0.015em; }

/* SECTION RHYTHM — generous breathing room */
section { position: relative; padding: 90px 0; }
section.tight { padding: 30px 0; }

/* HERO */
.hero {
   min-height: 85vh;
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
   padding: 120px 0 80px;
}
.hero .eyebrow { justify-content: center; }
.hero h1 {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text-hi);
  text-wrap: balance;
  max-width: none;
  margin: 0 auto;
  letter-spacing: -0.005em;
}
.hero h1 .line { display: block;font-size: clamp(32px, 8vw, 50px); }
.hero-sub {
  margin: 38px auto 0;
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--text-mid);
  max-width: 660px; line-height: 1.5;
  text-wrap: pretty;
}
.hero-small {
  margin: 26px auto 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-lo);
}
.hero .cta-row { margin-top: 48px; }
.hero-eq {
  display: flex; align-items: end; justify-content: center; gap: 4px;
  height: 54px; margin-top: 70px;
}
.hero-eq .bar {
  width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, #2DD4D4 0%, #6366F1 60%, #A78BFA 100%);
  opacity: 0.7; transform-origin: bottom;
  animation: wave 1.6s ease-in-out infinite;
  box-shadow: 0 0 4px rgba(99,102,241,0.4);
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}

/* STATEMENT BLOCKS (large centered editorial) */
.statement { text-align: center; }
.statement h2 {
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.05;
  color: var(--text-hi);
  text-wrap: balance;
  max-width: 18ch;
  margin: 0 auto;
}
.statement .body {
  margin: 40px auto 0;
  max-width: 680px;
}
.body {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.62;
  color: var(--text-mid);
  text-wrap: pretty;
}
.body p { margin: 0 0 1.3em; }
.body p:last-child { margin-bottom: 0; }
.body .lift { color: var(--text-hi); }

/* SECTION HEAD (left-aligned intro for card sections) */
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  color: var(--text-hi);
  text-wrap: balance;
}
.section-head .body { margin-top: 26px; }

/* GLASS PANEL */
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.012) 100%);
  border: 1px solid rgba(167,139,250,0.12);
  border-radius: 24px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px rgba(0,0,0,0.35);
  position: relative; overflow: hidden;
}
.panel-glow::before {
  content: ''; position: absolute;
  top: -40%; right: -20%; width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(99,102,241,0.30) 0%, transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.panel-top-line::after {
  content: ''; position: absolute; top: 0; left: 32px; right: 32px; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(167,139,250,0.4) 50%, transparent 100%);
}

/* STATES GRID (6 experiences) */
.states-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 18px;
}
.state-card { padding: 34px 32px; }
.state-card .dot {
  width: 30px; height: 30px; border-radius: 50%;
  margin-bottom: 26px;
  position: relative;
}
.state-card .dot::after {
  content: ''; position: absolute; inset: 9px; border-radius: 50%;
  background: rgba(0,0,0,0.35);
}
.state-card h3 {
  font-size: 28px; color: var(--text-hi); margin-bottom: 12px;
}
.state-card p {
  font-size: 15px; color: var(--text-mid); line-height: 1.55; margin: 0;
}

/* STEPS (Atrillion 3-part) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.step { padding: 38px 34px; }
.step .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.3em; color: rgba(167,139,250,0.7);
  margin-bottom: 22px;
}
.step h3 { font-size: 30px; color: var(--text-hi); margin-bottom: 12px; line-height: 1.1; }
.step p { font-size: 15px; color: var(--text-mid); line-height: 1.55; margin: 0; }

/* PULL LINES (two-line emphatic statements) */
.pull {
  margin-top: 48px;
  text-align: center;
}
.pull .a {
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--text-lo);
  line-height: 1.3;
}
.pull .b {
  font-size: clamp(24px, 2.8vw, 38px);
  color: var(--text-hi);
  line-height: 1.3;
  margin-top: 6px;
}

/* DEMO / CTA CARD */
.cta-card {
  padding: 50px 30px; text-align: center;
}
.cta-card h2 {
  font-size: clamp(40px, 5vw, 70px); color: var(--text-hi);
  margin-bottom: 20px; line-height: 1.05; text-wrap: balance;
}
.cta-card .body { margin: 0 auto 40px; max-width: 560px; }

/* CLOSING LOCKUP */
.lockup {
  margin-top: 60px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.lockup .name { font-size: 28px; color: #fff; letter-spacing: -0.02em; }
.lockup .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--text-lo);
}

/* FOOTER */
footer {
  padding: 70px 0 90px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(7,7,26,0.4);
  backdrop-filter: blur(20px);
  position: relative; z-index: 10;
}
.foot { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 36px; }
.foot-left { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.foot-left .brand { font-size: 24px; }
.foot-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--text-lo); line-height: 1.7;
}
.foot-links {
  display: flex; flex-direction: column; gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.foot-links a { color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.foot-links a:hover { color: #fff; }

/* RESPONSIVE */
@media (max-width: 920px) {
  section { padding: 100px 0; }
  section.tight { padding: 0px 0; }
  .states-grid { grid-template-columns: 1 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .container { padding: 0 24px; }
  .cta-card { padding: 52px 28px; }
}
@media (max-width:768px){

    .nav-inner{
        flex-direction:column;
        gap:15px;
    }

    .nav-links{
        display:none;
    }

    .nav-cta{
        display:none;
    }

}
@media(max-width:768px){

    .statement h2,
    .section-head h2,
    .cta-card h2{
        font-size:34px !important;
        line-height:1.2;
    }

}
@media(max-width:768px){

    .body,
    .hero-sub{
        font-size:16px !important;
        line-height:1.7;
    }

}
@media(max-width:768px){

    .cta-row{
        flex-direction:column;
        width:100%;
    }

    .btn-primary,
    .btn-secondary{
        width:100%;
        justify-content:center;
    }

}
@media(max-width:768px){

    .cta-card{
        padding:35px 20px;
    }

}
@media(max-width:768px){

    .container{
        padding:0 18px;
    }

}
@media (max-width: 560px) {
  .states-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 50px; }
  .foot { flex-direction: column; }
}
