/* Comparison Page Specific Styles */

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1f35 0%, #0a0e1a 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0px;
}

.hero-content {
    text-align: center;
    padding-left: 0;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 72px;
    margin-bottom: 24px;
    margin-top: 0px;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 28px;
    color: #a0aec0;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Fix button height mismatch - add padding to match secondary's 2px border + 24px arrow */
.btn-primary {
    padding: 19px 42px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1f35 0%, #0f1419 100%);
    text-align: center;
}

.cta-section p {
    font-size: 20px;
    color: #a0aec0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Button with Arrow */
.btn-arrow {
    font-size: 18px;
    margin-left: 8px;
}

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 60px;
    align-items: start;
}

.summary-card {
    background: linear-gradient(135deg, #1a1f35 0%, #0f1419 100%);
    border-radius: 16px;
    padding: 40px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    height: 100%;
}

.summary-card.lunar {
    border-color: #00d4ff;
}

.summary-card.opa {
    border-color: #00ff88;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.summary-header h3 {
    font-size: 26px;
    color: #f5f5f5;
    margin: 0;
}

.summary-header img {
    height: 50px;
    width: auto;
}
.summary-tagline {
    font-size: 16px;
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.summary-card.opa .summary-tagline {
    color: #00ff88;
    border-bottom-color: rgba(0, 255, 136, 0.2);
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-list li {
    font-size: 16px;
    color: #c7d2e0;
    line-height: 2;
    padding-left: 0;
}

.plus-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.plus-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    color: #0a0e1a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.plus-text {
    font-size: 14px;
    color: #a0aec0;
    text-align: center;
}

.value-prop {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    border-radius: 16px;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.value-prop-content h3 {
    font-size: 28px;
    color: #f5f5f5;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.value-prop-content p {
    font-size: 18px;
    color: #c7d2e0;
    line-height: 1.8;
    text-align: center;
}

.value-prop-content .text-blue {
    color: #00d4ff;
    font-weight: 600;
}

/* Shift Left Timeline - Simple Horizontal Layout */
.shift-left-timeline {
    max-width: 1400px;
    margin: 0 auto;
}

.shift-left-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.shift-left-labels::after {
    content: '';
    position: absolute;
    left: 25%;
    right: 25%;
    top: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #a0aec0 10%, #a0aec0 90%, transparent 100%);
}

.shift-left-label {
    font-size: 18px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    text-transform: uppercase;
}

.early-label {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    border: 2px solid rgba(0, 255, 136, 0.4);
}

.late-label {
    background: rgba(255, 100, 100, 0.15);
    color: #ff6464;
    border: 2px solid rgba(255, 100, 100, 0.4);
}

.shift-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    transition: all 0.3s ease;
    width: calc((100% / 3) - 40px);
    position: relative;
}

.shift-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    height: 60px;
    min-height: 60px;
}

.shift-marker.lunar-marker img {
    width: auto;
    height: 40px;
    max-height: 48px;
}

.shift-marker.opa-marker {
    display: flex;
    align-items: center;
    justify-content: center;
}

.shift-marker.opa-marker img {
    display: block;
}

.shift-card {
    background: linear-gradient(135deg, #1a1f35 0%, #0f1419 100%);
    border-radius: 12px;
    padding: 28px;
    border: 2px solid;
    width: 100%;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.shift-card.good-card {
    border-color: rgba(0, 255, 136, 0.5);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, #0f1419 100%);
}

.shift-card.bad-card {
    border-color: rgba(255, 100, 100, 0.5);
    background: linear-gradient(135deg, rgba(255, 100, 100, 0.1) 0%, #0f1419 100%);
}

.shift-card.critical-card {
    border-color: rgba(239, 68, 68, 0.6);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, #0f1419 100%);
}

.shift-card h4 {
    font-size: 22px;
    color: #f5f5f5;
    margin-bottom: 12px;
    font-weight: 700;
}

.shift-time {
    font-size: 14px;
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 14px;
}

.shift-card p {
    font-size: 15px;
    color: #c7d2e0;
    line-height: 1.7;
    margin-bottom: 16px;
    flex-grow: 1;
}

.shift-cost {
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 600;
    min-height: 67px;
    align-content: center;
}

.shift-cost.good-cost {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.4);
}

.shift-cost.bad-cost {
    background: rgba(255, 100, 100, 0.15);
    color: #ff6464;
    border: 1px solid rgba(255, 100, 100, 0.4);
}

.shift-cost.critical-cost {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.5);
}

/* Comparison Table */
.comparison-table {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.comparison-row {
    display: grid;
    gap: 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    grid-template-columns: 240px 1fr 1fr;
    width: 100%;
}

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

.comparison-header {
    background: linear-gradient(135deg, #1a1f35 0%, #141824 100%);
}

.comparison-header .comparison-cell {
    font-weight: 700;
    font-size: 18px;
    color: #f5f5f5;
    text-align: center;
    justify-items: center;
    display: flex;
    flex-direction: column;
}

.comparison-cell {
    padding: 25px 30px;
    font-size: 16px;
    color: #c7d2e0;
    background: linear-gradient(135deg, #0f1419 0%, #0a0e1a 100%);
    border-right: 1px solid rgba(0, 212, 255, 0.1);
}

.comparison-cell img {
    width: auto;
    height: 40px;
    margin-bottom: 8px;
}

.comparison-cell:last-child {
    border-right: none;
}

.comparison-row:nth-child(even) .comparison-cell {
    background: linear-gradient(135deg, #1a1f35 0%, #0f1419 100%);
}

.lunar-cell {
    border-left: 3px solid #00d4ff;
}

.opa-cell {
    border-left: 3px solid #00ff88;
}

/* OPA Logo Styles */
.opa-logo {
    width: 60px;
    height: auto;
    display: block;
}

.opa-logo-medium {
    width: 40px;
    height: auto;
    display: block;
}

/* Scenario Cards */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.scenario-card {
    background: linear-gradient(135deg, #1a1f35 0%, #0f1419 100%);
    border-radius: 16px;
    padding: 40px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.scenario-card.recommended {
    border-color: #00ff88;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.scenario-badge {
    position: absolute;
    top: 0%;
    right: 50%;
    transform: translate(50%, -50%);
    background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    color: #0a0e1a;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.scenario-content {
    display: flex;
    flex-direction: column;
}

.scenario-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    color: #0a0e1a;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.scenario-card h3 {
    font-size: 24px;
    color: #f5f5f5;
    margin-bottom: 15px;
}

.scenario-description {
    font-size: 16px;
    color: #a0aec0;
    line-height: 1.7;
    margin-bottom: 25px;
}

.scenario-benefits {
    margin-bottom: 25px;
}

.scenario-benefit {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #c7d2e0;
}

.benefit-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.scenario-note {
    padding: 15px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #00d4ff;
    font-size: 14px;
    color: #a0aec0;
}

.scenario-card.recommended .scenario-note {
    background: rgba(0, 255, 136, 0.05);
    border-left-color: #00ff88;
}

/* Architecture Diagram */
.shift-left-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.shift-stage::before {
    content: '→';
    position: absolute;
    top: 50%;
    left: calc(0px - 30px - 18px);
    transform: translateY(-50%);
    font-size: 36px;
    color: #00d4ff;
}

.shift-stage::before {
    top: calc(50% + 40px);
}
.shift-stage:first-child::before {
    display: none;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, #1a1f35 0%, #0f1419 100%);
    border-radius: 12px;
    padding: 30px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.faq-item h3 {
    font-size: 20px;
    color: #00d4ff;
    margin-bottom: 15px;
}

.faq-item p {
    font-size: 16px;
    color: #a0aec0;
    line-height: 1.7;
    margin-bottom: 16px;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

/* Logo sizing utilities */
.logo-60 {
    width: 60px;
    height: auto;
}

.logo-40 {
    width: 40px;
    height: auto;
}

.logo-with-spacing {
    margin-bottom: 8px;
}

/* Section tagline modifiers */
.section-tagline.narrow {
    max-width: 900px;
}

.section-tagline.small {
    font-size: 18px;
    margin-bottom: 40px;
}

/* Takeaway Box */
.takeaway-box {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.takeaway-box .takeaway-title {
    font-size: 20px;
    color: #f5f5f5;
    margin-bottom: 15px;
}

.takeaway-box .takeaway-text {
    font-size: 16px;
    color: #a0aec0;
}

/* Tip Box */
.tip-box {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.tip-box-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tip-box-icon {
    font-size: 32px;
}

.tip-box-title {
    margin: 0;
    font-size: 22px;
    color: #f5f5f5;
}

.tip-box-text {
    margin: 0;
    font-size: 16px;
    color: #a0aec0;
    line-height: 1.6;
}

/* CTA footer note */
p.cta-footer-note {
    margin-top: 30px;
    font-size: 14px;
    color: #718096;
    margin-bottom: 0px;
}

/* Responsive */
@media (max-width: 1200px) {
    .summary-card {
        padding: 30px;
    }
    .summary-header {
        gap: 10px;
    }
    .plus-icon {
        transform: rotate(0deg);
    }
    .plus-divider {
        padding-top: 0;
        padding: 10px 0;
    }

    .plus-icon {
        transform: rotate(0deg);
    }

    .scenario-card {
        padding: 40px 30px;
    }
}

@media (max-width: 1024px) {
    .shift-left-timeline {
        display: flex;
    }

    .shift-left-labels {
        flex-direction: column;
        min-width: 300px;
    }

    .shift-left-row {
        gap: 80px;
    }
    .shift-stage {
        width: 100%;
        max-width: 600px;
    }

    .shift-stage::before {
        content: '↓';
        top: -60px;
        left: 50%;
        transform: translateX(-50%);
    }

    .summary-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .plus-divider {
        padding: 20px 0;
    }
    .summary-card {
        padding: 40px;
        width: 100%;
        max-width: 600px;
        height: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .shift-left-labels {
        padding: 80px 0px 0px;
        margin-bottom: 0px;
    }

    .shift-left-labels::after {
        content: '';
        position: absolute;
        left: 25%;
        right: 25%;
        top: 140px;
        height: calc(100% - 200px);
        width: 3px;
        margin: auto;
        background: linear-gradient(transparent 0%, #a0aec0 10%, #a0aec0 90%, transparent 100%);
    }

    .scenario-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .shift-cost {
        min-height: unset;
    }

    .shift-left-label {
        padding: 12px 20px;
    }

    .summary-tagline {
        width: 300px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 42px;
    }
    .hero-content .subtitle {
        font-size: 20px;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .shift-left-row {
        justify-content: center;
    }

    /* Hide desktop header row on mobile */
    .comparison-row.comparison-header {
        display: none;
    }

    /* Stop horizontal scroll layout */
    .comparison-table {
        display: block;
        max-width: 100%;
        overflow: visible;
        border-radius: 12px;
    }

    /* Each capability becomes a stacked card */
    .comparison-row {
        display: flex;
        flex-direction: column;
        width: 100%;
        border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    }

    .comparison-cell {
        width: 100%;
        padding: 18px 16px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 212, 255, 0.1);
        background: #0a0f1a;
        color: #fff;
    }

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

    /* Capability title */
    .comparison-row:not(.comparison-header) .comparison-cell:first-child {
        font-weight: 700;
        background: linear-gradient(135deg, #1a1f35 0%, #141824 100%);
    }

    /* Capability label */
    .comparison-row:not(.comparison-header) .comparison-cell:first-child::before {
        content: 'CAPABILITY';
        display: block;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        margin-bottom: 6px;
        color: #a0aec0;
    }

    /* Earthly Lunar section */
    .comparison-row .comparison-cell:nth-child(2)::before {
        content: 'Earthly Lunar';
        display: block;
        font-weight: 700;
        margin-bottom: 6px;
        color: #00d4ff;
    }

    /* Open Policy Agent section */
    .comparison-row .comparison-cell:nth-child(3)::before {
        content: 'Open Policy Agent';
        display: block;
        font-weight: 700;
        margin-bottom: 6px;
        color: #00ff88;
    }

    .scenario-grid {
        grid-template-columns: 1fr;
    }

    .summary-card {
        padding: 30px 20px;
    }

    .shift-card {
        padding: 28px 20px;
    }

    .tip-box,
    .faq-item,
    .scenario-card,
    .takeaway-box,
    .value-prop {
        padding: 30px 20px;
    }
}

@media (max-width: 650px) {
    .shift-left-label {
        writing-mode: vertical-rl;
        text-orientation: upright;
        padding: 12px;
    }
    .shift-left-labels {
        min-width: unset;
        padding: 20px 0px 0px;
        margin-bottom: 0px;
        width: 100%;
    }

    .shift-left-labels::after {
        top: 430px;
        height: calc(100% - 820px);
    }

    .shift-left-timeline {
        gap: 20px;
    }
}

@media (max-width: 400px) {
    .summary-tagline {
        width: 100%;
    }
}
