/* =====================================================
   HOME.CSS - InfraPilot Professional
   ===================================================== */

:root {
    --primary-blue: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --dark-bg: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --success-green: #10b981;
    --warning-amber: #f59e0b;
}

/* =====================================================
   HERO - INTEGRATED LAYOUT
   ===================================================== */

.home-hero {
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 48px 0 64px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Hero Content - Left Side */
.hero-content {
    max-width: 500px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    padding: 6px 6px 6px 14px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-eyebrow i {
    font-size: 14px;
    color: var(--primary-blue);
}

.eyebrow-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    letter-spacing: -0.01em;
}

.eyebrow-badge {
    font-size: 10px;
    font-weight: 700;
    color: white;
    background: var(--primary-blue);
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.title-highlight {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 0;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.metric {
    text-align: center;
    padding: 12px 20px;
    flex: 1;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    display: block;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 10px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
    display: block;
}

.metric-divider {
    width: 1px;
    height: 32px;
    background: var(--gray-200);
}

/* =====================================================
   CALCULATOR CARD - Right Side
   ===================================================== */

.hero-calculator {
    position: relative;
}

.calculator-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* Mode Toggle */
.calc-mode-toggle {
    display: flex;
    border-bottom: 1px solid var(--gray-100);
}

.calc-mode-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    background: var(--gray-50);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.calc-mode-btn.active {
    background: white;
}

.calc-mode-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-blue);
}

.calc-mode-btn i {
    font-size: 16px;
    color: var(--gray-400);
}

.calc-mode-btn.active i {
    color: var(--primary-blue);
}

.calc-mode-btn span:not(.mode-tag) {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
}

.calc-mode-btn.active span:not(.mode-tag) {
    color: var(--gray-900);
}

.mode-tag {
    font-size: 9px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    background: var(--gray-100);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mode-tag.recommended {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
}

.calc-mode-btn.active .mode-tag.recommended {
    background: var(--success-green);
    color: white;
}

/* Mode Content */
.calc-mode-content {
    display: none;
    padding: 24px;
}

.calc-mode-content.active {
    display: block;
}

.summary-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--gray-50);
    border-radius: 6px;
    font-size: 12px;
    color: var(--gray-600);
}

.summary-chip i {
    font-size: 14px;
    color: var(--gray-400);
}

.recommended-tier {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(37, 99, 235, 0.08));
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    margin-bottom: 20px;
}

.tier-badge-result {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-blue);
    background: white;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tier-name-result {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.tier-specs-result {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.spec-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: white;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    border: 1px solid var(--gray-100);
}

.spec-pill i {
    font-size: 14px;
    color: var(--gray-400);
}

.tier-desc-result {
    font-size: 13px;
    color: var(--gray-500);
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Step Navigation */
.step-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
}



/* =====================================================
   EXPERT MODE
   ===================================================== */

.expert-grid {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 24px;
}

.expert-sliders {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.slider-control {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-header label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

.slider-header label i {
    font-size: 16px;
    color: var(--gray-400);
}

.slider-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
}

.control-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-200);
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 8px;
}

.control-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.slider-scale {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--gray-400);
}

.cpu-type-toggle,
.storage-type {
    margin-top: 12px;
}

.cpu-type-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--gray-50);
    border-radius: 8px;
}

.cpu-type-toggle span {
    font-size: 12px;
    color: var(--gray-600);
}

.toggle-switch {
    width: 40px;
    height: 22px;
    background: var(--gray-300);
    border-radius: 11px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease;
}

.toggle-switch.active {
    background: var(--primary-blue);
}

.toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.toggle-switch.active .toggle-knob {
    transform: translateX(18px);
}

.storage-type {
    display: flex;
    gap: 8px;
}

.storage-type-btn {
    flex: 1;
    padding: 8px 12px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.storage-type-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* Expert Sidebar */
.expert-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filters-panel {
    background: var(--gray-50);
    border-radius: 10px;
    padding: 16px;
    border: 1px solid var(--gray-100);
}

.filters-panel h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.filters-panel h4 i {
    font-size: 14px;
    color: var(--gray-400);
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-600);
    cursor: pointer;
    margin-bottom: 8px;
}

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

.filter-item input {
    width: 14px;
    height: 14px;
    accent-color: var(--primary-blue);
}

