/* Astro GPT homepage (dark landing layout). Pairs with tools/build_home.py */
.gv-home {
  --o: #f27d3a; --a: #ffb547; --bg: #111111; --card: #1a1a1a; --card2: #202020; --line: #ffffff12;
  --tx: #f5f5f5; --mu: #9d9d9d; --tint: #2a1c13;
  color: var(--tx); font-family: "Outfit", system-ui, sans-serif;
  max-width: 1200px; margin: 0 auto; padding: 0 20px 40px; overflow-x: clip;
}
html:not(.dark) .gv-home { --card: #ffffff; --card2: #f6f2ee; --line: #00000012; --tx: #161616; --mu: #5f5f5f; --tint: #fdeee4; }
/* Light mode: soft shadows on white cards, lighter greys; phone mockups stay dark like a dark-mode app */
html:not(.dark) .gv-card, html:not(.dark) .gv-signs a, html:not(.dark) .gv-final { box-shadow: 0 1px 2px #0000000a, 0 12px 32px -18px #6b3a1a40; }
html:not(.dark) .gv-card:hover, html:not(.dark) .gv-signs a:hover { box-shadow: 0 18px 40px -20px #f27d3a66; }
html:not(.dark) .gv-eyebrow { box-shadow: 0 1px 2px #0000000a; }
html:not(.dark) .gv-moons i { background: linear-gradient(90deg, #f27d3a calc(var(--p) * 1%), #ece5dd 0); box-shadow: inset 0 0 0 1px #0000000f; }
html:not(.dark) .gv-wave i:nth-child(n+11) { background: #e3dbd2; }
html:not(.dark) .gv-wheel-bg { color: #f27d3a40; }
html:not(.dark) .gv-wheel-final { color: #f27d3a2e; }
html:not(.dark) .gv-glow { background: radial-gradient(closest-side, #f27d3a33, transparent); }
html:not(.dark) .gv-final { background: radial-gradient(600px 300px at 50% 120%, #f27d3a26, transparent), #ffffff; }
html:not(.dark) .gv-phone { box-shadow: 0 0 0 1.5px #2a2a2a, inset 0 0 0 1px #000, 0 50px 80px -34px #5a2a1166; }
.gv-home em { font-style: normal; color: var(--o); }
.gv-home h1, .gv-home h2, .gv-home h3 { color: var(--tx); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.gv-home p { margin: 0; }
.gv-center { text-align: center; }
.gv-center > h2, .gv-center > .gv-sub { margin-left: auto; margin-right: auto; }

.gv-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--mu); font-size: .82rem; font-weight: 500; }
.gv-eyebrow i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: var(--o); color: #111; }

.gv-btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.gv-btn-primary { background: var(--o); color: #111; box-shadow: 0 14px 34px -14px #f27d3acc; }
.gv-btn-primary:hover { transform: translateY(-2px); background: #ff8c48; }
.gv-btn-ghost { border: 1px solid var(--line); color: var(--tx); background: var(--card); }
.gv-btn-ghost:hover { border-color: #f27d3a80; }
.gv-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--o); font-weight: 600; font-size: .95rem; text-decoration: none; }

/* ---------- hero ---------- */
.gv-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; min-height: 680px; padding-top: 30px; }
.gv-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); line-height: 1.06; margin-top: 22px; }
.gv-lead { margin-top: 22px !important; color: var(--mu); font-size: 1.12rem; line-height: 1.6; max-width: 520px; }
.gv-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.gv-note { margin-top: 20px !important; color: var(--mu); font-size: .9rem; }
.gv-hero-art { position: relative; height: 640px; display: grid; place-items: center; }
.gv-glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, #f27d3a40, transparent); filter: blur(10px); }
.gv-wheel { color: var(--o); }
.gv-wheel-bg { position: absolute; color: #f27d3a2e; width: min(520px, 100%); height: auto; animation: gv-spin 160s linear infinite; }
.gv-slab { position: absolute; bottom: 90px; width: 430px; max-width: 100%; height: 200px; border-radius: 30px; background: linear-gradient(160deg, var(--a), var(--o)); transform: rotate(-8deg); }
.gv-tilt { transform: rotate(-8deg); }
@keyframes gv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gv-wheel-bg { animation: none; } }

/* ---------- phone mockup ---------- */
.gv-phone { position: relative; width: 282px; height: 576px; padding: 9px; border-radius: 48px; background: #0b0b0b;
  box-shadow: 0 0 0 1.5px #3a3a3a, inset 0 0 0 1px #000, 0 50px 90px -30px #000, 0 0 60px -20px #f27d3a55; z-index: 1; }
.gv-screen { position: relative; height: 100%; border-radius: 39px; overflow: hidden; background: #141414; padding: 12px 14px 76px;
  color: #eee; font-size: 12px; line-height: 1.4; text-align: left; }
.gv-status { display: flex; align-items: center; justify-content: space-between; height: 26px; padding: 0 8px; font-weight: 600; font-size: 12px; }
.gv-island { width: 86px; height: 24px; border-radius: 999px; background: #000; }
.gv-bars { display: flex; gap: 2px; align-items: flex-end; } .gv-bars i { width: 3px; background: #eee; border-radius: 1px; }
.gv-bars i:nth-child(1){height:5px} .gv-bars i:nth-child(2){height:8px} .gv-bars i:nth-child(3){height:11px}
.gv-hello { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.gv-hello small { display: block; color: #9d9d9d; font-size: 10.5px; } .gv-hello b { font-size: 14px; color: #fff; }
.gv-ava { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: #f27d3a; color: #111; flex: none; }
.gv-tabs, .gv-pills { display: flex; gap: 6px; margin: 14px 0 12px; }
.gv-tabs span, .gv-pills span { padding: 7px 12px; border-radius: 999px; background: #1f1f1f; color: #a5a5a5; font-size: 11px; }
.gv-tabs span.on, .gv-pills span.on { background: #f27d3a; color: #111; font-weight: 600; }
.gv-scard { background: #1d1d1d; border-radius: 20px; padding: 12px; }
.gv-scard-top { display: flex; justify-content: space-between; } .gv-scard-top small { color: #f27d3a; }
.gv-scard-art { display: grid; place-items: center; margin: 6px 0; }
.gv-scard p, .gv-small { color: #a5a5a5; font-size: 11px; } .gv-scard p b { color: #fff; }
.gv-rings { display: flex; justify-content: space-between; gap: 6px; margin-top: 12px; }
.gv-ring { position: relative; display: flex; flex-direction: column; align-items: center; width: 58px; }
.gv-ring b { position: absolute; top: 20px; font-size: 11px; color: #fff; } .gv-ring span { font-size: 10px; color: #9d9d9d; margin-top: 2px; }
.gv-ring-bg { fill: none; stroke: #2b2b2b; stroke-width: 5; }
.gv-ring-fg { fill: none; stroke: #f27d3a; stroke-width: 5; stroke-linecap: round; }
.gv-sbtn { margin-top: 12px; padding: 11px; border-radius: 999px; background: #f27d3a; color: #111; text-align: center; font-weight: 600; }
.gv-tabbar { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 54px; border-radius: 20px; background: #1f1f1f;
  display: flex; align-items: center; justify-content: space-around; color: #8d8d8d; }
.gv-tabbar span { display: grid; place-items: center; width: 46px; height: 40px; border-radius: 14px; }
.gv-tabbar span.on { background: #f27d3a; color: #111; }
.gv-feature-img { height: 150px; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(circle at 70% 30%, #ffd38a 0, #f27d3a 38%, #5a2611 75%, #1d1d1d 100%); position: relative; }
.gv-feature-img > span { position: absolute; top: 18px; right: 22px; color: #fff3dd; }
.gv-feature-img small { color: #ffe9d6; font-size: 10px; } .gv-feature-img b { color: #fff; font-size: 15px; }
.gv-list { display: grid; gap: 8px; margin-top: 12px; }
.gv-list > div { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: #1d1d1d; }
.gv-list i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: #2a1c13; color: #f27d3a; flex: none; }
.gv-list b { display: block; color: #fff; font-size: 12px; } .gv-list small { color: #9d9d9d; font-size: 10.5px; }
.gv-bigwheel { display: grid; place-items: center; margin: 10px 0 4px; }
.gv-score { position: relative; display: grid; place-items: center; margin: 22px 0 6px; }
.gv-score path { stroke-width: 10; }
.gv-score b { position: absolute; top: 56px; font-size: 34px; color: #fff; } .gv-score b small { font-size: 14px; color: #9d9d9d; }
.gv-score span { color: #f27d3a; font-weight: 600; margin-top: 2px; }

/* ---------- sections ---------- */
.gv-sec { padding-top: 120px; }
.gv-sec h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.12; max-width: 780px; margin-top: 18px; }
.gv-sub { color: var(--mu); font-size: 1.06rem; line-height: 1.6; max-width: 600px; margin-top: 14px !important; }
.gv-card { display: block; text-align: left; text-decoration: none; color: var(--tx); background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; padding: 26px; transition: border-color .2s, transform .2s; }
.gv-card:hover { border-color: #f27d3a66; transform: translateY(-3px); }
.gv-card h3 { font-size: 1.25rem; line-height: 1.3; } .gv-card p { color: var(--mu); margin-top: 8px; line-height: 1.55; }
.gv-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 48px; }
.gv-card-lg { padding: 30px; min-height: 380px; display: flex; flex-direction: column; }
.gv-card-lg .gv-link { margin-top: auto; padding-top: 18px; }
.gv-card-art { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 26px 0 8px; }
.gv-rings-card { flex-direction: column; } .gv-rings-card .gv-ring b { color: var(--tx); }
.gv-moons { display: flex; gap: 12px; margin-top: 30px; }
.gv-moons i { width: 30px; height: 30px; border-radius: 999px; box-shadow: inset 0 0 0 1px #ffffff1f;
  background: linear-gradient(90deg, #f4efe8 calc(var(--p) * 1%), #2a2a2a 0); }
.gv-wave { display: flex; align-items: flex-end; gap: 4px; height: 40px; margin-top: 28px; }
.gv-wave i { flex: 1; height: calc(var(--h) * 1px); border-radius: 3px; background: var(--o); }
.gv-wave i:nth-child(n+11) { background: #3a3a3a; }
.gv-player { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; color: var(--mu); font-size: .85rem; }
.gv-play { width: 38px; height: 38px; padding: 10px; border-radius: 999px; background: var(--o); color: #111; fill: #111; }

.gv-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; margin-top: 100px; }
.gv-row-flip .gv-row-art { order: 2; }
.gv-row-art { position: relative; display: grid; place-items: center; height: 620px; }
.gv-block { position: absolute; width: 460px; max-width: 100%; height: 250px; border-radius: 30px; background: linear-gradient(160deg, var(--a), var(--o)); }
.gv-row-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.18; }
.gv-row-copy p { color: var(--mu); font-size: 1.05rem; line-height: 1.65; margin-top: 16px; max-width: 470px; }

.gv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.gv-tool-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--tint); color: var(--o); margin-bottom: 18px; }

.gv-signs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 38px; }
.gv-signs a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 10px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--line); color: var(--tx); text-decoration: none; font-weight: 500; transition: border-color .2s, transform .2s; }
.gv-signs a:hover { border-color: #f27d3a66; transform: translateY(-3px); }
.gv-signs i { font-style: normal; font-size: 30px; line-height: 1; color: var(--o); font-family: "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols 2", sans-serif; }

.gv-final { position: relative; overflow: hidden; text-align: center; padding: 80px 24px; border-radius: 30px; border: 1px solid var(--line);
  background: radial-gradient(600px 300px at 50% 120%, #f27d3a33, transparent), var(--card); }
.gv-final h2 { margin-left: auto; margin-right: auto; } .gv-final .gv-sub { margin-left: auto; margin-right: auto; margin-bottom: 30px !important; }
.gv-wheel-final { position: absolute; right: -130px; top: -110px; color: #f27d3a1f; pointer-events: none; }

/* ---------- AI kundli intro (SEO copy) ---------- */
.gv-seo { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: start; padding: 44px; border-radius: 30px;
  background: var(--card); border: 1px solid var(--line); }
html:not(.dark) .gv-seo { box-shadow: 0 1px 2px #0000000a, 0 12px 32px -18px #6b3a1a40; }
.gv-seo-copy h2 { margin-top: 18px; }
.gv-seo-copy p { color: var(--mu); font-size: 1.04rem; line-height: 1.7; margin-top: 16px !important; }
.gv-seo-copy a { color: var(--o); font-weight: 600; text-decoration: none; }
.gv-seo-copy a:hover { text-decoration: underline; }
.gv-seo-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gv-seo-links a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 16px; background: var(--card2);
  border: 1px solid var(--line); color: var(--tx); text-decoration: none; font-weight: 500; transition: border-color .2s, transform .2s; }
.gv-seo-links a:hover { border-color: #f27d3a80; transform: translateX(3px); }
.gv-seo-links a svg { color: var(--o); flex: none; }

/* ---------- FAQ ---------- */
.gv-faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 12px; text-align: left; }
.gv-faq details { border-radius: 20px; background: var(--card); border: 1px solid var(--line); padding: 0 22px; transition: border-color .2s; }
html:not(.dark) .gv-faq details { box-shadow: 0 1px 2px #0000000a, 0 10px 26px -20px #6b3a1a40; }
.gv-faq details[open] { border-color: #f27d3a66; }
.gv-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-weight: 600; font-size: 1.08rem; color: var(--tx); }
.gv-faq summary::-webkit-details-marker { display: none; }
.gv-faq summary i { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--tint);
  color: var(--o); transition: transform .25s; }
.gv-faq details[open] summary i { transform: rotate(45deg); }
.gv-faq details p { color: var(--mu); line-height: 1.7; padding-bottom: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .gv-hero { grid-template-columns: 1fr; min-height: 0; text-align: center; padding-top: 40px; }
  .gv-lead, .gv-hero-copy h1 { margin-left: auto; margin-right: auto; }
  .gv-cta-row { justify-content: center; }
  .gv-hero-art { height: 600px; }
  .gv-duo, .gv-row { grid-template-columns: 1fr; }
  .gv-row { gap: 10px; margin-top: 70px; text-align: center; }
  .gv-row-flip .gv-row-art { order: 0; }
  .gv-row-copy p { margin-left: auto; margin-right: auto; }
  .gv-grid { grid-template-columns: 1fr 1fr; }
  .gv-signs { grid-template-columns: repeat(4, 1fr); }
  .gv-sec { padding-top: 90px; }
  .gv-seo { grid-template-columns: 1fr; padding: 28px 22px; gap: 26px; }
}
@media (max-width: 560px) {
  .gv-hero-art { height: 560px; }
  .gv-phone { transform: scale(.9); } .gv-tilt { transform: rotate(-6deg) scale(.88); }
  .gv-slab { width: 320px; height: 170px; }
  .gv-row-art { height: 560px; } .gv-block { width: 340px; height: 210px; }
  .gv-grid { grid-template-columns: 1fr; }
  .gv-signs { grid-template-columns: repeat(3, 1fr); }
  .gv-card-art .gv-wheel { width: 130px; height: 130px; }
  .gv-final { padding: 60px 18px; }
}
