/* ===== Sensa360 landing — night-sky theme matching the app ===== */
:root {
  --night-0: #0c0926;
  --night-1: #140f3a;
  --night-2: #1d1652;
  --night-3: #2a1f6e;
  --violet: #7b6cf6;
  --lilac: #b9b0ff;
  --teal: #5ad1c9;
  --amber-1: #f8c05a;
  --amber-2: #f08a3c;
  --text: #f1f0ff;
  --muted: #a9a8d4;
  --card: rgba(255, 255, 255, 0.045);
  --card-hover: rgba(255, 255, 255, 0.075);
  --border: rgba(185, 176, 255, 0.14);
  --radius: 24px;
  --shadow: 0 30px 60px rgba(5, 3, 20, 0.55);
  --shadow-amber: 0 14px 34px rgba(240, 138, 60, 0.38);
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

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

body {
  font-family: var(--sans);
  color: var(--text);
  background: linear-gradient(180deg, var(--night-1) 0%, var(--night-2) 45%, var(--night-1) 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--amber-1); color: var(--night-0); padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ===== Starry background ===== */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sky::before,
.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 38%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 35% 8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 48% 62%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 63% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 77% 48%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 89% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 72%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 14% 82%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 56% 90%, #fff 50%, transparent 51%);
  opacity: .45;
  animation: twinkle 6s ease-in-out infinite alternate;
}
.sky::after { transform: translate(3%, 5%) scale(1.1); opacity: .25; animation-delay: -3s; }
@keyframes twinkle { from { opacity: .15; } to { opacity: .55; } }

.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb-a { width: 520px; height: 520px; top: -160px; right: -120px; background: #4b3bc4; }
.orb-b { width: 420px; height: 420px; top: 45%; left: -180px; background: #3a2a9e; }
.orb-c { width: 360px; height: 360px; bottom: -140px; right: 10%; background: rgba(240, 138, 60, .35); }

/* ===== Typography helpers ===== */
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; line-height: 1.12; }
h3 { font-weight: 600; line-height: 1.3; }

.grad {
  background: linear-gradient(100deg, var(--amber-1), var(--amber-2) 60%, #ff9e7a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lilac);
  padding: .4rem .9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(123, 108, 246, .12);
  margin-bottom: 1.1rem;
}
.eyebrow-amber { color: var(--amber-1); background: rgba(248, 192, 90, .1); border-color: rgba(248, 192, 90, .3); }

.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 36rem; }
.lead strong { color: var(--text); font-weight: 600; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-amber {
  color: #2a1606;
  background: linear-gradient(135deg, var(--amber-1), var(--amber-2));
  box-shadow: var(--shadow-amber);
}
.btn-amber:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 18px 40px rgba(240, 138, 60, .5); }
.btn-sm { padding: .6rem 1.2rem; font-size: .92rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 9, 38, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(185, 176, 255, .08);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding-top: .85rem; padding-bottom: .85rem; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--serif); font-weight: 700; letter-spacing: .28em; font-size: 1.05rem; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(170, 214, 190, .22), rgba(123, 108, 246, .14) 70%);
  box-shadow: 0 0 0 1px rgba(170, 214, 190, .28), 0 0 22px rgba(170, 214, 190, .18);
  transition: box-shadow .2s ease;
}
/* The foreground PNG has ~20% transparent padding; scale it up to fill the mark. */
.brand-mark img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.18); filter: drop-shadow(0 0 6px rgba(170, 214, 190, .35)); }
.brand:hover .brand-mark { box-shadow: 0 0 0 1px rgba(170, 214, 190, .5), 0 0 28px rgba(170, 214, 190, .35); }
.nav-links { display: flex; gap: 2rem; margin-left: auto; font-weight: 500; color: var(--muted); }
.nav-links a { position: relative; transition: color .15s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; border-radius: 2px; background: var(--amber-1); transition: width .2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* ===== Hero ===== */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin-bottom: 1.3rem; }
.hero h1 .grad { display: block; }
.hero .lead { margin-bottom: 2.1rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.hero-chips li { font-size: .88rem; color: var(--muted); padding: .45rem .9rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card); }

