/* ==========================================================================
   Pricing Page - Elegant & Enterprise
   Matching site's sophisticated design language
   ========================================================================== */

/* ==========================================================================
   Hero Section - Clean & Atmospheric
   ========================================================================== */

.pricing-hero {
    padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-2xl);
    position: relative;
    overflow: hidden;
}

body:has(.top-notification-bar) .pricing-hero {
    padding-top: calc(var(--notification-bar-height) + var(--nav-height) + var(--space-xl));
}

/* SIGNATURE HERO GLOW - Subtle, atmospheric, and smooth */
.pricing-hero .hero-glow {
    position: absolute;
    width: 900px;
    height: 900px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-atmosphere);
    filter: blur(160px);
    opacity: 0.35;
    animation: glow-rotate 150s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* Smoother transition to the next section */
.pricing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--bg-void) 100%);
    z-index: 1;
    pointer-events: none;
}

.pricing-hero .container {
    position: relative;
    z-index: 10;
}

/* Header Above Plans */
.pricing-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    position: relative;
    z-index: 10;
}

/* Billing Toggle */
.billing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 10;
}

.billing-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 24px;
    background: rgba(22, 24, 24, 0.6);
    border: 1px solid var(--surface-card-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.billing-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    cursor: pointer;
    user-select: none;
}

.billing-toggle-wrapper .billing-toggle[data-billing="yearly"] .billing-label:first-of-type,
.billing-toggle-wrapper .billing-toggle[data-billing="monthly"] .billing-label:last-of-type {
    color: rgba(255, 255, 255, 0.35);
}

.billing-toggle-wrapper .billing-toggle[data-billing="monthly"] .billing-label:first-of-type,
.billing-toggle-wrapper .billing-toggle[data-billing="yearly"] .billing-label:last-of-type {
    color: #ffffff;
    font-weight: 600;
}

.billing-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
    outline: none;
}

.billing-switch:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.billing-switch:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.billing-switch-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.billing-toggle-wrapper .billing-toggle[data-billing="yearly"] .billing-switch-slider {
    transform: translateX(20px);
}

.billing-toggle-wrapper .billing-toggle[data-billing="yearly"] .billing-switch {
    background: rgba(212, 197, 171, 0.25);
    border-color: rgba(212, 197, 171, 0.35);
}

.billing-discount {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(212, 197, 171, 0.12);
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.pricing-header .hero-badge {
    margin-bottom: var(--space-sm);
}

.pricing-header .hero-headline {
    margin: 0 0 var(--space-sm);
    letter-spacing: -0.04em;
    line-height: 1.1;
    font-weight: 700;
    font-size: 2.5rem;
}

.pricing-header .hero-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
    opacity: 0.7;
}

/* ====================================================================
   Pricing Grid - Following site's stat-card patterns
   ==================================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* Pricing Card - Using site's established card design system */
.pricing-card {
    position: relative;
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    background: rgba(18, 18, 18, 0.5);
    border: 1px solid var(--surface-card-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
    overflow: visible;
    min-height: 560px; /* Force consistent card height */
}

/* Surface overlay - matching site's lighting pattern */
.pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--surface-card-overlay);
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.pricing-card > * {
    position: relative;
    z-index: 1;
}

/* Mouse-following gradient border - site's signature effect */
.pricing-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    padding: 1px;
    background: radial-gradient(
        500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(168, 85, 247, 0.8),
        rgba(59, 130, 246, 0.6),
        rgba(16, 185, 129, 0.4),
        transparent 50%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: var(--gradient-opacity, 0);
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

.pricing-card:hover {
    border-color: var(--surface-card-border-hover);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

/* Featured Card - Accent highlighting */
.pricing-card.featured {
    background: var(--surface-card-bg);
    border-color: rgba(212, 197, 171, 0.25);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(212, 197, 171, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.pricing-card.featured:hover {
    border-color: rgba(212, 197, 171, 0.35);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(212, 197, 171, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.065);
}

.pricing-card.featured .card-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-void);
    font-size: 0.625rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 20;
}

/* Remove displacement fixes and use proper alignment */
.pricing-card.featured .card-header {
    margin-top: 0;
}

/* --- Card Structure --- */

.card-header {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 180px; /* Responsive min-height instead of fixed height */
    display: flex;
    flex-direction: column;
}

.plan-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--space-xs);
}

.plan-name {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0;
}

.price-strike {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    text-decoration: line-through;
    font-weight: 500;
}

.plan-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: var(--space-sm);
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.plan-credits {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 4px;
    letter-spacing: 0.02em;
    opacity: 0.9;
}

