/* AstroCEO - signed-out homepage styles (used by home.js) */
.land.hm-on { gap: 0; padding-block: 20px 0 }
.hm { display: grid; gap: 0 }
.hm h2, .hm h3 { font-family: var(--display); font-weight: 400; line-height: 1.2; margin: 0; text-wrap: balance }
.hm section { padding: 44px 0 }
.hm-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding: 30px 0 34px }
.hm-hero h1 { max-width: 16ch; margin: 12px 0 14px }
.hm-hero h1 em { font-style: normal; background: linear-gradient(100deg, #E0B15A, #F8E3A8 50%, #E0B15A); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hm-shine 6s linear infinite }
.hm-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center }
.hm .btn.primary.big { font-weight: 700; font-size: 1rem; padding: 15px 24px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px }
.hm .btn.primary.big .arr { transition: transform .2s }
.hm .btn.primary.big:hover .arr { transform: translateX(4px) }
[dir=rtl] .hm .btn.primary.big .arr { transform: scaleX(-1) }
.hm-pulse { animation: hm-pulse 2.8s ease-in-out infinite }
.hm-note { color: var(--muted); font-size: .86rem; margin: 12px 0 0; display: flex; align-items: center; gap: 8px }
.hm-note i { width: 8px; height: 8px; border-radius: 50%; background: #5BD19A; box-shadow: 0 0 0 0 rgba(91, 209, 154, .6); animation: hm-dot 2s infinite; flex: none }
.hm-wheel { position: relative; aspect-ratio: 1; max-width: 430px; width: 100%; margin: 0 auto; direction: ltr }
.hm-wheel svg { width: 100%; height: 100%; display: block }
.hm-wheel .glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(224, 177, 90, .18), transparent 68%); filter: blur(8px) }
.hm-spin { transform-origin: 250px 250px; animation: hm-spin 240s linear infinite }
.hm-head { text-align: center; margin-bottom: 26px }
.hm-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-top: 10px }
.hm-head p { color: var(--muted); max-width: 60ch; margin: 10px auto 0 }
.hm-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px }
.hm-g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px }
.hm-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch }
.hm-card { background: linear-gradient(180deg, rgba(22, 29, 62, .92), rgba(14, 19, 42, .92)); border: 1px solid var(--line); border-radius: 18px; padding: 20px; min-width: 0; transition: transform .25s, border-color .25s }
.hm-card:hover { transform: translateY(-3px); border-color: rgba(224, 177, 90, .5) }
.hm-card h3 { font-size: 1.2rem; margin: 6px 0 8px }
.hm-card p { color: var(--muted); margin: 0; font-size: .94rem }
.hm-card .ic { font-size: 1.5rem; display: block; margin-bottom: 4px; color: #E0B15A }
.hm-count { display: flex; gap: 8px; margin: 12px 0 10px; direction: ltr }
.hm-count div { flex: 1; text-align: center; background: #0D1228; border: 1px solid var(--line); border-radius: 12px; padding: 9px 2px }
.hm-count b { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 400; color: #F4D58A; font-variant-numeric: tabular-nums }
.hm-count span { font-size: .66rem; letter-spacing: .08em; color: var(--faint) }
.hm-tag { display: inline-block; font-size: .8rem; font-weight: 600; border-radius: 10px; padding: 6px 10px; margin-top: 12px }
.hm-tag.g { background: var(--great-bg); color: var(--great) }
.hm-tag.b { background: var(--bad-bg); color: var(--bad) }
.hm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px }
.hm-chips span { font-size: .8rem; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; background: #0D1228; color: var(--fg) }
.hm-samp { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center }
.hm-samp h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 10px 0 12px }
.hm-samp > div > p { color: var(--muted); margin: 0 0 20px }
.hm-phone { border: 1px solid rgba(224, 177, 90, .45); border-radius: 22px; padding: 20px; background: linear-gradient(180deg, rgba(22, 29, 62, .96), rgba(10, 14, 32, .96)); box-shadow: 0 20px 60px rgba(0, 0, 0, .45), 0 0 50px rgba(224, 177, 90, .08) }
.hm-dialrow { display: flex; align-items: center; gap: 16px; margin: 10px 0 14px }
.hm-dial { position: relative; width: 108px; height: 108px; flex: none }
.hm-dial svg { width: 100%; height: 100%; transform: rotate(-90deg) }
.hm-dial circle.v { transition: stroke-dashoffset 1.6s cubic-bezier(.2, .8, .2, 1) }
.hm-dial b { position: absolute; inset: 0; display: grid; place-content: center; font-family: var(--display); font-weight: 400; font-size: 2.1rem }
.hm-sub { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 12px 0 6px }
.hm-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 6px 0; font-size: .92rem }
.hm-row .m { grid-column: 2; height: 5px; border-radius: 9px; background: #1B2244; overflow: hidden }
.hm-row .m i { display: block; height: 100%; width: 0; border-radius: 9px; transition: width 1.4s cubic-bezier(.2, .8, .2, 1) }
.hm-row .lab { display: grid; gap: 5px }
.hm-row .v { font-variant-numeric: tabular-nums; font-weight: 700 }
.hm-steps { counter-reset: s }
.hm-steps .hm-card { counter-increment: s; position: relative; padding-top: 24px }
.hm-steps .hm-card::before { content: counter(s); display: grid; place-content: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #E0B15A, #F4D58A); color: #1A1405; font-weight: 700; margin-bottom: 12px }
.hm-seg { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #0D1228; margin-top: 18px }
.hm-seg button { font: inherit; font-weight: 700; font-size: .9rem; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s }
.hm-seg button[aria-pressed=true] { background: linear-gradient(135deg, #E0B15A, #F4D58A); color: #1A1405 }
.hm-seg small { font-size: .7rem; font-weight: 700; border-radius: 999px; padding: 2px 8px; background: var(--great-bg); color: var(--great) }
.hm-seg button[aria-pressed=true] small { background: #1A1405; color: #F4D58A }
.hm-plan { display: flex; flex-direction: column; gap: 6px; padding: 24px; position: relative }
.hm-plan.pro { border-color: rgba(224, 177, 90, .7); box-shadow: 0 0 60px rgba(224, 177, 90, .1) }
.hm-plan h3 { font-size: 1.35rem }
.hm-price { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; direction: ltr; justify-content: flex-start }
[dir=rtl] .hm-price { justify-content: flex-end }
.hm-price b { font-family: var(--display); font-weight: 400; font-size: 2.6rem; color: #F4D58A; line-height: 1 }
.hm-price span { color: var(--muted); font-size: .92rem }
.hm-bill { color: var(--muted); font-size: .88rem; min-height: 2.9em; margin: 4px 0 0 }
.hm-plan ul { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 9px; flex: 1 }
.hm-plan li { padding-inline-start: 26px; position: relative; font-size: .94rem }
.hm-plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #5BD19A; font-weight: 700 }
.hm-plan .btn { text-align: center; justify-content: center; text-decoration: none; padding: 14px 18px; font-weight: 700 }
.hm-best { position: absolute; top: -12px; inset-inline-end: 18px; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 4px 12px; background: linear-gradient(135deg, #E0B15A, #F4D58A); color: #1A1405 }
.hm-fine { text-align: center; color: var(--muted); font-size: .86rem; max-width: 60ch; margin: 18px auto 0 }
.hm-rep { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 22px }
.hm-rep div { flex: 1 1 280px }
.hm-rep .btn { text-decoration: none; font-weight: 700; padding: 12px 18px }
.hm-faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px }
.hm-faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(18, 24, 51, .8); padding: 0 18px }
.hm-faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px }
.hm-faq summary::-webkit-details-marker { display: none }
.hm-faq summary::after { content: "+"; color: #E0B15A; font-size: 1.2rem; line-height: 1; transition: transform .2s }
.hm-faq details[open] summary::after { transform: rotate(45deg) }
.hm-faq p { color: var(--muted); margin: 0 0 16px }
.hm-end { text-align: center; padding: 50px 0 60px }
.hm-end h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); max-width: 20ch; margin: 0 auto 22px }
.hm-rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease }
.hm-rv.in { opacity: 1; transform: none }
.hm-stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(9, 12, 28, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(224, 177, 90, .4); transform: translateY(110%); transition: transform .3s }
.hm-stick.show { transform: none }
.hm-stick span { font-size: .82rem; color: var(--muted) }
.hm-stick a { text-decoration: none; font-weight: 700; padding: 11px 16px; white-space: nowrap }
.hm-hero { align-items: start }
.hm-ticks { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px }
.hm-ticks li { padding-inline-start: 26px; position: relative; color: var(--fg); font-size: .96rem }
.hm-ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #5BD19A; font-weight: 700 }
.hm-form { display: grid; gap: 12px; padding: 22px; border: 1px solid rgba(224, 177, 90, .55); border-radius: 22px; background: linear-gradient(180deg, rgba(22, 29, 62, .96), rgba(10, 14, 32, .96)); box-shadow: 0 20px 60px rgba(0, 0, 0, .45), 0 0 60px rgba(224, 177, 90, .1) }
.hm-form h2 { font-size: 1.5rem; margin: 4px 0 2px }
.hm-form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--muted); min-width: 0 }
.hm-form input:not([type=checkbox]) { font: inherit; font-size: 1rem; color: var(--fg); background: #0D1228; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; min-height: 48px; color-scheme: dark }
.hm-form input:focus-visible { outline: 2px solid #F4D58A; outline-offset: 2px }
.hm-form input:disabled { opacity: .45 }
.hm-form .r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.hm-form label.ck { display: flex; gap: 8px; align-items: center; font-weight: 400; cursor: pointer }
.hm-form .cw { position: relative }
.hm-form .citylist { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; margin: 4px 0 0; padding: 4px; list-style: none; background: #121833; border: 1px solid var(--line); border-radius: 10px; max-height: 230px; overflow: auto }
.hm-form .citylist li { padding: 10px 12px; border-radius: 8px; cursor: pointer; color: var(--fg) }
.hm-form .citylist li:hover { background: rgba(224, 177, 90, .16) }
.hm-form .er { color: var(--bad); font-size: .9rem; min-height: 1.2em }
.hm-form button.btn { width: 100%; justify-content: center; cursor: pointer; border: 0 }
.hm-form small { color: var(--faint); font-size: .78rem; text-align: center; line-height: 1.5 }
.hm-or { text-align: center; margin: 2px 0 0; font-size: .9rem }
.hm-skyrow { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: center }
.hm-skyrow .hm-g3 { grid-template-columns: 1fr }
@keyframes hm-spin { to { transform: rotate(360deg) } }
@keyframes hm-shine { to { background-position: -200% 0 } }
@keyframes hm-pulse { 0%, 100% { box-shadow: 0 8px 28px rgba(224, 177, 90, .25) } 50% { box-shadow: 0 8px 44px rgba(224, 177, 90, .55) } }
@keyframes hm-dot { 70% { box-shadow: 0 0 0 9px rgba(91, 209, 154, 0) } 100% { box-shadow: 0 0 0 0 rgba(91, 209, 154, 0) } }
@media (max-width: 860px) { .hm-hero, .hm-samp, .hm-skyrow { grid-template-columns: 1fr } .hm-hero h1 { max-width: none; margin: 8px 0 0 } .hm-hero { gap: 14px } .hm-hero > div { display: contents } .hm-hero .lead { display: none } .hm-hero .eyebrow { order: 0 } .hm-hero h1 { order: 1 } .hm-form { order: 2; padding: 18px } .hm-ticks { order: 3; margin-top: 8px } .hm-g3, .hm-g2 { grid-template-columns: 1fr } .hm-plan.pro { order: -1 } .hm-g4 { grid-template-columns: 1fr 1fr } .hm section { padding: 34px 0 } .hm-hero { padding-top: 18px } .hm-wheel { max-width: 340px } .hm-stick { display: flex } body.hm-pad { padding-bottom: 70px } .hm-bill { min-height: 0 } }
@media (max-width: 420px) { .hm-g4 { grid-template-columns: 1fr } }
@media (prefers-reduced-motion: reduce) { .hm-spin, .hm-pulse, .hm-note i, .hm-hero h1 em { animation: none } .hm-rv { opacity: 1; transform: none; transition: none } .hm-dial circle.v, .hm-row .m i, .hm-stick { transition: none } }
/* Visitor homepage in the app's look (17 Nov 2026): one colored band carries the header and the hero, cards are flat (no outline, glow or hover lift), and large screens get a wide layout. */
body:has(.hm) { overflow-x: clip }
.land.hm-on { max-width: 1240px }
@media (min-width: 1100px) { .land.hm-on { max-width: 1640px; padding-inline: clamp(32px, 4.5vw, 96px) } }
.hm-hero { position: relative; isolation: isolate; padding: 30px 0 50px }
.hm-hero::before { content: ""; pointer-events: none; position: absolute; z-index: -1; top: -140px; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); border-radius: 0 0 56px 56px; background: linear-gradient(180deg, rgba(96, 72, 200, .08) 0%, rgba(96, 72, 200, .30) 58%, rgba(224, 177, 90, .26) 100%); box-shadow: 0 12px 22px -18px rgba(224, 177, 90, .45) }
.hm .hm-card, .hm .hm-card:hover, .hm .hm-phone, .hm .hm-form, .hm .hm-plan, .hm .hm-plan.pro, .hm .hm-rep { border: 0; box-shadow: none; transform: none }
.hm .hm-card, .hm .hm-plan, .hm .hm-rep { border-radius: 28px }
.hm .hm-form { background: linear-gradient(170deg, rgba(20, 18, 58, .86), rgba(12, 12, 38, .92)); border-radius: 32px }
.hm .hm-phone { border-radius: 32px }
.hm .hm-plan.pro { background: linear-gradient(165deg, rgba(224, 177, 90, .20), rgba(104, 82, 214, .24) 60%, rgba(30, 24, 76, .78)) }
.hm-best { top: 16px }
.hm-plan.pro h3 { padding-inline-end: 96px }
.hm-faq details { border-radius: 22px }
@media (min-width: 1100px) {
  .hm section { padding: 64px 0 }
  .hm-hero { grid-template-columns: 1.15fr .85fr; gap: 64px; padding: 44px 0 70px }
  .hm-hero h1 { font-size: clamp(3rem, 4.6vw, 4.5rem); max-width: 14ch }
  .hm-hero::before { border-radius: 0 0 80px 80px }
  .hm-skyrow { grid-template-columns: 1fr 1.2fr; gap: 56px }
  .hm-wheel { max-width: 520px }
  .hm-samp { gap: 72px }
  .hm-samp h2 { font-size: clamp(2rem, 3vw, 2.8rem) }
  .hm-head h2 { font-size: clamp(2rem, 3vw, 2.9rem) }
  .hm-g3, .hm-g4 { gap: 20px } .hm-g3 > .hm-card, .hm-g4 > .hm-card { padding: 26px }
  .hm > section > .hm-g2 { gap: 24px }
  .hm-plan { padding: 32px }
  .hm-rep { padding: 26px 32px }
  .hm-faq { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px }
  .hm-head p { max-width: 70ch }
  .hm-hero > div > p { font-size: 1.15rem; max-width: 52ch }
  .hm-ticks li { font-size: 1.05rem }
  .hm-skyrow .hm-g3 { gap: 18px }
  .mt-card { padding-block: 44px }
}
.land-top .topright { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end } .hm-join { white-space: nowrap }
@media (max-width: 480px) { .land-top .topright .btn:not(.hm-join) { padding-inline: 12px } .land-top .topright #langSel { max-width: 108px } }

/* Six feature cards (24 Nov 2026): three per row on wide screens */
@media (min-width: 861px) { .hm-g4.six { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
/* Free account card in the hero (24 Nov 2026): a card of its own, also on phones (where the hero's text columns flow into one) */
.hm-hero > .hm-acct { display: grid; align-content: start }
.hm-acct .hm-ticks { margin: 4px 0 6px }
.hm-acct .btn.big { justify-content: center }
@media (max-width: 860px) { .hm-hero > .hm-acct { order: 2 } .hm-acct .hm-ticks { display: none } }