.hero-art { position: relative; display: flex; justify-content: center; }
.halo {
  position: absolute;
  width: 115%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(123, 108, 246, .45), transparent 70%),
    repeating-radial-gradient(circle, transparent 0 46px, rgba(185, 176, 255, .07) 47px 48px);
  animation: breathe 7s ease-in-out infinite;
}
.halo-amber { background: radial-gradient(closest-side, rgba(240, 138, 60, .35), transparent 70%), repeating-radial-gradient(circle, transparent 0 46px, rgba(248, 192, 90, .08) 47px 48px); }
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(.94); } 50% { transform: translate(-50%, -50%) scale(1.04); } }

/* ===== Phone frame ===== */
.phone {
  position: relative;
  z-index: 2;
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(160deg, #2c2470, #0b0920);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone img { border-radius: 32px; width: 100%; }
.phone-hero { width: min(330px, 78%); transform: rotate(-3deg); animation: float 8s ease-in-out infinite; }
.phone-yoga { width: min(320px, 80%); transform: rotate(3deg); }
@keyframes float { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-14px); } }

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1rem;
  font-size: .86rem;
  font-weight: 600;
  border-radius: 16px;
  background: rgba(29, 22, 82, .82);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(5, 3, 20, .45);
  white-space: nowrap;
  animation: float-chip 6s ease-in-out infinite;
}
.chip-1 { top: 14%; left: -2%; }
.chip-2 { bottom: 12%; right: -4%; animation-delay: -3s; }
@keyframes float-chip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-amber { background: var(--amber-1); box-shadow: 0 0 10px var(--amber-1); }
.dot-violet { background: var(--lilac); box-shadow: 0 0 10px var(--lilac); }

/* ===== Store badges ===== */
.store-badges { display: flex; flex-wrap: wrap; gap: .9rem; }
.store-badges.center { justify-content: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .72rem 1.35rem;
  border-radius: 14px;
  background: #07051a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.badge:hover { transform: translateY(-3px); border-color: rgba(248, 192, 90, .6); box-shadow: 0 14px 30px rgba(5, 3, 20, .5); }
.badge-txt { display: flex; flex-direction: column; line-height: 1.1; }
.badge-txt small { font-size: .62rem; letter-spacing: .06em; opacity: .8; }
.badge-txt strong { font-size: 1.05rem; font-weight: 600; }

/* ===== Mood strip ===== */
.mood { padding: 1rem 0 2rem; }
.mood-title { text-align: center; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 1.4rem; }
.mood-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.mood-pills li {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 500;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.mood-pills li:hover { transform: translateY(-3px); background: var(--card-hover); border-color: rgba(248, 192, 90, .45); }

/* ===== Sections ===== */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 680px; margin: 0 auto clamp(2.4rem, 5vw, 3.5rem); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: .8rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ===== Cards ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.card {
  position: relative;
  padding: 1.9rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  border: 1px solid rgba(185, 176, 255, .08);
  box-shadow: 0 0 0 30px rgba(185, 176, 255, .025), 0 0 0 60px rgba(185, 176, 255, .02);
}
.card:hover { transform: translateY(-6px); background: var(--card-hover); border-color: rgba(185, 176, 255, .3); }
.card-ic {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  border: 1.5px solid var(--c);
  background: color-mix(in srgb, var(--c) 14%, transparent);
}
.card h3 { font-size: 1.18rem; margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .97rem; }

/* ===== Yoga ===== */
.yoga {
  position: relative;
  background:
    radial-gradient(60% 50% at 20% 50%, rgba(240, 138, 60, .12), transparent 70%),
    linear-gradient(180deg, transparent, rgba(42, 31, 110, .35) 50%, transparent);
}
.yoga-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.yoga-art { position: relative; display: flex; justify-content: center; }
.yoga-copy h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 1.1rem; }
.yoga-copy .lead { margin-bottom: 1.8rem; }

.style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.6rem; }
.style-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid rgba(248, 192, 90, .2);
  transition: transform .2s ease, border-color .2s ease;
}
.style-card:hover { transform: translateY(-4px); border-color: rgba(248, 192, 90, .5); }
.style-ic {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  border-radius: 50%;
  border: 1.5px solid var(--amber-1);
  background: rgba(248, 192, 90, .12);
  color: var(--amber-1);
}
.style-ic-teal { border-color: var(--teal); background: rgba(90, 209, 201, .12); color: var(--teal); font-size: 1.6rem; }
.style-card h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: .3rem; }
.style-card p { color: var(--muted); font-size: .92rem; margin-bottom: .6rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--border); }

