/* Hero Section - Dark Midnight Blue Storm Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0e27; /* Dark midnight blue base */
    overflow: hidden;
}

/* Storm Background */
.storm-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('storm-clouds.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: stormAnimation 30s ease-in-out infinite;
}

/* Lightning Flash Effect */
.storm-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    animation: lightning 8s ease-in-out infinite;
    pointer-events: none;
}

/* Thunder Rumble Effect - subtle vibration */
.storm-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(0px);
    animation: thunder 8s ease-in-out infinite;
}

/* Animated Storm Clouds Overlay for depth */
.clouds-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

/* Dark stormy clouds - back layer */
.clouds-back {
    background: 
        radial-gradient(ellipse 800px 300px at 20% 40%, rgba(15, 20, 40, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 600px 250px at 80% 20%, rgba(10, 15, 35, 0.5) 0%, transparent 50%);
    animation: drift-slow 120s linear infinite;
    filter: blur(2px);
}

/* Dark stormy clouds - middle layer */
.clouds-middle {
    background: 
        radial-gradient(ellipse 700px 280px at 30% 30%, rgba(20, 25, 45, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse 600px 240px at 70% 50%, rgba(25, 30, 50, 0.4) 0%, transparent 45%);
    animation: drift-medium 90s linear infinite;
    filter: blur(1px);
}

/* Dark stormy clouds - front layer */
.clouds-front {
    background: 
        radial-gradient(ellipse 500px 200px at 25% 45%, rgba(30, 35, 55, 0.3) 0%, transparent 40%),
        radial-gradient(ellipse 600px 240px at 75% 25%, rgba(35, 40, 60, 0.25) 0%, transparent 45%);
    animation: drift-fast 60s linear infinite;
}

/* Light Gap in Center */
.light-gap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    z-index: 2;
}

.light-beam {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
                rgba(255, 255, 255, 0.3) 0%,
                rgba(255, 255, 255, 0.15) 20%,
                rgba(255, 255, 255, 0.08) 40%,
                transparent 70%);
    filter: blur(20px);
    animation: pulse-light 4s ease-in-out infinite;
}

/* Create subtle light rays */
.light-gap::before,
.light-gap::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, 
                transparent 0%,
                rgba(255, 255, 255, 0.1) 50%,
                transparent 100%);
    animation: rotate-rays 20s linear infinite;
}

.light-gap::before {
    width: 2px;
    height: 500px;
}

.light-gap::after {
    width: 500px;
    height: 2px;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    color: #ffffff;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    animation: fade-in-up 1s ease-out;
}

.hero-title .subtitle {
    display: block;
    font-size: 0.9em;
    font-weight: 700;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    animation: fade-in-up 1s ease-out 0.2s both;
}

/* CTA Button */
.cta-button {
    background: #3543F0;
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fade-in-up 1s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(53, 67, 240, 0.3);
    background: #2936d3;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:active {
    transform: translateY(0);
    background: #2530b8;
}