.live-results-panel {
    background: white;
    border-radius: 10px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.live-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--success-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.live-header span {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.live-match {
    padding: 12px;
    background: var(--gray-50);
    border-radius: 8px;
    margin-bottom: 8px;
}

.live-match.top {
    background: rgba(37, 99, 235, 0.04);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.match-rank {
    font-size: 9px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.live-match.top .match-rank {
    color: var(--primary-blue);
}

.match-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-900);
    display: block;
}

.match-specs {
    font-size: 11px;
    color: var(--gray-500);
    display: block;
    margin-top: 2px;
}

.btn-expert-calculate {
    width: 100%;
    padding: 12px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.btn-expert-calculate:hover {
    background: var(--primary-dark);
}

/* =====================================================
   SECTIONS
   ===================================================== */

.technical-section {
    background: var(--gray-50);
    padding: 100px 0;
    border-top: 1px solid var(--gray-100);
}

.tiers-section {
    background: white;
    padding: 100px 0;
}

.features-section {
    background: var(--dark-bg);
    padding: 100px 0;
}

/* Section intro en fondo oscuro */
.features-section .section-tag {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
}

.features-section .section-tag i {
    color: var(--primary-blue);
}

.features-section .section-heading {
    color: white;
}

.features-section .section-subheading {
    color: var(--gray-400);
}

.final-cta {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
    padding: 80px 0;
    border-top: 1px solid var(--gray-200);
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    background: white;
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid var(--gray-200);
}

.section-heading {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 14px;
}

.section-subheading {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 500px;
    margin: 0 auto;
}

/* Process Flow */
.process-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.flow-step {
    flex: 1;
    max-width: 320px;
    background: white;
    border-radius: 14px;
    padding: 28px 24px;
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.flow-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.flow-step .step-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.flow-step .step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.flow-step .step-description {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
}

.flow-arrow {
    display: flex;
    align-items: center;
    padding-top: 50px;
    color: var(--gray-300);
    font-size: 20px;
}

/* Tier Matrix */
.tier-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tier-item {
    background: var(--gray-50);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
    position: relative;
}

.tier-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.tier-recommended {
    background: white;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
    padding-top: 36px;
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    white-space: nowrap;
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
}

.tier-label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.tier-icon {
    font-size: 18px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.tier-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    white-space: nowrap;
}

.tier-price {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.1);
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.tier-recommended .tier-price {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
}

.tier-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--gray-100);
}

.spec-key {
    font-size: 11px;
    color: var(--gray-500);
}

.tier-specs .spec-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-900);
}

