* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta Cromática Principal - SteinCares */
    --stein-blue: #001A70;
    --dark-indigo: #011E41;
    --cool-gray: #898A8D;
    
    /* Paleta Cromática Secundaria */
    --light-blue: #007CBA;
    --shiny-blue: #00B2E3;
    --dark-gray: #545759;
    --pink-highlight: #FB5373;
    --stein-purple: #A25EB5;
    
    /* Colores de soporte */
    --white: #FFFFFF;
    --black: #000000;
    --text-dark: #1A1A2E;
    --text-medium: #5A5A6E;
    --text-light: #898A8D;
    --background-light: #F5F5F5;
    --green-success: #4CAF50;
    
    /* Gradientes */
    --gradient-stein: linear-gradient(135deg, #001A70 0%, #00B2E3 100%);
    --gradient-dark: linear-gradient(135deg, #001A70 0%, #011E41 100%);
    --gradient-light: linear-gradient(135deg, #E8F1FC 0%, #D1E3F7 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0,26,112,0.08);
    --shadow-md: 0 8px 24px rgba(0,26,112,0.12);
    --shadow-lg: 0 16px 48px rgba(0,26,112,0.16);
    
    /* Sistema */
    --header-h: 90px;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--stein-blue);
}

/* ====================================
   HEADER / NAVIGATION
   ==================================== */
.header {
    background: var(--white);
    padding: 0.75rem 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo-steincares-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--stein-blue);
}

/* ====================================
   OMNITROPE HERO SECTION
   ==================================== */
.omnitrope-hero {
    min-height: 95vh;
    background: linear-gradient(135deg, #F8FBFF 0%, #EDF5FC 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.omnitrope-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.omnitrope-content .omnitrope-title {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.omnitrope-content .omnitrope-title .highlight-text {
    background: var(--gradient-stein);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.omnitrope-content .omnitrope-title .normal-text {
    color: var(--text-dark);
}

.omnitrope-content .omnitrope-subtitle {
    font-size: 2rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.omnitrope-description {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.omnitrope-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.omnitrope-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.omnitrope-features .check-icon {
    width: 28px;
    height: 28px;
    background: var(--shiny-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.omnitrope-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-showcase {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    width: 100%;
}

.omnitrope-product-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0,26,112,0.15));
    transition: transform 0.3s ease;
}

.omnitrope-product-img:hover {
    transform: scale(1.02);
}

/* ====================================
   HERO SECTION (SUREPAL)
   ==================================== */
.hero {
    min-height: 95vh;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,26,112,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.05); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
    animation: slideUp 0.8s ease-out;
}

.hero-content .highlight {
    color: var(--stein-blue);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-weight: 400;
    animation: slideUp 0.8s ease-out 0.2s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--stein-blue);
}

.stat-card .number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--stein-blue);
    font-family: 'Open Sans', Arial, sans-serif;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-card .label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.device-showcase {
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.surepal-device-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ====================================
   FEATURES SECTION
   ==================================== */
.features {
    padding: 4rem 2rem;
    background: var(--white);
    min-height: 90vh;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--stein-blue);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-medium);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    border: 2px solid var(--background-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-light);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--stein-blue);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-header {
    background: var(--gradient-stein);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.feature-header h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
}

.feature-card p {
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ====================================
   LOW WASTE SECTION
   ==================================== */
.low-waste-section {
    padding: 4rem 2rem;
    background: var(--gradient-dark);
    min-height: 80vh;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.low-waste-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 40px 40px;
    opacity: 0.3;
}

.low-waste-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.low-waste-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.low-waste-text h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.low-waste-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.waste-comparison {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 24px;
    border: 2px solid rgba(255,255,255,0.2);
}

.comparison-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
}

.comparison-item:last-child {
    margin-bottom: 0;
}

.device-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.device-icon.surepal {
    background: var(--shiny-blue);
}

.comparison-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.comparison-text .waste-percentage {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    font-family: 'Open Sans', Arial, sans-serif;
}

.comparison-text p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Study Citation */
.study-citation {
    background: rgba(0,26,112,0.05);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--stein-blue);
    margin-top: 3rem;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.study-citation strong {
    color: var(--text-dark);
}

.low-waste-section .study-citation {
    background: rgba(255,255,255,0.1);
    border-left-color: var(--shiny-blue);
    color: rgba(255,255,255,0.9);
}

.low-waste-section .study-citation strong {
    color: var(--white);
}

/* ====================================
   ECONOMIC MODEL SECTION
   ==================================== */
