
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

:root {
    --bg-dark: #0A1410;
    --emerald: #10B981;
    --green: #059669;
    --teal: #14B8A6;
    --lime: #84CC16;
    --mint: #6EE7B7;
    --red: #DC2626;
    --orange: #F59E0B;
    --text-primary: #FFFFFF;
    --gradient-text: linear-gradient(90deg, #00D9FF 0%, #3B82F6 50%, #A855F7 100%);

}

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

/* Animated leaf pattern background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(20, 184, 166, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.1) 0%, transparent 50%);
    animation: organicGrowth 20s ease-in-out infinite;
}

@keyframes organicGrowth {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.6; }
    50% { transform: scale(1.1) rotate(2deg); opacity: 1; }
}

/* Floating particles */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(16, 185, 129, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(20, 184, 166, 0.3), transparent),
        radial-gradient(2px 2px at 80% 10%, rgba(132, 204, 22, 0.3), transparent);
    background-size: 300px 300px;
    animation: particleFloat 25s linear infinite;
}

@keyframes particleFloat {
    0% { background-position: 0 0, 40px 60px, 80px 20px; }
    100% { background-position: 300px 300px, 340px 360px, 380px 320px; }
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    min-height: 60px;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 217, 255, 0.2);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
   
}

.nav-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00D9FF 0%, #3B82F6 50%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nav-menu { 
    display: flex; 
    gap: 2.5rem; 
    align-items: center;
    position: relative;
}

.nav-services-wrapper {
    position: relative;
}

.nav-services-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-services-toggle:hover {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-services-wrapper:hover .dropdown-arrow,
.nav-services-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.services-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 1rem;
    background-color: black;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 0;
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 217, 255, 0.2);
    z-index: 1001;
    animation: dropdownFadeIn 0.3s ease;
    backdrop-filter: blur(20px);
    display: none;
}

