/* ============================================
   NOVARIDE CALCULATOR - PREMIUM DESIGN
   Apple-Level • World-Class • Professional
   ============================================ */

/* ========== PAGE BASE ========== */
.calculator-page {
    background: linear-gradient(180deg, #000 0%, #050505 50%, #0a0f0d 100%);
    min-height: 100vh;
}

/* ========== PREMIUM HEADER ========== */
.calc-premium-header {
    padding: 120px 0 50px;
    text-align: center;
}

.calc-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.calc-header-eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    color: var(--nova-green);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.calc-header-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calc-header-highlight {
    background: linear-gradient(135deg, var(--nova-green) 0%, #0d9668 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calc-header-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* ========== STATS BAR ========== */
.calc-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
}

@media (max-width: 768px) {
    .calc-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 20px;
    }
}

.calc-stat {
    text-align: center;
    padding: 16px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.calc-stat:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

.calc-stat-value {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.calc-stat-percent {
    color: var(--nova-green);
}

.calc-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
}

/* ========== CALCULATOR DASHBOARD ========== */
.calc-dashboard {
    padding: 60px 0 80px;
}

/* ========== PREMIUM PANELS ========== */
.calc-panel {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.calc-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(ellipse 60% 40% at 50% -10%, rgba(16, 185, 129, 0.08), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.calc-panel:hover {
    border-color: rgba(16, 185, 129, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.calc-panel:hover::before {
    opacity: 1;
}

.calc-panel-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-panel-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 14px;
    color: var(--nova-green);
}

.calc-panel-icon-electric {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.08) 100%);
}

.calc-panel-icon-eco {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.08) 100%);
}

.calc-panel-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

/* ========== PREMIUM INPUTS ========== */
.calc-input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (max-width: 768px) {
    .calc-input-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.calc-input-group {
    position: relative;
}

.calc-input-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.calc-input-label svg {
    color: var(--nova-green);
    opacity: 0.8;
}

.calc-input {
    width: 100%;
    padding: 18px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.calc-input:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.calc-input:focus {
    border-color: var(--nova-green);
    background: rgba(16, 185, 129, 0.06);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.calc-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 56px;
    cursor: pointer;
}

.calc-select option {
    background: #1a1a1a;
    color: #fff;
    padding: 12px;
}

.calc-input-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
}

/* ========== APPLE PREMIUM CONFIG CARD ========== */
.calc-config-premium {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* NO overflow:hidden - allows dropdowns to expand */
}

.calc-config-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
    pointer-events: none;
}

.calc-config-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-config-icon-wrap {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
}

/* No spinning animation - clean Apple style */
.calc-config-icon-ring {
    display: none;
}

.calc-config-icon-wrap svg {
    position: relative;
}

.calc-config-title-wrap {
    flex: 1;
}

.calc-config-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0 0 4px;
}

.calc-config-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Bento Grid Layout */
.calc-config-bento {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-bento-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.calc-bento-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .calc-bento-row {
        grid-template-columns: 1fr;
    }

    .calc-bento-row-3 {
        grid-template-columns: 1fr;
    }
}

/* Bento Card Base */
.calc-bento-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
    transition: all 0.25s ease;
}

.calc-bento-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.calc-bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 185, 129, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.calc-bento-card:hover::before {
    opacity: 1;
}

/* Bento Icon */
.calc-bento-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    color: var(--nova-green);
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.calc-bento-card:hover .calc-bento-icon {
    background: rgba(16, 185, 129, 0.15);
    transform: scale(1.05);
}

.calc-bento-icon-accent {
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
}

