/* ═══════════════════════════════════════════════════════════
   Splash / Landing Page — Frosted Glass Treatment
   ═══════════════════════════════════════════════════════════ */

/* Nav */
.splash-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: rgba(8,12,21,.55);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.splash-nav .nav-logo { font-size: 18px; font-weight: 800; }
.splash-nav .nav-logo .accent {
  background: linear-gradient(90deg, #ffb347 0%, #f5944a 20%, #ff7eb3 40%, #e87bc8 55%, #c98ef0 72%, #a8b4f8 88%, #5ce0d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.splash-signin-btn {
  background: rgba(255,255,255,.1); color: var(--text); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm); padding: 8px 18px;
  font-weight: 700; font-size: 13px; cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition);
}
.splash-signin-btn:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.22);
}

/* Hero */
.splash-hero {
  padding: 140px 24px 60px; text-align: center;
  max-width: 720px; margin: 0 auto;
}
.splash-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 107, 157, .08);
  border: 1px solid rgba(255,107,157,.15);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 100px; padding: 6px 16px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  letter-spacing: .03em; margin-bottom: 24px;
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); animation: pulse-dot 2s ease infinite;
}
.splash-h1 {
  font-size: clamp(36px, 8vw, 56px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1; margin-bottom: 20px;
}
.splash-sub {
  font-size: clamp(16px, 3.5vw, 20px); color: var(--muted);
  max-width: 520px; margin: 0 auto 36px; line-height: 1.5;
}

/* ─── CTA Button — holographic satin finish ─────────────── */
.splash-cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(18,12,28,.88);
  color: #fff;
  border: 1px solid rgba(255,179,71,.2);
  border-radius: 14px; padding: 16px 36px;
  font-size: 17px; font-weight: 700; cursor: pointer;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: all .4s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 0 6px rgba(255,179,71,.08), 0 4px 16px rgba(0,0,0,.4);
}

/* Holographic wash layer — large soft color blobs that drift slowly */
.splash-cta::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 14px;
  background:
    radial-gradient(ellipse 55% 70% at 25% 40%, rgba(255,140,42,.4), transparent 70%),
    radial-gradient(ellipse 50% 65% at 75% 60%, rgba(255,90,157,.35), transparent 70%),
    radial-gradient(ellipse 60% 55% at 55% 30%, rgba(215,122,255,.3), transparent 70%),
    radial-gradient(ellipse 45% 60% at 40% 70%, rgba(255,200,100,.25), transparent 70%);
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity .5s ease;
  animation: holoWash 6s ease-in-out infinite alternate;
  z-index: -1;
}

/* Soft outer glow — just a gentle bloom, no caterpillar ring */
.splash-cta::after {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 50% 60% at 30% 50%, rgba(255,140,42,.25), transparent 65%),
    radial-gradient(ellipse 50% 60% at 70% 50%, rgba(215,122,255,.2), transparent 65%);
  background-size: 200% 200%;
  filter: blur(12px);
  opacity: 0;
  transition: opacity .5s ease;
  animation: holoWash 6s ease-in-out infinite alternate-reverse;
  z-index: -2;
  pointer-events: none;
}

.splash-cta:hover {
  border-color: rgba(255,179,71,.45);
  box-shadow:
    0 0 8px rgba(255,179,71,.25),
    0 0 20px rgba(255,107,157,.18),
    0 0 40px rgba(196,113,237,.12),
    inset 0 0 12px rgba(255,179,71,.06),
    0 8px 32px rgba(0,0,0,.5);
  transform: translateY(-3px) scale(1.03);
}
.splash-cta:hover::before { opacity: .7; }
.splash-cta:hover::after  { opacity: .5; }
.splash-cta:hover svg { stroke: #fff; }

/* Always show a faint hint of the holographic wash, even before hover */
.splash-cta::before { opacity: .2; }

@keyframes holoWash {
  0%   { background-position: 0% 30%, 100% 70%, 40% 0%, 60% 100%; }
  25%  { background-position: 40% 60%, 60% 30%, 80% 50%, 20% 40%; }
  50%  { background-position: 80% 40%, 20% 60%, 50% 80%, 70% 20%; }
  75%  { background-position: 60% 70%, 40% 40%, 20% 30%, 80% 60%; }
  100% { background-position: 100% 50%, 0% 50%, 60% 100%, 40% 0%; }
}

.splash-note {
  font-size: 13px; color: var(--muted); margin-top: 14px;
}
.splash-stats {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  padding: 32px 0; margin-top: 10px;
}
.splash-stat { text-align: center; }
.splash-stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--accent); }
.splash-stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ─── Feature Cards — Frosted Glass + RGB Halo ──────────── */
.splash-features { padding: 40px 24px 80px; max-width: 800px; margin: 0 auto; }
.splash-section-label {
  text-align: center; font-size: 14px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted); margin-bottom: 32px;
}
.splash-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

