/* ===============================================
   CALORIE CALCULATOR - USING MODERNTOOLS UNIFIED THEME
   =============================================== */

/* Use modern tools color scheme */
:root {
    --primary-color: #3B82F6;
    --secondary-color: #10B981;
    --accent-color: #8B5CF6;
    --text-color: #111827;
    --text-secondary: #4B5563;
    --text-tertiary: #6B7280;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-base: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;    
    --radius-2xl: 1.5rem;
    
    /* Gray color scale for consistency */
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    
    /* Additional colors for calorie calculator functionality */
    --danger-color: #EF4444;
    --danger-light: #FCA5A5;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    
    /* Calorie-specific colors */
    --protein-color: #EF4444;
    --carbs-color: #10B981;
    --fats-color: #F59E0B;
    
    /* Aliases for compatibility with existing calorie calculator code */
    --brand-primary: var(--primary-color);
    --brand-secondary: var(--secondary-color);
    --text-primary: var(--text-color);
}

/* Dark theme using exact same colors as percentage calculator */
[data-theme="dark"] {
    --text-color: #F9FAFB;
    --text-secondary: #D1D5DB;
    --text-tertiary: #9CA3AF;
    --bg-primary: #111827;
    --bg-secondary: #1F2937;
    --bg-tertiary: #374151;
    --border-color: #374151;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    
    /* Gray color scale for dark theme */
    --gray-100: #374151;
    --gray-200: #4B5563;
    --gray-300: #6B7280;
    --gray-400: #9CA3AF;
}

/* Theme-aware background support for the entire calculator */
body {
    background: var(--bg-primary);
    font-display: swap; /* Improve font loading performance */
    text-rendering: optimizeSpeed; /* Optimize text rendering for performance */
}

/* Dark theme override for body */
[data-theme="dark"] body {
    background: var(--bg-primary);
}

/* Main Layout */
.main-content {
    min-height: 100vh;
}

/* ===============================================
   HERO SECTION STYLES
   =============================================== */

.tool-hero {
    margin-top: 0;
    padding: 120px 0 80px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(59, 130, 246, 0.1) 30%, rgba(16, 185, 129, 0.1) 70%, var(--bg-primary) 100%);
    overflow: hidden;
}

.tool-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px auto;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    position: relative;
}

