/*
 * DarkLabel - Pages
 * Hero, CTA, about/services/contact page-specific styles,
 * stack badges, config cards, deploy steps, pages showcase
 */

/* ========== HERO ========== */
.hero {
    background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(30,41,59,0.88) 50%, rgba(51,65,85,0.85) 100%);
    color: var(--color-white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    /* Clip fixed-position children to this container */
    clip-path: inset(0);
}

@media (min-width: 768px) {
    .hero {
        min-height: 85vh;
        padding: 6rem 0;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 130%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    will-change: transform;
    /* Blur + desaturate to hide low quality and create ambient texture */
    filter: blur(4px) saturate(0.7) brightness(0.9);
    transform: scale(1.05); /* Prevent blur edge artifacts */
}

/* Parallax effect */
@media (min-width: 768px) {
    .hero-bg {
        position: fixed;
        height: 100vh;
        top: 0;
        filter: blur(8px) saturate(0.6) brightness(0.85);
        transform: scale(1.1);
    }
}

.hero-content-box {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .hero-content-box {
        padding: 1.5rem 1.25rem;
        margin: 0 0.5rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

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

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, rgba(15,23,42,0.90) 0%, rgba(30,41,59,0.88) 100%);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
    clip-path: inset(0);
}

.cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 130%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    filter: blur(6px) saturate(0.6) brightness(0.8);
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .cta-section {
        min-height: 60vh;
    }
    .cta-bg {
        position: fixed;
        height: 100vh;
        top: 0;
        filter: blur(10px) saturate(0.5) brightness(0.75);
    }
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-section p {
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content-box {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .cta-content-box {
        padding: 1.5rem 1.25rem;
        margin: 0 0.5rem;
    }
}

/* ========== ABOUT PAGE ========== */
.about-hero {
    background:
        linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(51,65,85,0.88) 100%);
    color: var(--color-white);
    padding: 3rem 0;
    text-align: center;
}

.about-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
}

/* ========== SERVICES PAGE ========== */
.services-hero {
    background:
        linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(51,65,85,0.88) 100%);
    color: var(--color-white);
    padding: 3rem 0;
    text-align: center;
}

.services-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

@media (max-width: 768px) {
    .service-detail {
        grid-template-columns: 1fr;
    }
    .service-detail.reverse {
        direction: ltr;
    }
}

/* ========== CONTACT PAGE ========== */
.contact-hero {
    background:
        linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(51,65,85,0.88) 100%);
    color: var(--color-white);
    padding: 3rem 0;
    text-align: center;
}

.contact-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    background: var(--color-bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.contact-info-card .lucide {
    width: 20px;
    height: 20px;
}

.contact-info-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.contact-info-card a {
    color: var(--color-primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== ABOUT PAGE: TECH STACK BADGES ========== */
.stack-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.stack-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stack-badge-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-sans);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition);
}

.stack-badge:hover .stack-badge-icon {
    transform: translateY(-3px) scale(1.05);
}

.stack-badge span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ========== ABOUT PAGE: CONFIG CARDS ========== */
.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.config-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.config-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.config-card-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.config-card-header .lucide {
    width: 16px;
    height: 16px;
}

.config-card-body {
    padding: 0.75rem 1rem;
}

.config-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--color-border);
    gap: 0.5rem;
}

.config-line:last-child {
    border-bottom: none;
}

.config-key {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.7rem;
    color: var(--color-accent);
    font-weight: 600;
    white-space: nowrap;
}

.config-val {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-align: right;
}

.config-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* ========== ABOUT PAGE: DEPLOY STEPS ========== */
.deploy-steps {
    max-width: 700px;
    margin: 0 auto;
}

.deploy-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
}

.deploy-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 48px;
    bottom: -1.5rem;
    width: 2px;
    background: var(--color-border);
}

.deploy-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.deploy-step-content {
    flex: 1;
    padding-top: 0.15rem;
}

.deploy-step-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.code-block {
    background: #1e1e2e;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    overflow-x: auto;
}

.code-block code {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.8rem;
    color: #cdd6f4;
    line-height: 1.6;
}

.code-comment {
    color: #6c7086;
}

/* ========== ABOUT PAGE: PAGES SHOWCASE ========== */
.pages-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.page-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
}

.page-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.page-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.page-card-icon .lucide {
    width: 24px;
    height: 24px;
    color: #fff;
}

.page-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.page-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ========== SOLAR PRESIDENT: PATRIOT THEME ========== */

