/* USK AI Surveillance - Zambian Mining Security Revolution */

:root {
    --usk-primary: #1e40af;
    --usk-success: #059669;
    --usk-warning: #d97706;
    --usk-danger: #dc2626;
    --usk-info: #0891b2;
    --usk-dark: #1f2937;
    
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-success: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-warning: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    --gradient-danger: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    line-height: 1.6;
    color: #1e293b;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--gradient-gold);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: var(--shadow-lg);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: var(--shadow-lg); }
    50% { box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4); }
}

/* Text Gradient */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* Hero Stats */
.stat-pill {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.stat-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-pill.success {
    background: var(--gradient-success);
    color: white;
}

.stat-pill.primary {
    background: var(--gradient-primary);
    color: white;
}

.stat-pill.warning {
    background: var(--gradient-warning);
    color: white;
}

/* Cost Showdown */
.cost-showdown {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 60px 40px;
    box-shadow: var(--shadow-2xl);
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.cost-showdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

/* Cost Champion Cards */
.cost-champion {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 2px solid transparent;
}

.usk-champion {
    border-color: var(--usk-success);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.legacy-champion {
    border-color: var(--usk-danger);
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.cost-champion:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

/* Champion Crowns */
.champion-crown, .champion-skull {
    position: absolute;
    top: -15px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 0 0 12px 12px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.champion-crown {
    background: var(--gradient-gold);
    color: white;
}

.champion-skull {
    background: var(--gradient-danger);
    color: white;
}

/* Cost Headers */
.cost-header {
    text-align: center;
    margin-bottom: 40px;
}

.cost-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    background: var(--gradient-success);
    color: white;
    box-shadow: var(--shadow-lg);
}

.legacy-logo {
    background: var(--gradient-danger);
}

.cost-amount {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Cost Breakdown */
.cost-breakdown {
    margin-top: 30px;
}

.cost-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cost-item:hover {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 20px 15px;
    margin: 0 -15px;
}

.cost-item.total-cost {
    border-top: 3px solid var(--usk-primary);
    border-bottom: none;
    margin-top: 20px;
    padding-top: 25px;
    font-weight: 700;
    font-size: 1.1rem;
}

.cost-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--gradient-success);
    color: white;
    flex-shrink: 0;
}

.legacy-icon {
    background: var(--gradient-danger);
}

.cost-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cost-details strong {
    font-size: 1.2rem;
    font-weight: 700;
}

/* ROI Badges */
.roi-badge, .loss-badge {
    text-align: center;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 30px;
    font-size: 1.1rem;
}

.roi-badge {
    background: var(--gradient-gold);
    color: white;
}

.loss-badge {
    background: var(--gradient-danger);
    color: white;
}

/* Features Battle */
.features-battle {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 60px 40px;
    box-shadow: var(--shadow-2xl);
    margin: 60px 0;
}

/* Feature Champions */
.feature-champion {
    background: #f8fafc;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    height: 100%;
}

.usk-features {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid var(--usk-success);
}

.legacy-features {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid var(--usk-danger);
}

/* Feature Headers */
.feature-header {
    text-align: center;
    margin-bottom: 40px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.usk-badge {
    background: var(--gradient-success);
    color: white;
}

.legacy-badge {
    background: var(--gradient-danger);
    color: white;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--usk-dark);
}

/* Feature Grid */
.feature-grid, .limitation-grid {
    display: grid;
    gap: 20px;
}

.feature-card, .limitation-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--usk-success);
}

.limitation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--usk-danger);
}

.feature-icon, .limitation-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.usk-icon {
    background: var(--gradient-success);
    color: white;
}

.limitation-icon {
    background: var(--gradient-danger);
    color: white;
}

.feature-content h5, .limitation-content h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--usk-dark);
    font-size: 1.2rem;
}

.feature-content p, .limitation-content p {
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Feature Metrics */
.feature-metric, .limitation-metric {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f1f5f9;
    border-radius: 8px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--usk-success);
}

.metric-value.danger {
    color: var(--usk-danger);
}

.metric-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Reality Check */
.reality-check {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 60px 40px;
    box-shadow: var(--shadow-2xl);
    margin: 60px 0;
}

.reality-card {
    background: #f8fafc;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.reality-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--usk-warning);
    background: white;
}

.reality-icon {
    font-size: 4rem;
    color: var(--usk-danger);
    margin-bottom: 25px;
}

.reality-card h4 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--usk-dark);
    font-size: 1.5rem;
}

.reality-card .lead {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.reality-stat {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--usk-danger);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--usk-danger);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

/* Performance Section */
.performance-section {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 60px 40px;
    box-shadow: var(--shadow-2xl);
    margin: 60px 0;
}

.performance-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.performance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.metric-success::before { background: var(--gradient-success); }
.metric-primary::before { background: var(--gradient-primary); }
.metric-warning::before { background: var(--gradient-warning); }
.metric-info::before { background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%); }

.performance-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--usk-primary);
}

.performance-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.performance-value {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.performance-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--usk-dark);
    margin-bottom: 10px;
    font-size: 1rem;
}

.performance-desc {
    color: #64748b;
    font-size: 0.95rem;
}

/* Live Status */
.live-status {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-2xl);
    margin: 60px 0;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    min-width: 280px;
    justify-content: center;
}

.status-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.status-success {
    background: var(--gradient-success);
    color: white;
}

.status-primary {
    background: var(--gradient-primary);
    color: white;
}

.status-warning {
    background: var(--gradient-warning);
    color: white;
}

.status-info {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: white;
}

.status-dark {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
}

/* Status Pulse */
.status-pulse {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* CTA Section */
.cta-section {
    margin: 80px 0;
}

.cta-card {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: var(--border-radius-xl);
    padding: 80px 60px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 0;
}

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

.cta-badge {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--gradient-gold);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: pulse-glow 3s ease-in-out infinite;
}

.benefit-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.btn-cta {
    background: var(--gradient-gold);
    border: none;
    color: white;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
    color: white;
}

.cta-urgency {
    background: rgba(220, 38, 38, 0.9);
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

/* Counter Animation */
.counter {
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cost-showdown,
    .features-battle,
    .reality-check,
    .performance-section,
    .live-status {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .cost-showdown,
    .features-battle,
    .reality-check,
    .performance-section,
    .live-status {
        margin: 40px 0;
        padding: 30px 20px;
    }
    
    .cost-champion {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .cost-amount {
        font-size: 2.5rem;
    }
    
    .performance-value {
        font-size: 3rem;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .status-item {
        min-width: auto;
        width: 100%;
    }
    
    .cta-card {
        padding: 50px 30px;
    }
    
    .display-2 {
        font-size: 3rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .cost-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cost-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .feature-card,
    .limitation-card,
    .reality-card {
        padding: 20px;
    }
    
    .performance-card {
        padding: 30px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-cta,
    .btn-outline-primary {
        width: 100%;
    }
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Focus States for Accessibility */
.cost-champion:focus,
.feature-card:focus,
.limitation-card:focus,
.reality-card:focus,
.performance-card:focus,
.status-item:focus {
    outline: 3px solid var(--usk-primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .hero-section {
        background: white !important;
    }
    
    .cost-showdown,
    .features-battle,
    .reality-check,
    .performance-section,
    .live-status,
    .cta-section {
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
        break-inside: avoid;
    }
    
    .cta-card {
        background: #f8fafc !important;
        color: #1e293b !important;
    }
}