/* ===================================
   Design Tokens & Variables — IMEG / Corvalent SCF
   =================================== */
:root {
    /* Brand Colors - IMEG */
    --primary: #BC302B;
    --primary-deep: #8B1F1B;
    --primary-light: #D94040;
    --accent: #BC302B;
    --accent-light: #E05050;
    
    /* Neutral Palette */
    --bg-base: #F4F4F4;
    --bg-gradient-start: #F8F8F8;
    --bg-gradient-end: #ECECEC;
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(188, 48, 43, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --glass-shadow-hover: 0 12px 48px rgba(188, 48, 43, 0.15);
    
    /* Text Colors */
    --text-primary: #222222;
    --text-secondary: #444444;
    --text-muted: #666666;
    --text-white: #FFFFFF;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Blur */
    --blur-light: 10px;
    --blur-medium: 15px;
    --blur-heavy: 20px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
}

/* ===================================
   Reset & Base Styles
   =================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: var(--spacing-md); color: var(--text-secondary); }
a { text-decoration: none; color: var(--primary); transition: color var(--transition-fast); }
a:hover { color: var(--primary-deep); }

/* ===================================
   Layout Components
   =================================== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--spacing-lg); }
.section-title { text-align: center; margin-bottom: var(--spacing-md); padding-top: var(--spacing-sm); color: var(--text-primary); }
.section-subtitle {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--spacing-2xl);
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(var(--blur-medium));
    -webkit-backdrop-filter: blur(var(--blur-medium));
    border-bottom: 1px solid rgba(188, 48, 43, 0.1);
    transition: all var(--transition-base);
}
.navbar.scrolled {
    padding: 0.6rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.navbar-corvalent-logo { height: 26px; width: auto; display: block; }
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.2rem;
    flex-wrap: nowrap;
}
.nav-links li a {
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary);
    background: rgba(188, 48, 43, 0.07);
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: white !important;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    font-family: var(--font-family);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(188, 48, 43, 0.35);
    color: white !important;
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    font-family: var(--font-family);
    font-size: 1rem;
}
.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}
.btn-large { padding: 14px 28px; font-size: 1rem; }
.btn-logout {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    border: 1px solid rgba(188,48,43,0.2);
    border-radius: var(--radius-sm);
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
    background: transparent;
    font-family: var(--font-family);
    text-decoration: none;
}
.btn-logout:hover { color: var(--primary); border-color: var(--primary); background: rgba(188,48,43,0.05); }

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a0a09 0%, #4a0d0a 50%, #7A1A16 100%);
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 3rem;
}
.hero-video-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.25;
    z-index: 0;
}
.hero-video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(139,31,27,0.45) 0%, rgba(188,48,43,0.28) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}
.hero-title {
    color: #FFFFFF;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-subtitle {
    color: rgba(255,255,255,0.88);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.badge-presented {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 2rem;
}
.badge-text {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ===================================
   Podcast / Audio Player
   =================================== */
.podcast-section {
    background: linear-gradient(135deg, #BC302B 0%, #8B1F1B 100%);
    padding: 1.25rem 0;
    position: relative;
    z-index: 10;
}
.podcast-player-wrapper { width: 100%; }
.podcast-slim-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}
.podcast-play-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}
.podcast-play-btn:hover { background: rgba(255,255,255,0.35); transform: scale(1.08); }
.podcast-pulse {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    animation: pulse-ring 2s ease-out infinite;
    pointer-events: none;
    z-index: 0;
}
.podcast-play-btn svg {
    position: relative;
    z-index: 1;
    pointer-events: none;
}
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}
.podcast-mid { flex: 1; min-width: 0; }
.podcast-slim-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}
.podcast-slim-title { color: white; font-weight: 600; font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.podcast-slim-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
.podcast-progress-container { cursor: pointer; padding: 4px 0; }
.podcast-progress-bar {
    position: relative;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
    overflow: visible;
}
.podcast-progress-fill {
    height: 100%;
    background: white;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}
.podcast-progress-thumb {
    position: absolute;
    width: 12px; height: 12px;
    background: white;
    border-radius: 50%;
    top: -4px; left: 0;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}
.podcast-progress-container:hover .podcast-progress-thumb { opacity: 1; }
.podcast-slim-time {
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.65);
    font-size: 0.7rem;
    margin-top: 4px;
}
.podcast-right-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.podcast-skip-btn {
    position: relative;
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: color var(--transition-fast);
    font-size: 0.65rem;
}
.podcast-skip-btn:hover { color: white; }
.skip-label { font-size: 0.65rem; font-weight: 700; }
.podcast-speed-group { display: flex; gap: 2px; }
.podcast-speed-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-family);
}
.podcast-speed-btn:hover,
.podcast-speed-btn.active { background: rgba(255,255,255,0.2); color: white; border-color: rgba(255,255,255,0.5); }
.podcast-mute-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color var(--transition-fast);
}
.podcast-mute-btn:hover { color: white; }
.podcast-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 70px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    outline: none;
}
.podcast-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

