/**
 * A² Sites Transfer Wizard - v1.6.2
 *
 * v1.6.2 (June 2026): Spectrum Law color discipline (design system v3.0). Decorative /
 *   informational icons — feature checkmarks, the host-badge icon, the migration-result
 *   icon — migrated from identity cyan (#00cdfb) to signal purple (#8073ff): these icons
 *   inform, they don't act, so they belong to the signal family, and cyan on non-clickable
 *   decoration falsely whispers "clickable." Added --a2w-purple-bright token (#8073ff — the
 *   mandated small-icon variant; the #5745ff accent only clears 3.2:1 on dark). Cyan is
 *   deliberately RETAINED on action/active-state elements (active-step underline, selected-
 *   card border+glow, billing-toggle thumb), transient scan-loader atmosphere, and the
 *   gradient endpoint — all sanctioned cyan roles.
 *
 * v1.6.1 (June 2026): Design-system type/weight conformance pass. Removed all 9 uses of
 *   font-weight:600 (the brand loads only Roboto 400/500/700/900, so 600 silently
 *   substituted) — reclassified by role: eyebrows/labels → 700, headings/titles/buttons
 *   → 500. Scan button 15px → 16px (DS button size). Mobile step-number 11px → 12px (DS
 *   caption floor). Result-message and domain-explanation paragraphs 12–14px → 16px (these
 *   are DS Body, not Caption). No structural/color changes.
 *
 * v1.6.0 (June 2026): Added .a2t-badge-host — informational hosting badge (muted label,
 *   cyan-stroked server icon) shown next to the CMS/platform badge so host and CMS read as
 *   distinct facts. No other CSS changes.
 *
 * v1.5.3 (May 2026): Adam QA — visual parity sweep with Order Wizard.
 *   Billing toggle: dark track (#161616) + cyan thumb (was solid teal + white).
 *   Savings note: green #00d87a + weight 500 + check icon + "two months free" copy.
 *   Domain toggle: segmented pill (was full-width underline tabs).
 *   Tokens: --a2w-text-muted #666 → #808080; --a2w-radius 8px → clamp(10px,2vw,15px);
 *     --a2w-gradient matches Order's opacity-tinted version; added --a2w-dark-input #0c0c0c;
 *     added full --a2w-text-{xs..2xl} and --a2w-space-{xs..2xl} scales.
 *   Slab: weight 700 → 500, hardcoded 12px/#888 → text-xs/text-dim tokens.
 *   URL input bg: card-level #161616 → deepest elevation #0c0c0c.
 *   Plan features: restored Starter "Website How-To Videos" + "Ticket Support",
 *     and Pro "Branded Backend Login" (was dropped vs Order, hurt perceived value).
 *   Annual billing note: "Billed $468/yr" → "billed annually" (standardized format).
 *
 * v1.5.2 (May 2026): Dimensional parity with Order Wizard — container max-width
 *   1200 → 1600px, step heading fixed 32px → clamp(1.75rem,3.5vw,2.5rem),
 *   price amount 32px → 2.25rem, price period 15 → 16px, body text #a0a0a0 → #c0c0c0,
 *   tagline 13 → 14px + min-height 36 → 40px + dim color, added --a2w-text-dim token.
 *   Fixes the "feels smaller / weirder than the Order Wizard" inconsistency.
 *
 * v1.5.1 (May 2026): Adam QA fixes — 480px URL pill cleanup (cosmetic).
 *   (Cart domain display + admin sanitize fixes are PHP-side.)
 *
 * v1.5.0 (May 2026): Design system alignment with Order Wizard v7.2.x.
 *   Numbered-circle stepnav (solid #015b6f active num, no gradient),
 *   slide-pill billing toggle (centered, muted savings note below),
 *   slab "Features" label + cyan checkmark feature rows,
 *   solid purple badge with shadow,
 *   order summary brkrow pattern with gradient top accent,
 *   unified searchbar pill for URL input,
 *   plan content parity: Pro = 80 Content Edits, Growth +Smart QR Codes,
 *   critical pricing fix: annual = price × 12 (not monthly-equivalent).
 *
 * v1.4.0: Premium scanning experience with platform detection
 */