.tier-description {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-box {
    background: var(--gray-800);
    border-radius: 14px;
    padding: 28px;
    border: 1px solid var(--gray-700);
    transition: all 0.2s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
    border-color: var(--gray-600);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 10px;
    margin-bottom: 18px;
}

.feature-icon i {
    font-size: 20px;
    color: var(--primary-blue);
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.7;
    margin: 0;
}

/* CTA */
.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: white;
    padding: 44px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.cta-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.cta-subheading {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-blue);
    color: white;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1200px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-metrics {
        justify-content: center;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title br {
        display: none;
    }

    .tier-matrix {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-calculator {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .home-hero {
        padding: 32px 0 48px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-lead {
        font-size: 0.95rem;
    }

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

    .expert-sidebar {
        flex-direction: row;
        gap: 16px;
    }

    .filters-panel,
    .live-results-panel {
        flex: 1;
    }

    .process-flow {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .flow-arrow {
        display: none;
    }

    .flow-step {
        max-width: 400px;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-intro {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    /* Use more horizontal space on mobile */
    .container {
        padding-left: 12px;
        padding-right: 12px;
        max-width: 100%;
    }

    .home-hero {
        padding: 20px 0 28px;
    }

    .hero-content {
        padding: 0 4px;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .hero-lead {
        font-size: 0.9rem;
        margin-bottom: 20px;
        padding: 0 8px;
    }

    .hero-eyebrow {
        padding: 5px 5px 5px 12px;
        margin-bottom: 14px;
    }

    .eyebrow-text {
        font-size: 12px;
    }

    .eyebrow-badge {
        font-size: 9px;
        padding: 3px 8px;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0 4px;
    }

    .metric {
        padding: 10px 14px;
        border-bottom: 1px solid var(--gray-100);
    }

    .metric:last-child {
        border-bottom: none;
    }

    .metric-value {
        font-size: 1.1rem;
    }

    .metric-divider {
        display: none;
    }

    /* Calculator Card - Mobile - Full width */
    .hero-calculator {
        margin: 0 -4px;
    }

    .calculator-card {
        border-radius: 12px;
        margin: 0;
    }

    .calc-mode-toggle {
        flex-direction: row;
    }

    .calc-mode-btn {
        padding: 12px 8px;
        flex-direction: column;
        gap: 4px;
    }

    .calc-mode-btn span:not(.mode-tag) {
        font-size: 12px;
    }

    .mode-tag {
        font-size: 8px;
        padding: 2px 5px;
    }

    .calc-mode-content {
        padding: 16px;
    }

    /* Wizard Steps Bar - Mobile */
    .wizard-steps-bar {
        gap: 4px;
        padding: 0;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
    }

    .step-line {
        width: 16px;
        min-width: 16px;
    }

    .step-name {
        display: none;
    }

    .step-circle {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    /* Region & Workload Grids - Mobile */
    .region-grid,
    .workload-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .region-card,
    .workload-card {
        padding: 12px;
    }

    .region-icon,
    .workload-icon {
        width: 36px;
        height: 36px;
    }

    .region-name,
    .workload-title {
        font-size: 14px;
    }

    .region-countries,
    .workload-desc {
        font-size: 11px;
    }

    /* Resource Suggestions - Mobile */
    .resource-suggestions {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .suggestion-value {
        font-size: 1rem;
    }

    .suggestion-label {
        font-size: 10px;
    }

    /* Tier Matrix - Mobile */
    .tier-matrix {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tier-item {
        padding: 16px;
    }

    .tier-header {
        margin-bottom: 12px;
    }

    .tier-name {
        font-size: 1rem;
    }

    .tier-specs {
        gap: 6px;
    }

    .spec-row {
        font-size: 12px;
        padding: 6px 0;
    }

    .tier-description {
        font-size: 12px;
    }

    /* Sections - Mobile */
    .technical-section,
    .tiers-section,
    .features-section {
        padding: 40px 0;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .section-subheading {
        font-size: 0.9rem;
    }

    .section-tag {
        font-size: 11px;
        padding: 6px 12px;
    }

    /* Flow Steps - Mobile */
    .flow-step {
        padding: 20px;
    }

    .step-number {
        font-size: 2rem;
    }

    .step-title {
        font-size: 1rem;
    }

    .step-description {
        font-size: 13px;
    }

    /* Feature Boxes - Mobile */
    .feature-box {
        padding: 20px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
    }

    .feature-icon i {
        font-size: 20px;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-text {
        font-size: 13px;
    }

    /* CTA - Mobile */
    .cta-container {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
        gap: 20px;
    }

    .cta-heading {
        font-size: 1.25rem;
    }

    .cta-subheading {
        font-size: 0.9rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .home-hero {
        padding: 16px 0 24px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-lead {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .hero-eyebrow {
        transform: scale(0.95);
    }

    .calculator-card {
        margin: 0 -12px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .calc-mode-content {
        padding: 12px;
    }

    /* Traffic Slider - Mobile */
    .traffic-number {
        font-size: 1.75rem;
    }

    .traffic-unit {
        font-size: 1rem;
    }

    /* Tier Results - Mobile */
    .tier-specs-result {
        flex-direction: column;
        gap: 6px;
    }

    .spec-pill {
        width: 100%;
        justify-content: center;
        padding: 10px 12px;
    }

    .tier-name-result {
        font-size: 1.25rem;
    }

    /* Resource Suggestions - Mobile Small */
    .resource-suggestions {
        grid-template-columns: repeat(2, 1fr);
    }

    .suggestion-item {
        padding: 12px 8px;
    }

    .suggestion-icon {
        width: 32px;
        height: 32px;
    }

    .suggestion-icon i {
        font-size: 14px;
    }

    /* Sections - Mobile Small */
    .section-heading {
        font-size: 1.3rem;
    }

    .section-tag {
        font-size: 10px;
    }

    /* Navigation Buttons - Mobile */
    .step-nav,
    .wizard-actions {
        flex-direction: column;
        gap: 8px;
    }

    .step-nav button,
    .wizard-actions button {
        width: 100%;
    }

    .btn-calculate {
        order: -1;
    }
}