/* ===================================
   UK NAME CHANGE CASE STUDY STYLES
   Ultra-Premium Design System
   =================================== */

:root {
    --primary-cyan: #00FFFF;
    --secondary-cyan: #00D4FF;
    --accent-cyan: #00F5FF;
    --dark-bg: #000000;
    --dark-secondary: #0a0a0a;
    --dark-tertiary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-tertiary: #808080;
}

/* ===================================
   ANIMATED BACKGROUNDS (ALTERNATING)
   =================================== */

/* Dark Animated Background (Pattern 1) - FLASHY VERSION */
.dark-animated {
    position: relative;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    overflow: hidden;
}

.dark-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Multiple animated orbs - OPTIMIZED */
.dark-bg::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, rgba(0, 200, 255, 0.15) 40%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    left: -250px;
    animation: darkOrbFloat1 20s infinite ease-in-out;
    filter: blur(60px);
    mix-blend-mode: screen;
    will-change: transform;
}

.dark-bg::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.25) 0%, rgba(0, 212, 255, 0.12) 50%, transparent 70%);
    border-radius: 50%;
    bottom: -180px;
    right: -180px;
    animation: darkOrbFloat2 25s infinite ease-in-out;
    filter: blur(70px);
    mix-blend-mode: screen;
    will-change: transform;
}

/* Additional animated elements - OPTIMIZED */
.dark-animated::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: darkOrbFloat3 30s infinite ease-in-out;
    filter: blur(80px);
    mix-blend-mode: screen;
    z-index: 1;
    will-change: transform;
}

/* Animated particles - OPTIMIZED */
.dark-animated::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(0, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 80% 20%, rgba(0, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 50% 50%, rgba(0, 245, 255, 0.8), transparent);
    background-size: 200% 200%;
    animation: particlesDrift 25s linear infinite;
    z-index: 1;
    will-change: background-position;
}

.dark-animated .container {
    position: relative;
    z-index: 10;
}

@keyframes darkOrbFloat1 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    50% { 
        transform: translate(100px, -80px) scale(1.2); 
    }
}

@keyframes darkOrbFloat2 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    50% { 
        transform: translate(-80px, 60px) scale(1.15); 
    }
}

@keyframes darkOrbFloat3 {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3); 
    }
}

@keyframes particlesDrift {
    0% { 
        background-position: 0% 0%, 100% 0%, 50% 50%;
    }
    100% { 
        background-position: 100% 100%, 0% 100%, 40% 60%;
    }
}

/* Cyan Animated Background (Pattern 2) - ULTRA FLASHY VERSION */
.cyan-animated {
    position: relative;
    background: linear-gradient(180deg, #001a1a 0%, #003030 30%, #002525 60%, #001515 100%);
    overflow: hidden;
}

.cyan-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Multiple massive glowing orbs - OPTIMIZED */
.cyan-bg::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.35) 0%, rgba(0, 212, 255, 0.2) 30%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -150px;
    animation: cyanOrbFloat1 18s infinite ease-in-out;
    filter: blur(50px);
    mix-blend-mode: screen;
    will-change: transform;
}

.cyan-bg::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.3) 0%, rgba(0, 255, 255, 0.15) 40%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -120px;
    animation: cyanOrbFloat2 22s infinite ease-in-out;
    filter: blur(55px);
    mix-blend-mode: screen;
    will-change: transform;
}

/* Animated grid overlay - FLASHIER */
.cyan-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.12) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.12) 2px, transparent 2px);
    background-size: 50px 50px;
    animation: cyanGridMove 15s linear infinite, gridPulse 3s infinite;
    z-index: 1;
}

/* Floating sparkles and particles - OPTIMIZED */
.cyan-animated::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(3px 3px at 15% 25%, rgba(0, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 85% 15%, rgba(0, 245, 255, 0.8), transparent),
        radial-gradient(3px 3px at 45% 45%, rgba(0, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 75% 75%, rgba(0, 212, 255, 0.7), transparent);
    background-size: 200% 200%;
    animation: cyanSparkles 25s ease-in-out infinite;
    z-index: 2;
    will-change: background-position;
}

.cyan-animated .container {
    position: relative;
    z-index: 10;
}

@keyframes cyanOrbFloat1 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    50% { 
        transform: translate(-120px, 80px) scale(1.25); 
    }
}

@keyframes cyanOrbFloat2 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    50% { 
        transform: translate(100px, -80px) scale(1.2); 
    }
}

@keyframes cyanGridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes cyanSparkles {
    0%, 100% { 
        background-position: 0% 0%, 100% 0%, 50% 50%, 90% 80%;
    }
    50% { 
        background-position: 100% 100%, 0% 100%, 40% 60%, 80% 20%;
    }
}

