:root {
    /* Colors */
    --color-bg: #0a1f1c;
    /* Deep Forest Green */
    --color-surface: #112e2a;
    --color-surface-glass: rgba(17, 46, 42, 0.7);
    --color-primary: #00ff9d;
    /* Electric Green */
    --color-primary-hover: #00cc7d;
    --color-secondary: #4facfe;
    /* Electric Blue */
    --color-text: #ffffff;
    --color-text-muted: #a0b3b0;
    --color-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}


.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hidden {
    display: none;
    opacity: 0;
}

/* Header */
.site-header {
    padding: var(--spacing-md) var(--spacing-lg);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: 500;
    font-family: var(--font-heading);
    transition: color 0.2s;
    color: var(--color-text-muted);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo .highlight {
    color: var(--color-primary);
}

/* Hero */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 157, 0.2);
}

.glowing-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.15) 0%, rgba(10, 31, 28, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Calculator */
.calculator-section {
    padding: var(--spacing-xl) 0;
}

.calculator-card {
    background: var(--color-surface-glass);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: var(--spacing-xl);
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.calculator-card h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.calculator-card p {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

.input-group {
    margin-bottom: var(--spacing-md);
}

.input-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--color-text-muted);
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text);
    font-size: 1.1rem;
    font-family: var(--font-body);
    transition: border-color 0.2s;
    resize: vertical;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group input.invalid:focus {
    outline: none;
    border-color: var(--color-primary);
}

.input-group input.invalid {
    border-color: #ef476f;
    background: rgba(239, 71, 111, 0.05);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-bg);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: var(--spacing-md);
    transition: opacity 0.2s;
}

.btn-submit:hover {
    opacity: 0.9;
}

/* Results */
.results-section {
    padding: var(--spacing-xl) 0;
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.savings-badge {
    display: inline-flex;
    align-items: baseline;
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-top: var(--spacing-sm);
}

.savings-badge .currency {
    font-size: 2rem;
    font-weight: 700;
}

.savings-badge #savings-amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.savings-badge .per-year {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    margin-left: var(--spacing-sm);
}

.graph-container {
    background: var(--color-surface);
    border-radius: 24px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    height: 400px;
    position: relative;
}

/* Tech Grid */
.tech-breakdown h3 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 2rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-lg);
    border-radius: 16px;
    text-align: center;
    transition: transform 0.2s;
}

.tech-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.tech-card .icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.tech-card h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.tech-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--color-text-muted);
    font-size: 0.8rem;
    border-top: 1px solid var(--color-border);
    margin-top: var(--spacing-xl);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .savings-badge #savings-amount {
        font-size: 3rem;
    }

    .graph-container {
        height: 300px;
        padding: var(--spacing-sm);
    }
}

/* Tech Groups Layout */
.tech-groups-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.tech-group h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Custom Checkbox Styling */
.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
    color: var(--color-text);
    transition: color 0.2s;
}

.custom-checkbox:hover {
    color: var(--color-primary);
}

/* Hide the browser's default checkbox */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    transition: all 0.2s;
}

/* On mouse-over, add a grey background color */
.custom-checkbox:hover input~.checkmark {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--color-primary);
}

/* When the checkbox is checked, add a blue background */
.custom-checkbox input:checked~.checkmark {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.custom-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid var(--color-bg);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.label-text {
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .tech-groups-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Lifetime Savings */
.lifetime-savings-container {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid var(--color-primary);
    border-radius: 16px;
    display: inline-block;
}

.lifetime-savings-container p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.lifetime-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text);
}

/* Dynamic Tech Cards */
.tech-card {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-lg);
    border-radius: 16px;
    text-align: center;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.tech-card .icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.tech-card h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.tech-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.tech-stats {
    width: 100%;
    margin-top: auto;
}

.mini-chart-container {
    height: 150px;
    width: 100%;
    margin-bottom: 1rem;
}

/* --- Hero Chart --- */
.hero-chart-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.chart-labels {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-hero {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    border: 0px solid rgba(255, 255, 255, 0.1);
}

.hero-chart-container {
    height: 250px;
    width: 100%;
    margin-bottom: 0.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--color-secondary);
}

