/* ===================== AI SEO / GEO ===================== */

.wb-status.geo-illus { color: var(--dim); border: 1px dashed var(--line-2); border-radius: 6px; padding: 2px 7px; font-size: 10.5px; text-transform: uppercase; }

/* ---------- hero ---------- */
.geo-hero { overflow: hidden; padding-bottom: clamp(40px, 6vw, 70px); }
.geo-hero::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), 0.25), transparent); pointer-events: none; }
.geo-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.geo-title { font-size: clamp(40px, 5.2vw, 78px); max-width: 14ch; }

/* chat window */
.geo-chat { min-height: 440px; display: flex; flex-direction: column; }
.geo-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 18px 18px 0; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); isolation: isolate; }
.geo-toggle button { position: relative; z-index: 1; height: 38px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color 0.35s; }
.geo-toggle button[aria-checked="true"] { color: var(--bg); }
.geo-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--rose); box-shadow: 0 0 24px -4px rgba(255, 111, 134, 0.7); transition: transform 0.55s var(--ease), background 0.45s, box-shadow 0.45s; }
.geo-chat.is-after .geo-thumb { transform: translateX(100%); background: var(--mint); box-shadow: 0 0 24px -4px rgba(87, 242, 176, 0.75); }
.geo-thread { padding: 20px 18px 6px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.geo-user { align-self: flex-end; max-width: 86%; padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: rgba(var(--accent-rgb), 0.16); border: 1px solid rgba(var(--accent-rgb), 0.35); }
.geo-user .mono { display: block; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.geo-user p { font-size: 15px; color: #fff; }
.geo-ai { display: grid; grid-template-columns: 30px 1fr; gap: 12px; min-height: 150px; }
.geo-avatar { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.geo-avatar svg { width: 16px; height: 16px; }
.geo-answer { color: #d7def5; font-size: 15.5px; line-height: 1.65; min-height: 5em; }
.geo-answer mark { padding: 0 4px; border-radius: 4px; color: #fff; }
.geo-answer mark.is-comp { background: rgba(255, 111, 134, 0.2); }
.geo-answer mark.is-you { background: rgba(87, 242, 176, 0.24); }
.geo-sources { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; opacity: 0; transform: translateY(6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.geo-sources.is-on { opacity: 1; transform: none; }
.geo-src { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 12.5px; }
.geo-src b { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); font-size: 10px; }
.geo-src.is-you { color: #fff; border-color: rgba(87, 242, 176, 0.55); background: rgba(87, 242, 176, 0.08); box-shadow: 0 0 20px -6px rgba(87, 242, 176, 0.7); }
.geo-src.is-you b { background: var(--mint); color: var(--bg); }
.geo-src em { font-style: normal; font-family: var(--f-mono); font-size: 10.5px; color: var(--mint); }
.geo-verdict { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 18px 18px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(5, 10, 28, 0.6); transition: border-color 0.4s, background 0.4s; }
.geo-verdict .mono { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.geo-verdict b { font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--muted); }
.geo-verdict.is-miss { border-color: rgba(255, 111, 134, 0.45); background: rgba(255, 111, 134, 0.06); }
.geo-verdict.is-miss b { color: var(--rose); }
.geo-verdict.is-hit { border-color: rgba(87, 242, 176, 0.5); background: rgba(87, 242, 176, 0.07); }
.geo-verdict.is-hit b { color: var(--mint); }
.geo-demo-note { margin-top: 14px; font-size: 12px; text-align: right; }

.geo-engines { margin-top: clamp(50px, 7vw, 90px); display: flex; flex-direction: column; gap: 18px; }
.engine { display: inline-flex; flex-direction: column; gap: 2px; padding: 12px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; }
.engine b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.engine em { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--dim); letter-spacing: 0.04em; }
.geo-engines .marquee-track { gap: 14px; }

@media (max-width: 1020px) {
  .geo-hero-grid { grid-template-columns: 1fr; }
  .geo-hero::before { display: none; }
  .geo-demo { max-width: 620px; }
  .geo-demo-note { text-align: left; }
}
@media (max-width: 560px) {
  .geo-chat { min-height: 0; }
  .geo-toggle button { font-size: 13px; }
  .geo-thread { padding: 16px 14px 4px; }
  .geo-verdict { margin: 8px 14px 14px; }
}

/* ---------- morph ---------- */
.morph-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.morph-copy .lead { margin-top: 22px; }
.morph-punch { margin-top: 26px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.morph-small { margin-top: 18px; font-size: 16px; max-width: 52ch; }
.morph { padding: clamp(18px, 3vw, 34px); border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(5, 10, 28, 0.55); }
.morph-head { display: grid; grid-template-columns: 1fr 40px 1fr; padding: 0 6px 14px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); }
.morph-head span:last-child { color: var(--accent); }
.morph-row { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: center; padding: 20px 6px; border-bottom: 1px solid var(--line); }
.m-old { position: relative; font-size: clamp(18px, 1.9vw, 24px); font-weight: 500; letter-spacing: -0.02em; color: var(--text); transition: color 0.6s; width: fit-content; }
.m-old::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 2px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.m-arrow { font-style: normal; text-align: center; color: var(--dim); transition: color 0.5s, transform 0.5s var(--ease); }
.m-new { font-size: clamp(18px, 1.9vw, 24px); font-weight: 600; letter-spacing: -0.02em; color: var(--dim); opacity: 0.35; transition: opacity 0.5s, color 0.5s; }
.morph-row.is-geo .m-old { color: var(--dim); }
.morph-row.is-geo .m-old::after { transform: scaleX(1); }
.morph-row.is-geo .m-arrow { color: var(--cyan); transform: translateX(4px); }
.morph-row.is-geo .m-new { opacity: 1; color: #fff; text-shadow: 0 0 22px rgba(70, 225, 255, 0.45); }
.morph-foot { margin-top: 18px; font-size: 11.5px; }
@media (max-width: 960px) { .morph-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .morph-row, .morph-head { grid-template-columns: 1fr 28px 1fr; } .morph-row { padding: 16px 2px; } }

/* ---------- five stages ---------- */
.stages-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.stages-head { position: sticky; top: calc(var(--header-h) + 40px); }
.stages-head .lead { margin-top: 20px; }
.gstages { position: relative; display: flex; flex-direction: column; gap: 14px; padding-left: 48px; }
.gs-rail { position: absolute; left: 14px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); }
.gs-rail b { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.8); }
.gs-packet { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); padding: 4px 8px; border-radius: 999px; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bg); background: var(--cyan); box-shadow: 0 0 18px 2px rgba(70, 225, 255, 0.75); white-space: nowrap; }
.gs { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 24px 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); opacity: 0.5; transition: opacity 0.5s, border-color 0.5s, background 0.5s, transform 0.5s var(--ease); }
.gs-n { font-size: 30px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.6); }
.gs h3 { font-size: 22px; margin-bottom: 6px; }
.gs p { color: var(--muted); font-size: 15.5px; }
.gs-lever { display: inline-block; margin-top: 12px; font-size: 11px; letter-spacing: 0.04em; color: var(--dim); padding: 4px 9px; border-radius: 6px; border: 1px dashed var(--line-2); transition: color 0.4s, border-color 0.4s; }
.gs.is-on { opacity: 1; border-color: rgba(var(--accent-rgb), 0.5); background: rgba(var(--accent-rgb), 0.07); }
.gs.is-on .gs-n { -webkit-text-stroke-color: var(--cyan); }
.gs.is-on .gs-lever { color: var(--cyan); border-color: rgba(70, 225, 255, 0.4); }
@media (max-width: 960px) { .stages-grid { grid-template-columns: 1fr; } .stages-head { position: static; } }
@media (max-width: 560px) { .gstages { padding-left: 38px; } .gs-rail { left: 10px; } .gs { grid-template-columns: 1fr; padding: 20px; } .gs-n { font-size: 24px; } }

/* ---------- deliverables ---------- */
.ship-card { min-height: 250px; transform-style: preserve-3d; }

/* ---------- audits ---------- */
.audit-card { min-height: 330px; display: flex; flex-direction: column; }
.audit-card h3 { margin: 14px 0 18px; }
.audit-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--mint), transparent); box-shadow: 0 0 16px var(--mint); opacity: 0; }
.audit-card.is-in .audit-scan { animation: auditscan 2.6s var(--ease) 0.4s 1 forwards; }
@keyframes auditscan { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.audit-checks { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.audit-checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.audit-checks li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; font-size: 11px; font-weight: 700; background: rgba(87, 242, 176, 0.14); color: var(--mint); border: 1px solid rgba(87, 242, 176, 0.35); opacity: 0.25; transform: scale(0.6); transition: opacity 0.4s, transform 0.4s var(--ease); }
.audit-card.is-in .audit-checks li::before { opacity: 1; transform: none; }
.audit-card.is-in .audit-checks li:nth-child(1)::before { transition-delay: 0.7s; }
.audit-card.is-in .audit-checks li:nth-child(2)::before { transition-delay: 1.1s; }
.audit-card.is-in .audit-checks li:nth-child(3)::before { transition-delay: 1.5s; }
.audit-card.is-in .audit-checks li:nth-child(4)::before { transition-delay: 1.9s; }
.audit-card.is-in .audit-checks li:nth-child(5)::before { transition-delay: 2.3s; }

/* ---------- why now ---------- */
.reasons { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: baseline; padding: clamp(24px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line); }
.reason-n { font-size: 13px; color: var(--accent); }
.reason h3 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.04em; }
.reason p { color: var(--muted); font-size: 16.5px; }
@media (max-width: 760px) { .reason { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- faq ---------- */
.geo-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.geo-faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 30px); }
@media (max-width: 900px) { .geo-faq-grid { grid-template-columns: 1fr; } .geo-faq-grid .section-head { position: static; } }
@media (max-width: 640px) { .ship-card, .audit-card { min-height: 0; } .audit-checks { margin-top: 4px; } }