.hero-icon i {
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

/* ===============================================
   CALCULATOR MAIN SECTION
   =============================================== */

.calculator-main {
    padding: 80px 0 120px;
    background: var(--bg-primary);
    position: relative;
}

.calculator-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

/* ===============================================
   MODE TOGGLE (UNIT TOGGLE)
   =============================================== */

.calculator-mode-toggle {
    padding: 2rem 2rem 1rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.toggle-label.active {
    color: var(--primary-color);
}

.mode-toggle {
    width: 60px;
    height: 30px;
    background: var(--gray-200);
    border-radius: 15px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease;
}

.mode-toggle:hover {
    background: var(--gray-300);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.mode-toggle.active .toggle-slider {
    transform: translateX(30px);
}

/* ===============================================
   CALCULATOR TABS
   =============================================== */

.calculator-tabs {
    display: flex;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.calculator-tabs::-webkit-scrollbar {
    display: none;
}

.tab-button {
    flex: 1;
    min-width: 120px;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.tab-button:hover {
    background: var(--bg-tertiary);
    color: var(--text-color);
}

.tab-button.active {
    color: var(--primary-color);
    background: var(--bg-primary);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

/* ===============================================
   CALCULATOR CARD
   =============================================== */

.calculator-card {
    background: var(--bg-primary);
}

/* ===============================================
   DISPLAY AREA
   =============================================== */

.calculator-display {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-bottom: 1px solid var(--border-color);
}

.display-result {
    margin-bottom: 1rem;
}

.result-value {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    display: inline-block;
    line-height: 1;
}

.result-unit {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-left: 0.5rem;
}

.display-formula {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===============================================
   INPUT SECTIONS
   =============================================== */

.calculator-inputs {
    position: relative;
    min-height: 400px;
}

.input-section {
    display: none;
    padding: 2rem;
}

.input-section.active {
    display: block;
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.input-group {
    position: relative;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    color: var(--text-color);
    background: var(--bg-primary);
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-unit {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
    pointer-events: none;
    margin-top: 12px;
}

/* Hide number input spinners for all browsers */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* ===============================================
   RESULTS GRID
   =============================================== */

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.result-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
}

.result-card .result-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: block;
}

.result-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.result-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ===============================================
   CHART CONTAINER
   =============================================== */

.chart-container {
    margin: 2rem 0;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.chart-container h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
}

.calorie-chart {
    max-width: 500px;
    margin: 0 auto;
}

.chart-bar {
    display: flex;
    height: 50px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

.bar-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.bmr-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.activity-bar {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.bmr-color {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.activity-color {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* ===============================================
   MACROS GRID
   =============================================== */

.macros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.macro-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    border: 2px solid;
    transition: all 0.3s ease;
}

.macro-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.macro-card.protein {
    border-color: var(--protein-color);
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.macro-card.carbs {
    border-color: var(--carbs-color);
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.macro-card.fats {
    border-color: var(--fats-color);
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.macro-card h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.macro-card.protein h4 { color: var(--protein-color); }
.macro-card.carbs h4 { color: var(--carbs-color); }
.macro-card.fats h4 { color: var(--fats-color); }

.macro-calories {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.macro-grams {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.macro-percentage {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* ===============================================
   RECOMMENDATIONS
   =============================================== */

.recommendation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.recommendation-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.recommendation-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.recommendation-card h4 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.recommendation-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ===============================================
   WEEKLY PROJECTION
   =============================================== */

.weekly-projection {
    margin: 2rem 0;
}

.weekly-projection h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
}

.projection-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.projection-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* ===============================================
   CALCULATOR ACTIONS
   =============================================== */

.calculator-actions {
    padding: 0 2rem 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.calculate-btn {
    flex: 2;
    min-width: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: var(--radius-xl);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.clear-btn {
    flex: 1;
    min-width: 120px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.calculate-btn:active {
    transform: translateY(0);
}

.clear-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-secondary);
    color: var(--text-color);
    transform: translateY(-1px);
}

.clear-btn:active {
    transform: translateY(0);
    background: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
}

/* Brief feedback animation for clear action */
.clearing {
    animation: clearPulse 0.3s ease-out;
}

@keyframes clearPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); background: var(--danger-light); }
    100% { transform: scale(1); }
}

.calculate-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.calculate-btn.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===============================================
   ERROR STATES
   =============================================== */

.input-group.error input,
.input-group.error select {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.input-group.error .error-message {
    display: block;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 768px) {
    .tool-hero {
        padding: 100px 0 60px;
    }
    
    .hero-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 2rem;
    }
    
    .hero-icon i {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .calculator-main {
        padding: 60px 0 80px;
    }
    
    .calculator-container {
        margin: 0 1rem;
        border-radius: var(--radius-xl);
    }
      .calculator-mode-toggle,
    .calculator-display,
    .input-section,
    .calculator-actions {
        padding: 1.5rem;
    }
    
    .calculator-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .calculate-btn,
    .clear-btn {
        flex: none;
        width: 100%;
        min-width: auto;
    }
    
    .input-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .results-grid,
    .macros-grid,
    .recommendation-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .result-value {
        font-size: 3rem;
    }
    
    .calculator-tabs {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: 1;
        min-width: 100px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .chart-legend {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .calculator-container {
        margin: 0 0.5rem;
    }
    
    .calculator-mode-toggle,
    .calculator-display,
    .input-section,
    .calculator-actions {
        padding: 1rem;
    }
    
    .result-value {
        font-size: 2.5rem;
    }
    
    .chart-bar {
        height: 40px;
    }
    
    .bar-segment {
        font-size: 0.75rem;
    }
    
    .hero-icon {
        width: 60px;
        height: 60px;
    }
    
    .hero-icon i {
        font-size: 1.5rem;
    }
    
    .tips-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .tips-section .recommendation-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .tips-section .recommendation-card {
        padding: 1.5rem;
    }
    
    .tips-section .weekly-projection h3 {
        font-size: 1.5rem;
    }
    
    .tips-section .projection-card {
        padding: 2rem;
    }
    
    .tips-section .projection-text {
        font-size: 1rem;
    }
}

/* ===============================================
   TOUCH-FRIENDLY ENHANCEMENTS
   =============================================== */

@media (hover: none) and (pointer: coarse) {
    .input-group input,
    .input-group select {
        padding: 1.25rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .calculate-btn {
        padding: 1.5rem 2rem;
        font-size: 18px;
    }
    
    .tab-button {
        padding: 1rem 1.5rem;
        font-size: 16px;
    }
}

/* ===============================================
   TIPS SECTION (STANDALONE)
   =============================================== */

.tips-section {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.tips-container {
    max-width: 900px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tips section specific styling for recommendation cards */
.tips-section .recommendation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tips-section .recommendation-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.tips-section .recommendation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.tips-section .recommendation-card h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.tips-section .recommendation-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Tips section specific styling for weekly projection */
.tips-section .weekly-projection {
    margin: 0;
}

.tips-section .weekly-projection h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 700;
    font-size: 2rem;
}

.tips-section .projection-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.tips-section .projection-text {
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* ===============================================
   MOBILE ANIMATION OPTIMIZATION - CALORIE CALCULATOR
   Remove unnecessary animations on mobile for better performance
   =============================================== */

/* Disable non-essential animations on mobile devices */
@media (max-width: 768px) and (hover: none) and (pointer: coarse) {
    /* Simplify hero animations on mobile */
    .tool-hero::before,
    .hero-icon::before,
    .hero-icon::after {
        animation: none !important;
    }
      /* Remove all animations for reduced motion */
    .hero-icon {
        animation: none;
    }
    
    .hero-content h1 {
        animation: none;
        background: transparent;
        color: var(--text-color);
    }
    
    .hero-content p {
        animation: none;
        opacity: 1;
    }
    
    .hero-icon i {
        animation: none;
    }
}

/* ===============================================
   ACCESSIBILITY - REDUCED MOTION PREFERENCES
   =============================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Hide calculator-actions when resultsSection is active */
#resultsSection.active ~ .calculator-actions {
  display: none !important;
}