.economic-model {
    padding: 0.5rem 2rem 3rem 2rem;
    background: var(--background-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-grid-new {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* ====================================
   CONTROL PANEL - ULTRA COMPACTO
   ==================================== */
.control-panel {
    background: var(--white);
    border-radius: 16px;
    padding: 0.8rem;
    box-shadow: var(--shadow-md);
    height: 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.control-panel h3 {
    color: var(--stein-blue);
    font-size: 1rem;
    margin-bottom: 0.1rem;
    line-height: 1.2;
}

.control-panel .subtitle {
    color: var(--cool-gray);
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.control-group {
    margin-bottom: 0.5rem;
}

.control-label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    display: block;
    line-height: 1.2;
}

/* Dropdown */
.custom-select {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid var(--background-light);
    border-radius: 8px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.8rem;
    color: var(--text-dark);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select:hover {
    border-color: var(--shiny-blue);
}

.custom-select:focus {
    outline: none;
    border-color: var(--stein-blue);
    box-shadow: 0 0 0 2px rgba(0,26,112,0.1);
}

/* Control de Peso/Horizonte */
.weight-control {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    gap: 0.4rem;
    align-items: center;
    justify-items: center;
}

.weight-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--background-light);
    color: var(--stein-blue);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.weight-btn:hover {
    background: var(--stein-blue);
    color: var(--white);
}

.weight-input {
    width: 65px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--stein-blue);
    border: 2px solid var(--background-light);
    border-radius: 8px;
    background: var(--white);
    font-family: 'Open Sans', Arial, sans-serif;
    padding: 0.2rem;
    transition: all 0.3s ease;
}

.weight-input:focus {
    outline: none;
    border-color: var(--stein-blue);
    box-shadow: 0 0 0 2px rgba(0,26,112,0.1);
}

/* Slider de dosis */
.dose-slider-container {
    margin-top: 0.3rem;
}

.dose-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.dose-label-left,
.dose-label-right {
    font-size: 0.7rem;
    color: var(--text-medium);
    font-weight: 600;
}

.dose-label-center {
    font-size: 1.1rem;
    color: var(--stein-blue);
    font-weight: 800;
}

.dose-slider {
    width: 100%;
    height: 5px;
    border-radius: 4px;
    background: var(--background-light);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.dose-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--stein-blue);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,26,112,0.3);
    transition: all 0.3s ease;
}

.dose-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 8px rgba(0,26,112,0.4);
}

.dose-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--stein-blue);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0,26,112,0.3);
    transition: all 0.3s ease;
}

.dose-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--stein-blue) 0%, var(--stein-blue) var(--slider-percent, 50%), var(--background-light) var(--slider-percent, 50%), var(--background-light) 100%);
    border-radius: 4px;
}

.dose-slider::-moz-range-track {
    width: 100%;
    height: 5px;
    background: var(--background-light);
    border-radius: 4px;
}

/* Controles de precios - GRID 2x2 */
.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-input-group {
    margin-bottom: 0;
}

.price-label {
    font-size: 0.7rem;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.2rem;
    font-weight: 600;
    line-height: 1.1;
}

.price-input {
    width: 100%;
    padding: 0.4rem 0.5rem;
    border: 2px solid var(--background-light);
    border-radius: 8px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--stein-blue);
    background: var(--white);
    transition: all 0.3s ease;
    text-align: center;
}

.price-input:focus {
    outline: none;
    border-color: var(--stein-blue);
    box-shadow: 0 0 0 2px rgba(0,26,112,0.1);
}

.price-input:hover {
    border-color: var(--shiny-blue);
}

/* Botón Reset */
.reset-btn {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.5rem;
    border: 2px solid var(--background-light);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-medium);
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.reset-btn:hover {
    background: var(--stein-blue);
    color: var(--white);
    border-color: var(--stein-blue);
}

.reset-btn:active {
    transform: scale(0.98);
}

/* Eliminar flechas de inputs numéricos */
.weight-input::-webkit-outer-spin-button,
.weight-input::-webkit-inner-spin-button,
.price-input::-webkit-outer-spin-button,
.price-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.weight-input[type=number],
.price-input[type=number] {
    -moz-appearance: textfield;
}

/* ====================================
   DASHBOARD - ÁREA PRINCIPAL
   ==================================== */