.calc-bento-icon-fuel {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

.calc-bento-electric .calc-bento-icon {
    background: rgba(16, 185, 129, 0.15);
    color: var(--nova-green);
}

.calc-bento-fuel .calc-bento-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

/* Bento Labels */
.calc-bento-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.calc-bento-label-sm {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-bento-unit {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

/* Bento Select */
.calc-bento-select {
    position: relative;
    z-index: 20;
    width: 100%;
    padding: 12px 40px 12px 14px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-bento-select:hover {
    border-color: rgba(16, 185, 129, 0.3);
    background-color: rgba(0, 0, 0, 0.4);
}

.calc-bento-select:focus {
    border-color: var(--nova-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.calc-bento-select option {
    background: #1a1a1a;
    color: #fff;
    padding: 12px;
}

/* Featured Card (Distance) - Refined size */
.calc-bento-featured {
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.12);
    padding: 20px;
}

.calc-bento-featured:hover {
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
}

.calc-bento-featured-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.calc-bento-icon-featured {
    width: 38px;
    height: 38px;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 10px;
    margin-bottom: 0;
}

.calc-bento-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.calc-bento-input-large {
    width: 200px;
    padding: 12px 60px 12px 16px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nova-green);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
}

.calc-bento-input-large:focus {
    border-color: var(--nova-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.calc-bento-input-suffix {
    position: absolute;
    left: 220px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
}

.calc-bento-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 12px;
}

.calc-bento-hint strong {
    color: var(--nova-green);
    font-weight: 600;
}

/* Compact Cards (Row 3) */
.calc-bento-compact {
    padding: 16px;
}

.calc-bento-compact .calc-bento-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
}

.calc-bento-input-mini-wrap {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-bento-input-mini {
    position: relative;
    z-index: 10;
    width: 70px;
    padding: 8px 10px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
}

.calc-bento-input-mini:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.calc-bento-input-mini:focus {
    border-color: var(--nova-green);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.calc-bento-suffix-mini {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

/* Status Bar - Subtle */
.calc-config-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.calc-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nova-green);
    opacity: 0.7;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.calc-config-status span {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

/* ========== COMPARISON SECTION ========== */
.calc-compare-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .calc-compare-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.calc-compare-card {
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.calc-compare-electric {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.04) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.calc-compare-thermal {
    background: linear-gradient(180deg, rgba(225, 29, 72, 0.12) 0%, rgba(225, 29, 72, 0.04) 100%);
    border: 1px solid rgba(225, 29, 72, 0.2);
}

.calc-compare-card:hover {
    transform: translateY(-4px);
}

.calc-compare-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
}

.calc-compare-electric .calc-compare-icon {
    background: rgba(16, 185, 129, 0.15);
    color: var(--nova-green);
}

.calc-compare-thermal .calc-compare-icon {
    background: rgba(225, 29, 72, 0.15);
    color: #e11d48;
}

.calc-compare-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.calc-compare-value {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.calc-compare-electric .calc-compare-value {
    color: var(--nova-green);
}

.calc-compare-thermal .calc-compare-value {
    color: #e11d48;
}

.calc-compare-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== PHOTO COMPARISON CARDS V2 ========== */
.calc-compare-grid-v2 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .calc-compare-grid-v2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.calc-photo-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 400px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.calc-photo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.calc-photo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.calc-photo-card:hover .calc-photo-bg {
    transform: scale(1.08);
}

.calc-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(16, 185, 129, 0.15) 30%,
            rgba(0, 0, 0, 0.85) 100%);
}

.calc-overlay-thermal {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(225, 29, 72, 0.15) 30%,
            rgba(0, 0, 0, 0.85) 100%);
}

.calc-photo-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-photo-badge {
    display: inline-block;
    width: max-content;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.calc-badge-green {
    background: linear-gradient(135deg, var(--nova-green) 0%, #0d9668 100%);
    color: #000;
}

.calc-badge-red {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #fff;
}

.calc-photo-value {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
}

.calc-photo-electric .calc-photo-value {
    color: var(--nova-green);
    text-shadow: 0 0 40px rgba(16, 185, 129, 0.5);
}

.calc-photo-thermal .calc-photo-value {
    color: #e11d48;
    text-shadow: 0 0 40px rgba(225, 29, 72, 0.5);
}

.calc-photo-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.calc-photo-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-photo-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.calc-photo-features svg {
    flex-shrink: 0;
    color: var(--nova-green);
}

.calc-features-thermal svg {
    color: #e11d48;
}

.calc-vs-badge-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.calc-vs-badge-v2 span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
    .calc-photo-card {
        min-height: 350px;
    }

    .calc-vs-badge-v2 {
        justify-content: center;
    }

    .calc-vs-badge-v2 span {
        width: 60px;
        height: 60px;
    }
}

/* ========== SAVINGS HERO ========== */
.calc-savings-hero {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.02) 100%);
    border-radius: 24px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.calc-savings-badge {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--nova-green) 0%, #0d9668 100%);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.calc-savings-amount {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--nova-green);
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 0 60px rgba(16, 185, 129, 0.4);
}

.calc-savings-label {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

/* ========== RING SECTION ========== */
.calc-ring-section {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.calc-mega-ring {
    position: relative;
    width: 280px;
    height: 280px;
}

.calc-mega-ring svg {
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.4));
}

.calc-mega-ring circle {
    fill: none;
    stroke-width: 16;
    stroke-linecap: round;
}

.calc-mega-ring .ring-track {
    stroke: rgba(255, 255, 255, 0.06);
}

.calc-mega-ring .ring-fill {
    stroke: url(#megaRingGradient);
    transition: stroke-dashoffset 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.calc-mega-ring .ring-glow {
    stroke: var(--nova-green);
    stroke-width: 16;
    filter: blur(20px);
    opacity: 0.4;
}

.calc-ring-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.calc-ring-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--nova-green);
    line-height: 1;
}

.calc-ring-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

/* ========== INSIGHT CARDS ========== */
.calc-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .calc-insights-grid {
        grid-template-columns: 1fr;
    }
}

.calc-insight-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.12);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.calc-insight-card:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateX(4px);
}

.calc-insight-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    color: var(--nova-green);
}