/* Shimmer wave effect */
@keyframes shimmerWave {
    0% { 
        background-position: -200% center;
    }
    100% { 
        background-position: 200% center;
    }
}

/* Add shimmer to cyan sections */
.cyan-animated {
    background: 
        linear-gradient(90deg, 
            transparent, 
            rgba(0, 255, 255, 0.1) 25%, 
            rgba(0, 255, 255, 0.2) 50%, 
            rgba(0, 255, 255, 0.1) 75%, 
            transparent
        ),
        linear-gradient(180deg, #001a1a 0%, #003030 30%, #002525 60%, #001515 100%);
    background-size: 200% 100%, 100% 100%;
    animation: shimmerWave 8s ease-in-out infinite;
}

/* Shimmer effect for cyan sections */
@keyframes cyanShimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Add subtle glow to borders on cyan sections - ENHANCED */
.cyan-animated .overview-card,
.cyan-animated .challenge-item,
.cyan-animated .feature-card,
.cyan-animated .tech-category,
.cyan-animated .learning-card {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    animation: cardGlow 3s ease-in-out infinite;
}

.cyan-animated .overview-card:hover,
.cyan-animated .challenge-item:hover,
.cyan-animated .feature-card:hover,
.cyan-animated .tech-category:hover,
.cyan-animated .learning-card:hover {
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.5), 0 0 90px rgba(0, 255, 255, 0.3);
    transform: translateY(-8px) scale(1.02);
}

@keyframes cardGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 45px rgba(0, 255, 255, 0.35);
    }
}

/* Enhanced glow for dark sections too */
.dark-animated .overview-card,
.dark-animated .challenge-item,
.dark-animated .feature-card,
.dark-animated .tech-category,
.dark-animated .learning-card,
.dark-animated .result-card {
    animation: cardGlowDark 4s ease-in-out infinite;
}

@keyframes cardGlowDark {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 35px rgba(0, 255, 255, 0.2);
    }
}

/* ===================================
   FLOATING ORBS (Dark Sections)
   =================================== */

.floating-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-orbs::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    right: 15%;
    animation: floatOrb1 18s infinite ease-in-out;
    filter: blur(50px);
    mix-blend-mode: screen;
    will-change: transform;
}

.floating-orbs::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 30%;
    left: 20%;
    animation: floatOrb2 22s infinite ease-in-out;
    filter: blur(55px);
    mix-blend-mode: screen;
    will-change: transform;
}

@keyframes floatOrb1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translate(-80px, 60px) scale(1.3);
        opacity: 0.5;
    }
    66% {
        transform: translate(60px, -50px) scale(0.8);
        opacity: 0.25;
    }
}

@keyframes floatOrb2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.25;
    }
    50% {
        transform: translate(70px, -70px) scale(1.25);
        opacity: 0.4;
    }
}

/* ===================================
   GLOWING RINGS (Cyan Sections)
   =================================== */

.glowing-rings {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.glowing-rings::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border: 3px solid rgba(0, 255, 255, 0.4);
    border-radius: 50%;
    top: 15%;
    left: 10%;
    animation: expandRing 8s infinite ease-in-out, rotateRing 20s linear infinite;
    filter: blur(2px);
    box-shadow: 
        0 0 40px rgba(0, 255, 255, 0.6),
        inset 0 0 40px rgba(0, 255, 255, 0.4);
}

.glowing-rings::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border: 2px solid rgba(0, 245, 255, 0.35);
    border-radius: 50%;
    bottom: 20%;
    right: 15%;
    animation: expandRing 10s infinite ease-in-out 2s, rotateRing 25s linear infinite reverse;
    filter: blur(1px);
    box-shadow: 
        0 0 35px rgba(0, 245, 255, 0.5),
        inset 0 0 35px rgba(0, 245, 255, 0.3);
}

@keyframes expandRing {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.7;
    }
}

@keyframes rotateRing {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ===================================
   HERO SECTION
   =================================== */

.case-study-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    padding: 120px 0 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    mix-blend-mode: screen;
}

.hero-background .orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.4) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation: orbFloat1 20s infinite ease-in-out;
    will-change: transform;
}

.hero-background .orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation: orbFloat2 25s infinite ease-in-out reverse;
    will-change: transform;
}