:root {
    /* Colors */
    --a2w-primary: #00cdfb;
    --a2w-purple: #5745ff;
    /* Signal-family purple for small icons/checkmarks (Spectrum Law). DS mandates the
       bright variant below 24px — the #5745ff accent only clears 3.2:1 on dark, #8073ff clears 5:1. */
    --a2w-purple-bright: #8073ff;
    --a2w-button: #007e99;
    --a2w-button-hover: #009bbe;
    --a2w-link: #009bbe;
    --a2w-link-hover: #00cdfb;
    --a2w-gradient: linear-gradient(135deg, #007e99cc 0%, #322299cc 100%);
    --a2w-dark: #111;
    --a2w-dark-card: #161616;
    --a2w-dark-darker: #111111;
    --a2w-dark-input: #0c0c0c;
    --a2w-dark-border: rgba(255, 255, 255, 0.08);
    --a2w-dark-border-hover: rgba(0, 205, 251, 0.4);
    --a2w-text: #c0c0c0;
    --a2w-text-dim: #888888;
    --a2w-text-label: #888888;
    --a2w-text-white: #ffffff;
    --a2w-text-muted: #808080;
    --a2w-success: #22c55e;
    --a2w-error: #ef4444;
    --a2w-radius: clamp(10px, 2vw, 15px);
    --a2w-radius-sm: 5px;
    --a2w-radius-btn: 5px;
    --a2w-transition: 0.2s ease;

    /* Typography Scale — v1.5.3: parity with Order Wizard */
    --a2w-text-xs: 0.8125rem;     /* 13px */
    --a2w-text-sm: 0.875rem;      /* 14px */
    --a2w-text-base: 1rem;        /* 16px */
    --a2w-text-md: 1.125rem;      /* 18px */
    --a2w-text-lg: 1.25rem;       /* 20px */
    --a2w-text-xl: 1.5rem;        /* 24px */
    --a2w-text-2xl: 2rem;         /* 32px */

    /* Spacing System — 4px base grid (parity with Order Wizard) */
    --a2w-space-xs: 4px;
    --a2w-space-sm: 8px;
    --a2w-space-md: 16px;
    --a2w-space-lg: 24px;
    --a2w-space-xl: 32px;
    --a2w-space-2xl: 48px;
}

/* ========================================
   Base
   ======================================== */
.a2t-wrap {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--a2w-text);
    width: 100%;
    box-sizing: border-box;
}

.a2t-wrap *, .a2t-wrap *::before, .a2t-wrap *::after {
    box-sizing: border-box;
}

.a2t-wrap button,
.a2t-wrap input,
.a2t-wrap select,
.a2t-wrap textarea,
.a2t-wrap label {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.a2t-wizard {
    max-width: 1600px;
    margin: 0 auto;
}

/* ========================================
   Stepnav — v1.5.0: Order Wizard design parity
   Underline + numbered circles + arrow separators
   ======================================== */
.a2t-stepnav {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 40px;
    padding: 0;
}

#top .a2t-wrap .a2t-stepnav__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #555 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: var(--a2w-transition);
}

#top .a2t-wrap .a2t-stepnav__item:first-child {
    padding-left: 0;
}

#top .a2t-wrap .a2t-stepnav__item.a2t-on {
    color: var(--a2w-text-white) !important;
    border-bottom-color: var(--a2w-primary);
}

#top .a2t-wrap .a2t-stepnav__item.a2t-done {
    color: #888 !important;
}

.a2t-stepnav__num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    background: var(--a2w-dark-card);
    border: 1px solid var(--a2w-dark-border);
    color: inherit;
    flex-shrink: 0;
}

.a2t-stepnav__item.a2t-on .a2t-stepnav__num {
    background: #015b6f;
    border: none;
    color: #fff;
}

.a2t-stepnav__item.a2t-done .a2t-stepnav__num {
    background: #1a1a1a;
    color: var(--a2w-primary);
}

.a2t-stepnav__sep {
    padding: 0 16px;
    color: #2a2a2a;
    display: flex;
    align-items: center;
    margin-bottom: -1px;
}

.a2t-stepnav__sep svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ========================================
   Step content
   ======================================== */
