/* Hasti Lab home page. Every section has its own idea, all drawn from the logo: a flask that is also a planet. */
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- 1. Hero: the planet ---------- */
.cosmos {
  position: relative; overflow: hidden; color: #fff; padding-block: 52px 0;
  background: radial-gradient(800px 520px at 22% 40%, rgba(0, 185, 237, .2), transparent 62%),
              radial-gradient(600px 500px at 100% 100%, rgba(63, 90, 200, .22), transparent 60%),
              linear-gradient(170deg, #0a1a33 0%, #040a18 70%);
}
.cosmos > .wrap { position: relative; z-index: 1; }
.cosmos-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.cosmos .chip { background: rgba(255, 255, 255, .08); border-color: rgba(127, 227, 255, .25); color: #e6f8ff; }
.cosmos .chip .dot { background: rgba(255, 255, 255, .5); }
.cosmos h1 { font-size: clamp(32px, 4.8vw, 56px); margin-block: 18px 14px; font-weight: 900; }
.cosmos h1 em { font-style: normal; }
.cosmos h1 .rotate { background: linear-gradient(90deg, #7fe3ff, #00b9ed 45%, #e6f8ff 60%, #7fe3ff); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: sheen 5s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.cosmos-lead { font-size: 18px; color: rgba(220, 240, 250, .82); max-width: 44ch; }

.book {
  margin-top: 26px; padding: 22px; border-radius: 26px; display: grid; gap: 14px; max-width: 540px; color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(127, 227, 255, .22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.book-row { display: grid; gap: 8px; }
.book b { font-size: 15px; }
.book .choices { grid-template-columns: repeat(3, 1fr); margin: 0; }
.book .choice span { flex-direction: column; line-height: 1.5; min-height: 56px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.book .choice small { font-weight: 400; font-size: 12px; color: rgba(220, 240, 250, .7); }
.book .choice input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--night); }
.book .choice input:checked + span small { color: var(--brand-ink); }
.book .btn { width: 100%; }
.book > small { text-align: center; color: rgba(220, 240, 250, .62); font-size: 12.5px; }

.planet-wrap { position: relative; justify-self: center; width: min(520px, 100%); }
.orbit-sys { position: relative; aspect-ratio: 1; }
.orbit-sys > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-back ellipse, .orbit-front ellipse { fill: none; stroke: #e8f9ff; stroke-width: 14; }
.orbit-back ellipse { stroke-opacity: .35; }
.orbit-front { z-index: 3; pointer-events: none; }
.planet { z-index: 2; animation: bob 7s ease-in-out infinite; }
.planet .halo { fill: rgba(0, 185, 237, .14); filter: blur(18px); animation: halo 4s ease-in-out infinite; }
@keyframes halo { 50% { fill: rgba(0, 185, 237, .26); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
.wave { animation: wave 6s linear infinite; }
.wave.w2 { animation-duration: 4s; animation-direction: reverse; }
@keyframes wave { to { transform: translateX(-240px); } }
.cube { transform-box: fill-box; transform-origin: center; animation: cube 5s ease-in-out infinite; }
.cube.c2 { animation-delay: -1.2s; } .cube.c3 { animation-delay: -2.4s; } .cube.c4 { animation-delay: -3.6s; }
@keyframes cube { 50% { transform: translateY(-12px) rotate(18deg); } }
.bub { animation: bub 4s ease-in infinite; }
.bub.b2 { animation-delay: -1s; } .bub.b3 { animation-delay: -2s; } .bub.b4 { animation-delay: -3s; }
@keyframes bub { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: .9; } 100% { transform: translateY(-190px); opacity: 0; } }

.moon {
  position: absolute; left: 0; top: 0; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px;
  border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: 13px; white-space: nowrap;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .6); will-change: transform;
}
.moon i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--night); }
.moon i svg { width: 20px; height: 20px; }

.toast {
  position: absolute; z-index: 5; display: flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 16px;
  background: rgba(10, 26, 51, .85); border: 1px solid rgba(127, 227, 255, .28); color: #fff; font-size: 13px; line-height: 1.6;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6);
  animation: float 5s ease-in-out infinite;
}
.toast i { width: 30px; height: 30px; border-radius: 50%; flex: none; background: rgba(0, 185, 237, .2); position: relative; }
.toast i::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.toast b { display: block; }
.toast span { color: rgba(220, 240, 250, .68); font-size: 12px; }
.toast.t1 { top: 2%; inset-inline-start: -4%; }
.toast.t2 { bottom: 4%; inset-inline-end: -2%; animation-delay: -2.5s; }
.toast.t2 i::after { background: #2fe39a; box-shadow: 0 0 10px #2fe39a; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 34px; border-top: 1px solid rgba(127, 227, 255, .14); }
.trust div { padding: 22px 12px; text-align: center; border-inline-start: 1px solid rgba(127, 227, 255, .1); }
.trust div:first-child { border: 0; }
.trust b { display: block; font-size: 21px; font-weight: 900; color: #fff; }
.trust span { font-size: 13px; color: rgba(220, 240, 250, .68); }

/* ---------- 2. Quick access: receipt and radar ---------- */
.quick { padding-block: 80px; scroll-margin-top: 64px; }
.quick h2 { font-size: clamp(26px, 3.4vw, 40px); }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; }
.qcard {
  position: relative; display: grid; grid-template-columns: 1fr 210px; gap: 18px; align-items: center; overflow: hidden;
  padding: 30px; border-radius: 30px; min-height: 300px; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s, opacity .8s var(--ease);
}
.qcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.q-receipt { background: linear-gradient(150deg, #fff, #e8f7fd); }
.q-radar { background: linear-gradient(150deg, #0a1a33, #040a18); color: #fff; border-color: transparent; }
.q-tag { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: var(--brand-soft); color: var(--brand-ink); }
.q-radar .q-tag { background: rgba(0, 185, 237, .16); color: var(--glow); }
.qcard h3 { font-size: 27px; margin-block: 12px 6px; }
.qcard p { font-size: 15px; color: var(--muted); max-width: 34ch; margin-bottom: 18px; }
.q-radar p { color: rgba(220, 240, 250, .74); }

.ticket {
  position: relative; padding: 18px 16px 14px; border-radius: 16px; background: #fff; transform: rotate(4deg);
  box-shadow: 0 24px 40px -18px rgba(0, 60, 90, .45); transition: transform .6s var(--spring);
  -webkit-mask: radial-gradient(circle 8px at 0 62%, transparent 98%, #000) , radial-gradient(circle 8px at 100% 62%, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask: radial-gradient(circle 8px at 0 62%, transparent 98%, #000) intersect, radial-gradient(circle 8px at 100% 62%, transparent 98%, #000);
}
.qcard:hover .ticket { transform: rotate(-2deg) scale(1.04); }
.ticket-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px dashed var(--line); font-size: 14px; }
.ticket-head img { width: 30px; height: 26px; object-fit: contain; }
.ticket-row { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; padding-block: 4px; }
.ticket-row span { color: var(--muted); }
.typer { min-width: 64px; text-align: left; }
.typer::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-inline-start: 2px; vertical-align: -2px; background: var(--brand); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ticket-bars { display: flex; gap: 3px; height: 30px; margin-top: 12px; direction: ltr; }
.ticket-bars i { flex: 1; background: var(--night); border-radius: 1px; }
.ticket-bars i:nth-child(3n) { flex: .4; } .ticket-bars i:nth-child(4n) { flex: 1.8; }
.ticket-stamp { position: absolute; left: -14px; bottom: 34px; padding: 4px 14px; border: 3px solid var(--ok); border-radius: 10px; color: var(--ok); font-weight: 900; font-size: 15px; background: rgba(255, 255, 255, .9); transform: rotate(-14deg) scale(0); animation: stamp 5s var(--spring) infinite; }
@keyframes stamp { 0%, 40% { transform: rotate(-14deg) scale(2.2); opacity: 0; } 52%, 92% { transform: rotate(-14deg) scale(1); opacity: 1; } 100% { opacity: 0; } }

.radar { position: relative; width: 210px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0, 185, 237, .12), transparent 70%); }
.radar .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(127, 227, 255, .25); }
.radar .r1 { inset: 0; } .radar .r2 { inset: 18%; } .radar .r3 { inset: 36%; }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(0, 185, 237, .5), transparent 25%); animation: spin 4s linear infinite; }
.radar-home { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--night); box-shadow: 0 0 0 8px rgba(0, 185, 237, .2); }
.radar-home svg { width: 24px; height: 24px; }
.radar-dot { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px #fff, 0 0 0 4px rgba(255, 255, 255, .2); animation: approach 6s var(--ease) infinite; }
@keyframes approach { 0% { transform: rotate(0deg) translateX(96px) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 85% { transform: rotate(-540deg) translateX(30px) rotate(540deg); opacity: 1; } 100% { transform: rotate(-560deg) translateX(30px) rotate(560deg); opacity: 0; } }
.q-body { min-width: 0; }
.q-form { display: flex; gap: 10px; max-width: 380px; }
.q-form input { flex: 1; min-width: 0; min-height: 56px; border-radius: 999px; border: 2px solid rgba(127, 227, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; text-align: center; font-size: 22px; font-weight: 800; letter-spacing: .3em; transition: border-color .3s, background .3s; }
.q-form input::placeholder { color: rgba(220, 240, 250, .3); }
.q-form input:focus { outline: none; border-color: var(--brand); background: rgba(0, 185, 237, .1); }
.q-form.bad { animation: shake .45s; }
.q-form.bad input { border-color: #ff7b72; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* ---------- 3. For whom: a turning orbit of four moons ---------- */
.whom { overflow: hidden; color: #fff; background: radial-gradient(700px 420px at 15% 50%, rgba(0, 185, 237, .18), transparent 65%), linear-gradient(170deg, #040a18, #0a1a33); }
.whom > .wrap { position: relative; z-index: 1; }
.whom .eyebrow { color: var(--glow); }
.whom .eyebrow::before { box-shadow: inset 0 0 0 4px #071226, inset 0 0 0 10px currentColor; }
.whom-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.whom-sky { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; justify-self: center; }
.whom-orbit { position: absolute; inset: 4%; border-radius: 50%; border: 2px dashed rgba(127, 227, 255, .28); transition: transform 1.2s var(--ease); }
.wmoon {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px; padding: 0; border-radius: 50%; border: 0;
  background: radial-gradient(circle at 30% 25%, #1c3a66, #0a1a33); color: rgba(220, 240, 250, .7);
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .15);
  transition: transform 1.2s var(--ease), background .5s, color .5s, box-shadow .5s;
}
.wmoon > span { display: grid; place-items: center; width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.wmoon svg { width: 52px; height: 52px; }
.wmoon.on { background: radial-gradient(circle at 30% 25%, #6fe0ff, #0086b0); color: var(--night); box-shadow: 0 0 0 10px rgba(0, 185, 237, .18), 0 0 40px rgba(0, 185, 237, .6); }
.whom-core { position: absolute; left: 50%; top: 50%; width: 42%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff, #cfeffa 60%, #8fd8ef); box-shadow: 0 0 0 16px rgba(0, 185, 237, .1), 0 0 90px rgba(0, 185, 237, .5); color: var(--night); }
.whom-core svg { width: 62%; height: auto; }
.whom-core .beat { transform-box: fill-box; transform-origin: center; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } 60% { transform: scale(1); } }
.whom h2 { font-size: clamp(26px, 3.6vw, 40px); max-width: 18ch; }
.whom-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 28px 18px; }
.whom-tabs button { position: relative; overflow: hidden; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(127, 227, 255, .25); background: rgba(255, 255, 255, .05); color: rgba(220, 240, 250, .8); font-weight: 700; transition: background .3s, color .3s, border-color .3s; }
.whom-tabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--night); }
.whom-tabs button[aria-selected="true"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--night); transform: scaleX(0); transform-origin: right; animation: fillbar 7s linear forwards; }
.whom-tabs.hold button::after { animation-play-state: paused; }
@keyframes fillbar { to { transform: scaleX(1); } }
.whom-cards { display: grid; }
.wcard { grid-area: 1 / 1; padding: 28px; border-radius: 26px; background: linear-gradient(170deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(127, 227, 255, .2); opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; transition: opacity .5s, transform .6s var(--ease); }
.wcard.on { opacity: 1; transform: none; pointer-events: auto; }
.wcard h3 { font-size: 22px; margin-bottom: 8px; }
.wcard p { color: rgba(220, 240, 250, .8); }
.wcard ul { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 6px; font-size: 14.5px; }
.wcard li { display: flex; gap: 8px; align-items: center; }
.wcard li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.6L13 6.7' fill='none' stroke='%23040a18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain; }
.wcard a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--glow); }
.wcard a::after { content: "←"; transition: transform .3s var(--ease); }
.wcard a:hover::after { transform: translateX(-6px); }

/* ---------- 4. How it works: the filling flask ---------- */
.fill { position: relative; display: grid; grid-template-columns: 1fr 230px 1fr; grid-template-rows: 1fr 1fr; gap: 26px 40px; margin-top: 48px; align-items: center; }
.fflask { grid-column: 2; grid-row: 1 / 3; position: relative; }
.fflask svg { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(0, 104, 140, .2)); }
.flevel { transform: translateY(400px); transition: transform .2s linear; }
.fwave { animation: fwave 3s linear infinite; }
@keyframes fwave { to { transform: translateX(166px); } }
.fb { animation: bub 3s ease-in infinite; }
.fb:nth-child(2) { animation-delay: -1s; } .fb:nth-child(3) { animation-delay: -2s; } .fb:nth-child(4) { animation-delay: -.5s; }
.fpct { position: absolute; left: 50%; bottom: 16%; transform: translateX(-50%); padding: 2px 14px; border-radius: 999px; background: var(--night); color: var(--brand); font-weight: 900; font-size: 15px; white-space: nowrap; }
.fstep { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: .45; transform: scale(.96); transition: opacity .6s, transform .6s var(--spring), border-color .6s, box-shadow .6s; }
.fstep:nth-of-type(1) { grid-column: 1; grid-row: 1; } .fstep:nth-of-type(2) { grid-column: 3; grid-row: 1; }
.fstep:nth-of-type(3) { grid-column: 1; grid-row: 2; } .fstep:nth-of-type(4) { grid-column: 3; grid-row: 2; }
.fstep.on { opacity: 1; transform: none; border-color: var(--glow); box-shadow: var(--shadow-lift); }
.fstep .num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 900; background: var(--brand-soft); color: var(--brand-ink); transition: background .5s, color .5s, transform .6s var(--spring); }
.fstep.on .num { background: var(--brand); color: var(--night); transform: rotate(-10deg); }
.fstep h3 { font-size: 19px; margin-bottom: 4px; }
.fstep p { color: var(--muted); font-size: 14.5px; }

/* ---------- 5. Departments: microscope ---------- */
.scope-sec { background: var(--surface); border-block: 1px solid var(--line); }
.scope { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 32px; align-items: center; margin-top: 40px; }
.slides { display: grid; gap: 8px; }
.slide { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(90deg, var(--bg), #fff); font-weight: 700; text-align: start; transition: transform .4s var(--spring), border-color .3s, background .3s, box-shadow .3s; }
.slide::before { content: ""; width: 26px; height: 14px; flex: none; border-radius: 3px; background: var(--c); opacity: .75; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.slide:hover { transform: translateX(-6px); }
.slide[aria-selected="true"] { border-color: var(--brand); background: var(--brand-soft); transform: translateX(-12px); box-shadow: 8px 10px 20px -14px rgba(0, 104, 140, .6); }
.lens-wrap { position: relative; justify-self: center; width: min(400px, 100%); }
.lens { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #f4fbff; border: 14px solid var(--night); box-shadow: 0 0 0 4px #1d2c44, 0 40px 60px -26px rgba(4, 10, 24, .6), inset 0 0 50px rgba(4, 10, 24, .35); }
.lens canvas { width: 100%; height: 100%; display: block; transition: filter .6s var(--ease); }
.lens.blur canvas { filter: blur(10px) saturate(.6); }
.lens-glare { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .55), transparent 35%), radial-gradient(circle, transparent 60%, rgba(4, 10, 24, .45)); pointer-events: none; }
.lens-cross { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(4, 10, 24, .12), rgba(4, 10, 24, .12)) center / 1px 100% no-repeat, linear-gradient(rgba(4, 10, 24, .12), rgba(4, 10, 24, .12)) center / 100% 1px no-repeat; }
.knob { position: absolute; inset-inline-end: -28px; top: 46%; width: 36px; height: 60px; border-radius: 10px; background: repeating-linear-gradient(0deg, #1d2c44 0 4px, #0a1a33 4px 8px); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .6); }
.knob.turn { animation: knob .6s var(--ease); }
@keyframes knob { 50% { background-position: 0 14px; } }
.lens-mag { position: absolute; bottom: 6%; inset-inline-start: 0; padding: 2px 12px; border-radius: 999px; background: var(--night); color: var(--brand); font-weight: 900; direction: ltr; }
.dept-card { padding: 28px; border-radius: 24px; background: var(--bg); border: 1px solid var(--line); }
.dept-card.swap { animation: swap .45s var(--ease); }
.dept-card small { color: var(--brand-deep); font-weight: 800; }
.dept-card h3 { font-size: 26px; margin-bottom: 8px; }
.dept-card p { color: var(--muted); }
.dept-card ul { margin: 16px 0 20px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.dept-card li { padding: 4px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }

/* ---------- 6. Insurers on orbits ---------- */
.belt-sec { overflow: hidden; }
.belt-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.belt-count { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.belt-count b { font-size: 64px; line-height: 1; font-weight: 900; color: transparent; -webkit-text-stroke: 2px var(--brand-deep); }
.belt-count span { font-weight: 700; color: var(--muted); max-width: 12ch; line-height: 1.6; }
.belt { position: relative; aspect-ratio: 1.25; }
.belt-core { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 50; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 14px var(--brand-soft), 0 30px 50px -20px rgba(0, 104, 140, .5); }
.belt-core img { width: 70%; animation: bob 6s ease-in-out infinite; }
.belt-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px dashed var(--glow); transform: translate(-50%, -50%) rotate(-12deg); }
.belt-ring.b-in { width: 64%; height: 34%; }
.belt-ring.b-out { width: 98%; height: 56%; }
.ins { position: absolute; left: 0; top: 0; width: 70px; height: 70px; margin: -35px; display: grid; place-items: center; padding: 10px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 26px -14px rgba(4, 10, 24, .4); will-change: transform; }
.ins img { max-height: 100%; object-fit: contain; }

/* ---------- 7. FAQ as a chat ---------- */
.chat-sec { background: linear-gradient(180deg, var(--bg), #e7f5fb); }
.chat-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.asks { display: grid; gap: 8px; margin-top: 24px; }
.ask { text-align: start; padding: 12px 18px; border-radius: 18px 18px 18px 4px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 15px; transition: transform .3s var(--ease), border-color .3s, background .3s, opacity .3s; }
.ask:hover { transform: translateX(-6px); border-color: var(--brand); }
.ask.asked { opacity: .5; }
.ask-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.chat { position: sticky; top: 96px; border-radius: 30px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--night); color: #fff; }
.chat-top img { width: 44px; height: 44px; padding: 6px; border-radius: 50%; background: #fff; object-fit: contain; }
.chat-top small { display: block; color: #2fe39a; font-size: 12px; line-height: 1.4; }
.chat-body { display: flex; flex-direction: column; gap: 10px; height: 420px; overflow-y: auto; padding: 20px; scroll-behavior: smooth;
  background: radial-gradient(circle, rgba(0, 185, 237, .08) 1px, transparent 1.5px) 0 0 / 22px 22px, #fbfeff; }
.msg { max-width: 84%; padding: 10px 16px; border-radius: 20px; font-size: 14.5px; line-height: 1.85; animation: msg .45s var(--spring) both; }
.msg.me { align-self: flex-start; background: var(--brand); color: var(--night); font-weight: 700; border-start-start-radius: 6px; }
.msg.lab { align-self: flex-end; background: var(--surface); border: 1px solid var(--line); border-start-end-radius: 6px; box-shadow: 0 6px 14px -10px rgba(4, 10, 24, .4); }
.msg.typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dots 1s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { transform: translateY(-5px); opacity: .4; } }
@keyframes msg { from { opacity: 0; transform: translateY(10px) scale(.92); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; color: #fff; padding-block: 78px; background: radial-gradient(600px 260px at 50% 100%, rgba(0, 185, 237, .35), transparent 70%), linear-gradient(170deg, #0a1a33, #040a18); }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(26px, 4vw, 42px); margin-bottom: 6px; }
.cta-band p { color: rgba(220, 240, 250, .8); margin-bottom: 24px; }
.cta-orbit { position: absolute; inset: 10% 2%; width: 96%; height: 80%; }
.cta-orbit ellipse { fill: none; stroke: rgba(127, 227, 255, .35); stroke-width: 2; stroke-dasharray: 4 14; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }

/* ---------- 8. Contact: the day dial and the address ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.dial-card { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; padding: 30px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dial { position: relative; width: 190px; aspect-ratio: 1; }
.dial svg { width: 100%; height: 100%; }
.dial-track { fill: none; stroke: var(--line); stroke-width: 16; }
.dial-open { fill: none; stroke: var(--brand); stroke-width: 16; stroke-linecap: round; filter: drop-shadow(0 4px 8px rgba(0, 185, 237, .45)); }
.dial-ticks line { stroke: var(--muted); stroke-width: 1.5; }
.dial-ticks text { fill: var(--muted); font-size: 11px; font-family: Vazirmatn, sans-serif; }
.dial-hand { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.dial-hand b { position: absolute; left: -9px; top: -105px; width: 18px; height: 18px; border-radius: 50%; background: var(--star); box-shadow: 0 0 0 5px rgba(255, 211, 107, .3), 0 0 16px var(--star); }
.dial-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dial-mid b { font-size: 30px; font-weight: 900; direction: ltr; }
.dial-mid small { color: var(--muted); font-size: 12px; }
.dial-body h3 { font-size: 21px; margin-bottom: 8px; }
.rows { display: grid; gap: 8px; margin-block: 14px 10px; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 12px; border-radius: 10px; }
.rows span { color: var(--muted); }
.rows .today { background: var(--brand-soft); }
.rows .today span { color: var(--brand-ink); font-weight: 700; }
.addr-card { overflow: hidden; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.city { position: relative; height: 230px; overflow: hidden; }
.city svg { width: 100%; height: 100%; max-width: none; }
.city-route { stroke-dasharray: 600; stroke-dashoffset: 600; animation: route 4s var(--ease) infinite; }
@keyframes route { 70%, 100% { stroke-dashoffset: 0; } }
.city-pin { position: absolute; left: 70%; top: 72%; display: grid; justify-items: center; gap: 6px; transform: translate(-50%, -100%); }
.city-pin b { padding: 4px 12px; border-radius: 999px; background: #fff; font-size: 13px; white-space: nowrap; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5); animation: float 4s ease-in-out infinite; }
.city-pin i { width: 18px; height: 18px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px rgba(0, 185, 237, .3), 0 0 0 14px rgba(0, 185, 237, .12); animation: blink 2s ease-in-out infinite; }
.addr-info { display: grid; gap: 16px; padding: 22px 26px 26px; }
.addr-info h3 { font-size: 19px; }
.addr-info p { color: var(--muted); }
.addr-acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .scope { grid-template-columns: 1fr 1fr; }
  .slides { grid-column: 1 / -1; display: flex; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .slide { white-space: nowrap; }
  .slide:hover, .slide[aria-selected="true"] { transform: translateY(-3px); }
}
@media (max-width: 960px) {
  .cosmos-grid, .whom-grid, .belt-grid, .chat-grid, .contact { grid-template-columns: 1fr; }
  .planet-wrap { order: -1; width: min(380px, 92%); }
  .toast { display: none; }
  .whom-sky { max-width: 340px; }
  .quick-grid { grid-template-columns: 1fr; }
  .fill { grid-template-columns: 120px 1fr; grid-template-rows: none; gap: 14px 20px; }
  .fflask { grid-column: 1; grid-row: 1 / 5; align-self: start; position: sticky; top: 90px; }
  .fstep:nth-of-type(n) { grid-column: 2; grid-row: auto; }
  .fpct { font-size: 13px; }
  .chat { position: relative; top: 0; }
}
@media (max-width: 640px) {
  .cosmos { padding-top: 22px; }
  .trust { grid-template-columns: 1fr 1fr; margin-top: 24px; }
  .trust div:nth-child(3) { border-inline-start: 0; }
  .trust div:nth-child(n+3) { border-top: 1px solid rgba(127, 227, 255, .1); }
  .book { padding: 16px; }
  .moon span { display: none; }
  .moon { padding: 5px; }
  /* On a phone the picture sits on top, smaller, and the track form stacks. */
  .qcard { grid-template-columns: 1fr; gap: 14px; padding: 22px; min-height: 0; text-align: center; }
  .qcard p { margin-inline: auto; }
  .ticket, .radar { order: -1; justify-self: center; }
  .ticket { width: 210px; transform: rotate(3deg); text-align: start; }
  .radar { transform: scale(.72); margin-block: -30px; }
  .q-form { flex-direction: column; max-width: none; }
  .q-form .btn { width: 100%; }
  .q-receipt .btn { width: 100%; }
  .scope { grid-template-columns: 1fr; }
  .knob { display: none; }
  .whom-sky { width: calc(100% - 76px); }
  .wmoon { width: 70px; height: 70px; margin: -35px; }
  .wmoon svg { width: 40px; height: 40px; }
  .dial-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .dial-body { width: 100%; }
  .ins { width: 54px; height: 54px; margin: -27px; padding: 7px; border-radius: 14px; }
  .chat-body { height: 360px; }
}