.check-list { display: grid; gap: .7rem; margin-bottom: 2rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--text); }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .1rem;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 50%;
  color: #2a1606;
  background: linear-gradient(135deg, var(--amber-1), var(--amber-2));
}

/* ===== Screenshot gallery ===== */
.gallery { position: relative; }
.gallery-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.5rem max(1.5rem, calc((100vw - 1180px) / 2 + 2.5rem)) 2.5rem;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline: 2px solid var(--amber-1); outline-offset: -4px; }
.gallery-track .phone { flex: 0 0 auto; width: 250px; scroll-snap-align: center; transition: transform .25s ease; }
.gallery-track .phone:hover { transform: translateY(-10px); }
.gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(20, 15, 58, .85);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .18s ease, border-color .18s ease;
}
.gallery-btn:hover { background: var(--night-3); border-color: var(--amber-1); }
.gallery-btn.prev { left: clamp(.5rem, 2vw, 2rem); }
.gallery-btn.next { right: clamp(.5rem, 2vw, 2rem); }

/* ===== Steps ===== */
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; counter-reset: step; }
.step { position: relative; padding: 2rem 1.8rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); text-align: center; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #2a1606;
  background: linear-gradient(135deg, var(--amber-1), var(--amber-2));
  box-shadow: var(--shadow-amber);
}
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* ===== Benefits ===== */
.benefits-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(123, 108, 246, .16), rgba(240, 138, 60, .08));
  border: 1px solid var(--border);
}
.benefits h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .9rem; }
.benefits p { color: var(--muted); }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.benefit-list li { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border-radius: 16px; background: rgba(12, 9, 38, .45); border: 1px solid var(--border); font-weight: 500; font-size: .95rem; }
.benefit-list span { font-size: 1.3rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: .9rem; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--border); transition: border-color .18s ease, background .18s ease; }
.faq details[open] { background: var(--card-hover); border-color: rgba(248, 192, 90, .35); }
.faq summary {
  position: relative;
  padding: 1.2rem 3.2rem 1.2rem 1.4rem;
  font-weight: 600;
  font-size: 1.04rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--amber-1); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ===== CTA ===== */
.cta-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2.6rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(240, 138, 60, .25), transparent 60%),
    linear-gradient(160deg, var(--night-3), var(--night-0));
  border: 1px solid rgba(248, 192, 90, .25);
  box-shadow: var(--shadow);
}
.cta-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.4rem;
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 40px rgba(5, 3, 20, .55), 0 0 60px rgba(170, 214, 190, .25);
}
.cta-card h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); margin-bottom: .8rem; }
.cta-card p { color: var(--muted); margin: 0 auto 2rem; max-width: 34rem; }

/* ===== Footer ===== */
.site-footer { padding: 3rem 0 2.5rem; border-top: 1px solid rgba(185, 176, 255, .08); background: rgba(7, 5, 26, .6); }
.footer-inner { text-align: center; }
.site-footer .brand { justify-content: center; margin-bottom: .5rem; }
.site-footer .brand-mark { width: 40px; height: 40px; }
.footer-tag { color: var(--muted); letter-spacing: .24em; font-size: .8rem; text-transform: uppercase; margin-bottom: 1.4rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; margin-bottom: 1.4rem; font-weight: 500; color: var(--muted); }
.footer-links a:hover { color: var(--amber-1); }
.copyright { font-size: .82rem; color: #7d7aa8; }

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

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

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .benefits-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .site-header .btn { margin-left: auto; }
  .hero-inner, .yoga-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .lead, .yoga-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-copy .store-badges, .hero-chips { justify-content: center; }
  .hero-art { order: -1; margin-bottom: 1rem; }
  .style-grid { text-align: left; }
  .check-list { text-align: left; max-width: 460px; margin-left: auto; margin-right: auto; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
}

@media (max-width: 560px) {
  .card-grid, .style-grid, .benefit-list { grid-template-columns: 1fr; }
  .float-chip { font-size: .76rem; padding: .55rem .8rem; }
  .gallery-track .phone { width: 210px; }
  .gallery-btn { display: none; }
  .badge { padding: .6rem 1rem; }
}