/* Hero Stars */
.hero-flag {
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
    color: var(--color-gold, #C5A143);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ========== COUNTDOWN TIMER ========== */
.countdown-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #8b1a28 100%);
    padding: 2.5rem 0;
    text-align: center;
}

.countdown-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.countdown-header {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,0,0,0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.countdown-header .lucide {
    width: 20px;
    height: 20px;
    color: var(--color-gold, #C5A143);
}

.countdown-subtext {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.countdown-unit {
    background: rgba(0,0,0,0.25);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    min-width: 80px;
    border: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 500px) {
    .countdown-unit {
        padding: 0.75rem 1rem;
        min-width: 60px;
    }
}

.countdown-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    font-family: var(--font-display);
}

@media (max-width: 500px) {
    .countdown-num {
        font-size: 1.75rem;
    }
}

.countdown-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.7);
    margin-top: 0.25rem;
}

.countdown-warning {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    max-width: 500px;
    margin: 0 auto;
}

.deadline-passed {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

/* ========== INCENTIVE CARDS ========== */
.incentives-section .section-header h2 {
    color: var(--color-primary);
}

.incentive-card {
    position: relative;
    padding-top: 2.5rem !important;
}

.incentive-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: var(--color-secondary);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.incentive-badge.gold {
    background: linear-gradient(135deg, var(--color-gold, #C5A143) 0%, #a8893a 100%);
}

.highlight-card {
    border: 2px solid var(--color-gold, #C5A143) !important;
    background: linear-gradient(180deg, rgba(197,161,67,0.05) 0%, transparent 100%);
}

/* ========== MATH BREAKDOWN ========== */
.lead-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.math-breakdown {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
}

.math-line {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.math-line:last-child {
    border-bottom: none;
}

.math-line.highlight {
    background: rgba(178, 34, 52, 0.05);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.math-line.total {
    background: var(--color-primary);
    color: #fff;
    margin: 0.5rem -1.5rem -1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    font-weight: 700;
    font-size: 1.1rem;
}

.math-label {
    font-weight: 500;
}

.math-value {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-weight: 600;
}

.math-value.negative {
    color: var(--color-secondary);
}

.math-line.total .math-value {
    color: var(--color-gold, #C5A143);
}

.math-footnote {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* ========== STATS BOX ========== */
.stats-box {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 300px;
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold, #C5A143);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== TESTIMONIALS ========== */
.testimonial-section {
    padding: 4rem 0;
    background: var(--color-bg-alt);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.testimonial-quote {
    position: relative;
    margin-bottom: 1.5rem;
}

.testimonial-quote .lucide {
    position: absolute;
    top: -10px;
    left: -5px;
    width: 32px;
    height: 32px;
    color: var(--color-secondary);
    opacity: 0.2;
}

.testimonial-quote p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text);
    font-style: italic;
    padding-left: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-secondary);
}

.testimonial-author strong {
    color: var(--color-primary);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ========== BUTTON VARIANTS ========== */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Force white text on primary buttons everywhere */
.btn-primary,
.btn-primary:hover,
.hero .btn-primary,
.cta-section .btn-primary,
.cta-content-box .btn-primary {
    color: #ffffff !important;
}

/* ========== INCENTIVE DETAIL CARDS ========== */
.incentive-detail {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.incentive-detail-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
}

.incentive-detail-badge {
    background: var(--color-secondary);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.25rem;
    min-width: 70px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.incentive-detail-badge.gold {
    background: linear-gradient(135deg, var(--color-gold, #C5A143) 0%, #a8893a 100%);
}

.incentive-detail-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.incentive-subtitle {
    margin: 0.25rem 0 0;
    opacity: 0.85;
    font-size: 0.9rem;
}

.incentive-detail-body {
    padding: 1.5rem;
}

.incentive-detail-body > p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.incentive-requirements {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.incentive-requirements h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: var(--color-primary);
}

.incentive-requirements .lucide {
    width: 18px;
    height: 18px;
}

.incentive-requirements ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.incentive-requirements li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
}

.incentive-requirements li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-size: 0.75rem;
}

.incentive-example {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.example-label {
    background: rgba(255,255,255,0.15);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== COMPARISON TABLE ========== */
.comparison-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-column {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-column.highlight {
    border: 2px solid var(--color-gold, #C5A143);
    box-shadow: var(--shadow-lg);
}

.comparison-header {
    background: var(--color-primary);
    color: #fff;
    padding: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
}

.comparison-column.highlight .comparison-header {
    background: linear-gradient(135deg, var(--color-gold, #C5A143) 0%, #a8893a 100%);
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row span:first-child {
    color: var(--color-text-muted);
}

.comparison-row span:last-child {
    font-weight: 600;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.comparison-row .green {
    color: #16a34a;
}

.comparison-row.total {
    background: var(--color-bg-alt);
    font-size: 1.05rem;
}

.comparison-row.total-pct {
    background: var(--color-primary);
    color: #fff;
}

.comparison-row.total-pct span {
    color: #fff;
}

.comparison-row.total-pct span:last-child {
    color: var(--color-gold, #C5A143);
    font-size: 1.25rem;
}

/* ========== TIMELINE ========== */
.timeline-section {
    padding: 4rem 0;
}

.timeline {
    max-width: 700px;
    margin: 2rem auto 0;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 90px;
    bottom: -2rem;
    width: 2px;
    background: var(--color-border);
}

.timeline-date {
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.timeline-item.urgent .timeline-date {
    background: var(--color-secondary);
    animation: pulse-urgent 2s ease-in-out infinite;
}

@keyframes pulse-urgent {
    0%, 100% { box-shadow: 0 0 0 0 rgba(178, 34, 52, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(178, 34, 52, 0); }
}

.timeline-date .month {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.timeline-date .day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.timeline-date .year {
    font-size: 0.75rem;
    opacity: 0.8;
}

.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}

.timeline-content h4 {
    margin: 0 0 0.5rem;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.timeline-item.urgent .timeline-content h4 {
    color: var(--color-secondary);
}

.timeline-content p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.6;
}
