/* ==========================================================================
   AutoCrafterAI — Marketing Pages Stylesheet
   Shared by: pricing, contact, terms, privacy. Uses global tokens from app.css.

   (The scroll-reveal + section + faq primitives mirror home.css so these pages
    are self-contained; they can be consolidated into a shared layer later.)

   Sections:  1. Reveal   2. Section scaffolding   3. Page hero
              4. Pricing tiers   5. FAQ   6. Contact   7. Legal prose
   ========================================================================== */

/* 1. Scroll-reveal ------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* 2. Section scaffolding ------------------------------------------------- */
.section { padding: clamp(56px, 9vw, 100px) 0; }
.section--alt { background-color: var(--bg-soft); }
.container--narrow { max-width: 760px; }

.section-head {
    max-width: 640px;
    margin: 0 auto clamp(36px, 5vw, 56px);
    text-align: center;
}
.section-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--brand);
}
.section-title {
    font-size: clamp(28px, 4.5vw, 40px);
    font-weight: 800;
    color: var(--text-primary);
}
.section-lead {
    margin: 16px 0 0;
    font-size: 17px;
    color: var(--text-secondary);
}

/* 3. Page hero (sub-page header band) ------------------------------------ */
.page-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(56px, 9vw, 96px) 0 clamp(36px, 5vw, 56px);
    text-align: center;
    background-color: var(--bg-main);
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero-title {
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 800;
    color: var(--text-primary);
}
.page-hero-lead {
    max-width: 60ch;
    margin: 18px auto 0;
    font-size: 18px;
    color: var(--text-secondary);
}

/* --- Premium animated mesh background (per-page variants) --- */
.page-hero .hero-orbs {
    position: absolute;
    inset: -30% -8%;
    z-index: 0;
    pointer-events: none;
}
.page-hero .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    will-change: transform;
}
.page-hero .orb:nth-child(1) { animation: ph-float-1 27s ease-in-out infinite; }
.page-hero .orb:nth-child(2) { animation: ph-float-2 33s ease-in-out infinite; }
.page-hero .orb:nth-child(3) { animation: ph-float-3 30s ease-in-out infinite; }

.page-hero .hero-grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes ph-float-1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(34px, 26px) scale(1.1); } }
@keyframes ph-float-2 { 0%, 100% { transform: translate(0, 0) scale(1.06); } 50% { transform: translate(-40px, 20px) scale(0.96); } }
@keyframes ph-float-3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(28px, -24px) scale(1.12); } }

/* Features — cool, structured cyans */
.hero-orbs--features .orb:nth-child(1) { width: 34vw; max-width: 440px; height: 34vw; max-height: 440px; top: -4%; right: 10%; background: radial-gradient(circle, rgba(24,168,200,0.5), transparent 62%); }
.hero-orbs--features .orb:nth-child(2) { width: 28vw; max-width: 380px; height: 28vw; max-height: 380px; top: 0; left: 8%; background: radial-gradient(circle, rgba(90,209,230,0.4), transparent 62%); }
.hero-orbs--features .orb:nth-child(3) { width: 24vw; max-width: 320px; height: 24vw; max-height: 320px; top: 28%; left: 44%; background: radial-gradient(circle, rgba(28,108,143,0.36), transparent 64%); }

/* About — warmer, deeper journey tones */
.hero-orbs--about .orb:nth-child(1) { width: 32vw; max-width: 420px; height: 32vw; max-height: 420px; top: -2%; left: 12%; background: radial-gradient(circle, rgba(28,108,143,0.5), transparent 62%); }
.hero-orbs--about .orb:nth-child(2) { width: 30vw; max-width: 400px; height: 30vw; max-height: 400px; top: -4%; right: 12%; background: radial-gradient(circle, rgba(24,168,200,0.42), transparent 62%); }
.hero-orbs--about .orb:nth-child(3) { width: 22vw; max-width: 300px; height: 22vw; max-height: 300px; top: 30%; left: 50%; background: radial-gradient(circle, rgba(90,209,230,0.32), transparent 64%); }