.a2t-step {
    display: none;
    padding: 0 0 60px;
}

.a2t-step.active {
    display: block;
}

.a2t-stephead {
    text-align: center;
    margin-bottom: 40px;
}

.a2t-stephead h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
    font-weight: 500 !important;
    color: var(--a2w-text-white) !important;
    margin: 0 0 12px 0 !important;
    text-transform: none !important;
}

.a2t-stephead p {
    color: var(--a2w-text);
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   SCANNER - Step 1
   ======================================== */
.a2t-scanner {
    max-width: 600px;
    margin: 0 auto;
}

/* URL Input Area */
.a2t-url-input-wrap {
    position: relative;
    margin-bottom: 32px;
}

/* v1.5.0: Unified searchbar pill (Order Wizard parity).
   Single padded container holds input + button. Input is transparent, button sits inset. */
.a2t-url-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--a2w-dark-input);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px;
    transition: all 0.2s ease;
}

.a2t-url-row:focus-within {
    border-color: rgba(0, 205, 251, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 205, 251, 0.08);
}

#top .a2t-url-row input[type="text"],
.a2t-wrap .a2t-url-row input,
.a2t-url-row input,
#a2t-url-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 10px !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    color: var(--a2w-text-white) !important;
    font-size: 16px !important;
    line-height: 1.4;
    outline: none !important;
    box-shadow: none !important;
    transition: var(--a2w-transition) !important;
}

#top .a2t-url-row input[type="text"]:focus,
.a2t-wrap .a2t-url-row input:focus,
.a2t-url-row input:focus,
#a2t-url-input:focus {
    outline: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

#top .a2t-url-row input::placeholder,
.a2t-url-row input::placeholder {
    color: var(--a2w-text-muted) !important;
    opacity: 1;
}

.a2t-scan-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px 22px;
    background: var(--a2w-button);
    border: none !important;
    border-radius: var(--a2w-radius-btn);
    color: #fff;
    font-size: var(--a2w-text-base);
    font-weight: 500;
    line-height: 1 !important;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.a2t-scan-btn:hover {
    background: var(--a2w-button-hover);
}

.a2t-scan-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#top .a2t-wrap .a2t-scan-btn svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

/* Scanning Animation */
.a2t-scanning {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.a2t-scanning.active {
    display: block;
}

.a2t-scan-animation {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
}

/* Outer rotating ring */
.a2t-scan-ring {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top-color: var(--a2w-primary);
    border-radius: 50%;
    animation: a2tScanRing 1.2s linear infinite;
}

.a2t-scan-ring:nth-child(2) {
    inset: 10px;
    border-top-color: var(--a2w-purple);
    animation-duration: 1.5s;
    animation-direction: reverse;
}

.a2t-scan-ring:nth-child(3) {
    inset: 20px;
    border-top-color: var(--a2w-primary);
    animation-duration: 2s;
}

@keyframes a2tScanRing {
    to { transform: rotate(360deg); }
}

/* Center pulse */
.a2t-scan-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--a2w-primary);
    border-radius: 50%;
    animation: a2tPulse 1.5s ease-in-out infinite;
}

@keyframes a2tPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; }
}

/* Status messages during scan */
.a2t-scan-status {
    font-size: 18px;
    font-weight: 500;
    color: var(--a2w-text-white);
    margin-bottom: 8px;
    min-height: 27px;
}

.a2t-scan-detail {
    font-size: 14px;
    color: var(--a2w-text-muted);
    min-height: 21px;
}

/* ========================================
   SCAN RESULTS
   ======================================== */
.a2t-results {
    display: none;
    animation: a2tFadeIn 0.4s ease;
}

.a2t-results.active {
    display: block;
}

@keyframes a2tFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scan Results Outer Box */
.a2t-scan-results-box {
    background: var(--a2w-dark-card);
    border: 1px solid var(--a2w-dark-border);
    border-radius: var(--a2w-radius);
    padding: clamp(10px, 2vw, 16px);
    margin-bottom: 24px;
}

.a2t-scan-results-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--a2w-text-muted);
    margin-bottom: 10px;
    padding-left: 4px;
}

