/*
 * Public CSS Bundle: pricing.bundle.css
 * Auto-generated by scripts/bundle_public_css.py
 * DO NOT EDIT - Edit source files instead
 *
 * Sources: _public-base.css, pricing/pricing-base.css, pricing/pricing-desktop.css, pricing/pricing-tablet.css, pricing/pricing-mobile-portrait.css, pricing/pricing-mobile-landscape.css
 */

/* === _public-base.css === */

/*
 * Public Pages Base CSS
 * Shared globals: variables, reset, fonts, keyframes
 * NO media queries here - this is the foundation
 */

/* === CSS Variables === */
:root {
    /* Brand Colors */
    --brand-gradient: linear-gradient(135deg, #667eea, #764ba2);
    --brand-purple: #764ba2;
    --brand-purple-light: #8b5cf6;
    --brand-blue: #667eea;

    /* Background */
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    /* UI Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Accent Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.1);
    --shadow-purple: 0 8px 30px rgba(118, 75, 162, 0.25);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;

    /* Spacing */
    --header-height: 72px;
    --container-max: 1200px;
    --section-padding: 100px;
}

/* === Reset === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* === Anchor Link Offset (for fixed header) === */
[id] {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

/* === Keyframes === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* === Button Base Styles === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    padding: 14px 28px;
    font-size: 1rem;
    color: var(--white);
    background: var(--brand-gradient);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.btn-secondary {
    padding: 14px 28px;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--white);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--brand-purple);
    color: var(--brand-purple);
}

.btn-outline {
    padding: 14px 28px;
    font-size: 1rem;
    color: var(--white);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* === Utility Classes === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.section-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.section-subtitle {
    color: var(--text-secondary);
}

/* === Ticker Base === */
.proof-ticker {
    background: var(--gray-900);
    overflow: hidden;
    position: relative;
}

.ticker-wrap {
    display: flex;
    width: max-content;
}

.ticker-track {
    display: flex;
    animation: ticker-scroll 60s linear infinite;
}

.ticker-item {
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.85);
}

.ticker-item strong {
    color: var(--white);
    font-weight: 700;
}

/* Category colors */
.ticker-item.ticker-score strong {
    color: #fbbf24;
}

.ticker-item.ticker-pass strong {
    color: var(--success);
}

.ticker-item.ticker-branch strong {
    color: #60a5fa;
}

/* =============================================================================
 * SIGNUP MODAL - Shared across all public pages
 * Used by: home, free-class, asvab-program, etc.
 * ============================================================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s ease;
}

.modal-overlay.visible .modal {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: 10px;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #fef2f2;
    color: var(--error);
}

.modal-body {
    padding: 24px;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
    animation: modalFadeUp 0.3s ease-out;
}

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

.step-intro {
    text-align: center;
    margin-bottom: 24px;
}

.step-intro-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
}

.step-intro-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-intro-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.verify-email {
    font-weight: 600;
    color: var(--text-primary);
}

/* Form Styles */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-input, .form-select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    color: var(--text-primary);
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus, .form-select:focus {
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input.error {
    border-color: var(--error);
}

.form-input.code-input {
    text-align: center;
    font-size: 1.5rem;
    font-family: var(--font-heading), monospace;
    letter-spacing: 8px;
    font-weight: 600;
}

.form-error {
    font-size: 0.8rem;
    color: var(--error);
    margin-top: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-optional {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--brand-gradient);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
}

.form-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-submit.loading {
    position: relative;
    color: transparent;
}

.form-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: modalSpin 0.8s linear infinite;
}

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

.resend-link {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.link-button {
    background: none;
    border: none;
    color: var(--brand-purple);
    font-weight: 600;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.link-button:hover {
    text-decoration: underline;
}

.link-button:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Success Step */
.success-content {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--success);
    animation: modalPopIn 0.4s ease-out;
}

@keyframes modalPopIn {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.success-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* =============================================================================
 * CLASS COUNTDOWN - Simple horizontal layout
 * ============================================================================= */

.class-countdown {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
}

.countdown-slides {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.countdown-slide {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.countdown-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Left side: Badge + Date/Time */
.countdown-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.countdown-badge {
    display: inline-block;
    width: fit-content;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-badge.badge-free {
    background: var(--success-light);
    color: var(--success);
}

.countdown-badge.badge-program {
    background: rgba(118, 75, 162, 0.12);
    color: var(--brand-purple);
}

.countdown-date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.countdown-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Right side: Timer + CTA */
.countdown-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.countdown-timer {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: var(--font-heading);
}

.countdown-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.countdown-lbl {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-right: 4px;
}

.countdown-sep {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 2px;
}

.countdown-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: inherit;
}

.countdown-btn.btn-free {
    background: var(--brand-gradient);
    color: var(--white);
}

.countdown-btn.btn-free:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
}

.countdown-btn.btn-program {
    background: var(--white);
    color: var(--brand-purple);
    border: 2px solid var(--brand-purple);
}

.countdown-btn.btn-program:hover {
    background: var(--brand-purple);
    color: var(--white);
}

.countdown-btn.btn-disabled {
    background: var(--gray-200);
    color: var(--text-muted);
    cursor: default;
    pointer-events: none;
}

/* Navigation dots */
.countdown-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.countdown-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.countdown-dot.active {
    background: var(--brand-purple);
}

.countdown-dot:hover:not(.active) {
    background: var(--gray-400);
}

/* Empty state */
.countdown-empty {
    text-align: center;
    padding: 20px;
}

.countdown-empty p {
    margin: 4px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.countdown-empty a {
    color: var(--brand-purple);
    font-weight: 600;
}


/* === pricing/pricing-base.css === */

/**
 * pricing-base.css
 *
 * Base component styles for the checkout pricing page (comparison-table redesign).
 * NO media queries here — desktop / tablet / mobile-portrait / mobile-landscape
 * files layer overrides on top. Relies on _public-base.css for shared globals
 * (reset, fonts, --text-*, --gray-*, --white, etc.).
 *
 * Layout model: the plan comparison is a flex row of plan "columns" by default
 * (works at tablet+ widths); the mobile files reflow each column into a single
 * condensed row so all five plans stay visible without a wide scroll.
 */

:root {
    /* Pricing palette (kept local so markup classes read clearly) */
    --p-blue: #0264c0;
    --p-blue-dark: #024a8f;
    --p-purple: #8b5cf6;
    --p-purple-dark: #6d28d9;
    --p-green: #16a34a;
    --p-green-light: #dcfce7;
    --p-amber: #f59e0b;
    --p-border: #e2e8f0;
    --p-grad-hero: linear-gradient(135deg, #0284c7 0%, #0264c0 100%);
    --p-grad-purple: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    --p-grad-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

body.pricing-body {
    background: var(--bg-light, #f8fafc);
    min-height: 100vh;
    color: var(--text-primary, #0f172a);
    font-family: var(--font-body, 'Inter', sans-serif);
}

/* ========================================
   Header
   ======================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height, 72px);
    background: var(--white, #fff);
    border-bottom: 1px solid var(--p-border);
    z-index: 100;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo-img { width: 42px; height: 42px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: 1.2rem; font-weight: 700;
    background: linear-gradient(135deg, #0264c0 0%, #5b21b6 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-tagline {
    font-size: 0.65rem; font-weight: 500; color: var(--text-muted, #94a3b8);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.header-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
    padding: 10px 16px; font-size: 0.9rem; font-weight: 500;
    color: var(--text-secondary, #475569); border-radius: 8px;
    transition: all 0.15s ease; text-decoration: none;
    background: none; border: none; cursor: pointer; font-family: inherit;
}
.nav-link:hover { color: var(--text-primary, #0f172a); background: rgba(0,0,0,0.04); }
.nav-link.nav-signin { color: var(--p-purple); }

/* ========================================
   Layout
   ======================================== */
.pricing-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--header-height, 72px);
}
.pricing-main {
    flex: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* Intro: title + optional inline promo pill on one row */
.pricing-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    margin-bottom: 8px;
}
.pricing-title {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: 2rem; font-weight: 700; margin: 0;
    background: var(--p-grad-hero);
    background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.pricing-description {
    text-align: center;
    color: var(--text-secondary, #475569);
    font-size: 0.95rem;
    margin: 0 auto 24px;
    max-width: 540px;
}

/* ========================================
   Slim promo pill (replaces the big banner)
   ======================================== */
.promo-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 14px;
    border-radius: 999px;
    background: var(--p-green-light);
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}
.promo-pill .promo-pill-code { font-weight: 700; }
.promo-pill .promo-pill-x {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(21,128,61,0.12); color: #15803d;
    text-decoration: none; line-height: 1;
}
.promo-pill .promo-pill-x:hover { background: rgba(21,128,61,0.22); }

/* Slim "have a code?" entry (collapsed by default) */
.promo-entry {
    display: flex; justify-content: center; align-items: center; gap: 8px;
    margin: 0 0 24px;
}
.promo-entry input {
    padding: 9px 12px; border: 1px solid var(--p-border); border-radius: 8px;
    font-size: 0.9rem; text-transform: uppercase; width: 150px;
}
.promo-entry button {
    padding: 9px 16px; background: var(--p-blue); color: #fff;
    border: none; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 0.9rem;
}
.promo-entry .promo-msg { font-size: 0.85rem; }
.promo-entry .promo-msg.error { color: var(--error, #ef4444); }
.promo-entry .promo-msg.success { color: var(--p-green); }

/* ========================================
   Slim status notice (replaces big status banners)
   ======================================== */
.status-notice {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; border-radius: 10px;
    font-size: 0.88rem; margin-bottom: 18px;
}
.status-notice svg { width: 18px; height: 18px; flex-shrink: 0; }
.status-notice .status-notice-action {
    margin-left: auto; font-weight: 600; text-decoration: none;
    padding: 6px 12px; border-radius: 8px;
}
.status-notice.info { background: rgba(37,99,235,0.08); color: #1d4ed8; }
.status-notice.success { background: rgba(34,197,94,0.10); color: #15803d; }
.status-notice.warning { background: rgba(245,158,11,0.10); color: #b45309; }
.status-notice.warning .status-notice-action { background: var(--p-amber); color: #fff; }

/* Current-plan context line (upgraders) */
.current-plan-line {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 6px;
    font-size: 0.88rem; color: var(--text-secondary, #475569);
    margin: 0 0 18px;
}
.current-plan-line svg { width: 16px; height: 16px; flex-shrink: 0; }
.current-plan-line strong { color: var(--text-primary, #0f172a); }
.cpl-credit { color: var(--p-green); font-weight: 700; }

/* ========================================
   Comparison Table  (flex columns by default)
   ======================================== */
.ptable {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
    margin: 8px 0 18px;
}
.pcol {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--white, #fff);
    border: 2px solid var(--p-border);
    border-radius: 16px;
    padding: 22px 16px 18px;
    position: relative;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.pcol:hover {
    border-color: var(--p-blue);
    box-shadow: 0 8px 26px rgba(2,100,192,0.14);
    transform: translateY(-3px);
}

/* Current plan column (upgraders) — green tint, no hover lift */
.pcol.is-current-col {
    border-color: var(--p-green);
    background: linear-gradient(180deg, rgba(22,163,74,0.06) 0%, rgba(22,163,74,0.02) 100%);
}
.pcol.is-current-col:hover {
    border-color: var(--p-green);
    transform: none;
    box-shadow: none;
}

/* Highlight tags */
.pcol.is-popular { border-color: var(--p-purple); }
.pcol.is-best { border-color: var(--p-blue); }
.pcol.is-forever { border-color: var(--p-amber); }
.pcol-tag {
    position: absolute; top: -11px; left: 12px;
    padding: 3px 12px; border-radius: 999px;
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; color: #fff;
    white-space: nowrap;
}
.pcol.is-popular .pcol-tag { background: var(--p-grad-purple); }
.pcol.is-best .pcol-tag { background: var(--p-grad-hero); }
.pcol.is-forever .pcol-tag { background: var(--p-grad-gold); color: #1a1a1a; }

/* Discount corner ribbon (shown per plan when a promo is applied) */
.pcol-ribbon {
    position: absolute;
    top: -10px; right: 12px;
    z-index: 2;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(22,163,74,0.35);
}

/* Cells — fixed min-heights so rows align across columns at tablet+ */
.pcol-name {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: 1rem; font-weight: 700; color: var(--text-primary, #0f172a);
    min-height: 24px; margin-bottom: 8px; text-align: center;
}
.pcol-price { text-align: center; min-height: 56px; margin-bottom: 6px; }
.pcol-was {
    display: block; font-size: 0.85rem; color: var(--text-muted, #94a3b8);
    text-decoration: line-through; line-height: 1.1;
}
.pcol-now {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: 2rem; font-weight: 700; color: var(--text-primary, #0f172a); line-height: 1;
}
.pcol-now .per { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary, #475569); }
.pcol-permo {
    text-align: center; font-size: 0.8rem; color: var(--text-secondary, #475569);
    min-height: 18px; margin-bottom: 6px;
}
.pcol-access {
    text-align: center; font-size: 0.8rem; color: var(--text-muted, #94a3b8);
    min-height: 18px; margin-bottom: 14px;
}
.pcol-credit {
    display: inline-block; background: var(--p-green-light); color: var(--p-green);
    padding: 2px 8px; border-radius: 6px; font-size: 0.72rem; font-weight: 600;
}
.pcol-cta {
    margin-top: auto;
    display: block; text-align: center;
    padding: 11px 14px; border-radius: 10px;
    font-size: 0.9rem; font-weight: 600; text-decoration: none;
    border: none; cursor: pointer; font-family: inherit;
    background: var(--p-grad-hero); color: #fff;
    box-shadow: 0 4px 14px rgba(2,100,192,0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pcol-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(2,100,192,0.38); }
.pcol-cta.is-upgrade { background: var(--p-grad-purple); box-shadow: 0 4px 14px rgba(139,92,246,0.28); }
.pcol-cta.is-current {
    background: var(--gray-100, #f1f5f9); color: var(--text-secondary, #475569);
    box-shadow: none; cursor: default;
}
.pcol-cta.is-current:hover { transform: none; box-shadow: none; }
.pcol.is-dim { opacity: 0.5; }

/* Chevron shown only on phones (CTA collapses to an arrow there) */
.pcol-cta-arrow { display: none; font-size: 1.35rem; line-height: 1; font-weight: 700; }

/* Shared-features line under the table */
.ptable-includes {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary, #475569);
    margin: 4px auto 0;
    max-width: 760px;
}
.ptable-includes strong { color: var(--text-primary, #0f172a); }

/* Secure footer */
.secure-note {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 28px; color: var(--text-muted, #94a3b8); font-size: 0.85rem;
}
.secure-note svg { width: 16px; height: 16px; }


/* === pricing/pricing-desktop.css === */

/**
 * pricing-desktop.css — desktop overrides (≥1025px).
 * Base is already a flex row of plan columns; desktop just gives it more room.
 */
@media (min-width: 1025px) {
    .pricing-main { padding: 40px 24px; }
    .pricing-title { font-size: 2.2rem; }

    .ptable { gap: 18px; }
    /* Cap width so 2–3 column upgrade views don't stretch into giant cards */
    .pcol { padding: 26px 18px 20px; max-width: 240px; }
    .pcol-now { font-size: 2.2rem; }
    .pcol-price { min-height: 60px; }
}


/* === pricing/pricing-tablet.css === */

/**
 * pricing-tablet.css — tablet overrides (769–1024px).
 * Keep all five columns in one row, but tighten padding/typography so they fit.
 */
@media (min-width: 769px) and (max-width: 1024px) {
    .pricing-main { padding: 28px 18px; }
    .pricing-title { font-size: 1.8rem; }

    .ptable { gap: 10px; }
    .pcol { padding: 20px 10px 16px; border-radius: 14px; max-width: 210px; }
    .pcol-name { font-size: 0.9rem; }
    .pcol-now { font-size: 1.6rem; }
    .pcol-was { font-size: 0.78rem; }
    .pcol-price { min-height: 50px; }
    .pcol-permo, .pcol-access { font-size: 0.74rem; }
    .pcol-tag { font-size: 0.56rem; padding: 3px 8px; }
    .pcol-cta { padding: 10px 8px; font-size: 0.84rem; }
}


/* === pricing/pricing-mobile-portrait.css === */

/**
 * pricing-mobile-portrait.css — phones held vertically (≤768px portrait).
 * Reflow each plan column into a single condensed row so all five plans stay
 * visible without a wide horizontal scroll.
 */
@media (max-width: 768px) and (orientation: portrait) {
    /* Header shrink */
    .site-header { height: 60px; }
    .header-inner { padding: 0 16px; }
    .logo-img { width: 34px; height: 34px; }
    .logo-name { font-size: 1rem; }
    .logo-tagline { font-size: 0.55rem; }
    .nav-link:not(.nav-signin) { display: none; }
    .pricing-container { padding-top: 60px; }

    .pricing-main { padding: 20px 14px; }
    .pricing-intro { flex-direction: column; gap: 10px; }
    .pricing-title { font-size: 1.55rem; }
    .pricing-description { font-size: 0.88rem; margin-bottom: 18px; }

    /* Table → vertical stack of rows */
    .ptable { flex-direction: column; gap: 10px; }

    .pcol {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        border-radius: 12px;
    }
    .pcol:hover { transform: none; box-shadow: none; }

    /* Tag stays a corner badge on the card's top-left border (like desktop) so
       every plan name aligns at the same left edge. */
    .pcol-tag {
        top: -9px; left: 12px;
        font-size: 0.55rem; padding: 2px 9px;
    }

    .pcol-name {
        flex: 1; min-height: 0; margin: 0; text-align: left;
        font-size: 1rem; display: flex; align-items: center; flex-wrap: wrap;
    }

    .pcol-price {
        min-height: 0; margin: 0; text-align: right; flex-shrink: 0;
        display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1;
    }
    .pcol-was { font-size: 0.72rem; }
    .pcol-now { font-size: 1.35rem; }
    .pcol-now .per { font-size: 0.7rem; }

    /* Drop the standalone per-month / access rows on phones (kept on tablet+) */
    .pcol-permo, .pcol-access { display: none; }
    .pcol-credit { font-size: 0.65rem; padding: 1px 6px; }

    /* CTA collapses to a chevron circle so the row never overflows
       (the whole row is tappable). Current-plan keeps its text label. */
    .pcol-cta {
        margin-top: 0; flex-shrink: 0;
        width: 44px; height: 44px; padding: 0; min-width: 0;
        display: inline-flex; align-items: center; justify-content: center;
        border-radius: 50%;
    }
    /* Visually hide the label but keep it for screen readers (icon-only button). */
    .pcol-cta-label {
        position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
        overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
    }
    .pcol-cta-arrow { display: inline; }
    .pcol-cta.is-current {
        width: auto; height: auto; padding: 8px 12px; border-radius: 10px;
    }
    .pcol-cta.is-current .pcol-cta-label {
        position: static; width: auto; height: auto; margin: 0; clip: auto; overflow: visible;
    }
    .pcol-cta.is-current .pcol-cta-arrow { display: none; }

    /* Discount ribbon: smaller corner tab on the condensed rows */
    .pcol-ribbon { top: -8px; right: 10px; font-size: 0.6rem; padding: 2px 9px; }

    .ptable-includes { font-size: 0.8rem; margin-top: 10px; }
    .status-notice { font-size: 0.82rem; padding: 9px 12px; }
}


/* === pricing/pricing-mobile-landscape.css === */

/**
 * pricing-mobile-landscape.css — phones held sideways (≤768px landscape).
 * Same condensed-row reflow as portrait, but a touch tighter vertically and the
 * per-month equivalent kept inline since horizontal space is less scarce.
 */
@media (max-width: 768px) and (orientation: landscape) {
    .site-header { height: 54px; }
    .pricing-container { padding-top: 54px; }
    .nav-link:not(.nav-signin) { display: none; }

    .pricing-main { padding: 16px 16px; }
    .pricing-intro { flex-direction: column; gap: 8px; }
    .pricing-title { font-size: 1.4rem; }
    .pricing-description { font-size: 0.85rem; margin-bottom: 14px; }

    .ptable { flex-direction: column; gap: 8px; }

    .pcol {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 10px 16px;
        border-radius: 12px;
    }
    .pcol:hover { transform: none; box-shadow: none; }

    .pcol-tag {
        top: -9px; left: 12px;
        font-size: 0.55rem; padding: 2px 9px;
    }
    .pcol-name {
        flex: 1; min-height: 0; margin: 0; text-align: left; font-size: 0.95rem;
        display: flex; align-items: center; flex-wrap: wrap;
    }
    .pcol-price {
        min-height: 0; margin: 0; text-align: right; flex-shrink: 0;
        display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1;
    }
    .pcol-was { font-size: 0.72rem; }
    .pcol-now { font-size: 1.3rem; }
    .pcol-now .per { font-size: 0.7rem; }

    /* Keep per-month inline-right on landscape; hide the access line */
    .pcol-permo {
        min-height: 0; margin: 0; flex-shrink: 0; text-align: right;
        font-size: 0.72rem; width: 70px;
    }
    .pcol-access { display: none; }

    .pcol-cta {
        margin-top: 0; flex-shrink: 0;
        width: 42px; height: 42px; padding: 0; min-width: 0;
        display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
    }
    .pcol-cta-label {
        position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
        overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
    }
    .pcol-cta-arrow { display: inline; }
    .pcol-cta.is-current { width: auto; height: auto; padding: 8px 12px; border-radius: 10px; }
    .pcol-cta.is-current .pcol-cta-label {
        position: static; width: auto; height: auto; margin: 0; clip: auto; overflow: visible;
    }
    .pcol-cta.is-current .pcol-cta-arrow { display: none; }

    .pcol-ribbon { top: -8px; right: 10px; font-size: 0.58rem; padding: 2px 8px; }

    .ptable-includes { font-size: 0.78rem; margin-top: 8px; }
}