/* Pricing — brand teal radiating */
.hero-orbs--pricing .orb:nth-child(1) { width: 36vw; max-width: 460px; height: 36vw; max-height: 460px; top: -8%; left: 32%; background: radial-gradient(circle, rgba(24,168,200,0.46), transparent 60%); }
.hero-orbs--pricing .orb:nth-child(2) { width: 26vw; max-width: 340px; height: 26vw; max-height: 340px; top: 6%; left: 12%; background: radial-gradient(circle, rgba(28,108,143,0.4), transparent 62%); }
.hero-orbs--pricing .orb:nth-child(3) { width: 26vw; max-width: 340px; height: 26vw; max-height: 340px; top: 6%; right: 12%; background: radial-gradient(circle, rgba(90,209,230,0.34), transparent 62%); }

/* Contact — two tones reaching from the sides */
.hero-orbs--contact .orb:nth-child(1) { width: 30vw; max-width: 400px; height: 30vw; max-height: 400px; top: 0; left: 6%; background: radial-gradient(circle, rgba(24,168,200,0.46), transparent 62%); }
.hero-orbs--contact .orb:nth-child(2) { width: 30vw; max-width: 400px; height: 30vw; max-height: 400px; top: 2%; right: 6%; background: radial-gradient(circle, rgba(28,108,143,0.42), transparent 62%); }
.hero-orbs--contact .orb:nth-child(3) { display: none; }

/* Legal — a single faint, calm tint */
.hero-orbs--legal .orb:nth-child(1) { width: 34vw; max-width: 460px; height: 34vw; max-height: 460px; top: -10%; right: -2%; background: radial-gradient(circle, rgba(24,168,200,0.24), transparent 64%); }
.hero-orbs--legal .orb:nth-child(2),
.hero-orbs--legal .orb:nth-child(3) { display: none; }

@media (prefers-reduced-motion: reduce) {
    .page-hero .orb { animation: none !important; }
}

/* 4. Pricing tiers ------------------------------------------------------- */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
    max-width: 920px;
    margin: 0 auto;
}
.tier-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.tier-card--popular {
    border-color: var(--brand-bright);
    box-shadow: 0 22px 44px -24px rgba(24, 168, 200, 0.5);
}
.tier-flag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background-image: var(--brand-gradient);
    border-radius: var(--radius-pill);
    white-space: nowrap;
}
.tier-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-secondary);
}
.tier-price {
    margin: 10px 0 4px;
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
}
.tier-per { font-size: 15px; font-weight: 600; color: var(--text-secondary); }
.tier-desc {
    margin: 0 0 20px;
    font-size: 13.5px;
    color: var(--text-secondary);
    min-height: 38px;
}
.tier-list {
    flex: 1;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.tier-list li {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    color: var(--text-primary);
}
.tier-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 9px;
    border-left: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(-45deg);
}
.pricing-note {
    margin: 32px auto 0;
    max-width: 60ch;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Currency toggle */
.currency-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}
.currency-toggle-label { font-size: 14px; color: var(--text-secondary); }
.currency-opts {
    display: inline-flex;
    padding: 4px;
    background-color: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
}
.currency-opt {
    padding: 7px 16px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.currency-opt:hover { color: var(--text-primary); }
.currency-opt.is-active { color: #fff; background-image: var(--brand-gradient); }

/* Checkout */
.checkout { max-width: 480px; margin: 0 auto; text-align: center; }
.checkout-title { font-size: 28px; font-weight: 800; color: var(--text-primary); margin-bottom: 24px; }
.checkout-summary {
    text-align: left;
    padding: 22px;
    margin-bottom: 22px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.checkout-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 15px; color: var(--text-primary); }
.checkout-row--total {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
}
.checkout-per { font-size: 13px; color: var(--text-secondary); }
.checkout-gateway { font-size: 14px; color: var(--text-secondary); margin-bottom: 18px; }
.checkout-note { margin: 14px 0 0; font-size: 13px; color: var(--text-secondary); }
.checkout-note--muted { opacity: 0.75; }
.checkout-back { display: inline-block; margin-top: 24px; font-size: 14px; color: var(--brand); }
.checkout-back:hover { text-decoration: underline; }

/* 5. FAQ ----------------------------------------------------------------- */
.faq {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--bg-main);
}
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 22px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
    background: transparent;
    border: 0;
    cursor: pointer;
}
.faq-icon { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background-color: var(--brand);
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.faq-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item.is-open .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p {
    margin: 0;
    padding: 0 22px 22px;
    font-size: 15px;
    color: var(--text-secondary);
}

/* 6. Contact ------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}
.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
    color: var(--text-primary);
    background-color: var(--bg-main);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-textarea { min-height: 150px; resize: vertical; }
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-tint);
}
.form-error { font-size: 13px; color: #c0392b; }

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
}
.alert--success {
    color: #15803d;
    background-color: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.4);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px 24px;
    background-color: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.info-item { display: flex; flex-direction: column; gap: 4px; }
.info-label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand);
}
.info-value { font-size: 15px; color: var(--text-primary); }
.info-value a:hover { color: var(--brand); }

/* 7. Legal prose --------------------------------------------------------- */
.legal-updated {
    margin: 0 0 36px;
    font-size: 14px;
    color: var(--text-secondary);
}
.legal-note {
    margin: 0 0 36px;
    padding: 14px 18px;
    font-size: 14px;
    color: var(--text-secondary);
    background-color: var(--bg-soft);
    border: 1px solid var(--border);
    border-left: 3px solid var(--brand);
    border-radius: 8px;
}
.legal h2 {
    margin: 36px 0 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}
.legal h2:first-of-type { margin-top: 0; }
.legal p,
.legal li {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-secondary);
}
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal a { color: var(--brand); }
.legal a:hover { text-decoration: underline; }