/* Site Preview Card (Inner) */
.a2t-site-card {
    background: var(--a2w-dark-darker);
    border: 1px solid var(--a2w-dark-border);
    border-radius: var(--a2w-radius-sm);
    padding: clamp(16px, 3vw, 24px);
}

.a2t-site-header {
    display: flex;
    align-items: flex-start;
    gap: clamp(12px, 3vw, 20px);
    margin-bottom: 35px;
}

.a2t-site-favicon {
    width: clamp(44px, 8vw, 56px);
    height: clamp(44px, 8vw, 56px);
    border-radius: 10px;
    background: var(--a2w-dark-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--a2w-dark-border);
}

.a2t-site-favicon img {
    width: clamp(28px, 5vw, 36px);
    height: clamp(28px, 5vw, 36px);
    object-fit: contain;
}

.a2t-site-favicon.no-favicon::before {
    content: '';
    display: block;
    width: clamp(24px, 4.5vw, 28px);
    height: clamp(24px, 4.5vw, 28px);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M2 12h20'/><path d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.a2t-site-info {
    flex: 1;
    min-width: 0;
}

.a2t-site-name {
    font-size: clamp(16px, 3vw, 18px) !important;
    font-weight: 500 !important;
    color: var(--a2w-text-white) !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.4 !important;
    word-break: break-word;
}

.a2t-site-url {
    font-size: clamp(12px, 2.5vw, 14px);
    color: var(--a2w-text-muted);
    margin: 0;
}

/* Detection badges */
.a2t-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.a2t-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #0f0f0f;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #2a2a2a;
}

.a2t-badge-platform {
    color: var(--a2w-text-white);
}

.a2t-badge-platform .platform-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.a2t-badge-ssl {
    color: var(--a2w-success);
}

.a2t-badge-ssl.insecure {
    color: var(--a2w-error);
}

.a2t-badge-ssl svg {
    width: 14px;
    height: 14px;
}

/* Gap badges (missing analytics/SEO) */
.a2t-badge-gap {
    color: var(--a2w-error);
}

.a2t-badge-gap svg {
    width: 14px;
    height: 14px;
}

/* Host badge (v1.6.0) — informational hosting context, visually subordinate to the
   CMS/platform badge: muted label, purple-stroked signal icon (Spectrum Law — the icon
   informs, it doesn't act; bright #8073ff per the small-icon contrast rule, never emoji). */
.a2t-badge-host {
    color: var(--a2w-text-muted);
}

.a2t-badge-host svg {
    width: 14px;
    height: 14px;
    stroke: var(--a2w-purple-bright);
    flex-shrink: 0;
}

/* Migration message */
.a2t-migration-msg {
    background: #14104b;
    border: 1px solid rgba(87, 69, 255, 0.3);
    border-radius: var(--a2w-radius);
    padding: clamp(16px, 3vw, 20px);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.a2t-migration-msg svg {
    width: 22px;
    height: 22px;
    color: var(--a2w-purple-bright);
    flex-shrink: 0;
    margin-top: 2px;
}

.a2t-migration-msg p {
    margin: 0;
    font-size: var(--a2w-text-base);
    color: var(--a2w-text);
    line-height: 1.5;
}

.a2t-migration-msg strong {
    color: var(--a2w-text-white);
}

/* Disqualifier message (e-commerce) */
.a2t-disqualifier-msg {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--a2w-radius);
    padding: clamp(16px, 3vw, 20px);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.a2t-disqualifier-msg svg {
    width: 24px;
    height: 24px;
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 2px;
}

.a2t-disqualifier-msg strong {
    color: var(--a2w-text-white);
    display: block;
    margin-bottom: 6px;
    font-size: var(--a2w-text-base);
}

.a2t-disqualifier-msg p {
    margin: 0;
    font-size: var(--a2w-text-base);
    color: var(--a2w-text);
    line-height: 1.5;
}

/* Continue button */
.a2t-continue-wrap {
    text-align: center;
    margin-top: clamp(24px, 5vw, 40px);
}

.a2t-continue {
    height: 52px;
    padding: 0 40px;
    background: var(--a2w-button);
    color: #fff;
    border: none;
    border-radius: var(--a2w-radius-btn);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--a2w-transition);
    width: 100%;
    max-width: 280px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.a2t-continue:hover {
    background: var(--a2w-button-hover);
}

/* Rescan link */
.a2t-rescan {
    display: block;
    margin-top: 20px;
    color: var(--a2w-text-muted);
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
}

.a2t-rescan:hover {
    color: var(--a2w-text);
}

/* ========================================
   PLANS - Step 2
   ======================================== */
/* v1.5.0: Billing toggle — slide-pill (Order Wizard parity).
   Centered column: toggle row on top, savings note (muted text) below. */
.a2t-billfloat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 4px 4px 28px;
}