/* Animations */
@keyframes drift-slow {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes drift-medium {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes drift-fast {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes pulse-light {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes rotate-rays {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Storm Animation - subtle zoom and pan */
@keyframes stormAnimation {
    0%, 100% {
        transform: scale(1) translateX(0);
        filter: brightness(0.8) contrast(1.2);
    }
    25% {
        transform: scale(1.05) translateX(-2%);
        filter: brightness(0.7) contrast(1.3);
    }
    50% {
        transform: scale(1.08) translateX(1%);
        filter: brightness(0.75) contrast(1.25);
    }
    75% {
        transform: scale(1.03) translateX(-1%);
        filter: brightness(0.85) contrast(1.15);
    }
}

/* Lightning Flash Animation */
@keyframes lightning {
    0%, 90%, 100% {
        opacity: 0;
    }
    91% {
        opacity: 0;
    }
    92% {
        opacity: 0.8;
        background: radial-gradient(ellipse at 30% 40%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    }
    93% {
        opacity: 0.6;
    }
    94% {
        opacity: 0.9;
        background: radial-gradient(ellipse at 70% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    }
    95% {
        opacity: 0;
    }
}

/* Thunder Effect - subtle shake */
@keyframes thunder {
    0%, 89%, 100% {
        transform: translate(0, 0);
        filter: blur(0px);
    }
    90% {
        transform: translate(0, 0);
    }
    91% {
        transform: translate(-1px, 1px);
        filter: blur(0.5px);
    }
    92% {
        transform: translate(1px, -1px);
    }
    93% {
        transform: translate(-1px, -1px);
        filter: blur(0.3px);
    }
    94% {
        transform: translate(1px, 1px);
    }
    95% {
        transform: translate(0, 0);
        filter: blur(0px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }

    .light-gap {
        width: 200px;
        height: 200px;
    }

    .light-gap::before {
        height: 300px;
    }

    .light-gap::after {
        width: 300px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

/* Statistics Section */
.stats-section {
    background: #0a0e27; /* Solid midnight blue */
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

/* Section separator - subtle gradient line */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(53, 67, 240, 0.5), transparent);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stats-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.stats-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-bottom: 4rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Individual Stat Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #3543F0, transparent);
    transform: translateX(-100%);
    animation: shimmer 3s ease-in-out infinite;
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 900;
    color: #3543F0;
    margin-bottom: 1rem;
    line-height: 1;
    background: linear-gradient(135deg, #3543F0, #7E87F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-weight: 400;
}

.stats-footer {
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation for stat cards */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* Fade in animation for stats on scroll */
.stat-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for stats section */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 80px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: clamp(3rem, 6vw, 4rem);
    }

    .stats-footer {
        font-size: 1.125rem;
    }
}

/* Story Timeline Section */
.story-section {
    background: linear-gradient(180deg, #0a0e27 0%, #050714 100%);
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.story-container {
    max-width: 1000px;
    margin: 0 auto;
}

.story-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}


/* Event styling */
.event-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: #3543F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    box-shadow: 0 4px 12px rgba(53, 67, 240, 0.4);
}

.event-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Event Visual */
.event-visual {
    width: 100%;
    height: 180px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Center cards get square aspect ratio and larger size */
.event-card[data-side="center"] .event-visual {
    width: 400px;
    height: 400px;
    margin: 0 auto 1.5rem;
}

.event-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(239, 68, 68, 0.1) 50%,
        rgba(239, 68, 68, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Remove gradient overlay for warning card to let animation show better */
.warning-card .event-visual::before {
    display: none;
}

.event-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Adjusted to show heads better */
    opacity: 0.8;
    filter: contrast(1.1) saturate(0.8);
    transition: all 0.3s ease;
}

/* Center cards show more of the image */
.event-card[data-side="center"] .event-visual img {
    object-fit: contain;
    object-position: center center;
    background: rgba(0, 0, 0, 0.1);
}

/* Add dramatic effect on hover */
.event-card:hover .event-visual img {
    transform: scale(1.05);
    filter: contrast(1.2) saturate(0.9);
    opacity: 0.9;
}

/* Maintain position for non-center cards */
.event-card[data-side="left"]:hover .event-visual img,
.event-card[data-side="right"]:hover .event-visual img {
    object-position: center 20%;
}

.event-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
}

/* Warning card */
.warning-card {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
}

.warning-card .event-content p {
    color: #fbbf24;
    font-size: 1.25rem;
}

/* Animated storm clouds for warning card */
.warning-card .event-visual {
    overflow: hidden;
    position: relative;
}

.warning-card .event-visual img {
    animation: stormClouds 20s ease-in-out infinite;
    transform-origin: center;
}

@keyframes stormClouds {
    0%, 100% {
        transform: scale(1) translateX(0);
        filter: contrast(1.1) saturate(0.8) brightness(0.9);
    }
    25% {
        transform: scale(1.1) translateX(-3%);
        filter: contrast(1.2) saturate(0.9) brightness(0.85);
    }
    50% {
        transform: scale(1.15) translateX(2%);
        filter: contrast(1.3) saturate(1) brightness(0.8);
    }
    75% {
        transform: scale(1.08) translateX(-2%);
        filter: contrast(1.15) saturate(0.85) brightness(0.87);
    }
}

/* Add pulsing red glow effect */
.warning-card .event-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        transparent 0%, 
        transparent 40%, 
        rgba(239, 68, 68, 0.2) 70%,
        rgba(239, 68, 68, 0.4) 100%);
    z-index: 2;
    pointer-events: none;
    animation: redGlow 4s ease-in-out infinite;
}

@keyframes redGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Danger cards */
.danger-card {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.danger-card .event-number {
    background: #ef4444;
}

/* Final card */
.final-card {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.3);
}

.final-card .event-content p {
    font-size: 1.375rem;
    font-weight: 600;
}

/* Story Footer */
.story-footer {
    text-align: center;
    padding-top: 2rem;
}

.story-footer p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-weight: 500;
}



/* Animations */
@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}


/* Mobile responsive */
@media (max-width: 768px) {
    .story-section {
        padding: 80px 20px;
    }

    .story-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .phase-title {
        font-size: 1.5rem;
    }

    .event-card {
        max-width: 100%;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .event-content p {
        font-size: 1rem;
    }

    .story-footer p {
        font-size: 1.25rem;
    }
}

/* System Failure Section */
.system-failure-section {
    background: #0a0e27;
    padding: 20px 20px 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Glitch background effect */
.system-failure-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(239, 68, 68, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(239, 68, 68, 0.03) 3px
        );
    pointer-events: none;
    animation: glitchLines 8s linear infinite;
}

.failure-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.failure-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 0.125rem;
}

.failure-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: #ef4444;
    text-align: center;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Failure Grid */
.failure-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 0.75rem;
}

/* Failure Cards */
.failure-card {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 0.75rem;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    animation: shake 4s ease-in-out infinite;
    
    /* Background pattern */
    background-image: 
        linear-gradient(135deg, rgba(239, 68, 68, 0.03) 0%, transparent 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(239, 68, 68, 0.02) 10px,
            rgba(239, 68, 68, 0.02) 20px
        );
}

/* Add different animation delays for each card */
.failure-card:nth-child(1) { animation-delay: 0s; }
.failure-card:nth-child(2) { animation-delay: 0.5s; }
.failure-card:nth-child(3) { animation-delay: 1s; }
.failure-card:nth-child(4) { animation-delay: 1.5s; }
.failure-card:nth-child(5) { animation-delay: 2s; }

/* Failure Icon */
.failure-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.75rem;
    position: relative;
}

.failure-icon svg {
    width: 100%;
    height: 100%;
    stroke: rgba(255, 255, 255, 0.6);
}

/* Percentage Display */
.failure-percentage {
    font-size: 2rem;
    font-weight: 900;
    color: #ef4444;
    margin-bottom: 0.25rem;
    font-variant-numeric: tabular-nums;
    position: relative;
    z-index: 2;
}

/* Remove progress bars - not needed in new design */

/* Failure Text */
.failure-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    position: relative;
    z-index: 2;
}

.failure-text strong {
    color: #ffffff;
    font-weight: 700;
}

/* Failure Footer */
.failure-footer {
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(239, 68, 68, 0.2);
}

.failure-footer p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
    margin: 0;
    font-style: italic;
}

.failure-footer strong {
    color: #ef4444;
    font-weight: 700;
}

/* Glitch effect for cards on hover */
.failure-card:hover {
    animation: glitchCard 0.3s ease;
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.08);
}