.services-dropdown.active {
    display: block;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.services-dropdown-item:hover {
    color: #FFFFFF;
    background: rgba(0, 217, 255, 0.1);
    border-left-color: #00D9FF;
    padding-left: 1.75rem;
}
.nav-menu a { 
    color: #FFFFFF; 
    text-decoration: none; 
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.nav-menu a:hover { 
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

.nav-cta {
    padding: 0.75rem 1.75rem;
    background: linear-gradient(90deg, #FF4444 0%, #FF6B35 50%, #FFB347 100%);
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
    border: none;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4), 0 0 40px rgba(168, 85, 247, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    background: #1a1a2e;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-menu-links .nav-link {
    color: #FFFFFF;
}

.mobile-services-wrapper {
    position: relative;
}

.mobile-services-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.mobile-services-toggle:hover {
    color: #FFFFFF;
}

.mobile-services-dropdown {
    margin-top: 0.75rem;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 1rem;
    animation: mobileDropdownFadeIn 0.3s ease;
}

@keyframes mobileDropdownFadeIn {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.mobile-services-item {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    display: block;
}

.mobile-services-item:hover {
    color: #FFFFFF;
    padding-left: 0.5rem;
}

/* HERO - Completely redesigned */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10rem 2rem 6rem;
    position: relative;
    z-index: 1;
}

.hero-content { max-width: 1300px; margin: 0 auto; text-align: center; }

.crisis-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(220, 38, 38, 0.2);
    border: 2px solid #DC2626;
    color: #DC2626;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    animation: criticalPulse 2s ease-in-out infinite;
}

@keyframes criticalPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    50% { box-shadow: 0 0 0 25px rgba(220, 38, 38, 0); }
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -3px;
}

.hero-title .line1 { display: block; color: #fff; }
.hero-title .line2 { 
    display: block; 
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    background: linear-gradient(135deg, #DC2626, #EF4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0.5rem 0;
}
.hero-title .line3 { 
    display: block; 
    color: rgba(255,255,255,0.6);
    font-size: clamp(2.5rem, 6vw, 5rem);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: rgba(255,255,255,0.8);
    max-width: 1000px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn-primary {
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, #10B981, #14B8A6);
    color: white;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.15rem;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #14B8A6, #06B6D4);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.5);
}

.btn-primary span { position: relative; z-index: 1; }

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(16, 185, 129, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(16, 185, 129, 0.2);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(20, 184, 166, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.stat-card:hover::before { opacity: 1; }
.stat-card:hover {
    transform: translateY(-15px);
    border-color: #10B981;
    box-shadow: 0 25px 70px rgba(16, 185, 129, 0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #10B981, #14B8A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* NEW SECTION 1: TURNOVER COST BREAKDOWN VISUAL */
.cost-breakdown-section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
    padding: 0.65rem 1.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.section-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.cost-breakdown-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.cost-item {
    background: rgba(16, 185, 129, 0.03);
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.cost-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(135deg, #10B981, #14B8A6);
    transition: width 0.4s;
}

.cost-item:hover::before { width: 12px; }
.cost-item:hover {
    transform: translateX(15px);
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.08);
    box-shadow: -10px 0 40px rgba(16, 185, 129, 0.2);
}

.cost-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cost-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.cost-amount {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #DC2626, #EF4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cost-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.cost-math {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid #10B981;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    color: #6EE7B7;
    font-size: 0.95rem;
}

.total-disaster {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(239, 68, 68, 0.15));
    border: 3px solid #DC2626;
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.total-disaster::before {
    content: '💸';
    position: absolute;
    font-size: 15rem;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.disaster-label {
    font-size: 1.3rem;
    font-weight: 800;
    color: #DC2626;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.disaster-amount {
    font-size: 7rem;
    font-weight: 900;
    background: linear-gradient(135deg, #DC2626, #EF4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
}

.disaster-text {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

/* NEW SECTION 2: EMPLOYEE LIFECYCLE TIMELINE */
.lifecycle-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03), transparent);
    position: relative;
    z-index: 1;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #10B981, #14B8A6);
    transform: translateX(-50%);
}

.timeline-stage {
    position: relative;
    margin-bottom: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.timeline-stage:nth-child(even) .stage-content { order: 2; }
.timeline-stage:nth-child(even) .stage-stats { order: 1; }

.stage-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981, #14B8A6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    border: 6px solid #0A1410;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.5);
    z-index: 2;
}

.stage-content {
    background: rgba(16, 185, 129, 0.05);
    border: 2px solid rgba(16, 185, 129, 0.2);
    padding: 3rem;
    border-radius: 24px;
    transition: all 0.4s;
}

.stage-content:hover {
    border-color: #10B981;
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2);
}

.stage-day {
    color: #10B981;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.stage-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #fff;
}

.stage-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.stage-failure {
    background: rgba(220, 38, 38, 0.15);
    border-left: 4px solid #DC2626;
    padding: 1.5rem;
    border-radius: 12px;
}

.failure-label {
    color: #DC2626;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.failure-text {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    font-style: italic;
}

.stage-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stage-stat-box {
    background: rgba(220, 38, 38, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.3);
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.stage-stat-box:hover {
    border-color: #DC2626;
    transform: translateX(10px);
}

.stat-box-label {
    font-weight: 700;
    color: rgba(255,255,255,0.8);
}

.stat-box-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: #DC2626;
}

/* NEW SECTION 3: RETENTION VS TURNOVER COMPARISON */
.comparison-section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 1;
}

.comparison-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.comparison-card {
    border-radius: 30px;
    overflow: hidden;
    border: 3px solid;
    transition: all 0.4s;
}

.comparison-card.bad { border-color: rgba(220, 38, 38, 0.5); }
.comparison-card.good { border-color: rgba(16, 185, 129, 0.5); }

.comparison-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 100px rgba(16, 185, 129, 0.3);
}

.comparison-header {
    padding: 3rem 2.5rem;
    text-align: center;
}

.comparison-header.bad {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.3), rgba(239, 68, 68, 0.2));
}

.comparison-header.good {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(20, 184, 166, 0.2));
}

.comparison-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.comparison-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.comparison-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.comparison-body {
    background: rgba(16, 185, 129, 0.03);
    padding: 3rem 2.5rem;
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.comparison-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border-left: 4px solid;
    transition: all 0.3s;
}

.comparison-card.bad .comparison-item { border-color: #DC2626; }
.comparison-card.good .comparison-item { border-color: #10B981; }

.comparison-item:hover {
    transform: translateX(10px);
    background: rgba(255,255,255,0.05);
}

.comparison-item-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.comparison-item-text {
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* NEW SECTION 4: INTERACTIVE CALCULATOR */
.calculator-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent);
    position: relative;
    z-index: 1;
}

.calculator-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(16, 185, 129, 0.05);
    border: 3px solid rgba(16, 185, 129, 0.3);
    border-radius: 30px;
    padding: 4rem 3.5rem;
    position: relative;
    overflow: hidden;
}

.calculator-container::before {
    content: '🧮';
    position: absolute;
    font-size: 20rem;
    opacity: 0.03;
    top: 50%;
    right: -5rem;
    transform: translateY(-50%);
}

.calc-form {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.calc-field label {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #10B981;
}

.calc-field input {
    width: 100%;
    padding: 1.25rem 1.75rem;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s;
}

.calc-field input:focus {
    outline: none;
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.15), 0 8px 30px rgba(16, 185, 129, 0.3);
    transform: translateY(-3px);
}

.calc-button {
    width: 100%;
    padding: 1.75rem;
    background: linear-gradient(135deg, #10B981, #14B8A6);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.calc-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #14B8A6, #06B6D4);
    opacity: 0;
    transition: opacity 0.4s;
}

.calc-button:hover::before { opacity: 1; }
.calc-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.5);
}

.calc-button span { position: relative; z-index: 1; }

.calc-result {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(239, 68, 68, 0.15));
    border: 3px solid #DC2626;
    border-radius: 24px;
    padding: 3.5rem 3rem;
    text-align: center;
    margin-top: 3rem;
    display: none;
    animation: resultSlideIn 0.6s ease-out;
}

@keyframes resultSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-explosion {
    font-size: 1.5rem;
    font-weight: 800;
    color: #DC2626;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.result-amount {
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #DC2626, #EF4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 2rem;
}

.result-breakdown {
    background: rgba(0,0,0,0.3);
    padding: 2.5rem;
    border-radius: 16px;
    margin: 2.5rem 0;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.breakdown-row:last-child { border-bottom: none; }

.breakdown-label {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    font-size: 1.05rem;
}

.breakdown-value {
    font-weight: 900;
    font-size: 1.2rem;
    color: #fff;
}

.savings-box {
    background: linear-gradient(135deg, #10B981, #14B8A6);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 2.5rem;
}

.savings-label {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.savings-amount {
    font-size: 4rem;
    font-weight: 900;
}

/* Global Mobile Optimization */
section, div, article, aside, main, header, footer {
    max-width: 100%;
    box-sizing: border-box;
}

img, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .timeline-stage {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .timeline-stage:nth-child(even) .stage-content,
    .timeline-stage:nth-child(even) .stage-stats { order: initial; }
    .timeline-line { display: none; }
    .stage-marker {
        position: static;
        transform: none;
        margin: 0 auto 2rem;
    }
    .comparison-grid, .calc-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-container {
        padding: 0.875rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
        position: relative;
    }
    
    .logo-text {
        font-size: 1.25rem;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(10, 20, 16, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem 0;
        margin-top: 0.5rem;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
        max-width: calc(100vw - 2rem);
        box-sizing: border-box;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-cta {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        width: calc(100% - 2rem);
        text-align: center;
        border-radius: 8px;
        margin: 0.5rem 1rem 0;
    }
    
    /* Hero Section */
    .hero {
        padding: 8rem 1.5rem 2rem;
        min-height: auto;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .crisis-badge {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        margin-bottom: 2rem;
    }
    
    .hero-cta-group {
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }
    
    .btn-primary {
        padding: 1.25rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1.25rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Sections */
    .cost-breakdown-section,
    .lifecycle-section,
    .comparison-section,
    .calculator-section {
        padding: 3rem 1.5rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Cost Breakdown */
    .cost-item {
        padding: 1.5rem;
    }
    
    .cost-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .cost-title {
        font-size: 1.4rem;
    }
    
    .cost-amount {
        font-size: 2rem;
    }
    
    .total-disaster {
        padding: 2.5rem 1.5rem;
        margin-top: 2rem;
    }
    
    .disaster-amount {
        font-size: clamp(3rem, 12vw, 5rem);
    }
    
    /* Timeline */
    .stage-content {
        padding: 2rem 1.5rem;
    }
    
    .stage-title {
        font-size: 1.6rem;
    }
    
    .stage-stat-box {
        padding: 1.5rem;
    }
    
    .stat-box-value {
        font-size: 2rem;
    }
    
    /* Comparison */
    .comparison-header {
        padding: 2rem 1.5rem;
    }
    
    .comparison-title {
        font-size: 1.8rem;
    }
    
    .comparison-body {
        padding: 2rem 1.5rem;
    }
    
    /* Calculator */
    .calculator-container {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .calc-field input {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .calc-button {
        padding: 1.25rem;
        font-size: 1.1rem;
    }
    
    .calc-result {
        padding: 2rem 1.5rem;
    }
    
    .result-amount {
        font-size: clamp(3rem, 12vw, 5rem);
    }
    
    .result-breakdown {
        padding: 1.5rem;
    }
    
    .savings-amount {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }
    
    /* Final CTA */
    section[style*="padding: 8rem"] {
        padding: 4rem 1.5rem !important;
    }
    
    /* Prevent text overflow */
    h1, h2, h3, h4, h5, h6, p, span, a, li, td, th, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }
    
    /* Ensure no horizontal scroll */
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
}

@media (max-width: 480px) {
    /* Extra Small Screens */
    .nav-container {
        padding: 0.75rem 0.875rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 7rem 1rem 1.5rem;
    }
    
    .crisis-badge {
        padding: 0.65rem 1.25rem;
        font-size: 0.75rem;
    }
    
    .cost-breakdown-section,
    .lifecycle-section,
    .comparison-section,
    .calculator-section {
        padding: 2.5rem 1rem;
    }
    
    .cost-item,
    .stage-content,
    .comparison-header,
    .comparison-body {
        padding: 1.25rem;
    }
    
    .calculator-container,
    .calc-result {
        padding: 1.5rem 1rem;
    }
    
    section[style*="padding: 8rem"] {
        padding: 3rem 1rem !important;
    }
}

.footer {
    position: relative;
    background: rgba(10, 10, 26,0.85);
    color: white;
    padding: 2rem;
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 3rem;

}
.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;

}
.highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; /* Example highlight color */
}
.footer-tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #B8B8D1;
}
.footer-contact {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.7);
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.social-links a {
    z-index: 10;
    color: #14039E;
    text-decoration: none;
    font-size: 1.5rem; /* Adjust for icon size */
    transition: color 0.1s ease-in-out;
    
}
.social-links a:hover {
    color: #0E1B4D; /* Example hover color; customize per icon */
}
.instagram-link:hover {
    color: rgb(244, 62, 96); /* Instagram hover */
}
.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}
/* Social icon SVGs can be styled similarly */
.social-icon {
    width: 35px;
    height: 35px;
    fill: currentColor; /* Inherits color from parent */
}
/* Hover scale effect */
.footer-social-icons {
    transition: transform 0.3s ease;
}
.footer-social-icons:hover {
    transform: scale(1.1);
    cursor: pointer;
}