.calc-insight-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.calc-insight-highlight {
    font-weight: 800;
    color: var(--nova-green);
}

/* ========== SAVINGS PREMIUM SECTION ========== */
.savings-premium-section {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.6) 0%, rgba(10, 10, 10, 0.4) 100%);
    border: 1px solid rgba(16, 185, 129, 0.12);
    border-radius: 32px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.savings-premium-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.savings-premium-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.savings-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.savings-icon-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.savings-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.savings-title-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.savings-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--nova-green);
}

.savings-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

/* Premium Ring Showcase */
.savings-ring-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    margin-bottom: 48px;
}

.ring-showcase-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.savings-mega-ring {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring-progress-premium {
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ring-center-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ring-value-wrap {
    position: relative;
}

.ring-value {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981 0%, #6ee7b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.ring-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.ring-sublabel {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

/* Premium Metrics Grid */
.savings-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.savings-metric-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.metric-card-inner {
    position: relative;
    padding: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.savings-metric-card:hover .metric-card-inner {
    border-color: rgba(16, 185, 129, 0.25);
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
    transform: translateY(-4px);
}

.metric-card-glow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    filter: blur(16px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.savings-metric-card:hover .metric-card-glow {
    opacity: 1;
}

.metric-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 14px;
    color: var(--nova-green);
}

.metric-icon-eco {
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 100%);
    border-color: rgba(34, 197, 94, 0.25);
    color: #22c55e;
}

.metric-icon-distance {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-color: rgba(59, 130, 246, 0.25);
    color: #3b82f6;
}

.metric-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.metric-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: auto;
}

.metric-card-featured .metric-card-inner {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.03) 100%);
    border-color: rgba(16, 185, 129, 0.2);
}