/* 8. Buttons & CTA band -------------------------------------------------- */
.btn--block { width: 100%; }
.btn--light {
    background-color: #fff;
    color: var(--brand-deep);
}
.btn--light:hover { filter: brightness(0.94); }
.btn--outline-light {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}
.btn--outline-light:hover { border-color: #fff; background-color: rgba(255, 255, 255, 0.1); }

.cta {
    padding: clamp(56px, 9vw, 96px) 0;
    background-image: var(--brand-gradient);
}
.cta-inner { text-align: center; }
.cta-title {
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 800;
    color: #fff;
}
.cta-sub {
    margin: 16px auto 28px;
    max-width: 52ch;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
}
.cta .hero-actions { justify-content: center; }

/* 9. Responsive ---------------------------------------------------------- */
@media (max-width: 760px) {
    .tier-grid { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 760px) {
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .tier-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* 10. Badges (shared by feature pages) ----------------------------------- */
.badge {
    display: inline-block;
    padding: 4px 11px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: var(--radius-pill);
}
.badge--free { color: var(--brand); background-color: var(--brand-tint); }
.badge--pro { color: #fff; background-image: var(--brand-gradient); }

/* 11. Features page — spotlight rows ------------------------------------- */
.spotlight { display: flex; flex-direction: column; gap: clamp(48px, 8vw, 88px); }
.spot-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
}
.spot-row:nth-child(even) .spot-visual { order: -1; }
.spot-copy { max-width: 520px; }
.spot-title {
    margin-top: 14px;
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    color: var(--text-primary);
}
.spot-text { margin: 14px 0 0; font-size: 16px; color: var(--text-secondary); }

.spot-visual {
    padding: 28px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 24px 48px -28px rgba(17, 42, 51, 0.18);
}

/* chat mock */
.mock-chat { display: flex; flex-direction: column; gap: 10px; }
.chat-bubble { padding: 12px 14px; border-radius: 12px; font-size: 14px; max-width: 82%; }
.chat-bubble--user { align-self: flex-end; background-image: var(--brand-gradient); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble--ai { align-self: flex-start; background-color: var(--bg-soft); color: var(--text-primary); border: 1px solid var(--border); border-bottom-left-radius: 4px; }

/* widget/block mock */
.spot-blocks { display: flex; flex-direction: column; gap: 12px; }
.spot-block { border-radius: 7px; }
.spot-block--head { height: 22px; width: 60%; background-image: var(--brand-gradient); }
.spot-block--text { height: 12px; width: 100%; background-color: var(--border-soft); }
.spot-block--text.is-short { width: 78%; }
.spot-block--btn { height: 34px; width: 130px; border-radius: var(--radius-pill); background-color: var(--brand); opacity: 0.85; }

/* list mock */
.mock-list { display: flex; flex-direction: column; gap: 12px; }
.mock-list-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-primary); }
.mock-list-row::before {
    content: "";
    width: 16px; height: 16px; flex: 0 0 auto;
    border-radius: 4px;
    background-color: var(--brand-tint);
    border: 1px solid var(--brand-bright);
}

/* Everything-included mini grid */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini-card {
    padding: 24px 22px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.mini-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-bright);
    box-shadow: 0 18px 36px -22px rgba(24, 168, 200, 0.4);
}
.mini-icon {
    display: inline-grid; place-items: center;
    width: 42px; height: 42px; margin-bottom: 14px;
    border-radius: 10px; color: var(--brand); background-color: var(--brand-tint);
}
.mini-icon svg { width: 20px; height: 20px; }
.mini-title { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.mini-text { margin: 8px 0 0; font-size: 14px; color: var(--text-secondary); }

/* 12. About page --------------------------------------------------------- */
.prose-narrow { max-width: 720px; margin: 0 auto; }
.prose-narrow p { margin: 0 0 20px; font-size: 17px; line-height: 1.75; color: var(--text-secondary); }
.prose-narrow strong { color: var(--text-primary); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
    padding: 26px 24px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.value-icon {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; margin-bottom: 16px;
    border-radius: 11px; color: #fff; background-image: var(--brand-gradient);
}
.value-icon svg { width: 22px; height: 22px; }
.value-title { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.value-text { margin: 10px 0 0; font-size: 14.5px; color: var(--text-secondary); }

.founder {
    display: flex; gap: 22px; align-items: flex-start;
    max-width: 720px; margin: 0 auto;
    padding: 28px;
    background-color: var(--bg-soft);
    border: 1px solid var(--border);
    border-left: 3px solid var(--brand);
    border-radius: var(--radius);
}
.founder-avatar {
    flex: 0 0 auto;
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 50%;
    font-family: var(--font-heading); font-weight: 800; color: #fff;
    background-image: var(--brand-gradient);
}
.founder-quote { margin: 0 0 12px; font-size: 16.5px; line-height: 1.6; color: var(--text-primary); }
.founder-name { font-weight: 700; color: var(--text-primary); }
.founder-role { font-size: 14px; color: var(--text-secondary); }

/* 13. Feature/About responsive ------------------------------------------- */
@media (max-width: 760px) {
    .spot-row { grid-template-columns: 1fr; }
    .spot-row:nth-child(even) .spot-visual { order: 0; }
    .mini-grid, .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .mini-grid, .values-grid { grid-template-columns: 1fr; }
    .founder { flex-direction: column; }
}

/* ── Redesigned checkout ─────────────────────────────────────────────────── */
.co-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.co-title { font-size: clamp(24px, 4vw, 32px); font-weight: 800; color: var(--text-primary); }
.co-back { font-size: 14px; color: var(--brand); }
.co-back:hover { text-decoration: underline; }

.co-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
.co-section-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin: 0 0 18px; }

.co-billing { background-color: var(--bg-main); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.co-billing-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.co-billing-head .co-section-title { margin: 0; }
.co-locate { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-size: 12.5px; font-weight: 600; color: var(--brand-600, #1c6c8f); background-color: transparent; border: 1px solid var(--border); border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.co-locate:hover { background-color: rgba(24, 168, 200, .08); border-color: var(--brand-500, #18a8c8); }
.co-geo { min-height: 18px; margin: 0 0 16px; font-size: 12.5px; color: var(--text-secondary); }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.co-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.co-field label { font-family: var(--font-heading); font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.co-opt { font-weight: 400; color: var(--text-secondary); }
.co-input {
    width: 100%; padding: 11px 13px; font: inherit; font-size: 15px;
    color: var(--text-primary); background-color: var(--bg-main);
    border: 1px solid var(--border-soft); border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.co-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
select.co-input {
    appearance: none;
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235d717a' stroke-width='1.6'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}

.co-summary {
    position: sticky; top: 96px;
    background-color: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
}
.co-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.co-currency {
    appearance: none; padding: 6px 30px 6px 12px; font-size: 13px; font-weight: 600;
    color: var(--text-primary); background-color: var(--bg-main);
    border: 1px solid var(--border-soft); border-radius: var(--radius-pill); cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235d717a' stroke-width='1.6'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 11px center;
}
.co-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 15px; color: var(--text-primary); }
.co-line em { font-style: normal; font-size: 13px; color: var(--text-secondary); }
.co-line--muted { color: var(--text-secondary); }
.co-line--total {
    margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--border);
    font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--text-primary);
}
.co-pay { margin-top: 20px; }
.co-gateway, .co-note { margin: 14px 0 0; font-size: 13px; text-align: center; color: var(--text-secondary); }
.co-trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 12px; color: var(--text-secondary); }

@media (max-width: 820px) {
    .co-grid { grid-template-columns: 1fr; }
    .co-summary { position: static; }
}
@media (max-width: 480px) {
    .co-row { grid-template-columns: 1fr; }
}

/* 20. Support page ------------------------------------------------------- */
.support-search-wrap { position: relative; max-width: 540px; margin: 26px auto 0; text-align: left; }
.support-search {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 8px 6px 16px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px -18px rgba(17, 42, 51, 0.35);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.support-search:focus-within {
    border-color: var(--brand-bright);
    box-shadow: 0 12px 34px -16px rgba(24, 168, 200, 0.55);
}
.support-search-ico { flex: none; width: 18px; height: 18px; color: var(--text-secondary); }
.support-search-input {
    flex: 1; min-width: 0;
    border: 0; background: transparent; outline: none;
    font-family: inherit; font-size: 15px; color: var(--text-primary);
    padding: 11px 0;
}
.support-search-input::placeholder { color: var(--text-secondary); }

/* Live results dropdown under the hero search (normal flow — the hero clips overflow) */
.support-results {
    margin-top: 10px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px -20px rgba(17, 42, 51, 0.4);
    overflow: hidden;
}
.support-result {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    width: 100%; text-align: left; cursor: pointer; font: inherit;
    padding: 13px 16px; background: transparent; border: 0;
    border-bottom: 1px solid var(--border); color: var(--text-primary);
    transition: background-color 0.12s ease;
}
.support-result:last-child { border-bottom: 0; }
.support-result:hover, .support-result:focus-visible { background-color: var(--brand-tint); outline: none; }
.support-result-q { font-size: 14.5px; font-weight: 500; }
.support-result-q mark { background-color: rgba(24, 168, 200, 0.28); color: inherit; padding: 0 1px; border-radius: 3px; }
.support-result-hint { flex: none; font-size: 12.5px; font-weight: 600; color: var(--brand); }
.support-results-empty { padding: 16px; font-size: 14px; color: var(--text-secondary); }
.support-results-empty a { color: var(--brand); font-weight: 600; }

/* Topic cards — a clickable button styled to match .mini-card */
.support-card {
    text-align: left; cursor: pointer; font: inherit;
    padding: 24px 22px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.support-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-bright);
    box-shadow: 0 18px 36px -22px rgba(24, 168, 200, 0.4);
}
.support-card.is-active {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px var(--brand-tint), 0 18px 36px -22px rgba(24, 168, 200, 0.4);
}
.support-card-go {
    display: inline-block; margin-top: 14px;
    font-size: 13.5px; font-weight: 600; color: var(--brand);
}

#supportFilterNote { color: var(--brand); font-weight: 600; }

.support-noresults {
    margin: 22px 0 0; text-align: center;
    font-size: 15px; color: var(--text-secondary);
}
.support-noresults a { color: var(--brand); font-weight: 600; }

/* Still stuck — contact panel */
.support-help { max-width: 620px; margin: 0 auto; }
.support-help-main {
    padding: 30px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.support-help-title { font-size: 22px; font-weight: 800; color: var(--text-primary); }
.support-help-text { margin: 10px 0 0; font-size: 15px; color: var(--text-secondary); }
.info-item--flat { flex-direction: row; align-items: baseline; gap: 12px; margin-top: 18px; }
.info-item--flat .info-label { min-width: 108px; }
.support-help-actions { margin-top: 24px; }
.support-status {
    display: inline-flex; align-items: center; gap: 9px;
    margin-top: 20px; font-size: 13.5px; color: var(--text-secondary);
}
.support-status-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background-color: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}
