/* =====================================================================
   Sidera Path — home page theme (dark cosmic / glassmorphism)
   Scoped under .home so the shared style.css (and the light legal/
   support pages) are unaffected. Loaded AFTER style.css.
   ===================================================================== */

.home{
  --accent:#6b46c1;
  --accent-soft:#8b6fd6;
  --gold:#f2a93b;
  --orange:#e8602d;
  --green:#3ddc84;
  --ink:#f4f4f7;
  --muted:#9aa0b4;
  --bg:#06060a;
  --panel:rgba(255,255,255,0.05);
  --panel-border:rgba(255,255,255,0.10);
  background:var(--bg);
  color:var(--ink);
}

/* Fixed cosmic backdrop: deep nebula glows + a faint starfield */
.home::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(232,96,45,0.10), transparent 60%),
    radial-gradient(1000px 800px at 12% 4%, rgba(107,70,193,0.16), transparent 60%),
    radial-gradient(1200px 900px at 50% 108%, rgba(107,70,193,0.10), transparent 60%),
    #06060a;
}
.home::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.2px 1.2px at 70% 20%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.6px 1.6px at 40% 70%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.1px 1.1px at 85% 60%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.3px 1.3px at 12% 80%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.2px 1.2px at 58% 44%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 90% 12%, rgba(255,255,255,0.75), transparent),
    radial-gradient(1.1px 1.1px at 32% 14%, rgba(255,255,255,0.55), transparent);
  background-repeat:repeat;
  background-size:auto;
  opacity:.55;
}

/* Reusable frosted-glass surface */
.home .glass{
  background:var(--panel);
  backdrop-filter:blur(14px) saturate(120%);
  -webkit-backdrop-filter:blur(14px) saturate(120%);
  border:1px solid var(--panel-border);
  border-radius:20px;
  box-shadow:0 10px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ------------------------- Hero -------------------------------------- */
.home .cover-hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  background:transparent; /* let the page's cosmic backdrop show through the faded bottom */
  overflow:hidden;
}
/* logo-shot background layer — masked so its bottom fades to transparent and
   melts into the page background below instead of ending on a flat band */
.home .hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(180deg, #000 0%, #000 48%, rgba(0,0,0,0) 96%);
          mask-image:linear-gradient(180deg, #000 0%, #000 48%, rgba(0,0,0,0) 96%);
}
.home .hero-bg img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 38%;
}
/* Dim the shot for legibility, fading to fully transparent at the bottom */
.home .cover-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,
    rgba(6,6,10,0.48) 0%,
    rgba(6,6,10,0.10) 26%,
    rgba(6,6,10,0.28) 52%,
    rgba(6,6,10,0.15) 72%,
    rgba(6,6,10,0) 100%);
}