/* Responsive Savings Section */
@media (max-width: 1024px) {
    .savings-metrics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .metric-card-inner {
        flex-direction: row;
        align-items: center;
        padding: 20px 24px;
        gap: 20px;
    }

    .metric-content {
        flex: 1;
    }

    .metric-description {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .savings-premium-section {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .savings-premium-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .savings-icon-wrap {
        width: 52px;
        height: 52px;
    }

    .savings-title {
        font-size: 1.35rem;
    }

    .ring-value {
        font-size: 3rem;
    }

    .savings-mega-ring svg {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 480px) {
    .savings-premium-section {
        padding: 24px 16px;
    }

    .savings-icon-wrap {
        width: 44px;
        height: 44px;
    }

    .savings-eyebrow {
        font-size: 0.65rem;
    }

    .savings-title {
        font-size: 1.2rem;
    }

    .ring-value {
        font-size: 2.5rem;
    }

    .savings-mega-ring svg {
        width: 220px;
        height: 220px;
    }

    .metric-card-inner {
        padding: 16px 20px;
    }

    .metric-icon-wrap {
        width: 40px;
        height: 40px;
    }

    .metric-value {
        font-size: 1.6rem;
    }
}

/* ========== ENVIRONMENTAL PREMIUM SECTION ========== */
.env-premium-section {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.6) 0%, rgba(10, 10, 10, 0.4) 100%);
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-radius: 32px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.env-premium-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.3), transparent);
}

.env-premium-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 20px;
}

.env-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.env-icon-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.env-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.env-title-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.env-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #22c55e;
}

.env-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.env-badge-positive {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 100px;
    color: #22c55e;
    font-size: 0.85rem;
    font-weight: 600;
}

/* CO2 Comparison Showcase */
.env-comparison-showcase {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 32px;
}

.env-card {
    position: relative;
    padding: 32px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.env-card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
    pointer-events: none;
}

.env-card-electric {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.04) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.env-card-electric:hover {
    border-color: rgba(16, 185, 129, 0.35);
    transform: scale(1.02);
}

.env-card-thermal {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.03) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.env-card-thermal:hover {
    border-color: rgba(239, 68, 68, 0.35);
    transform: scale(1.02);
}

.env-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: 18px;
    color: var(--nova-green);
}

.env-icon-thermal {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%);
    color: #ef4444;
}

.env-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.env-card-type {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.env-card-period {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.env-card-value-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.env-card-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--nova-green);
}

.env-value-thermal {
    color: #ef4444;
}

.env-card-unit {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.env-card-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.env-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
}