/* ---------- day theme ---------- */
html[data-theme="light"] .engine { background: #fff; box-shadow: 0 8px 22px -16px rgba(20, 40, 110, 0.35); }
html[data-theme="light"] .morph { background: #fff; box-shadow: 0 18px 44px -28px rgba(20, 40, 110, 0.38); }
html[data-theme="light"] .m-new { opacity: 0.4; }
html[data-theme="light"] .morph-row.is-geo .m-new { opacity: 1; color: var(--accent); text-shadow: none; }
html[data-theme="light"] .gs-rail b { box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.45); }
html[data-theme="light"] .gs-packet { color: #fff; box-shadow: 0 6px 16px -4px rgba(10, 143, 179, 0.6); }
html[data-theme="light"] .gs { background: #fff; opacity: 0.72; }
html[data-theme="light"] .gs.is-on { opacity: 1; background: #fff; box-shadow: 0 16px 36px -24px rgba(var(--accent-rgb), 0.5); }
html[data-theme="light"] .gs.is-on .gs-lever { border-color: rgba(10, 143, 179, 0.45); }
html[data-theme="light"] .audit-checks li { background: var(--bg); }
html[data-theme="light"] .audit-checks li::before { background: rgba(11, 149, 102, 0.12); border-color: rgba(11, 149, 102, 0.35); }
html[data-theme="light"] .audit-scan { box-shadow: 0 0 10px rgba(11, 149, 102, 0.6); }