.home .hero-inner{
  position:relative;
  z-index:3;
  width:100%;
  max-width:1040px;
  margin:0 auto;
  padding:118px 40px 96px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:52px;
}
.home .hero-copy{flex:1 1 auto;min-width:0;max-width:560px}
.home .hero-copy .title{
  font-size:clamp(40px,7vw,72px);
  font-weight:800;
  letter-spacing:-0.02em;
  margin:0 0 14px;
  color:#fff;
  text-shadow:0 4px 40px rgba(107,70,193,0.45);
}
.home .coming-soon{
  display:inline-block;
  margin:0 0 20px;
  padding:9px 16px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.04em;
  color:#fde9c8;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(242,169,59,0.38);
  backdrop-filter:blur(12px) saturate(130%);
  -webkit-backdrop-filter:blur(12px) saturate(130%);
  box-shadow:0 8px 26px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,255,255,0.08);
}
.home .hero-headline{
  max-width:520px;
  margin:0;
  font-size:clamp(17px,2vw,21px);
  line-height:1.5;
  font-weight:500;
  color:#e9e9f2;
  text-shadow:0 2px 18px rgba(0,0,0,0.6);
}
.home .hero-headline strong{color:#fff;font-weight:700;display:block;margin-bottom:6px}

.home .hero-phone{flex:0 0 auto;position:relative}
.home .hero-phone .phone-frame{width:296px}
.home .hero-phone::before{
  content:"";
  position:absolute;
  inset:-14%;
  z-index:-1;
  border-radius:50%;
  background:radial-gradient(circle, rgba(107,70,193,0.42), transparent 66%);
  filter:blur(26px);
}

/* Float the notify/social buttons above the dim overlay */
.home .hero-buttons{z-index:12}
.home .hero-btn{
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.16);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.home .hero-btn:hover{background:rgba(255,255,255,0.20)}

/* Scroll cue */
.home .scroll-cue{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  z-index:7;
  color:rgba(255,255,255,0.55);
  font-size:22px;
  animation:cue-bob 1.8s ease-in-out infinite;
}

/* ------------------------- Layout shells ----------------------------- */
.home .container{max-width:1040px}
.home .section-eyebrow{
  display:block;
  text-align:center;
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:700;
  margin:0 0 10px;
  background:linear-gradient(90deg,var(--gold),var(--orange));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* Welcome panel */
.home .welcome{margin:42px auto 8px;padding:30px 34px}
.home .welcome h2{
  margin:0 0 14px;
  font-size:clamp(22px,3vw,30px);
  font-weight:800;
  color:#fff;
}
.home .welcome p{margin:0 0 14px;color:#d4d6e3;line-height:1.65;font-size:16px}
.home .welcome p:last-child{margin-bottom:0}
.home .welcome p.tag{color:var(--muted)}

/* Story interludes (What is Sidera / Why Path) woven between screenshots */
.home .story{padding:30px 24px}
.home .story-card{
  max-width:820px;
  margin:0 auto;
  padding:32px 36px;
}
.home .story-card .section-eyebrow{text-align:left}
.home .story-card h2{
  margin:0 0 14px;
  font-size:clamp(22px,3vw,30px);
  font-weight:800;
  color:#fff;
}
.home .story-card p{margin:0 0 14px;color:#c9ccdb;line-height:1.65;font-size:15.5px}
.home .story-card p:last-child{margin-bottom:0}

/* Closing companion card */
.home .closer{padding:44px 24px}
.home .closer-card{
  max-width:760px;
  margin:0 auto;
  padding:40px 36px;
  text-align:center;
}
.home .closer-card h2{
  margin:8px 0 12px;
  font-size:clamp(24px,3.4vw,34px);
  font-weight:800;
  color:#fff;
}
.home .closer-card p{margin:0 auto 24px;max-width:560px;color:#c9ccdb;line-height:1.6;font-size:16px}
.home .cta-btn{
  display:inline-block;
  padding:12px 24px;
  border-radius:999px;
  font-weight:700;
  font-size:15px;
  color:#1c1206;
  background:linear-gradient(90deg,var(--gold),var(--orange));
  text-decoration:none;
  box-shadow:0 12px 30px rgba(232,96,45,0.35);
  transition:transform 140ms ease,box-shadow 140ms ease;
}
.home .cta-btn:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(232,96,45,0.45)}

/* ------------------------- Feature sections -------------------------- */
.home .feature{
  padding:64px 24px;
  max-width:1040px;
  margin:0 auto;
}
.home .feature-head{max-width:680px;margin:0 auto 38px;text-align:center}
.home .feature-head h2{
  margin:0 0 12px;
  font-size:clamp(26px,4vw,38px);
  font-weight:800;
  letter-spacing:-0.01em;
  color:#fff;
}
.home .feature-head p{margin:0;color:var(--muted);font-size:16px;line-height:1.6}

/* Stage holds the centered phone with absolutely-positioned glass notes */
.home .feature-stage{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:560px;
}

/* CSS phone frame */
.home .phone-frame{
  position:relative;
  z-index:3;
  width:300px;
  aspect-ratio:9/19.5;
  border-radius:46px;
  padding:3px;
  background:linear-gradient(160deg,#16161c,#030305);
  box-shadow:
    0 34px 90px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
.home .phone-frame img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:43px;
  background:#0c0c11; /* shown if file missing */
}
/* soft aura behind the phone */
.home .feature-stage::before{
  content:"";
  position:absolute;
  z-index:1;
  width:360px;height:360px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(107,70,193,0.35), transparent 65%);
  filter:blur(20px);
}

/* Orbiting glass notes */
.home .note{
  position:absolute;
  z-index:5;
  width:210px;
  padding:14px 16px;
  border-radius:16px;
  font-size:13.5px;
  line-height:1.45;
  color:#e9e9f2;
  animation:note-float 6s ease-in-out infinite;
}
.home .note h4{
  margin:0 0 4px;
  font-size:13px;
  font-weight:700;
  color:#fff;
  display:flex;align-items:center;gap:7px;
}
.home .note .dot{width:8px;height:8px;border-radius:50%;flex:0 0 auto}
.home .note .dot.purple{background:var(--accent-soft);box-shadow:0 0 10px var(--accent)}
.home .note .dot.gold{background:var(--gold);box-shadow:0 0 10px var(--gold)}
.home .note .dot.green{background:var(--green);box-shadow:0 0 10px var(--green)}
.home .note p{margin:0;color:#c4c7d6}

/* Note placements (desktop) */
.home .note--tl{top:6%;left:2%;animation-delay:0s}
.home .note--bl{bottom:8%;left:0;animation-delay:1.4s}
.home .note--tr{top:12%;right:2%;animation-delay:.7s}
.home .note--br{bottom:6%;right:1%;animation-delay:2.1s}

/* ------------------------- Pathway trio (3 phones in a row) ---------- */
.home .pathway-trio{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:26px;
  max-width:1040px;
  margin:0 auto;
}
.home .pathway-step{
  flex:1 1 0;
  max-width:320px;
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  position:relative;
}
/* neutral separator between phones (desktop) */
.home .pathway-step:not(:last-child)::after{
  content:"•";
  position:absolute;
  top:32%;
  right:-19px;
  transform:translateY(-50%);
  font-size:13px;
  color:rgba(255,255,255,0.28);
  z-index:6;
}
.home .pathway-step .phone-frame{width:100%;max-width:300px}
.home .pathway-step figcaption{
  padding:16px 18px;
  text-align:center;
  width:100%;
}
.home .step-badge{
  display:inline-block;
  font-size:11px;
  letter-spacing:.05em;
  font-weight:700;
  text-transform:uppercase;
  padding:4px 10px;
  border-radius:999px;
  margin-bottom:9px;
  color:#fde9c8;
  background:linear-gradient(90deg, rgba(242,169,59,0.18), rgba(232,96,45,0.18));
  border:1px solid rgba(242,169,59,0.30);
}
.home .pathway-step figcaption h4{margin:0 0 6px;font-size:16px;font-weight:700;color:#fff}
.home .pathway-step figcaption p{margin:0;font-size:13.5px;line-height:1.5;color:#c4c7d6}

/* ------------------------- Zodiac sign strip (dark override) --------- */
.home .sign-strip{margin-top:18px}
.home .sign-card{
  background:linear-gradient(180deg,rgba(255,255,255,0.05),rgba(255,255,255,0.02));
  box-shadow:0 8px 26px rgba(0,0,0,0.5);
  border:1px solid rgba(255,255,255,0.07);
}

/* ------------------------- What is Sidera / Why Path ----------------- */
.home .more-info{padding:46px 24px 20px}
.home .info-grid{grid-template-columns:1fr 1fr;gap:22px}
.home .info{padding:26px 28px}
.home .info h2{color:#fff;font-size:21px;margin:0 0 12px}
.home .info p{color:var(--muted);line-height:1.6}
.home .info-grid .info:nth-child(2){text-align:left}

/* ------------------------- Footer (dark override) -------------------- */
.home .landing-footer{
  border-top:1px solid rgba(255,255,255,0.08);
  margin-top:40px;
}
.home .landing-footer a{color:var(--accent-soft)}

/* ------------------------- Scroll reveal ----------------------------- */
.home .reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease}
.home .reveal.in{opacity:1;transform:none}

/* ------------------------- Animations -------------------------------- */
@keyframes note-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes cue-bob{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(7px)}}

/* ------------------------- Responsive -------------------------------- */
@media (max-width:880px){
  .home .cover-hero{min-height:auto}
  .home .hero-inner{flex-direction:column;text-align:center;gap:36px;padding:108px 22px 78px}
  .home .hero-copy{max-width:560px}
  .home .hero-headline{margin:0 auto}
  .home .hero-bg img{object-position:center 30%}
  .home .info-grid{grid-template-columns:1fr}
  .home .feature-stage{flex-direction:column;min-height:0;gap:18px}
  .home .feature-stage::before{width:260px;height:260px}
  .home .note{
    position:static;
    width:100%;
    max-width:340px;
    animation:none;
  }
  .home .note--tl,.home .note--tr{order:-1}
  .home .pathway-trio{flex-direction:column;align-items:center;gap:38px}
  .home .pathway-step{max-width:340px}
  .home .pathway-step:not(:last-child)::after{
    content:"•";
    top:auto;bottom:-24px;right:auto;left:50%;
    transform:translateX(-50%);
  }
}
@media (max-width:720px){
  .home .feature{padding:48px 20px}
  .home .welcome{padding:24px 22px}
  .home .story-card,.home .closer-card{padding:26px 22px}
}
@media (max-width:480px){
  .home .phone-frame{width:290px}
  .home .hero-phone .phone-frame{width:290px}
}

/* Honor reduced-motion preferences */
@media (prefers-reduced-motion:reduce){
  .home .note,.home .scroll-cue{animation:none}
  .home .reveal{opacity:1;transform:none;transition:none}
}