.plan-price .currency {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #ffffff;
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.plan-price .period {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.plan-desc-short {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: var(--space-sm);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* Force single line as requested */
}

/* Action Button - Safe inside header flow */
.card-action-wrap {
    margin-top: auto;
    padding-top: var(--space-xs);
}

.btn-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all var(--transition-fast);
    text-decoration: none;
}

/* 7-day trial pulse effect */
.btn-trial-pulse {
    position: relative;
    animation: trial-pulse-glow 6s infinite ease-in-out;
}

@keyframes trial-pulse-glow {
    0%, 60%, 100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
        border-color: rgba(255, 255, 255, 0.1);
    }
    15% {
        box-shadow: 0 0 12px 1px rgba(168, 85, 247, 0.4), 0 0 8px rgba(59, 130, 246, 0.3);
        border-color: rgba(168, 85, 247, 0.5);
    }
    30% {
        box-shadow: 0 0 12px 1px rgba(59, 130, 246, 0.4), 0 0 8px rgba(16, 185, 129, 0.3);
        border-color: rgba(59, 130, 246, 0.5);
    }
    45% {
        box-shadow: 0 0 12px 1px rgba(16, 185, 129, 0.4), 0 0 8px rgba(168, 85, 247, 0.3);
        border-color: rgba(16, 185, 129, 0.5);
    }
}

.card-body {
    flex-grow: 1;
    padding-top: var(--space-md);
}

.btn-card-action:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-card-action-primary {
    background: var(--accent);
    color: var(--bg-void);
    border-color: transparent;
    font-weight: 700;
}

.btn-card-action-primary:hover {
    background: #e8dcc6;
    border-color: transparent;
}

/* Premium card button - custom accent */
.pricing-card.featured .btn-card-action-primary {
    background: #d4c5ab;
}

.pricing-card.featured .btn-card-action-primary:hover {
    background: #e0d4be;
    border-color: transparent;
}

/* Features Section - Clean, minimal */
.card-body {
    flex-grow: 1;
    padding-top: var(--space-md);
}

.features-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: var(--space-sm);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list .feature-label {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

.feature-list .feature-value {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Remove the global checkmark from main.css */
.feature-list li::before {
    display: none !important;
}

.check-icon {
    color: var(--accent);
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.feature-list li strong {
    color: #ffffff;
    font-weight: 700;
}

/* ====================================================================
   Credits System Section
   ==================================================================== */

.credits-section {
    padding: var(--space-2xl) 0;
    position: relative;
    z-index: 10;
}

.credits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
}

.credits-content .section-label {
    margin-bottom: var(--space-sm);
}

.credits-headline {
    font-size: var(--display-section);
    font-weight: 700;
    letter-spacing: var(--tracking-tight);
    margin: 0 0 var(--space-md);
    line-height: var(--leading-tight);
    color: #ffffff;
}

.credits-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-lg);
    max-width: 540px;
}

.credits-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.credits-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    width: 20px;
    height: 20px;
}

/* Credits Card Visual - Matching Pricing Card Style */
.credits-card {
    position: relative;
    padding: var(--space-xl) var(--space-lg);
    background: rgba(18, 18, 18, 0.5);
    border: 1px solid var(--surface-card-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    overflow: visible;
}

/* Mouse-following gradient border - site's signature effect */
.credits-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    padding: 1px;
    background: radial-gradient(
        500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(168, 85, 247, 0.8),
        rgba(59, 130, 246, 0.6),
        rgba(16, 185, 129, 0.4),
        transparent 50%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: var(--gradient-opacity, 0);
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

.credits-card:hover {
    border-color: var(--surface-card-border-hover);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.credits-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--surface-card-overlay);
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.credits-card > * {
    position: relative;
    z-index: 1;
}

.credits-card .card-tag {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bg-void);
    padding: 4px 12px;
    background: var(--accent);
    border-radius: 100px;
    margin-bottom: var(--space-md);
    display: inline-block;
}

.credits-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: #ffffff;
    letter-spacing: var(--tracking-tight);
}

.consumption-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: var(--space-lg);
}

.c-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    transition: background 0.3s ease;
}

.c-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.c-name {
    color: var(--text-secondary);
}

.c-check {
    color: var(--accent);
    font-weight: 700;
}

.card-footer-text {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-align: center;
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .credits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .credits-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .credits-highlights {
        align-items: center;
    }
}

/* ====================================================================
   Comparison Table Section - Re-styled for Elegance
   ==================================================================== */

.comparison-section {
    padding: 128px 0; /* Custom larger spacing for this section */
    background: var(--bg-void); 
    position: relative;
}