.env-bar-low {
    width: 25%;
    background: linear-gradient(90deg, var(--nova-green), #34d399);
}

.env-bar-high {
    width: 85%;
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.env-card-status {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--nova-green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.env-status-high {
    color: #ef4444;
}

/* VS Indicator */
.env-vs-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.env-vs-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.env-vs-circle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
}

/* Savings Highlight */
.env-savings-highlight {
    position: relative;
    padding: 32px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.env-savings-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 0% 50%, rgba(34, 197, 94, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.env-savings-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.env-savings-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 16px;
    color: #22c55e;
}

.env-savings-info {
    flex: 1;
    min-width: 200px;
}

.env-savings-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 4px;
}

.env-savings-value-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.env-savings-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #22c55e;
}

.env-savings-unit {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.env-savings-equivalent {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.env-savings-equivalent strong {
    color: #22c55e;
    font-weight: 700;
}

.env-savings-visual {
    margin-left: auto;
}

.env-tree-icons {
    display: flex;
    gap: 4px;
    color: #22c55e;
}

/* Responsive Environmental Section */
@media (max-width: 900px) {
    .env-comparison-showcase {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .env-vs-indicator {
        flex-direction: row;
        padding: 8px 0;
    }

    .env-vs-line {
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    }
}

@media (max-width: 768px) {
    .env-premium-section {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .env-premium-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .env-icon-wrap {
        width: 52px;
        height: 52px;
    }

    .env-title {
        font-size: 1.35rem;
    }

    .env-card {
        padding: 24px;
    }

    .env-card-value {
        font-size: 2rem;
    }

    .env-savings-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .env-savings-visual {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .env-premium-section {
        padding: 24px 16px;
    }

    .env-icon-wrap {
        width: 44px;
        height: 44px;
    }

    .env-eyebrow {
        font-size: 0.65rem;
    }

    .env-title {
        font-size: 1.2rem;
    }

    .env-badge-positive {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .env-card {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .env-card-icon {
        width: 52px;
        height: 52px;
    }

    .env-card-value {
        font-size: 1.75rem;
    }

    .env-savings-highlight {
        padding: 20px 16px;
    }

    .env-savings-icon {
        width: 48px;
        height: 48px;
    }

    .env-savings-value {
        font-size: 1.8rem;
    }
}

/* ========== COSTS GRID ========== */
.calc-costs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .calc-costs-grid {
        grid-template-columns: 1fr;
    }
}

.calc-cost-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 500;
}

.calc-cost-electric {
    background: rgba(16, 185, 129, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.calc-cost-electric .calc-cost-value {
    color: var(--nova-green);
    font-weight: 700;
}

.calc-cost-thermal {
    background: rgba(225, 29, 72, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.calc-cost-thermal .calc-cost-value {
    color: #e11d48;
    font-weight: 700;
}

.calc-cost-savings {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.calc-cost-savings .calc-cost-value {
    color: var(--nova-green);
    font-weight: 800;
    font-size: 1.1rem;
}

/* ========== TCO SECTION - PREMIUM WORLD-CLASS ========== */
.calc-tco-premium {
    position: relative;
    background: linear-gradient(145deg, rgba(10, 15, 13, 0.8) 0%, rgba(5, 10, 8, 0.95) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 32px;
    padding: 48px;
    margin-bottom: 30px;
    overflow: hidden;
}

.calc-tco-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(16, 185, 129, 0.4) 20%,
            rgba(52, 211, 153, 0.6) 50%,
            rgba(16, 185, 129, 0.4) 80%,
            transparent 100%);
}

.calc-tco-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Premium Header */
.tco-premium-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

.tco-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tco-icon-container {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tco-icon-glow {
    position: absolute;
    inset: -4px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    filter: blur(8px);
    opacity: 0.6;
}

.tco-icon-ring {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.04) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
}

.tco-icon-container svg {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.4));
}

.tco-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tco-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--nova-green);
    opacity: 0.9;
}

.tco-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tco-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Period Toggle */
.tco-period-toggle {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 4px;
}

.tco-toggle-btn {
    position: relative;
    z-index: 2;
    padding: 12px 28px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tco-toggle-btn.active {
    color: #000;
}

.tco-toggle-btn:hover:not(.active) {
    color: rgba(255, 255, 255, 0.8);
}

.tco-toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, var(--nova-green) 0%, #0d9668 100%);
    border-radius: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transform: translateX(100%);
}

.tco-period-toggle:has(.tco-toggle-btn:first-of-type.active) .tco-toggle-slider {
    transform: translateX(0);
}

.tco-period-toggle:has(.tco-toggle-btn:last-of-type.active) .tco-toggle-slider {
    transform: translateX(100%);
}

/* Comparison Grid */
.tco-comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: stretch;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* TCO Cards */
.tco-card {
    position: relative;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tco-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.tco-card-electric {
    border-color: rgba(16, 185, 129, 0.15);
    background: linear-gradient(165deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.tco-card-electric:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 24px 48px rgba(16, 185, 129, 0.15);
}

.tco-card-thermal {
    border-color: rgba(225, 29, 72, 0.12);
    background: linear-gradient(165deg, rgba(225, 29, 72, 0.06) 0%, rgba(225, 29, 72, 0.01) 100%);
}

.tco-card-thermal:hover {
    border-color: rgba(225, 29, 72, 0.25);
    box-shadow: 0 24px 48px rgba(225, 29, 72, 0.1);
}

.tco-card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.tco-card:hover .tco-card-shine {
    left: 100%;
}

.tco-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.tco-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--nova-green) 0%, #0d9668 100%);
    border-radius: 100px;
    color: #000;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tco-badge-thermal {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #fff;
}

.tco-card-tag {
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 100px;
    color: var(--nova-green);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.tco-card-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
}

.tco-amount-value {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(180deg, var(--nova-green) 0%, #0d9668 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(16, 185, 129, 0.3);
}

.tco-amount-thermal .tco-amount-value {
    background: linear-gradient(180deg, #e11d48 0%, #be123c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(225, 29, 72, 0.3);
}

.tco-amount-currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
}

/* Progress Bars */
.tco-card-bar-container {
    margin-bottom: 28px;
}

.tco-card-bar {
    position: relative;
    height: 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    overflow: hidden;
}

.tco-bar-electric .tco-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, var(--nova-green) 0%, #34d399 100%);
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tco-bar-electric .tco-bar-glow {
    position: absolute;
    top: 50%;
    left: 35%;
    width: 20px;
    height: 20px;
    background: var(--nova-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(10px);
    opacity: 0.6;
    transition: left 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tco-bar-thermal .tco-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #e11d48 0%, #f87171 100%);
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Card Details */
.tco-card-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tco-card-details li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tco-card-details li:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
}

.tco-detail-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.tco-detail-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--nova-green);
}

.tco-value-thermal {
    color: #f87171;
}

/* VS Divider */
.tco-vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 0;
}

.tco-vs-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.tco-vs-badge {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(30, 30, 35, 1) 0%, rgba(15, 15, 20, 1) 100%);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tco-vs-badge span {
    font-size: 0.9rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

/* Savings Showcase */
.tco-savings-showcase {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 40px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.04) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.tco-savings-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.tco-savings-particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(52, 211, 153, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(110, 231, 183, 0.08) 0%, transparent 40%);
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(10px, -10px);
    }

    50% {
        transform: translate(-5px, 5px);
    }

    75% {
        transform: translate(5px, 10px);
    }
}

.tco-savings-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.tco-savings-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 16px;
    color: var(--nova-green);
    transition: all 0.3s ease;
}

.tco-savings-showcase:hover .tco-savings-icon {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.12) 100%);
    transform: scale(1.05);
}

.tco-savings-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tco-savings-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.tco-savings-label span {
    color: var(--nova-green);
    font-weight: 700;
}

.tco-savings-amount-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.tco-savings-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--nova-green);
    line-height: 1;
    text-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
}