.a2t-stgl {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    user-select: none;
}

#top .a2t-wrap .a2t-stgl__lab {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--a2w-text-label) !important;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1 !important;
}

#top .a2t-wrap .a2t-stgl__lab.a2t-on {
    color: var(--a2w-text-white) !important;
}

#top .a2t-wrap .a2t-stgl__pill {
    position: relative;
    width: 52px;
    height: 28px !important;
    min-height: 0 !important;
    background: #212121 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 999px !important;
    cursor: pointer;
    transition: all 0.25s;
    padding: 0 !important;
    margin: 0;
    flex-shrink: 0;
    box-shadow: none !important;
    line-height: 1 !important;
}

#top .a2t-wrap .a2t-stgl.a2t-on .a2t-stgl__pill {
    border-color: rgba(0, 205, 251, 0.4) !important;
    background: #161616 !important;
}

.a2t-stgl__thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.a2t-stgl.a2t-on .a2t-stgl__thumb {
    transform: translateX(24px);
    background: var(--a2w-primary);
}

#top .a2t-wrap .a2t-billfloat__note {
    font-size: var(--a2w-text-xs) !important;
    color: #00d87a !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500 !important;
    text-align: center;
}

.a2t-billfloat__note svg {
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
}

/* Plan cards */
.a2t-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.5vw, 32px);
    align-items: stretch;
}

.a2t-card {
    position: relative;
    background: var(--a2w-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 28px 22px 22px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.a2t-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.a2t-card.selected {
    border-color: var(--a2w-primary);
    box-shadow: 0 0 0 1px var(--a2w-primary) inset, 0 0 18px rgba(0, 205, 251, 0.18);
}

.a2t-card.popular {
    border-color: rgba(87, 69, 255, 0.4);
    box-shadow: 0 0 0 1px rgba(87, 69, 255, 0.2) inset, 0 0 24px rgba(87, 69, 255, 0.18);
}

.a2t-card.popular:hover {
    border-color: rgba(87, 69, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(87, 69, 255, 0.3) inset, 0 0 32px rgba(87, 69, 255, 0.25);
}

.a2t-card.popular.selected {
    border-color: var(--a2w-primary);
    box-shadow: 0 0 0 1px var(--a2w-primary) inset, 0 0 24px rgba(0, 205, 251, 0.22);
}

.a2t-badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--a2w-purple);
    color: #fff;
    padding: 5px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-align: center;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(87, 69, 255, 0.35);
}

.a2t-card-content { flex: 1; }

.a2t-card h3 {
    font-size: 20px !important;
    font-weight: 500 !important;
    color: var(--a2w-text-white) !important;
    margin: 0 0 6px 0 !important;
}

.a2t-tagline {
    font-size: 14px;
    color: var(--a2w-text-dim);
    margin: 0;
    line-height: 1.4;
    min-height: 40px;
}

.a2t-price {
    margin: 18px 0 6px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0;
}

.a2t-price-amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--a2w-text-white);
    line-height: 1;
    letter-spacing: -0.01em;
}

.a2t-price-period {
    font-size: 16px;
    color: var(--a2w-text-dim);
    font-weight: 500;
    margin-left: 4px;
}

.a2t-billing-note {
    display: block;
    width: 100%;
    font-size: 12px;
    color: var(--a2w-text-muted);
    margin-top: 4px;
}