/* ===================================
   Glass Cards
   =================================== */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}
.glass-card:hover {
    box-shadow: var(--glass-shadow-hover);
}

/* ===================================
   Section Padding
   =================================== */
.context-section,
.platform-section,
.productivity-section,
.benefits-section,
.tech-section,
.security-section,
.benchmarks-section,
.dashboard-section,
.downloads-section,
.next-steps-section { padding: var(--spacing-3xl) 0; }

.platform-section { background: #fff; }
.productivity-section { background: var(--bg-base); }
.tech-section { background: #fff; }
.dashboard-section { background: var(--bg-base); }
.next-steps-section { background: linear-gradient(135deg, #8B1F1B 0%, #BC302B 100%); }
.next-steps-section .section-title,
.next-steps-section .section-subtitle { color: rgba(255,255,255,0.95) !important; }

/* ===================================
   Context Grid
   =================================== */
.context-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.card-icon {
    width: 64px; height: 64px;
    background: rgba(188,48,43,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}
.glass-card h3 { color: var(--text-primary); font-size: 1.15rem; margin-bottom: 0.75rem; }
.glass-card p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 0; }

/* Data animate */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ===================================
   Platform Cards
   =================================== */
.platform-card { gap: 0; }
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.feature-list li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* ===================================
   Productivity / Solution Cards
   =================================== */
.productivity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.productivity-card { position: relative; }
.productivity-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}
.productivity-icon svg { width: 28px; height: 28px; stroke: white; }
.productivity-card h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.productivity-card h4 { font-size: 0.85rem; font-weight: 500; color: var(--primary); margin-bottom: 0.75rem; }
.productivity-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.productivity-features li {
    padding: 0.35rem 0 0.35rem 1.25rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.875rem;
}
.productivity-features li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

/* ===================================
   Benefits Grid
   =================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.benefit-card { text-align: center; align-items: center; }
.benefit-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(188,48,43,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    flex-shrink: 0;
}
.benefit-icon svg { width: 32px; height: 32px; }
.benefit-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.btn-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(188,48,43,0.08);
    color: var(--primary);
    border: 1px solid rgba(188,48,43,0.2);
    border-radius: var(--radius-sm);
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: auto;
    font-family: var(--font-family);
}
.btn-info:hover { background: var(--primary); color: white; }
.info-icon { display: flex; align-items: center; }

/* ===================================
   Tech Pills
   =================================== */
.tech-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}
.tech-pill {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all var(--transition-base);
    box-shadow: var(--glass-shadow);
}
.tech-pill:hover { box-shadow: var(--glass-shadow-hover); }
.pill-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pill-icon svg { width: 24px; height: 24px; stroke: white; }
.pill-title { font-weight: 700; color: var(--text-primary); font-size: 1rem; }
.tech-pill p { font-size: 0.875rem; color: var(--text-secondary); margin: 0; flex: 1; }

/* ===================================
   Security Grid
   =================================== */
.security-section { background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%); }
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.security-item { text-align: center; align-items: center; }
.security-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    flex-shrink: 0;
}
.security-icon svg { width: 30px; height: 30px; stroke: white; }
.security-item h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.security-item h4 { font-size: 0.85rem; font-weight: 500; color: var(--primary); margin-bottom: 0.75rem; }

/* ===================================
   Benchmarks
   =================================== */