.tco-savings-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.tco-savings-note span {
    color: var(--nova-green);
    font-weight: 600;
}

.tco-savings-cta {
    flex-shrink: 0;
}

.tco-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--nova-green) 0%, #0d9668 100%);
    border: none;
    border-radius: 14px;
    color: #000;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.tco-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.35);
}

.tco-cta-btn svg {
    transition: transform 0.3s ease;
}

.tco-cta-btn:hover svg {
    transform: translateX(4px);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .tco-premium-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .tco-comparison-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tco-vs-divider {
        flex-direction: row;
        padding: 0;
    }

    .tco-vs-line {
        width: 80px;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    }

    .tco-savings-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .tco-savings-text {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .calc-tco-premium {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .tco-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .tco-icon-container {
        width: 52px;
        height: 52px;
    }

    .tco-icon-container svg {
        width: 26px;
        height: 26px;
    }

    .tco-title {
        font-size: 1.4rem;
    }

    .tco-toggle-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .tco-card {
        padding: 24px;
    }

    .tco-amount-value {
        font-size: 2.25rem;
    }

    .tco-savings-showcase {
        padding: 28px 24px;
    }

    .tco-savings-amount {
        font-size: 2rem;
    }

    .tco-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .calc-tco-premium {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .tco-premium-header {
        padding-bottom: 20px;
        margin-bottom: 24px;
    }

    .tco-icon-container {
        width: 44px;
        height: 44px;
    }

    .tco-icon-container svg {
        width: 22px;
        height: 22px;
    }

    .tco-eyebrow {
        font-size: 0.65rem;
    }

    .tco-title {
        font-size: 1.2rem;
    }

    .tco-subtitle {
        font-size: 0.8rem;
    }

    .tco-period-toggle {
        width: 100%;
    }

    .tco-toggle-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
        flex: 1;
        text-align: center;
    }

    .tco-card {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .tco-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .tco-card-badge {
        padding: 8px 14px;
        font-size: 0.7rem;
    }

    .tco-card-tag {
        padding: 5px 10px;
        font-size: 0.6rem;
    }

    .tco-amount-value {
        font-size: 1.9rem;
    }

    .tco-amount-currency {
        font-size: 1rem;
    }

    .tco-card-details li {
        padding: 10px 12px;
    }

    .tco-detail-label {
        font-size: 0.8rem;
    }

    .tco-detail-value {
        font-size: 0.85rem;
    }

    .tco-vs-badge {
        width: 44px;
        height: 44px;
    }

    .tco-vs-badge span {
        font-size: 0.75rem;
    }

    .tco-vs-line {
        width: 50px;
    }

    .tco-savings-showcase {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .tco-savings-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .tco-savings-icon svg {
        width: 22px;
        height: 22px;
    }

    .tco-savings-label {
        font-size: 0.8rem;
    }

    .tco-savings-amount {
        font-size: 1.6rem;
    }

    .tco-savings-note {
        font-size: 0.75rem;
    }

    .tco-cta-btn {
        padding: 14px 24px;
        font-size: 0.85rem;
        border-radius: 12px;
    }
}

/* ========== CHARTS ========== */
.calc-charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .calc-charts-grid {
        grid-template-columns: 1fr;
    }
}

.calc-chart-wrapper {
    height: 300px;
    position: relative;
}

.calc-chart-canvas {
    width: 100% !important;
    height: 100% !important;
}

/* ========== ENVIRONMENTAL SECTION ========== */
.calc-env-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .calc-env-grid {
        grid-template-columns: 1fr;
    }
}

.calc-env-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.calc-env-electric {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.03) 100%);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.calc-env-thermal {
    background: linear-gradient(180deg, rgba(225, 29, 72, 0.1) 0%, rgba(225, 29, 72, 0.03) 100%);
    border: 1px solid rgba(225, 29, 72, 0.15);
}

.calc-env-saved {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.03) 100%);
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.calc-env-card:hover {
    transform: translateY(-4px);
}