/* v1.5.0: Slab microlabel (Order Wizard parity) — replaces "What's Included" inline label */
#top .a2t-wrap .a2t-card .a2t-slab {
    font-size: var(--a2w-text-xs) !important;
    font-weight: 500 !important;
    color: var(--a2w-text-dim) !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 14px 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.a2t-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#top .a2t-wrap .a2t-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    font-size: 14px !important;
    color: var(--a2w-text) !important;
    line-height: 1.45;
    list-style: none !important;
}

#top .a2t-wrap .a2t-features li::marker { content: none; }
#top .a2t-wrap .a2t-features li::before { content: none !important; }

.a2t-features li .a2t-feat-icon {
    width: 14px;
    height: 14px;
    stroke: var(--a2w-purple-bright);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    margin-top: 3px;
}

#top .a2t-wrap .a2t-features li span {
    color: var(--a2w-text) !important;
    font-size: 14px !important;
}

/* Migration included highlight */
.a2t-migration-included {
    padding: 8px 0;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 500;
    color: #9a8fff;
    text-align: left;
}

.a2t-cta {
    width: 100%;
    padding: 14px 20px;
    background: var(--a2w-button);
    color: #fff;
    border: none;
    border-radius: var(--a2w-radius-btn);
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: var(--a2w-transition);
    margin-top: auto;
}

.a2t-cta:hover {
    background: var(--a2w-button-hover);
}

/* ========================================
   DOMAIN - Step 3
   ======================================== */
.a2t-domain-section {
    max-width: 600px;
    margin: 0 auto;
}

/* Two-column content wrapper */
.a2t-domain-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.a2t-domain-options {
    flex: 1;
}

/* Desktop: Two columns */
@media (min-width: 768px) {
    .a2t-domain-section {
        max-width: 900px;
    }
    
    .a2t-domain-content {
        flex-direction: row;
        gap: 48px;
        align-items: flex-start;
    }
    
    .a2t-domain-options {
        flex: 1;
    }
    
    .a2t-summary {
        width: 320px;
        flex-shrink: 0;
        position: sticky;
        top: 24px;
    }
    
    .a2t-domain-toggle {
        justify-content: flex-start;
    }
}

.a2t-domain-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.a2t-domain-toggle-inner {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: var(--a2w-dark-darker);
    border: 1px solid var(--a2w-dark-border);
    border-radius: 10px;
}

.a2t-domain-toggle input { display: none; }

#top .a2t-wrap .a2t-domain-toggle label,
.a2t-domain-toggle label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-weight: 500 !important;
    font-size: var(--a2w-text-sm) !important;
    cursor: pointer;
    color: var(--a2w-text-muted) !important;
    transition: var(--a2w-transition);
    white-space: nowrap;
    background: transparent;
    border: none;
    border-radius: 7px;
    margin-bottom: 0;
}

#top .a2t-wrap .a2t-domain-toggle label:hover {
    color: var(--a2w-text) !important;
}

#top .a2t-wrap .a2t-domain-toggle input:checked + label,
.a2t-domain-toggle input:checked + label {
    color: var(--a2w-text-white) !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--a2w-dark-border-hover);
}

.a2t-domain-toggle label::before { display: none; }

/* Mobile: tighter padding on segmented pill labels */
@media (max-width: 480px) {
    #top .a2t-wrap .a2t-domain-toggle label,
    .a2t-domain-toggle label {
        padding: 8px 14px;
        font-size: var(--a2w-text-xs) !important;
    }
}

#top .a2t-domain-toggle label:hover,
.a2t-domain-toggle label:hover {
    color: var(--a2w-text-white) !important;
}