.benchmarks-section { background: #fff; }
.benchmarks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.benchmark-card { text-align: center; align-items: center; }
.benchmark-icon {
    width: 56px; height: 56px;
    background: rgba(188,48,43,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    flex-shrink: 0;
}
.benchmark-icon svg { width: 28px; height: 28px; stroke: var(--primary); }
.benchmark-metric { margin-bottom: 0.75rem; }
.metric-range {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    line-height: 1;
}
.metric-separator { font-weight: 300; color: var(--text-muted); }
.metric-symbol { font-size: 1.75rem; }
.benchmark-impact {
    display: inline-block;
    background: rgba(188,48,43,0.07);
    color: var(--primary);
    font-size: 0.775rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.benchmark-connection {
    background: rgba(188,48,43,0.04);
    border: 1px solid rgba(188,48,43,0.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
}
.benchmark-connection h4 { margin-bottom: 1rem; color: var(--text-primary); }
.benchmark-connection ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.benchmark-connection li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.benchmark-connection li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}
.source-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 1.5rem; text-align: center; font-style: italic; }

/* ===================================
   Dashboard Viewer
   =================================== */
.dash-viewer {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border: 1px solid var(--glass-border);
}
.dash-tabs {
    background: var(--text-primary);
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}
.dash-tab {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
    gap: 2px;
    font-family: var(--font-family);
}
.dash-tab:hover { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.05); }
.dash-tab.active { color: white; background: rgba(188,48,43,0.25); border-left-color: var(--primary); }
.dash-tab-num { font-size: 0.7rem; font-weight: 700; color: var(--primary); letter-spacing: 1px; }
.dash-tab-label { font-size: 0.82rem; font-weight: 500; line-height: 1.3; }
.dash-panel { background: white; display: flex; flex-direction: column; }
.dash-img-wrap {
    flex: 1;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dash-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    min-height: 340px;
}
.dash-caption {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    background: #fafafa;
}
.dash-caption h4 { font-size: 0.95rem; color: var(--text-primary); margin-bottom: 0.35rem; }
.dash-caption p { font-size: 0.82rem; color: var(--text-secondary); margin: 0; }

/* Dashboard placeholder */
.dash-placeholder {
    width: 100%;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, #f8f8f8 0%, #ececec 100%);
    color: var(--text-muted);
}
.dash-placeholder svg { opacity: 0.3; }
.dash-placeholder p { font-size: 0.9rem; margin: 0; }

/* Real Image Dashboard Panels */
.dash-img-panel {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.dash-img-panel.active {
    display: block;
    opacity: 1;
}
.dash-real-img {
    width: 100%;
    height: auto;
    min-height: 340px;
    max-height: 520px;
    object-fit: cover;
    object-position: top left;
    display: block;
}
/* Make img-wrap a relative container */
.dash-img-wrap {
    position: relative;
    overflow: hidden;
    background: #0d1a27;
}
@media (max-width: 700px) {
    .dash-real-img { min-height: 200px; max-height: 320px; }
}

/* ===================================
   Downloads / Materials
   =================================== */
.downloads-section { background: #fff; }
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.download-card { gap: 1rem; }
.download-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.download-icon svg { width: 28px; height: 28px; }
.download-card h3 { font-size: 1.05rem; margin-bottom: 0; }
.download-card p { font-size: 0.875rem; margin-bottom: 0; flex: 1; }
.download-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.file-type, .file-size, .read-time {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}
.file-type { background: rgba(188,48,43,0.1); color: var(--primary); }
.file-size { background: rgba(0,0,0,0.06); color: var(--text-muted); }
.read-time { background: rgba(0,0,0,0.06); color: var(--text-muted); }
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-family);
    text-decoration: none;
}
.btn-download:hover { background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); transform: translateY(-1px); color: white; }
.podcast-exclusive-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(188,48,43,0.08);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.podcast-material-card {}

/* ===================================
   Next Steps
   =================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.step-item {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.2) !important;
}
.step-item:hover { background: rgba(255,255,255,0.18) !important; }
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
    flex-shrink: 0;
}
.step-item h3 { color: white; font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-item p { color: rgba(255,255,255,0.8); font-size: 0.875rem; margin: 0; }
.cta-container {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.15);
}
.cta-container h3 { color: white; }
.cta-container p { color: rgba(255,255,255,0.8); }
.cta-container .btn-primary {
    background: white;
    color: var(--primary) !important;
}
.cta-container .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    color: var(--primary-deep) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ===================================
   Confidential Banner
   =================================== */