/* --- Card with RGB halo pseudo-elements --- */
@property --halo-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.splash-card {
  position: relative;
  background: rgba(10, 14, 24, .92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .4s ease;
  will-change: transform;
  overflow: visible;
  cursor: default;
}
/* Lava lamp halo — multiple blurred blobs that drift independently */
.splash-card::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: calc(var(--radius) + 20px);
  background:
    radial-gradient(ellipse 120px 100px at 20% 30%, rgba(255,179,71,.35), transparent 70%),
    radial-gradient(ellipse 100px 120px at 80% 70%, rgba(255,107,157,.3), transparent 70%),
    radial-gradient(ellipse 90px 110px at 50% 20%, rgba(196,113,237,.25), transparent 70%),
    radial-gradient(ellipse 110px 90px at 70% 40%, rgba(255,200,100,.2), transparent 70%);
  filter: blur(24px);
  opacity: 0;
  transition: opacity .5s ease;
  z-index: -1;
  pointer-events: none;
  animation: lavaShift 8s ease-in-out infinite alternate;
}
/* Holographic satin border — soft washes of color that glint on hover */
.splash-card::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--radius) + 1.5px);
  padding: 1.5px;
  background:
    radial-gradient(ellipse 60% 80% at 20% 30%, rgba(255,179,71,.5), transparent 65%),
    radial-gradient(ellipse 55% 70% at 80% 60%, rgba(255,107,157,.4), transparent 65%),
    radial-gradient(ellipse 50% 65% at 50% 80%, rgba(196,113,237,.35), transparent 65%);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  animation: holoCardBorder 8s ease-in-out infinite alternate;
}
.splash-card:hover::before { opacity: .4; }
.splash-card:hover::after  { opacity: .45; }
.splash-card:hover {
  border-color: rgba(255,255,255,.06);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.03);
}

@keyframes lavaShift {
  0%   { background-position: 0% 0%, 100% 100%, 50% 0%, 80% 50%; }
  25%  { background-position: 30% 60%, 70% 20%, 20% 80%, 50% 30%; }
  50%  { background-position: 70% 30%, 20% 80%, 80% 50%, 30% 70%; }
  75%  { background-position: 40% 80%, 50% 40%, 60% 20%, 40% 60%; }
  100% { background-position: 100% 100%, 0% 0%, 50% 100%, 20% 50%; }
}
@keyframes holoCardBorder {
  0%   { background-position: 0% 20%, 100% 80%, 50% 100%; }
  33%  { background-position: 60% 70%, 40% 20%, 80% 30%; }
  66%  { background-position: 100% 40%, 0% 60%, 30% 70%; }
  100% { background-position: 30% 90%, 70% 10%, 50% 50%; }
}

/* Card inner content — above pseudo elements */
.splash-card .splash-card-inner {
  position: relative; z-index: 1;
}
.splash-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.splash-card-icon.blue { background: rgba(124,156,255,.12); }
.splash-card-icon.warm { background: rgba(245,192,110,.12); }
.splash-card-icon.green { background: rgba(74,222,128,.12); }
.splash-card-icon.pink { background: rgba(232,121,168,.12); }
.splash-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.splash-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ─── How It Works — Frosted Glass ──────────────────────── */
.splash-how { padding: 80px 24px; max-width: 720px; margin: 0 auto; }
.splash-how h2 {
  font-size: clamp(26px, 5vw, 36px); font-weight: 800;
  text-align: center; margin-bottom: 12px; letter-spacing: -.02em;
}
.splash-how-sub {
  text-align: center; color: var(--muted); font-size: 16px; margin-bottom: 48px;
}
.splash-steps { display: flex; flex-direction: column; gap: 16px; }
.splash-step {
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(17, 24, 39, .35);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); padding: 22px;
  transition: border-color .3s, background .3s;
}
.splash-step:hover {
  border-color: rgba(255,255,255,.14);
  background: rgba(17, 24, 39, .5);
}
.splash-step-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255, 107, 157, .1); color: var(--accent);
  font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.splash-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.splash-step p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ─── The Vibe — Frosted Glass ──────────────────────────── */
