/* ============================================================
   Atlas Pro growth pages (Nov 2026): Front Desk, Local Listings,
   AI Visibility, Audit. Builds on /style.css design tokens.
   ============================================================ */

/* Page hero (subpages) */
.page-hero { position: relative; z-index: 1; padding: calc(var(--nav-h) + 4rem) 0 4rem; overflow: hidden; }
.page-hero .hero-watermark { bottom: -1rem; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; }
.page-hero .hero-title { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.page-hero .hero-sub { max-width: 560px; }
.page-hero .hero-ctas { justify-content: flex-start; }
.page-hero.center { text-align: center; }
.page-hero.center .hero-sub { margin-inline: auto; }
.page-hero.center .hero-ctas { justify-content: center; }
.crumbs { font-size: .78rem; color: var(--muted); margin-bottom: 1.2rem; font-family: "Sora", sans-serif; }
.crumbs a:hover { color: var(--orange); }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 1rem; }
.section-sub { color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .section-sub { margin-inline: auto; }
.rel { position: relative; z-index: 1; }

/* Typing word */
.hero-title .type-line { white-space: nowrap; }
.type-word::after { content: "|"; color: var(--orange); margin-left: 2px; -webkit-text-fill-color: var(--orange); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Answer block: the one paragraph AI tools quote */
.answer-block { max-width: 900px; margin: 0 auto; padding: 1.8rem 2rem; border-left: 3px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; background: linear-gradient(90deg, rgba(255,106,0,.08), rgba(255,255,255,.02)); position: relative; }
.answer-block h2 { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: .7rem; }
.answer-block p { color: #d6d6d6; font-size: 1.08rem; line-height: 1.8; }
.answer-block a { color: var(--orange); font-weight: 600; }

/* Phone call demo */
.phone-wrap { position: relative; display: grid; place-items: center; }
.phone { width: 300px; height: 580px; border-radius: 44px; border: 2px solid rgba(255,255,255,.12); background: linear-gradient(170deg, #120a05, #050505 55%); box-shadow: 0 0 0 8px #000 inset, 0 30px 90px -20px rgba(255,106,0,.45); position: relative; overflow: hidden; padding: 34px 18px 18px; }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: #000; border-radius: 20px; z-index: 2; }
.phone-label { text-align: center; font-family: "Sora", sans-serif; font-size: .62rem; letter-spacing: .22em; color: var(--muted); margin-top: 14px; }
.phone-timer { text-align: center; font-family: ui-monospace, Consolas, monospace; color: var(--orange); font-size: .8rem; margin-top: 4px; }
.phone-ring { position: absolute; left: 50%; top: 104px; width: 78px; height: 78px; margin-left: -39px; border-radius: 50%; background: linear-gradient(135deg, var(--ember), var(--orange2)); display: grid; place-items: center; color: #fff; box-shadow: 0 0 40px rgba(255,106,0,.6); }
.phone-ring svg { width: 30px; height: 30px; }
.phone-ring::before, .phone-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ringout 2.2s ease-out infinite; }
.phone-ring::after { animation-delay: 1.1s; }
@keyframes ringout { to { transform: scale(2.4); opacity: 0; } }
.phone-chat { position: absolute; left: 14px; right: 14px; top: 210px; bottom: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; }
.msg { max-width: 88%; padding: 9px 13px; border-radius: 14px; font-size: .78rem; line-height: 1.45; opacity: 0; transform: translateY(10px); animation: msgin .45s forwards; }
.msg.ai { align-self: flex-start; background: rgba(255,106,0,.12); border: 1px solid rgba(255,106,0,.35); color: #f1e6dc; }
.msg.cu { align-self: flex-end; background: rgba(255,255,255,.08); color: #e8e8e8; }
.msg.sys { align-self: center; font-size: .7rem; font-weight: 600; color: #34d399; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); }
@keyframes msgin { to { opacity: 1; transform: none; } }
.phone-float { position: absolute; padding: .55rem .85rem; border-radius: 10px; font-size: .72rem; font-family: "Sora", sans-serif; background: rgba(10,10,10,.85); border: 1px solid rgba(255,106,0,.35); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.5); backdrop-filter: blur(8px); }
.phone-float b { color: var(--orange); display: block; font-size: .6rem; letter-spacing: .16em; margin-bottom: 2px; }
.pf-1 { top: 16%; left: -2%; animation: float 6s ease-in-out infinite; }
.pf-2 { top: 48%; right: -4%; animation: float 7s ease-in-out infinite 1s; }
.pf-3 { bottom: 4%; left: -6%; animation: float 8s ease-in-out infinite .5s; }

/* Voice wave */
.voice-wave { display: flex; gap: 4px; align-items: center; justify-content: center; height: 110px; }
.voice-wave i { width: 4px; border-radius: 3px; background: linear-gradient(var(--orange2), var(--ember)); animation: wv 1.1s ease-in-out infinite; height: 10%; }
@keyframes wv { 50% { height: 100%; } }
.live-line { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; color: var(--muted); text-align: center; margin-top: 1rem; }
.live-line span { color: #34d399; }

/* Radar */
.radar { width: min(420px, 86vw); aspect-ratio: 1; border-radius: 50%; margin: auto; position: relative; border: 1px solid rgba(255,106,0,.3); background: radial-gradient(circle, rgba(255,106,0,.09), transparent 70%); }
.radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,106,0,.55), transparent 22%); animation: spin 4s linear infinite; }
.radar .rc { position: absolute; border: 1px solid rgba(255,106,0,.16); border-radius: 50%; }
.radar .rx { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px solid rgba(255,106,0,.12); }
.radar .ry { position: absolute; top: 50%; left: 0; right: 0; border-top: 1px solid rgba(255,106,0,.12); }
.radar .core { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; display: grid; place-items: center; background: #0d0907; border: 2px solid var(--orange); box-shadow: 0 0 30px rgba(255,106,0,.5); z-index: 2; }
.radar .core img { width: 34px; }
@keyframes spin { to { transform: rotate(360deg); } }
.blip { position: absolute; padding: .35rem .7rem; font-family: "Sora", sans-serif; font-size: .7rem; border-radius: 8px; background: rgba(5,5,5,.9); border: 1px solid var(--orange); white-space: nowrap; animation: bl 4s infinite; z-index: 3; }
.blip::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-right: 6px; vertical-align: middle; }
@keyframes bl { 0%, 100% { opacity: .3; } 30% { opacity: 1; box-shadow: 0 0 22px rgba(255,106,0,.7); } }

/* Listings network */
.net { position: relative; width: min(460px, 88vw); aspect-ratio: 1; margin: auto; }
.net svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.net line { stroke: rgba(255,106,0,.3); stroke-width: 1; stroke-dasharray: 4 6; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.net .hub { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 35% 30%, var(--orange2), var(--ember)); color: #fff; font-family: "Sora", sans-serif; font-weight: 800; font-size: .72rem; letter-spacing: .1em; box-shadow: 0 0 60px rgba(255,106,0,.55); z-index: 2; }
.net .node { position: absolute; transform: translate(-50%, -50%); padding: .4rem .7rem; border-radius: 8px; font-size: .7rem; font-family: "Sora", sans-serif; background: #0d0907; border: 1px solid var(--border); color: var(--muted); transition: .4s; z-index: 2; white-space: nowrap; }
.net .node.ok { color: #fff; border-color: var(--orange); box-shadow: 0 0 18px rgba(255,106,0,.45); }
.net .node.ok::after { content: " ✓"; color: #34d399; }

/* HUD frame for visuals */
.hud-frame { position: relative; padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(7,5,4,.6); }

/* Grids */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.mt { margin-top: 2.5rem; }

/* Check list */
.check-list { margin: 1.4rem 0 2rem; }
.check-list li { position: relative; padding: .7rem 0 .7rem 2rem; border-bottom: 1px solid var(--border); color: #d0d0d0; font-size: .95rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 12px; height: 12px; border-radius: 3px; background: var(--orange); box-shadow: 0 0 12px rgba(255,106,0,.6); transform: rotate(45deg); }

/* Step cards */
.step-card { padding: 1.8rem 1.5rem; position: relative; overflow: hidden; }
.step-card .n { font-family: "Sora", sans-serif; font-size: 3.2rem; font-weight: 800; color: rgba(255,106,0,.14); position: absolute; right: 1rem; top: .2rem; line-height: 1; }
.step-card h3 { font-size: 1.05rem; color: #fff; margin-bottom: .5rem; position: relative; }
.step-card p { color: var(--muted); font-size: .88rem; line-height: 1.6; position: relative; }

/* Compare table */
.compare { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--border); border-radius: var(--radius); }
.compare table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 620px; }
.compare th, .compare td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); }
.compare th { font-family: "Sora", sans-serif; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:last-child, .compare th:last-child { background: rgba(255,106,0,.08); color: #fff; }
.compare .y { color: #34d399; font-weight: 600; }
.compare .x { color: #ff6b6b; }

/* Plans */
.plan { padding: 2rem 1.7rem; position: relative; display: flex; flex-direction: column; }
.plan h3 { color: #fff; font-size: 1.2rem; margin-bottom: .4rem; }
.plan .plan-price { font-family: "Sora", sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--orange); margin: .4rem 0 1rem; }
.plan .plan-price small { font-size: .78rem; color: var(--muted); font-weight: 500; }
.plan ul { margin: 0 0 1.6rem; flex: 1; }
.plan li { padding: .45rem 0 .45rem 1.5rem; position: relative; color: #ccc; font-size: .9rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.plan.featured { border-color: rgba(255,106,0,.55); box-shadow: 0 0 60px -20px rgba(255,106,0,.6); }
.plan .ribbon { position: absolute; top: 1rem; right: 1rem; }

/* Chips */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chip-row span, .chip-row a { font-family: "Sora", sans-serif; font-size: .74rem; font-weight: 600; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: #c9c9c9; transition: var(--trans); }
.chip-row a:hover { border-color: var(--orange); color: #fff; background: rgba(255,106,0,.12); }
.center .chip-row { justify-content: center; }

/* FAQ on subpages (same look as /faq/) */
.qa-list { max-width: 900px; margin: 2rem auto 0; }
details.qa { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .7rem; overflow: hidden; transition: border-color var(--trans); }
details.qa[open] { border-color: rgba(255,106,0,.4); background: rgba(255,255,255,.06); }
details.qa summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-family: "Sora", sans-serif; font-weight: 600; font-size: 1rem; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .tog { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--orange); font-size: 1.1rem; transition: transform var(--trans); }
details.qa[open] summary .tog { transform: rotate(45deg); }
details.qa .ans { padding: 0 1.3rem 1.3rem; color: #c9c9c9; }

/* Home: new service band */
.growth-band .g2 { gap: 3rem; }
.mini-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.mini-stats div b { font-family: "Sora", sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--orange); display: block; }
.mini-stats div span { font-size: .75rem; color: var(--muted); }
.svc-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.svc-trio a.ind-card { display: block; }
.svc-trio .more { color: var(--orange); font-family: "Sora", sans-serif; font-weight: 600; font-size: .85rem; }

@media (max-width: 1024px) {
  .page-hero-grid, .g2 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .page-hero .hero-ctas { justify-content: center; }
  .page-hero { text-align: center; }
  .page-hero .hero-sub { margin-inline: auto; }
}
@media (max-width: 760px) {
  .g3, .g4, .svc-trio { grid-template-columns: 1fr; }
  .phone { transform: scale(.92); }
  .pf-1, .pf-2, .pf-3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .radar::before, .net line, .voice-wave i, .phone-ring::before, .phone-ring::after, .blip { animation: none; }
}

/* ── Audit page ─────────────────────────────────────────────── */
:root { --ok: #34d399; --warn: #ffb020; --bad: #ff5a5a; }
.af { max-width: 640px; margin: 2.5rem auto 0; padding: 2rem; text-align: left; position: relative; border-color: rgba(255,106,0,.3); box-shadow: 0 30px 80px -30px rgba(255,106,0,.45); }
.af .row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.af label { display: block; font-family: "Sora", sans-serif; font-size: .72rem; letter-spacing: .08em; color: var(--muted); margin: .9rem 0 .35rem; }
.af input[type=text], .af input[type=email], .af input[type=tel] { width: 100%; padding: .9rem 1rem; border-radius: 10px; border: 1px solid var(--border); background: rgba(0,0,0,.55); color: var(--text); font: inherit; font-size: 1rem; outline: none; transition: border-color var(--trans), box-shadow var(--trans); }
.af input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,106,0,.18); }
.af .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .75rem; color: var(--muted); margin-top: 1rem; line-height: 1.5; letter-spacing: 0; font-family: "Inter", sans-serif; }
.af .consent a { color: var(--orange); }
.af button { width: 100%; justify-content: center; margin-top: 1.3rem; padding: 1rem; font-size: 1rem; }
.af .hp { position: absolute; left: -9999px; }
.trust { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; color: var(--muted); font-size: .8rem; }
.trust span::before { content: "✓ "; color: var(--orange); }
#scan { position: relative; z-index: 1; width: min(1240px, 94vw); margin: 0 auto; padding: calc(var(--nav-h) + 2rem) 0 4rem; }
.scan-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.scan-head h2 { font-size: 1.6rem; }
.scan-head .tgt { color: var(--orange); font-family: ui-monospace, Consolas, monospace; }
.pbar { height: 5px; border-radius: 5px; background: rgba(255,255,255,.07); overflow: hidden; margin-bottom: 1.4rem; }
.pbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ember), var(--orange2)); box-shadow: 0 0 16px var(--orange); transition: width .5s; }
.sg { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.3rem; }
.panel { border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(10,7,5,.78); backdrop-filter: blur(10px); overflow: hidden; position: relative; }
.panel h3 { font-size: .66rem; letter-spacing: .2em; color: var(--muted); padding: .85rem 1.1rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; font-weight: 600; }
.shot { height: 290px; background: #0b0705 center top / cover no-repeat; position: relative; overflow: hidden; }
.shot::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,106,0,.12), transparent 30%), repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 2px, transparent 2px 4px); }
.shot .beam { position: absolute; left: 0; right: 0; height: 80px; background: linear-gradient(transparent, rgba(255,106,0,.35), transparent); animation: beam 2.6s ease-in-out infinite; }
@keyframes beam { 0% { top: -80px; } 100% { top: 100%; } }
.shot .reticle { position: absolute; width: 110px; height: 110px; border: 1px solid var(--orange); border-radius: 50%; animation: hunt 6s ease-in-out infinite; }
.shot .reticle::before, .shot .reticle::after { content: ""; position: absolute; background: var(--orange); }
.shot .reticle::before { left: 50%; top: -10px; bottom: -10px; width: 1px; }
.shot .reticle::after { top: 50%; left: -10px; right: -10px; height: 1px; }
@keyframes hunt { 0% { left: 10%; top: 10%; } 25% { left: 60%; top: 20%; } 50% { left: 40%; top: 55%; } 75% { left: 75%; top: 60%; } 100% { left: 10%; top: 10%; } }
.complete .shot .beam, .complete .shot .reticle { display: none; }
#scan-log { height: 320px; overflow: auto; padding: .8rem 1rem; font-family: ui-monospace, Consolas, monospace; font-size: .76rem; line-height: 1.55; }
.ln { display: grid; grid-template-columns: 64px 44px 1fr; gap: 8px; padding: 2px 0; opacity: 0; animation: msgin .3s forwards; }
.ln .ts { color: #4f4a46; } .ln .tg { font-weight: 800; }
.ln.run .tg { color: var(--muted); } .ln.run .tx { color: #7b746e; }
.ln.pass .tg { color: var(--ok); } .ln.warn .tg { color: var(--warn); } .ln.fail .tg { color: var(--bad); } .ln.skip .tg, .ln.info .tg { color: #666; }
.dialw { display: grid; place-items: center; padding: 1.4rem .6rem .6rem; }
.dial { position: relative; width: 200px; height: 200px; }
.dial svg { transform: rotate(-90deg); }
.dial circle { fill: none; stroke-width: 12; }
.dial .bg { stroke: rgba(255,255,255,.07); }
.dial #dial-arc { stroke: var(--orange); stroke-linecap: round; transition: stroke-dashoffset .8s, stroke .5s; filter: drop-shadow(0 0 8px rgba(255,106,0,.6)); }
.dial .v { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.dial .v b { font-family: "Sora", sans-serif; font-size: 3.4rem; font-weight: 800; line-height: 1; display: block; color: #fff; }
.dial .v span { color: var(--muted); font-size: .66rem; letter-spacing: .2em; }
#scan-phase { color: var(--orange); font-family: "Sora", sans-serif; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-top: .5rem; }
#cats { padding: .3rem 1.1rem 1.1rem; }
.cat { margin-top: .75rem; }
.cl { display: flex; justify-content: space-between; font-size: .8rem; color: #ccc; margin-bottom: .35rem; }
.cb { height: 5px; border-radius: 5px; background: rgba(255,255,255,.07); overflow: hidden; }
.cb i { display: block; height: 100%; width: 0; transition: width .8s, background .5s; }
#engines { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: 1rem; }
.eng { padding: .85rem; border-radius: 12px; border: 1px solid var(--border); opacity: 0; animation: msgin .4s forwards; }
.eng .en { font-family: "Sora", sans-serif; font-weight: 600; color: #fff; font-size: .9rem; }
.eng .es { font-size: .72rem; color: var(--muted); margin-top: 3px; }
.eng.pass { border-color: rgba(52,211,153,.5); } .eng.pass .es { color: var(--ok); }
.eng.fail { border-color: rgba(255,90,90,.5); } .eng.fail .es { color: var(--bad); }
.eng-empty { color: var(--muted); font-size: .8rem; padding: .6rem; grid-column: 1 / -1; }
#scan-done { max-width: 860px; margin: 2.5rem auto 0; padding: 2.5rem; text-align: center; border-color: rgba(255,106,0,.4); background: linear-gradient(160deg, rgba(255,106,0,.1), rgba(255,255,255,.02)); }
#scan-done .big { font-family: "Sora", sans-serif; font-size: 5rem; font-weight: 800; line-height: 1; }
#scan-done h2 { font-size: 1.6rem; margin-top: 1.2rem; }
#final-fixes { text-align: left; margin: 1.6rem 0 .5rem; }
#final-fixes li { padding: .85rem 0; border-top: 1px solid var(--border); }
#final-fixes b { display: block; color: #fff; font-family: "Sora", sans-serif; font-weight: 600; }
#final-fixes span { color: var(--muted); font-size: .88rem; }
.mail { display: inline-flex; align-items: center; gap: .6rem; color: var(--ok); margin: 1rem 0 1.4rem; font-weight: 600; font-size: .9rem; }
.mail i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); animation: pulse 1.2s infinite; }
@media (max-width: 900px) { .sg { grid-template-columns: 1fr; } .af .row { grid-template-columns: 1fr; } }