.calc-env-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: 16px;
}

.calc-env-electric .calc-env-icon {
    background: rgba(16, 185, 129, 0.15);
    color: var(--nova-green);
}

.calc-env-thermal .calc-env-icon {
    background: rgba(225, 29, 72, 0.15);
    color: #e11d48;
}

.calc-env-saved .calc-env-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.calc-env-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.calc-env-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.calc-env-electric .calc-env-value {
    color: var(--nova-green);
}

.calc-env-thermal .calc-env-value {
    color: #e11d48;
}

.calc-env-saved .calc-env-value {
    color: #22c55e;
}

.calc-env-unit {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== RESOURCES GRID ========== */
.calc-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .calc-resources-grid {
        grid-template-columns: 1fr;
    }
}

.resource-card {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 4/3;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.resource-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(16, 185, 129, 0.1);
}

.resource-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: all 0.4s ease;
}

.resource-card:hover img {
    opacity: 0.8;
    transform: scale(1.05);
}

.resource-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.9) 100%);
}

.resource-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
}

.resource-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.resource-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--nova-green);
    font-size: 0.85rem;
    font-weight: 500;
}

.resource-link svg {
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-link svg {
    transform: translateX(4px);
}

/* ========== ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="delay-1"] {
    transition-delay: 0.1s;
}

[data-animate="delay-2"] {
    transition-delay: 0.2s;
}

[data-animate="delay-3"] {
    transition-delay: 0.3s;
}

[data-animate="delay-4"] {
    transition-delay: 0.4s;
}

[data-animate="delay-5"] {
    transition-delay: 0.5s;
}

[data-animate="delay-6"] {
    transition-delay: 0.6s;
}

/* ========== MOBILE OPTIMIZATIONS ========== */
@media (max-width: 480px) {
    .calc-panel {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .calc-panel-header {
        gap: 12px;
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .calc-panel-icon {
        width: 44px;
        height: 44px;
    }

    .calc-panel-title {
        font-size: 1.15rem;
    }

    .calc-input {
        padding: 16px 18px;
        font-size: 1rem;
    }

    .calc-savings-amount {
        font-size: 2.5rem;
    }

    .calc-ring-value {
        font-size: 2.5rem;
    }
}