/**
 * A² Sites Transfer Wizard - v1.0.6
 * Premium scanning experience with platform detection
 * January 2025
 */

:root {
    --a2w-primary: #00cdfb;
    --a2w-purple: #5745ff;
    --a2w-button: #007e99;
    --a2w-button-hover: #009bbe;
    --a2w-link: #009bbe;
    --a2w-link-hover: #00cdfb;
    --a2w-gradient: linear-gradient(135deg, #00cdfb 0%, #5745ff 100%);
    --a2w-dark: #111;
    --a2w-dark-card: #161616;
    --a2w-dark-darker: #111111;
    --a2w-dark-border: rgba(255, 255, 255, 0.08);
    --a2w-dark-border-hover: rgba(0, 205, 251, 0.4);
    --a2w-text: #a0a0a0;
    --a2w-text-label: #888888;
    --a2w-text-white: #ffffff;
    --a2w-text-muted: #666;
    --a2w-success: #22c55e;
    --a2w-error: #ef4444;
    --a2w-radius: 8px;
    --a2w-radius-sm: 5px;
    --a2w-radius-btn: 5px;
    --a2w-transition: 0.2s ease;
}

/* ========================================
   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: 1200px;
    margin: 0 auto;
}

/* ========================================
   Step indicator
   ======================================== */
.a2t-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 24px 0 36px;
}

.a2t-steps > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--a2w-text-muted);
    transition: var(--a2w-transition);
}

.a2t-steps > div::before {
    content: attr(data-step);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--a2w-dark-card);
    border: 1px solid var(--a2w-dark-border);
    color: var(--a2w-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    transition: var(--a2w-transition);
}

.a2t-steps > div.current {
    color: var(--a2w-text-white);
}

.a2t-steps > div.current::before {
    background: var(--a2w-gradient);
    border-color: transparent;
    color: #fff;
}

.a2t-steps > div.done {
    color: var(--a2w-text);
}

.a2t-steps > div.done::before {
    background: transparent;
    border-color: var(--a2w-primary);
    color: var(--a2w-primary);
    content: '✓';
}

.a2t-steps > div:not(:last-child)::after {
    content: '';
    width: 60px;
    height: 2px;
    background: var(--a2w-dark-border);
    margin-left: 16px;
}

.a2t-steps > div.done:not(:last-child)::after {
    background: var(--a2w-purple);
}

/* ========================================
   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: 32px !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;
}

.a2t-url-row {
    display: flex;
    gap: 0;
}

#top .a2t-url-row input[type="text"],
.a2t-wrap .a2t-url-row input,
.a2t-url-row input,
#a2t-url-input {
    flex: 1;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 20px !important;
    font-size: 16px !important;
    background: var(--a2w-dark-card) !important;
    border: 1px solid var(--a2w-dark-border) !important;
    border-right: none !important;
    border-radius: var(--a2w-radius-sm) 0 0 var(--a2w-radius-sm) !important;
    color: var(--a2w-text-white) !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-color: var(--a2w-primary) !important;
    background: var(--a2w-dark-darker) !important;
}

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

.a2t-scan-btn {
    height: 52px;
    padding: 0 24px;
    background: var(--a2w-button);
    color: #fff;
    border: none;
    border-radius: 0 var(--a2w-radius-sm) var(--a2w-radius-sm) 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--a2w-transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.a2t-scan-btn svg {
    width: 18px;
    height: 18px;
}

/* 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-gradient);
    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: 600;
    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 {
    font-size: 20px;
    color: var(--a2w-text-muted);
}

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

.a2t-site-name {
    font-size: clamp(16px, 3vw, 18px) !important;
    font-weight: 600 !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;
}

/* 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-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.a2t-migration-msg p {
    margin: 0;
    font-size: clamp(13px, 2.5vw, 14px);
    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: clamp(14px, 2.5vw, 15px);
}

.a2t-disqualifier-msg p {
    margin: 0;
    font-size: clamp(12px, 2.5vw, 13px);
    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: 600;
    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
   ======================================== */
.a2t-toggle-row {
    text-align: center;
    margin-bottom: 32px;
}

.a2t-toggle {
    display: inline-flex;
    background: var(--a2w-dark-card);
    border-radius: 100px;
    padding: 4px;
    border: 1px solid var(--a2w-dark-border);
}

.a2t-toggle input { display: none; }

.a2t-toggle label,
#top .a2t-toggle label {
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 500 !important;
    font-size: 14px !important;
    cursor: pointer;
    color: var(--a2w-text-white) !important;
    transition: var(--a2w-transition);
}

.a2t-toggle input:checked + label,
#top .a2t-toggle input:checked + label {
    background: var(--a2w-button);
    color: #fff !important;
}

.a2t-toggle-note {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--a2w-text);
}