/* Domain display card */
.a2t-domain-card {
    background: var(--a2w-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 70px;
}

.a2t-domain-label {
    font-size: 13px;
    color: var(--a2w-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.a2t-domain-value {
    font-size: 24px;
    font-weight: 500;
    color: var(--a2w-text-white);
    word-break: break-all;
}

/* Domain option explanations */
.a2t-domain-explain {
    background: var(--a2w-dark-darker);
    border-radius: var(--a2w-radius);
    padding: 24px;
}

.a2t-domain-explain h4 {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--a2w-text-white) !important;
    margin: 0 0 10px 0 !important;
}

.a2t-domain-explain p {
    font-size: var(--a2w-text-base);
    color: var(--a2w-text);
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   Order Summary — v1.5.0: Order Wizard parity
   Gradient top accent + slab label + flat brkrow rows
   ======================================== */
.a2t-summary {
    background: var(--a2w-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* Mobile: full width */
@media (max-width: 767px) {
    .a2t-summary {
        width: 100%;
    }

    .a2t-domain-card {
        margin-bottom: 40px;
    }
}

.a2t-summary::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--a2w-primary) 0%, var(--a2w-purple) 100%);
}

#top .a2t-wrap .a2t-summary h3 {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--a2w-text-label) !important;
    margin: 0 !important;
    padding: 18px 22px 8px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.a2t-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 22px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.a2t-row:last-of-type:not(.total) {
    border-bottom: none;
}

#top .a2t-wrap .a2t-row span:first-child {
    color: var(--a2w-text-label) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

#top .a2t-wrap .a2t-row span:last-child {
    color: var(--a2w-text) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

#top .a2t-wrap .a2t-row.highlight span:last-child {
    color: var(--a2w-success) !important;
}

.a2t-row.total {
    padding: 16px 22px 18px;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: none;
}

#top .a2t-wrap .a2t-row.total span:first-child {
    color: var(--a2w-text-white) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

#top .a2t-wrap .a2t-row.total span:last-child {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #fff !important;
}

/* ========================================
   Action buttons
   ======================================== */
.a2t-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
}

.a2t-back,
.a2t-finish {
    height: 48px;
    padding: 0 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--a2w-radius-btn);
    cursor: pointer;
    transition: var(--a2w-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.a2t-back {
    background: #1a1a1a;
    color: var(--a2w-text);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.a2t-back:hover {
    color: var(--a2w-text-white);
    border-color: rgba(255, 255, 255, 0.25);
    background: #222;
}

.a2t-finish {
    background: var(--a2w-button);
    color: #fff;
    border: none;
    font-weight: 500;
}

.a2t-finish:hover {
    background: var(--a2w-button-hover);
}

.a2t-finish:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========================================
   Loading spinner
   ======================================== */
.a2t-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: a2tSpin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes a2tSpin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Error state
   ======================================== */
.a2t-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--a2w-radius);
    padding: 16px 20px;
    margin-top: 16px;
    color: var(--a2w-error);
    font-size: 14px;
    text-align: center;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    /* v1.5.0: Explicit overflow-y:visible + extra top padding so the absolute
       Most Popular badge (top:-14px) doesn't clip during horizontal scroll. */
    .a2t-plans {
        display: flex;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 16px;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 24px 16px 16px;
        margin: -24px -16px -16px;
    }
    
    .a2t-card {
        flex: 0 0 300px;
        scroll-snap-align: center;
    }
}

@media (max-width: 768px) {
    /* v1.5.0: Stepnav compacts on mobile */
    #top .a2t-wrap .a2t-stepnav__item {
        font-size: 12px !important;
        padding: 14px 14px !important;
        gap: 8px !important;
        letter-spacing: 0.4px;
    }
    .a2t-stepnav__num {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    .a2t-stepnav__sep {
        padding: 0 6px;
    }
    .a2t-stephead h2 { font-size: clamp(22px, 5vw, 28px) !important; }
    
    .a2t-card {
        flex: 0 0 280px;
    }
    
    .a2t-actions { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    /* v1.5.1 (Adam QA #3): URL input is now a unified pill (transparent borderless
       input inside a padded container). The old stacked layout + border overrides
       were stale. Keep the pill horizontal, just tighten padding. */
    .a2t-url-row {
        padding: 8px;
        gap: 6px;
    }
    #top .a2t-url-row input[type="text"],
    .a2t-url-row input,
    #a2t-url-input {
        padding: 0 8px !important;
    }
    .a2t-scan-btn {
        padding: 12px 16px;
    }
    
    .a2t-card {
        flex: 0 0 260px;
    }
    
    .a2t-actions .a2t-finish {
        order: -1;
        width: 100%;
        height: 52px;
        font-size: 16px;
    }
    
    .a2t-actions .a2t-back {
        flex: 1;
        height: 40px;
    }
}
