/* Sleepy Landing — premium night theme */

:root {
  --bg-deep: #07060f;
  --bg: #0b0918;
  --bg-elevated: #12102a;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.055);
  --border: rgba(245, 230, 200, 0.12);
  --border-strong: rgba(245, 230, 200, 0.22);
  --text: #f3f0f8;
  --text-muted: #a39bb8;
  --text-soft: #7d7594;
  --champagne: #f5e6c8;
  --gold: #c9a86c;
  --gold-deep: #a8894a;
  --lavender: #8b7cf6;
  --lavender-soft: rgba(107, 92, 255, 0.18);
  --success: #7dcea0;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 80px rgba(107, 92, 255, 0.15);
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --container: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(107, 92, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(201, 168, 108, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 30% at 10% 60%, rgba(107, 92, 255, 0.08), transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--champagne);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--gold);
}

ul {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 3rem;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 6, 15, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 6, 15, 0.88);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.logo:hover {
  color: var(--champagne);
}

.logo-mark {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

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

.nav-cta {
  display: inline-flex;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--text);
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--champagne) 0%, var(--gold) 100%);
  color: #1a1428;
  box-shadow: 0 8px 32px rgba(201, 168, 108, 0.28);
}

.btn-primary:hover {
  color: #1a1428;
  box-shadow: 0 12px 40px rgba(201, 168, 108, 0.4);
}

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

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(245, 230, 200, 0.04);
  color: var(--champagne);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

/* —— Hero —— */
.hero {
  padding: calc(var(--header-h) + 5rem) 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--champagne);
  opacity: 0.55;
  animation: twinkle 4s ease-in-out infinite;
}

.star:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.star:nth-child(2) { top: 28%; left: 78%; width: 3px; height: 3px; animation-delay: 1.2s; }
.star:nth-child(3) { top: 55%; left: 88%; animation-delay: 0.6s; }
.star:nth-child(4) { top: 72%; left: 18%; width: 1.5px; height: 1.5px; animation-delay: 2s; }
.star:nth-child(5) { top: 40%; left: 45%; animation-delay: 1.8s; opacity: 0.35; }
.star:nth-child(6) { top: 15%; left: 55%; width: 2.5px; height: 2.5px; animation-delay: 0.3s; }
.star:nth-child(7) { top: 80%; left: 65%; animation-delay: 2.5s; }
.star:nth-child(8) { top: 35%; left: 8%; animation-delay: 1.5s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.4); }
}

.hero-moon {
  position: absolute;
  top: 12%;
  right: 8%;
  width: min(220px, 28vw);
  height: min(220px, 28vw);
  border-radius: 50%;
  background: linear-gradient(145deg, #f5e6c8 0%, #c9a86c 100%);
  box-shadow: 0 0 100px rgba(201, 168, 108, 0.25), var(--shadow-glow);
  opacity: 0.85;
  pointer-events: none;
}

.hero-moon::after {
  content: "";
  position: absolute;
  top: -8%;
  right: -12%;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 40px rgba(7, 6, 15, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--champagne);
  font-weight: 400;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2.4rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* —— Platforms —— */
.platforms {
  padding-top: 2rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.6rem 1rem 1.4rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  text-align: center;
}

.platform-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.platform-card.available {
  border-color: rgba(201, 168, 108, 0.35);
  box-shadow: 0 0 40px rgba(201, 168, 108, 0.08);
}

.platform-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(245, 230, 200, 0.06);
  color: var(--champagne);
}

.platform-icon svg {
  width: 26px;
  height: 26px;
}

.platform-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.platform-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.platform-badge.live {
  background: rgba(125, 206, 160, 0.15);
  color: var(--success);
}

.platform-badge.soon {
  background: rgba(163, 155, 184, 0.12);
  color: var(--text-soft);
}

.platform-card.soon {
  opacity: 0.7;
}

/* —— Family —— */
.family-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.family-card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.family-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.family-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--lavender-soft);
  color: var(--lavender);
  margin-bottom: 1.25rem;
}

.family-icon svg {
  width: 22px;
  height: 22px;
}

.family-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.family-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--border);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 1rem;
  line-height: 1;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* —— Features —— */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-card h3 .icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(245, 230, 200, 0.08);
  color: var(--champagne);
  flex-shrink: 0;
}

.feature-card h3 .icon svg {
  width: 18px;
  height: 18px;
}

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

/* —— Phrases —— */
.phrases-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.phrase {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: 18px 18px 18px 4px;
  background: linear-gradient(135deg, rgba(107, 92, 255, 0.12) 0%, rgba(245, 230, 200, 0.05) 100%);
  border: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.phrase:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.phrase-quote {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}

.phrase cite {
  display: block;
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* —— FAQ —— */
.faq-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item[open],
.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 1.4rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* —— CTA band —— */
.cta-band {
  margin: 2rem 0 4rem;
  padding: 4rem 2.5rem;
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(ellipse 80% 80% at 70% 20%, rgba(201, 168, 108, 0.15), transparent 55%),
    linear-gradient(145deg, rgba(107, 92, 255, 0.18) 0%, rgba(18, 16, 42, 0.9) 100%);
  border: 1px solid var(--border-strong);
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.cta-band p {
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 auto 2rem;
}

.cta-band .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-soft);
  font-size: 0.9rem;
  max-width: 260px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--champagne);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.82rem;
}

/* —— Reveal animations —— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* —— Privacy page —— */
.page-header {
  padding: calc(var(--header-h) + 3.5rem) 0 2rem;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.page-header .meta {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.legal {
  padding: 0 0 5rem;
  max-width: 720px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 2.5rem 0 0.9rem;
}

.legal p,
.legal li {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.legal ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal li {
  list-style: disc;
}

.legal .note {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .family-grid,
  .steps,
  .features-grid,
  .phrases-wrap {
    grid-template-columns: 1fr;
  }

  .hero-moon {
    opacity: 0.35;
    right: -5%;
    top: 8%;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(7, 6, 15, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    margin-top: 1rem;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: calc(var(--header-h) + 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 4.5rem 0;
  }

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

  .cta-band {
    padding: 3rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .star { animation: none; }
  .btn:hover { transform: none; }
}