/* 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 var(--a2w-dark-border);
    border-radius: var(--a2w-radius);
    padding: 28px 22px 22px;
    cursor: pointer;
    transition: var(--a2w-transition);
    display: flex;
    flex-direction: column;
}

.a2t-card:hover {
    border-color: var(--a2w-dark-border-hover);
}

.a2t-card.selected {
    border-color: var(--a2w-primary);
}

.a2t-card.popular {
    border-color: var(--a2w-purple);
    box-shadow: 0 0 20px rgba(87, 69, 255, 0.3);
}

.a2t-card.popular:hover {
    box-shadow: 0 0 30px rgba(87, 69, 255, 0.4);
}

.a2t-badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    background: var(--a2w-purple);
    color: #fff;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    z-index: 2;
}

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

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

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

.a2t-price {
    margin: 20px 0;
}

.a2t-price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--a2w-text-white);
    line-height: 1;
}

.a2t-price-period {
    font-size: 15px;
    color: var(--a2w-text);
    font-weight: 400;
}

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

.a2t-features-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--a2w-text-white);
    margin-bottom: 10px;
}

.a2t-features {
    list-style: disc;
    padding-left: 18px;
    margin: 0 0 20px 0;
}

.a2t-features li {
    padding: 4px 0;
    font-size: 14px;
    color: var(--a2w-text);
    line-height: 1.4;
}

.a2t-features li::marker {
    color: var(--a2w-text-muted);
}

/* 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-inner {
        width: 100%;
    }
}

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

.a2t-domain-toggle-inner {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--a2w-dark-border);
    width: 100%;
}

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

#top .a2t-domain-toggle label,
.a2t-domain-toggle label {
    flex: 1;
    padding: 0 24px 14px 24px;
    font-weight: 500 !important;
    font-size: 16px !important;
    cursor: pointer;
    color: var(--a2w-text-muted) !important;
    transition: var(--a2w-transition);
    text-align: center;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
}

/* Mobile: smaller padding on labels */
@media (max-width: 480px) {
    #top .a2t-domain-toggle label,
    .a2t-domain-toggle label {
        padding: 0 16px 14px 16px;
        font-size: 15px !important;
    }
}

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

.a2t-domain-toggle input:checked + label,
#top .a2t-domain-toggle input:checked + label {
    color: var(--a2w-text-white) !important;
    border-bottom-color: var(--a2w-primary);
}

/* Domain display card */
.a2t-domain-card {
    background: var(--a2w-dark-card);
    border: 1px solid var(--a2w-dark-border);
    border-radius: var(--a2w-radius);
    padding: 32px;
    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: 600;
    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: 600 !important;
    color: var(--a2w-text-white) !important;
    margin: 0 0 10px 0 !important;
}

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

/* ========================================
   Order Summary
   ======================================== */
.a2t-summary {
    background: var(--a2w-dark-card);
    border: 1px solid var(--a2w-dark-border);
    border-radius: var(--a2w-radius);
    overflow: hidden;
}

/* 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(135deg, #00cdfb 0%, #432fff 100%);
}

.a2t-summary h3 {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--a2w-text-label) !important;
    margin: 0 !important;
    padding: 16px 20px 12px !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

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

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

.a2t-row span:first-child {
    color: var(--a2w-text-label);
    font-size: 14px;
}

.a2t-row span:last-child {
    color: var(--a2w-text-white);
    font-weight: 500;
    font-size: 14px;
}

.a2t-row.highlight span:last-child {
    color: var(--a2w-success);
}

.a2t-row.total {
    padding: 16px 20px;
    background: var(--a2w-dark-card);
    border-top: 1px solid var(--a2w-dark-border);
    border-bottom: none;
}

.a2t-row.total span:first-child {
    color: var(--a2w-text-white);
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.a2t-row.total span:last-child {
    font-size: 20px;
    font-weight: 700;
}

/* ========================================
   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: 600;
}

.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) {
    .a2t-plans {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 16px;
        margin: -16px;
    }
    
    .a2t-card {
        flex: 0 0 300px;
        scroll-snap-align: center;
    }
}

@media (max-width: 768px) {
    .a2t-steps > div { font-size: 0; padding: 0 8px; }
    .a2t-steps > div:not(:last-child)::after { width: 24px; margin-left: 8px; }
    .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) {
    .a2t-url-row {
        flex-direction: column;
        gap: 12px;
    }
    
    #top .a2t-url-row input[type="text"],
    .a2t-url-row input,
    #a2t-url-input {
        border-radius: var(--a2w-radius) !important;
        border-right: 1px solid var(--a2w-dark-border) !important;
    }
    
    .a2t-scan-btn {
        width: 100%;
        border-radius: var(--a2w-radius);
        justify-content: center;
    }
    
    .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;
    }
}