.splash-vibe { padding: 80px 24px; max-width: 720px; margin: 0 auto; }
.splash-vibe h2 {
  font-size: clamp(26px, 5vw, 36px); font-weight: 800;
  text-align: center; margin-bottom: 12px; letter-spacing: -.02em;
}
.splash-vibe-sub {
  text-align: center; color: var(--muted); font-size: 16px; margin-bottom: 48px;
}
.splash-vibe-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width: 520px) { .splash-vibe-grid { grid-template-columns: 1fr; } }
.vibe-card {
  background: rgba(17, 24, 39, .35);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; padding: 20px; text-align: center;
  transition: border-color .3s, background .3s;
}
.vibe-card:hover {
  background: rgba(17, 24, 39, .5);
}
.vibe-card.yes { border-color: rgba(74,222,128,.2); }
.vibe-card.yes:hover { border-color: rgba(74,222,128,.35); }
.vibe-card.no { border-color: rgba(248,113,113,.1); opacity: .6; }
.vibe-card.no h3 { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(248,113,113,.4); }
.vibe-emoji { font-size: 28px; margin-bottom: 10px; }
.vibe-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.vibe-card p { font-size: 13px; color: var(--muted); line-height: 1.45; }
.vibe-detail {
  max-height: 0; overflow: hidden;
  font-size: 12px; color: var(--text-dim); line-height: 1.6;
  transition: max-height .35s cubic-bezier(.2,.8,.2,1), margin .3s ease;
  margin-top: 0;
}
.vibe-card.vibe-open .vibe-detail {
  margin-top: 10px;
}
.vibe-card.vibe-open {
  border-color: rgba(255,107,157,.3);
}

/* ─── FAQ — Frosted Glass ───────────────────────────────── */
.splash-faq { padding: 80px 24px; max-width: 720px; margin: 0 auto; }
.splash-faq h2 {
  font-size: clamp(26px, 5vw, 36px); font-weight: 800;
  text-align: center; margin-bottom: 40px; letter-spacing: -.02em;
}
.faq-list {
  background: rgba(17, 24, 39, .3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 4px 20px;
}
.faq-item { border-bottom: 1px solid rgba(255,255,255,.05); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; cursor: pointer; font-size: 15px; font-weight: 600;
  color: var(--text); width: 100%; text-align: left;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-arrow { font-size: 18px; color: var(--muted); transition: transform .3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s;
  font-size: 14px; color: var(--muted); line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 18px; }

/* ─── Bottom CTA ────────────────────────────────────────── */
.splash-bottom-cta {
  text-align: center; padding: 80px 24px 100px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,154,120,.04) 100%);
}
.splash-bottom-cta h2 {
  font-size: clamp(28px, 6vw, 42px); font-weight: 800;
  margin-bottom: 16px; letter-spacing: -.02em;
}
.splash-bottom-cta p {
  color: var(--muted); font-size: 17px; margin-bottom: 32px;
  max-width: 460px; margin-left: auto; margin-right: auto;
}

/* ─── Brand Meaning ─────────────────────────────────────── */
.splash-meaning {
  text-align: center; padding: 60px 24px 20px;
  max-width: 480px; margin: 0 auto;
}
.meaning-word {
  font-size: clamp(28px, 5vw, 38px); font-weight: 800;
  letter-spacing: .01em; margin-bottom: 14px;
  opacity: .85;
}
.vita-gradient {
  background: linear-gradient(90deg, #ffb347 0%, #f5944a 20%, #ff7eb3 40%, #e87bc8 55%, #c98ef0 72%, #a8b4f8 88%, #5ce0d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.meaning-text {
  font-size: 15px; color: var(--muted); line-height: 1.7;
  font-style: normal;
}
.meaning-text em {
  color: var(--text-dim); font-style: italic;
}

/* ─── Footer ────────────────────────────────────────────── */
.splash-footer {
  text-align: center; padding: 32px 24px 48px;
  font-size: 13px; color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.05);
}
.splash-footer p + p { margin-top: 4px; }

/* ─── Disable parallax on mobile/touch ──────────────────── */
@media (max-width: 768px) {
  .splash-card { transform: none !important; }
  .splash-card::before, .splash-card::after { display: none; }
}