.main-content-area {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.top-row {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1rem;
    min-height: 350px;
}

.hero-chart {
    background: var(--white);
    border-radius: 24px;
    padding: 0.8rem 0.6rem 0.3rem 0.6rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.hero-chart #cost-chart-echarts {
    flex: 1;
    min-height: 200px;
}

.chart-title {
    color: var(--stein-blue);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Info Cards */
.info-cards-column {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.2rem 1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    flex: 1;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.summary-icon-top {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.summary-icon-top.green {
    background: rgba(76, 175, 80, 0.15);
}

.summary-icon-top.blue {
    background: rgba(0, 26, 112, 0.1);
}

.summary-content-top {
    width: 100%;
}

.summary-content-top h5 {
    font-size: 0.85rem;
    color: var(--text-medium);
    font-weight: 600;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value-top {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1;
    margin-bottom: 0.2rem;
    color: var(--stein-blue);
}

.summary-unit-top {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-medium);
}

.summary-desc-top {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0.2rem 0 0 0;
    display: none;
}

.info-card:first-child .summary-desc-top {
    display: block;
}

/* Bottom Row - MÁS COMPACTA */
.bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;  /* Era 1.5rem */
}

.secondary-chart-card {
    background: var(--white);
    border-radius: 24px;
    padding: 0.8rem 0.8rem 0.4rem 0.8rem;  /* Más compacto */
    box-shadow: var(--shadow-md);
}

.secondary-chart-card h4 {
    color: var(--stein-blue);
    font-size: 0.85rem;  /* Más pequeño */
    margin-bottom: 0.3rem;
}

/* Summary Box - MÁS COMPACTO */
.summary-box {
    background: linear-gradient(135deg, #E8F1FC 0%, #D1E3F7 100%);
    border-radius: 8px;
    padding: 0.6rem 1rem;  /* Era 0.8rem 1.5rem */
    box-shadow: var(--shadow-md);
    border: 2px solid var(--stein-blue);
    display: flex;
    align-items: center;
    gap: 0.8rem;  /* Era 1rem */
}

.summary-text {
    font-size: 0.85rem;  /* Era 0.95rem */
    line-height: 1.4;     /* Era 1.5 */
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

.summary-text strong {
    color: var(--stein-blue);
    font-weight: 700;
}

.summary-text .highlight-savings {
    color: var(--green-success);
    font-weight: 800;
    font-size: 1rem;  /* Era 1.1rem */
}

.summary-text .highlight-benefit {
    color: var(--stein-blue);
    font-weight: 700;
}

/* ====================================
   SCROLL ANIMATIONS
   ==================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   ONE-SCREEN MODE ADJUSTMENTS
   ==================================== */
section {
    min-height: calc(100vh - var(--header-h));
    scroll-margin-top: var(--header-h);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.25rem, 2.2vh, 2.25rem) 2rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 2.8vw, 2.8rem);
    margin-bottom: 0.9rem;
}

.hero-content .subtitle {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    margin-bottom: 1.25rem;
}

.stats-grid {
    gap: 1rem;
    margin-top: 1.25rem;
}

.stat-card {
    padding: 1.25rem;
}

.stat-card .number {
    font-size: 2.2rem;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.features-grid {
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
    padding: 1.25rem;
    border-radius: 18px;
}

.feature-header {
    padding: 0.9rem;
    margin-bottom: 0.9rem;
}

.feature-header h3 {
    font-size: 1.05rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.55;
}

.economic-model .section-header {
    margin: 0 auto 2rem;
    padding-top:0;
}

.economic-model .section-header h2 {
    font-size: clamp(2rem, 3vw, 3.5rem);
    margin-bottom: 0.75rem;
}

.economic-model .section-header p {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
}

/* ====================================
   LEGAL FOOTER
   ==================================== */
.legal-footer {
    background: var(--stein-blue);
    color: var(--white);
    padding: 3rem 2rem 2rem;
    margin-top: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 1.5rem;
    align-items: start;
}

.disclaimer-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--white);
}

.disclaimer-text p {
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem !important;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.disclaimer-text a {
    color: var(--shiny-blue);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.disclaimer-text a:hover {
    color: var(--white);
}

.footer-small {
    font-size: 0.75rem;
    line-height: 1.5;
    opacity: 0.9;
}

.footer-code {
    font-size: 0.8rem;
    margin-top: 1.5rem !important;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* QR Section */
.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.4;
}

.qr-codes {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qr-image {
    width: 240px;
    height: 240px;
    background: var(--white);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.qr-box {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--stein-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 3px dashed var(--cool-gray);
}

.qr-label {
    font-size: 0.75rem;
    color: var(--white);
    font-weight: 500;
    max-width: 120px;
    line-height: 1.3;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 1200px) {
    .dashboard-grid-new {
        grid-template-columns: 1fr;
    }
    
    .control-panel {
        position: relative;
        top: 0;
        max-height: none;
    }
    
    .top-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .info-cards-column {
        flex-direction: row;
        gap: 1rem;
    }
    
    .info-card {
        flex: 1;
    }
}

@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hero-container,
    .omnitrope-hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1,
    .omnitrope-content .omnitrope-title {
        font-size: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .low-waste-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .omnitrope-visual {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .qr-section {
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .header {
        padding: 0.5rem 1rem;
    }
    
    .logo-steincares-img {
        height: 28px;
    }

    .hero-content h1,
    .omnitrope-content .omnitrope-title {
        font-size: 2.5rem;
    }

    .hero-content .subtitle,
    .omnitrope-content .omnitrope-subtitle {
        font-size: 1.2rem;
    }

    .stats-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2,
    .low-waste-text h2 {
        font-size: 2.5rem;
    }

    .bottom-row,
    .info-cards-column {
        grid-template-columns: 1fr;
    }
    
    .legal-footer {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .qr-codes {
        flex-direction: column;
        gap: 1rem;
    }
    
    .disclaimer-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 720px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stat-card .number {
        font-size: 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}