/* Animations */
@keyframes failureReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { 
        transform: translateX(0) rotate(0deg);
    }
    10% { 
        transform: translateX(-2px) rotate(-0.5deg);
    }
    20% { 
        transform: translateX(2px) rotate(0.5deg);
    }
    30% { 
        transform: translateX(-2px) rotate(-0.5deg);
    }
    40% { 
        transform: translateX(2px) rotate(0.5deg);
    }
    50% { 
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes glitchLines {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

@keyframes glitchCard {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    60% { transform: translateX(-1px); }
    80% { transform: translateX(1px); }
}

/* Tablet responsive */
@media (max-width: 1024px) {
    .failure-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .system-failure-section {
        padding: 20px 15px 15px;
    }

    .failure-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .failure-card {
        padding: 1.25rem;
    }

    .failure-percentage {
        font-size: 2rem;
    }

    .failure-text {
        font-size: 0.875rem;
    }

    .failure-footer p {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .failure-grid {
        grid-template-columns: 1fr;
    }
}

/* Defense Organization Disaster Section */
.organization-disaster-section {
    background: linear-gradient(180deg, #0a0e27 0%, #070b1f 100%);
    padding: 60px 20px 120px;
    position: relative;
    overflow: hidden;
}

.organization-container {
    max-width: 1200px;
    margin: 0 auto;
}

.organization-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.organization-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-weight: 500;
    margin-bottom: 4rem;
}

/* Lawyer Carousel */
.lawyer-carousel {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: #ef4444;
    transform: scale(1.2);
}

/* Lawyer Cards */
.lawyer-cards {
    position: relative;
    min-height: 400px;
}

.lawyer-card {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.lawyer-card.active {
    opacity: 1;
    visibility: visible;
}

/* Lawyer Header */
.lawyer-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Lawyer Avatar */
.lawyer-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.1);
}

.lawyer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%);
}

.lawyer-number {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ef4444;
    margin-bottom: 0.5rem;
}

.lawyer-quote {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    font-style: italic;
}

/* Money Meter */
.money-meter {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.money-spent {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ef4444;
    margin-bottom: 0.5rem;
}

.money-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin: 1rem 0;
}

.money-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #dc2626);
    border-radius: 6px;
    transition: width 1s ease;
}

.result {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Failure List */
.failure-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.failure-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.failure-list li:hover {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.failure-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
}

.carousel-nav.prev {
    left: -24px;
}

.carousel-nav.next {
    right: -24px;
}

/* Total Disaster Counter */
.total-disaster {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(239, 68, 68, 0.2);
}

.disaster-metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #ef4444;
    margin-bottom: 0.25rem;
}

.metric-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Disaster Conclusion */
.disaster-conclusion {
    text-align: center;
}

.disaster-conclusion p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.disaster-conclusion strong {
    color: #ef4444;
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lawyer-disaster-section {
        padding: 80px 20px;
    }

    .lawyer-carousel {
        padding: 2rem 1rem;
    }

    .lawyer-quote {
        font-size: 1.5rem;
    }

    .money-spent {
        font-size: 2rem;
    }

    .failure-list li {
        font-size: 1rem;
    }

    .carousel-nav {
        display: none;
    }

    .total-disaster {
        flex-direction: column;
        gap: 1.5rem;
    }

    .disaster-conclusion p {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}