.hero-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.old {
    background-color: #ef476f;
}

.dot.new {
    background-color: #06d6a0;
}

.comparison-container {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
}

.comparison-grid .col h4 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-align: center;
}

.comparison-grid .line-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.line-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 0.95rem;
}

.line-item .label {
    color: var(--text-primary);
}

.line-item .cost {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

.vs-divider {
    align-self: center;
    font-weight: 800;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.total-row {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.roi-summary {
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* --- Side-by-side stacked breakdown charts --- */
.stacked-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.stacked-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px;
    height: 300px;
    position: relative;
}

.stacked-card canvas {
    width: 100% !important;
    height: 100% !important;
}

.stacked-card h3 {
    margin: 0 0 8px 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 900px) {
    .stacked-row {
        grid-template-columns: 1fr;
    }
}

/* --- Tech Details Page --- */
.tech-hero {
    padding-top: 150px;
    padding-bottom: var(--spacing-xl);
}

.tech-jump-links {
    margin-top: var(--spacing-lg);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
}

.jump-link {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
}

.tech-details-section {
    padding-bottom: var(--spacing-xl);
}

.tech-detail-card {
    background: var(--color-surface-glass);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

@media (max-width: 768px) {
    .tech-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
}

.tech-detail-header h2 {
    color: var(--color-primary);
    margin-bottom: 0;
    font-size: 2.2rem;
    border-bottom: none;
    padding-bottom: 0;
}

.static-savings {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd166;
    background: rgba(255, 209, 102, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 209, 102, 0.2);
}

.tech-image-container {
    width: 100%;
    margin-bottom: var(--spacing-lg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.tech-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tech-image-container:hover .tech-hero-image {
    transform: scale(1.03);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.benefit-col {
    background: rgba(0, 0, 0, 0.25);
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-col h3 {
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefit-col.savings h3 {
    color: #ffd166;
}

.benefit-col.comfort h3 {
    color: #4facfe;
}

.benefit-col.environment h3 {
    color: #06d6a0;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Content Box */
.modal-content {
    background: var(--color-surface-glass);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: var(--spacing-xl);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--color-text);
}

.modal-content h2 {
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-content .modal-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

/* Lead form inline error banner (replaces browser alert()) */
.modal-form-error {
    display: none;
    background: rgba(239, 71, 111, 0.1);
    border: 1px solid rgba(239, 71, 111, 0.4);
    color: #ef476f;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-form-error.visible {
    display: block;
}

/* Lead form success state (replaces browser alert()) */
.modal-success {
    display: none;
    text-align: center;
    padding: 1rem 0 0.5rem;
}

.modal-success.visible {
    display: block;
}

.modal-success .success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    background: rgba(0, 255, 157, 0.12);
    color: var(--color-primary);
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-success p {
    color: var(--color-text-muted);
    max-width: 420px;
    margin: 0 auto 2rem auto;
}

/* Input group additions for select */
.input-group select {
    width: 100%;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text);
    font-size: 1.1rem;
    font-family: var(--font-body);
    transition: border-color 0.2s;
    appearance: none;
    padding-right: 2.5rem;
}

.input-group select option {
    background: var(--color-bg);
    color: var(--color-text);
}

.input-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.input-errors {
    color: #ef476f;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.input-errors.visible {
    display: block;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1rem;
    }

    .site-header {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .header-nav {
        gap: var(--spacing-md);
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .hero {
        flex-direction: column;
        padding-top: 100px;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .tech-groups-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .calculator-card {
        padding: var(--spacing-lg) var(--spacing-md);
        border-radius: 16px;
    }

    .modal-content {
        padding: var(--spacing-lg) var(--spacing-md);
        width: 95%;
        max-height: 95vh;
        border-radius: 16px;
    }

    .modal-close {
        top: 10px;
        right: 15px;
    }

    .graph-container {
        padding: var(--spacing-sm);
        border-radius: 12px;
        height: 250px;
        margin-bottom: var(--spacing-lg);
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tech-hero {
        padding-top: 100px;
    }

    .tech-detail-card {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .tech-detail-header h2 {
        font-size: 1.8rem;
    }

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