.confidential-banner {
    background: linear-gradient(135deg, #1a0a0a 0%, #2a0f0f 100%);
    border-top: 3px solid var(--primary);
    border-bottom: 3px solid rgba(188,48,43,0.3);
    padding: 1rem 0;
}
.confidential-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    line-height: 1.6;
    padding: 0.25rem 0;
}
.confidential-inner svg {
    color: var(--primary);
    margin-top: 2px;
}
.confidential-inner p {
    margin: 0;
    color: rgba(255,255,255,0.75);
}
.confidential-inner strong {
    color: rgba(255,255,255,0.95);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-primary);
    padding: var(--spacing-2xl) 0 var(--spacing-sm);
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-brand {}
.footer-logo { height: 36px; width: auto; display: block; margin-bottom: 1rem; }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.footer-contact h4, .footer-presented h4 { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-bottom: 0.75rem; }
.footer-contact p, .footer-presented p { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-bottom: 0.35rem; }
.footer-contact a, .footer-presented a { color: rgba(255,255,255,0.7); }
.presented-label { color: rgba(255,255,255,0.5); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.presented-date { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.25rem;
    text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin: 0; }

/* ===================================
   Modals
   =================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}
.modal.active { opacity: 1; pointer-events: all; }
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}
.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    animation: modal-in 0.3s ease;
}
@keyframes modal-in {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    line-height: 1;
    z-index: 1;
}
.modal-close:hover { background: rgba(188,48,43,0.1); color: var(--primary); }
.modal-header {
    padding: 2rem 2rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.modal-header h2 { font-size: 1.3rem; margin: 0; color: var(--text-primary); }
.modal-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.modal-icon svg { width: 24px; height: 24px; stroke: white; }
.modal-metric {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.modal-body {
    padding: 1.5rem 2rem 2rem;
}
.modal-body h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 1rem; font-weight: 600; }
.modal-body ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.modal-body li {
    padding: 0.75rem 1rem;
    background: var(--bg-base);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.modal-body li strong { color: var(--text-primary); display: block; margin-bottom: 2px; font-size: 0.85rem; }
.modal-body ul.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

/* PDF / Video modal */
.pdf-modal .modal-content,
.video-modal .modal-content {
    max-width: 90vw;
    width: 90vw;
    max-height: 90vh;
}
.pdf-frame { width: 100%; height: 70vh; border: none; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }

/* ===================================
   Login Page
   =================================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a0a09 0%, #6B1815 50%, #BC302B 100%);
    position: relative;
    padding: 1rem;
}
.login-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}
.login-logo { text-align: center; margin-bottom: 1.5rem; }
.login-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}
.login-subtitle {
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-family);
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
    background: #fafafa;
}
.form-group input:focus { outline: none; border-color: var(--primary); background: white; }
.login-error {
    background: rgba(188,48,43,0.08);
    color: var(--primary);
    border: 1px solid rgba(188,48,43,0.2);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.85rem;
    display: none;
}
.login-error.active { display: flex; align-items: center; }
.btn-login {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-family);
}
.btn-login:hover { background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(188,48,43,0.35); }
.login-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1024px) {
    .nav-links { gap: 0.1rem; }
    .nav-links li a { font-size: 0.72rem; padding: 5px 6px; }
    .platform-grid { grid-template-columns: 1fr !important; }
    .dash-viewer { grid-template-columns: 1fr; }
    .dash-tabs { flex-direction: row; overflow-x: auto; padding: 0; }
    .dash-tab { min-width: 140px; border-left: none; border-bottom: 3px solid transparent; padding: 0.75rem 1rem; }
    .dash-tab.active { border-left-color: transparent; border-bottom-color: var(--primary); }
}
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 0.25rem;
        border-bottom: 1px solid rgba(188,48,43,0.1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: none;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-toggle { display: flex; }
    .hero-cta { flex-direction: column; align-items: center; }
    .podcast-right-controls { display: none; }
    .podcast-volume-slider { display: none; }
    .context-grid, .productivity-grid, .benefits-grid { grid-template-columns: 1fr; }
    .security-grid, .benchmarks-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .modal-body ul.two-columns { grid-template-columns: 1fr; }
    .modal-content { max-height: 90vh; }
    .footer-content { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .podcast-slim-row { padding: 0 1rem; }
    .downloads-grid { grid-template-columns: 1fr; }
}

/* ===================================
   IoT Canvas / Animation Section
   =================================== */
.iot-section {
    position: relative;
    background: linear-gradient(135deg, #1a0a09 0%, #4a0d0a 100%);
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
}
.iot-canvas-wrap {
    position: relative;
    height: 380px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}
#iotCanvas { display: block; width: 100%; height: 100%; }

/* ===================================
   Scrollbar
   =================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: rgba(188,48,43,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