.comparison-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.comparison-header .section-sub {
    margin: 0 auto;
}

.comparison-table-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    margin-bottom: 0; /* No bottom margin - let section handle spacing */
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.comparison-table-wrapper::-webkit-scrollbar {
    height: 4px;
}

.comparison-table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* Column Widths - Optimized */
.comparison-table .feature-col {
    width: 22%;
}
.comparison-table .plan-col {
    width: 39%;
}

/* Headers */
.comparison-table .sticky-header th {
    background: rgba(10, 10, 10, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    vertical-align: middle;
}

.comparison-table th.feature-col {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    text-align: left;
    padding: 16px var(--space-lg);
}

.comparison-table th.plan-col {
    padding: 16px 0;
}

.header-plan-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-md);
    padding: 0 var(--space-xl);
}

.comparison-table th .plan-name-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
}

.comparison-table .btn-table {
    padding: 8px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 8px;
    width: auto;
    min-width: 110px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.comparison-table .btn-table:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.comparison-table .btn-table-primary {
    background: var(--accent);
    color: var(--bg-void);
    border-color: transparent;
}

.comparison-table .btn-table-primary:hover {
    background: #e8dcc6;
}

/* Standard Rows */
.comparison-table td {
    padding: 12px var(--space-lg);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.comparison-table .feature-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.comparison-table td:not(.feature-name) {
    text-align: left;
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
}

/* Category Rows - Must match feature-col header padding exactly */
.comparison-table .category-row td {
    background: rgba(255, 255, 255, 0.05);
    padding: 14px var(--space-lg); /* Same as th.feature-col */
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

/* Hover effect */
.comparison-table tr:not(.category-row):hover td {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* Highlight Featured Column (Premium) */
.comparison-table .featured-col {
    background: rgba(212, 197, 171, 0.02);
}

/* Model Lists - Improved */
.model-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    max-width: 100%;
}

.model-tag {
    font-size: 0.6875rem;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.model-tag.pro-tag {
    background: rgba(212, 197, 171, 0.08);
    border-color: rgba(212, 197, 171, 0.2);
    color: var(--accent);
}

.model-tag:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Icons in table */
.comparison-table .check {
    color: var(--accent);
    font-weight: 600;
}

.comparison-table .dash {
    color: rgba(255, 255, 255, 0.1);
}

/* ====================================================================
   Responsive
   ==================================================================== */

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 var(--space-md);
        gap: var(--space-md);
    }
    
    .pricing-card.featured {
        grid-column: span 2;
        order: -1;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        grid-column: span 1;
    }
    
    .pricing-hero {
        padding-top: calc(var(--nav-height) + var(--space-lg));
    }

    body:has(.top-notification-bar) .pricing-hero {
        padding-top: calc(var(--notification-bar-height) + var(--nav-height) + var(--space-lg));
    }
    
    .plan-price .amount {
        font-size: 2.5rem;
    }

    .card-header {
        height: auto;
        min-height: unset;
    }

    .plan-desc-short {
        white-space: normal;
        height: auto;
    }

    .billing-toggle {
        gap: 12px;
        padding: 8px 16px;
    }

    .billing-label {
        font-size: 0.8125rem;
    }

    .billing-discount {
        font-size: 0.625rem;
        padding: 3px 8px;
    }

    /* Comparison Table Mobile */
    .comparison-table-wrapper {
        border-radius: 12px;
        margin: 0 var(--space-sm);
    }

    .comparison-table th.feature-col {
        padding: 12px var(--space-sm);
        font-size: 0.65rem;
    }

    .comparison-table th.plan-col {
        padding: 12px 0;
    }

    .comparison-table th .plan-name-label {
        font-size: 0.65rem;
    }

    .comparison-table .btn-table {
        padding: 6px 10px;
        font-size: 0.625rem;
        min-width: 80px;
    }

    .header-plan-wrap {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        padding: 0 var(--space-sm);
    }

    .comparison-table td {
        padding: 8px var(--space-sm);
        font-size: 0.75rem;
    }

    .comparison-table td:not(.feature-name) {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }

    .comparison-table .category-row td {
        padding: 10px var(--space-sm); /* Match th.feature-col mobile padding */
        font-size: 0.7rem;
    }

    .model-list {
        gap: 4px;
    }

    .model-tag {
        font-size: 0.625rem;
        padding: 2px 6px;
    }
}

/* ====================================================================
   Pricing Page Specific - Reduce spacing between sections
   ==================================================================== */

/* The second comparison-section on pricing page (WITHOUT/WITH comparison) */
.comparison-section:last-of-type {
    padding-top: 40px; /* Reduced for tighter spacing */
}
