@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --ink: #17132f;
  --indigo: #160f3b;
  --violet: #7561d9;
  --violet-dark: #57459e;
  --lavender: #eee9ff;
  --teal: #21b9b2;
  --cream: #fffaf0;
  --muted: #67647c;
  --white: #fff;
  --radius: 28px;
  --shadow: 0 24px 80px rgba(43, 28, 91, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfaff;
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  color: #fff;
  transition: background .25s ease, box-shadow .25s ease, height .25s ease;
}
.site-header.scrolled {
  height: 70px;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 30px rgba(24, 16, 58, .08);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; font: 800 20px/1 "Manrope", sans-serif; }
.brand img { width: 44px; height: 36px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.nav-cta) { opacity: .78; }
.main-nav > a:hover, .main-nav > a:focus-visible { opacity: 1; }
.nav-cta { padding: 11px 18px; border-radius: 100px; background: var(--teal); color: #092d31; }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: currentColor; }

.hero {
  position: relative;
  min-height: 800px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  padding: 140px max(24px, calc((100vw - 1240px) / 2)) 90px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 42%, rgba(117, 97, 217, .38), transparent 32%),
    linear-gradient(135deg, #110b31 0%, #1d1451 55%, #0b3438 120%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -160px;
  height: 300px;
  border-radius: 50% 50% 0 0;
  background: #fbfaff;
}
.hero-copy, .hero-stage { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; color: #66ddd7; font: 800 11px/1 "Manrope", sans-serif; letter-spacing: 2.2px; }
.eyebrow-dark { color: var(--violet); }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
h1 { max-width: 680px; margin: 0; font-size: clamp(54px, 6.7vw, 92px); line-height: .98; letter-spacing: -4.4px; }
h1 em { color: #a996ff; font-style: normal; }
.hero-lead { max-width: 620px; margin: 28px 0 0; color: #d9d4ee; font-size: clamp(17px, 1.55vw, 20px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #092d31; background: var(--teal); box-shadow: 0 12px 35px rgba(33, 185, 178, .28); }
.button-ghost { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.07); }
.button-dark { color: #fff; background: var(--indigo); }
.button-light { color: var(--indigo); background: #fff; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; color: #aaa2c9; font-size: 12px; font-weight: 600; }

.hero-stage { min-height: 530px; perspective: 1200px; }
.floating-book { position: absolute; overflow: hidden; border: 7px solid rgba(255,255,255,.75); border-radius: 24px; box-shadow: 0 30px 70px rgba(4, 1, 22, .5); }
.floating-book img { width: 100%; height: 100%; object-fit: cover; }
.book-main { z-index: 3; width: 300px; height: 420px; top: 55px; left: 50%; transform: translateX(-50%) rotate(2deg); animation: float 6s ease-in-out infinite; }
.book-left { z-index: 2; width: 210px; height: 300px; top: 145px; left: 0; transform: rotate(-10deg); animation: floatLeft 7s ease-in-out infinite; }
.book-right { z-index: 2; width: 200px; height: 290px; top: 110px; right: -15px; transform: rotate(10deg); animation: floatRight 6.5s ease-in-out infinite; }
.orbit { position: absolute; border: 1px solid rgba(117, 97, 217, .45); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; inset: 25px auto auto 50%; transform: translateX(-50%); }
.orbit-two { width: 390px; height: 390px; inset: 90px auto auto 50%; transform: translateX(-50%); border-color: rgba(33, 185, 178, .3); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(3px); }
.hero-glow-one { width: 300px; height: 300px; top: 10%; left: -170px; background: rgba(117, 97, 217, .18); }
.hero-glow-two { width: 140px; height: 140px; top: 25%; right: 4%; background: rgba(33, 185, 178, .13); }

.trust-strip { position: relative; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; padding: 26px 24px; color: var(--violet-dark); font-size: 13px; font-weight: 800; }
.trust-strip p { margin: 0; }
.trust-strip span { color: var(--teal); }
.section { padding: 110px max(24px, calc((100vw - 1240px) / 2)); }
.section-heading { max-width: 720px; }
.section-heading h2, .experience-copy > h2, .family-card h2 { margin: 0; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -2.5px; }
.section-heading > p:last-child { max-width: 600px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.story-card { position: relative; min-width: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 18px 45px rgba(31, 20, 70, .1); transition: transform .25s ease, box-shadow .25s ease; }
.story-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.story-cover { aspect-ratio: .78; overflow: hidden; }
.story-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.story-card:hover img { transform: scale(1.035); }
.story-info { min-height: 210px; padding: 24px; }
.story-info span { color: var(--violet); font-size: 9px; font-weight: 800; letter-spacing: 1.4px; }
.story-info h3 { margin: 10px 0 8px; font-size: 21px; line-height: 1.16; }
.story-info p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.story-purple { background: #f1edff; }
.story-teal { background: #e7f8f6; }
.story-blue { background: #e8f1ff; }
.story-coral { background: #fff0eb; }
.text-link { display: inline-flex; gap: 8px; margin-top: 32px; color: var(--violet-dark); font-weight: 800; }

.experience-section { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 100px; overflow: hidden; background: #f1edff; }
.experience-visual { position: relative; min-height: 670px; }
.phone-shell { position: absolute; inset: 0 auto 0 50%; width: 330px; transform: translateX(-50%) rotate(-2deg); overflow: hidden; padding: 14px; border: 9px solid #19122e; border-radius: 50px; background: #fff; box-shadow: var(--shadow); }
.phone-shell > img { width: 100%; height: 100%; border-radius: 32px; object-fit: cover; }
.phone-top { position: absolute; z-index: 2; width: 110px; height: 25px; top: 14px; left: 50%; transform: translateX(-50%); border-radius: 0 0 18px 18px; background: #19122e; }
.mini-player { position: absolute; inset: auto 25px 30px; display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 20px; color: #fff; background: rgba(22, 15, 59, .92); backdrop-filter: blur(10px); }
.mini-player button { width: 38px; height: 38px; border: 0; border-radius: 50%; color: #fff; background: var(--teal); }
.mini-player div { display: grid; gap: 2px; }
.mini-player strong { font-size: 11px; }
.mini-player span { color: #c8c1e2; font-size: 9px; }
.feature-float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(38, 25, 78, .18); font-size: 12px; }
.feature-float span { font-size: 22px; }
.feature-a { top: 90px; left: 0; }
.feature-b { right: 0; bottom: 120px; }
.experience-copy > h2 { max-width: 650px; }
.feature-list { display: grid; gap: 25px; margin: 38px 0; }
.feature-list article { display: flex; gap: 18px; padding-bottom: 25px; border-bottom: 1px solid rgba(87, 69, 158, .16); }
.feature-list article > span { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 14px; color: var(--violet-dark); background: #fff; font-weight: 800; }
.feature-list h3 { margin: 0 0 5px; font-size: 18px; }
.feature-list p { margin: 0; color: var(--muted); line-height: 1.6; }

.family-section { background: #fbfaff; }
.family-card { position: relative; overflow: hidden; padding: 70px; border-radius: 42px; color: #fff; background: linear-gradient(125deg, #160f3b, #322472 70%, #176c70 140%); }
.family-card > div:first-child { position: relative; z-index: 2; max-width: 720px; }
.family-card p:not(.eyebrow) { color: #d7d1eb; font-size: 18px; line-height: 1.7; }
.family-symbol { position: absolute; right: 7%; top: 50%; width: 280px; height: 280px; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.family-symbol span { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); color: #d7cfff; font-size: 130px; }
.family-symbol i { position: absolute; inset: 30px; border: 1px dashed rgba(33,185,178,.5); border-radius: 50%; }
.family-symbol b { position: absolute; top: 25px; right: 30px; color: #66ddd7; font-size: 34px; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 35px; padding: 42px max(24px, calc((100vw - 1240px) / 2)); border-top: 1px solid #e8e4f3; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 48px; }
.footer-brand div { display: grid; }
.footer-brand strong { font: 800 17px "Manrope", sans-serif; }
.footer-brand span, .site-footer p, .site-footer small { color: var(--muted); font-size: 11px; }
.footer-links { display: flex; gap: 20px; font-size: 12px; font-weight: 700; }
.site-footer small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid #eeeaf5; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0%,100% { transform: translateX(-50%) rotate(2deg) translateY(0); } 50% { transform: translateX(-50%) rotate(0) translateY(-12px); } }
@keyframes floatLeft { 0%,100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-9px); } }
@keyframes floatRight { 0%,100% { transform: rotate(10deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-13px); } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-copy { max-width: 760px; }
  .hero-stage { width: min(620px, 100%); margin: auto; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .experience-section { grid-template-columns: 1fr; gap: 50px; }
  .experience-visual { width: min(600px, 100%); margin: auto; }
  .family-symbol { opacity: .45; right: -50px; }
}

@media (max-width: 760px) {
  .site-header { height: 68px; padding-inline: 18px; }
  .menu-button { display: block; color: currentColor; }
  .main-nav { position: absolute; inset: 68px 14px auto; display: none; align-items: stretch; gap: 6px; padding: 12px; border-radius: 20px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 13px 14px; }
  .nav-cta { text-align: center; }
  .hero { min-height: auto; padding: 120px 20px 160px; }
  h1 { font-size: clamp(48px, 15vw, 68px); letter-spacing: -3px; }
  .hero-stage { min-height: 390px; }
  .book-main { width: 210px; height: 300px; top: 35px; }
  .book-left { width: 135px; height: 200px; top: 120px; left: -5px; }
  .book-right { width: 130px; height: 190px; top: 95px; right: -5px; }
  .orbit-one { width: 370px; height: 370px; }
  .orbit-two { width: 280px; height: 280px; }
  .trust-strip { gap: 12px; }
  .trust-strip span { display: none; }
  .trust-strip p { padding: 7px 11px; border-radius: 100px; background: #eee9ff; font-size: 10px; }
  .section { padding: 78px 20px; }
  .story-grid { grid-template-columns: 1fr; gap: 16px; }
  .story-card { display: grid; grid-template-columns: 42% 58%; }
  .story-cover { aspect-ratio: .8; }
  .story-info { min-height: 0; padding: 20px 16px; }
  .story-info h3 { font-size: 17px; }
  .experience-visual { min-height: 570px; }
  .phone-shell { width: 280px; }
  .feature-a { left: -10px; }
  .feature-b { right: -10px; }
  .family-card { padding: 44px 25px 280px; border-radius: 30px; }
  .family-symbol { top: auto; bottom: -40px; right: 50%; transform: translateX(50%); opacity: .7; }
  .site-footer { grid-template-columns: 1fr; gap: 20px; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