.hero-background .orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.25) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 30s infinite ease-in-out;
    will-change: transform;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -40px) scale(1.1); }
    66% { transform: translate(-30px, 50px) scale(0.9); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, 30px) scale(1.15); }
    66% { transform: translate(40px, -40px) scale(0.85); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.floating-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(0, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 80% 20%, rgba(0, 212, 255, 0.5), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(0, 245, 255, 0.7), transparent),
        radial-gradient(2px 2px at 70% 80%, rgba(0, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 30% 70%, rgba(0, 212, 255, 0.6), transparent);
    background-size: 200% 200%;
    animation: particlesFloat 15s ease-in-out infinite;
}

@keyframes particlesFloat {
    0%, 100% { background-position: 0% 0%, 100% 0%, 50% 50%, 80% 90%, 20% 80%; opacity: 0.6; }
    50% { background-position: 100% 100%, 0% 100%, 40% 60%, 70% 10%, 30% 20%; opacity: 0.9; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    padding: 0 2rem;
}

.hero-badge-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(0, 212, 255, 0.1));
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--primary-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge.secondary {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.08), rgba(0, 0, 0, 0.3));
    border-color: rgba(0, 255, 255, 0.2);
    animation-delay: 1.5s;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 255, 0.6); }
}

.hero-title {
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-top {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: fadeInUp 0.6s ease-out;
}

.title-main {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: linear-gradient(135deg, #00FFFF 0%, #00D4FF 50%, #00F5FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.2s both, textGlow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.5));
}

.title-sub {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textGlow {
    0%, 100% { filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 60px rgba(0, 255, 255, 0.8)); }
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1.2s ease-out 0.6s both;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1.4s ease-out 0.8s both;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(0, 0, 0, 0.3));
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.metric-card:hover::before {
    left: 100%;
}

.metric-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 255, 0.3);
}

.metric-icon {
    font-size: 2rem;
    color: var(--primary-cyan);
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.metric-value {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease-out 1s both;
}

.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-cyan));
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-primary-glow:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-glow:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.8), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--primary-cyan);
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--primary-cyan);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-secondary-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 212, 255, 0.1));
    transition: left 0.4s ease;
}

.btn-secondary-outline:hover::before {
    left: 0;
}

.btn-secondary-outline:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    animation: fadeInUp 2s ease-out 1.2s both;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-cyan);
    border-radius: 15px;
    position: relative;
    opacity: 0.6;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--primary-cyan);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 2s infinite;
}

@keyframes mouseScroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ===================================
   SECTION UTILITIES
   =================================== */

.section-padding {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    border-radius: 10px;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(0, 212, 255, 0.08));
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--primary-cyan);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin: 0 0 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ===================================
   PROJECT OVERVIEW
   =================================== */

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

/* Left Column - Details */
.overview-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--primary-cyan);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.detail-card:hover {
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateX(5px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.15);
}

.detail-card:hover::before {
    opacity: 1;
}

.detail-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.detail-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(0, 212, 255, 0.08));
    border-radius: 12px;
    font-size: 1.5rem;
    color: var(--primary-cyan);
    position: relative;
    z-index: 1;
}

.icon-glow {
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3), transparent 70%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.detail-card:hover .icon-glow {
    opacity: 1;
}

.detail-content {
    flex: 1;
}

.detail-content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 0.5rem;
}

.detail-content p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.detail-meta {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: block;
}

/* Right Column - Outcome */
.overview-outcome {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(0, 0, 0, 0.4));
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.overview-outcome::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1), transparent 60%);
    animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.outcome-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.outcome-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-cyan));
    border-radius: 12px;
    font-size: 1.3rem;
    color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.outcome-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.outcome-description {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.outcome-description p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.outcome-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(0, 255, 255, 0.05);
    border-color: rgba(0, 255, 255, 0.3);
    transform: scale(1.05);
}

.stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 212, 255, 0.1));
    border-radius: 8px;
    font-size: 1.2rem;
    color: var(--primary-cyan);
    flex-shrink: 0;
}

.stat-data {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-cyan);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.outcome-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.badge-item i {
    color: var(--primary-cyan);
    font-size: 0.9rem;
}

.badge-item:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

/* ===================================
   CHALLENGE SECTION
   =================================== */

.challenge-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: center;
}

.challenge-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 255, 255, 0.1) inset;
    transform: scale(1.08);
    transform-origin: left center;
    transition: all 0.4s ease;
}

.challenge-image:hover {
    transform: scale(1.12);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 0 2px rgba(0, 255, 255, 0.3) inset,
        0 0 60px rgba(0, 255, 255, 0.2);
}

.image-frame {
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 24px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.challenge-image:hover .image-frame {
    opacity: 1;
}

.image-frame {
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 24px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.challenge-image:hover .image-frame {
    opacity: 1;
}

.challenge-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.challenge-image:hover .image-overlay {
    opacity: 1;
}

.overlay-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-cyan));
    color: #000;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.challenge-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.challenge-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.03), rgba(0, 0, 0, 0.2));
    border-left: 3px solid var(--primary-cyan);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.challenge-item:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.08), rgba(0, 0, 0, 0.3));
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.challenge-icon {
    font-size: 2rem;
    color: var(--primary-cyan);
    flex-shrink: 0;
}

.challenge-text h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.challenge-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ===================================
   SOLUTION TABS
   =================================== */

.solution-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.2));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: rgba(0, 255, 255, 0.3);
    color: var(--primary-cyan);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-cyan));
    border-color: var(--primary-cyan);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: tabFadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Architecture Diagram */
.architecture-diagram {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.03), rgba(0, 0, 0, 0.3));
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.arch-layer {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.arch-layer:hover {
    border-color: rgba(0, 255, 255, 0.3);
    transform: scale(1.02);
}

.arch-layer.highlight {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.arch-layer h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.5rem;
    text-align: center;
}

.arch-components {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.arch-component {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    min-width: 120px;
}

.arch-component i {
    font-size: 2.5rem;
    color: var(--primary-cyan);
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.arch-component span {
    font-weight: 600;
    color: var(--text-secondary);
}

.arch-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-cyan);
    animation: arrowBounce 2s infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.03), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 212, 255, 0.05));
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-cyan);
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Workflow Steps */
.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.workflow-step {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.03), rgba(0, 0, 0, 0.2));
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.workflow-step:hover {
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.2);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-cyan);
    opacity: 0.6;
}

/* Security Features */
.security-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.security-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.03), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-left: 4px solid var(--primary-cyan);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateX(10px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.2);
}

.security-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 212, 255, 0.05));
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.security-icon i {
    font-size: 1.8rem;
    color: var(--primary-cyan);
}

.security-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
}

.security-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ===================================
   TECHNOLOGY STACK
   =================================== */

.tech-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.tech-category {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tech-category:hover {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.1);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
}

.category-title i {
    color: var(--primary-cyan);
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(0, 255, 255, 0.05);
    transform: translateX(5px);
}

.tech-item-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 212, 255, 0.05));
    border-radius: 10px;
    flex-shrink: 0;
}

.tech-item-icon i {
    font-size: 1.5rem;
    color: var(--primary-cyan);
}

.tech-item-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

.tech-item-content p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin: 0;
}

/* ===================================
   RESULTS SECTION
   =================================== */

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.result-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.1);
}

.result-visual {
    margin-bottom: 1.5rem;
}

.circular-progress {
    width: 120px;
    height: 120px;
    position: relative;
    margin: 0 auto;
}

.circular-progress svg {
    transform: rotate(-90deg);
}

.circular-progress circle {
    fill: none;
    stroke-width: 8;
}

.progress-bg {
    stroke: rgba(255, 255, 255, 0.1);
}

.progress-bar {
    stroke: var(--primary-cyan);
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    transition: stroke-dashoffset 2s ease;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-cyan);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-number .plus,
.stat-number .suffix,
.stat-number .percent {
    font-size: 2rem;
    margin-left: 0.25rem;
}

.result-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.result-card p {
    color: var(--text-tertiary);
    margin: 0;
}

.impact-statement {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(0, 0, 0, 0.3));
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-left: 4px solid var(--primary-cyan);
    border-radius: 20px;
    position: relative;
}

.statement-icon {
    position: absolute;
    top: -20px;
    left: 3rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-cyan));
    border-radius: 50%;
    font-size: 1.2rem;
    color: #000;
}

.impact-statement blockquote {
    margin: 0;
}

.impact-statement p {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 1.5rem;
}

.impact-statement footer {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.impact-statement strong {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.impact-statement span {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* ===================================
   LEARNINGS SECTION
   =================================== */

.learnings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.learning-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.03), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.learning-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.2);
}

.learning-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 255, 255, 0.1);
    line-height: 1;
}

.learning-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
    position: relative;
    z-index: 1;
}

.learning-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.08), rgba(0, 0, 0, 0.5));
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(0, 255, 255, 0.1) 60deg,
        transparent 120deg
    );
    animation: rotateConic 10s linear infinite;
}

@keyframes rotateConic {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content > * {
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-cyan));
    border-radius: 50%;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: #000;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.5);
    animation: iconPulse 3s infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin: 0 0 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

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

@media (max-width: 968px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .outcome-stats {
        grid-template-columns: 1fr;
    }
    
    .challenge-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .challenge-list {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        grid-template-columns: 60px 1fr;
        gap: 1.5rem;
    }
    
    .step-icon {
        display: none;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .security-features {
        grid-template-columns: 1fr;
    }
    
    .learnings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-metrics {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary-glow,
    .btn-secondary-outline {
        width: 100%;
        justify-content: center;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .architecture-diagram {
        padding: 2rem 1rem;
    }
    
    .arch-components {
        flex-direction: column;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-metrics {
        grid-template-columns: 1fr;
    }
    
    .metric-card {
        flex-direction: column;
        text-align: center;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step-number {
        order: -1;
    }
}
