/* ===================================
   Design Tokens & Variables
   Larson Engineering — Smart Building 4.0
   =================================== */
:root {
    /* Larson / Corvalent Brand Colors */
    --primary: #005DAA;        /* Larson Blue */
    --primary-deep: #003B6F;   /* Dark Navy */
    --accent: #005DAA;         /* Primary Blue accent */
    --accent-light: #D9EAF7;   /* Light Blue Accent */

    /* Light Theme Base */
    --bg-base: #F4F6F8;
    --bg-gradient-start: #F4F6F8;
    --bg-gradient-end: #E8EEF5;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 93, 170, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 59, 111, 0.08);
    --glass-shadow-hover: 0 12px 48px rgba(0, 59, 111, 0.15);

    /* Text Colors */
    --text-primary: #1F2933;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --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(--primary-deep);
    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); }
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
    line-height: 1.8;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(var(--blur-heavy));
    -webkit-backdrop-filter: blur(var(--blur-heavy));
    border-bottom: 1px solid rgba(0, 93, 170, 0.1);
    transition: all var(--transition-base);
    height: 64px;
    display: flex;
    align-items: center;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 4px 24px rgba(0, 59, 111, 0.1);
}
.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.navbar-corvalent-logo { height: 26px; width: auto; display: block; }
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}
.nav-links li a {
    font-size: 0.8125rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    padding: 6px 10px;
    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: var(--accent-light);
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: white !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 93, 170, 0.2);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-deep) 0%, #002855 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 93, 170, 0.35);
    color: white !important;
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--primary);
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    transition: all var(--transition-base);
    border: 2px solid var(--primary);
    cursor: pointer;
    text-decoration: none;
}
.btn-secondary:hover {
    background: var(--accent-light);
    color: var(--primary-deep);
    border-color: var(--primary-deep);
}
.btn-large { padding: 14px 32px; font-size: 1rem; }
.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary) !important;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,0.1);
    transition: all var(--transition-fast);
}
.btn-logout:hover {
    color: var(--primary) !important;
    border-color: var(--primary);
    background: var(--accent-light);
}
.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(--primary-deep);
    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-section {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 60%, #1a5fa0 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.hero-video-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.18;
    z-index: 0;
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,59,111,0.45) 0%, rgba(0,93,170,0.30) 100%);
    z-index: 1;
}
.hero-title { color: white !important; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; }
.hero-subtitle { color: rgba(255,255,255,0.88); }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.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.2);
    border-radius: 50px;
    padding: 8px 20px;
}
.badge-text { color: rgba(255,255,255,0.8); font-size: 0.875rem; font-weight: 500; }
.hero-content { text-align: center; max-width: 900px; margin: 0 auto; }

/* ===================================
   Podcast Player
   =================================== */
.podcast-section {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
    padding: 1.25rem 0;
}
.podcast-player-wrapper {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.podcast-slim-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
}
.podcast-play-btn {
    position: relative;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    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.25); border-color: rgba(255,255,255,0.5); }
.podcast-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}
.podcast-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.podcast-slim-meta { display: flex; align-items: center; gap: 8px; }
.podcast-slim-title { color: white; font-size: 0.875rem; font-weight: 600; 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.6875rem; 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.2); border-radius: 4px; }
.podcast-progress-fill { height: 100%; background: white; border-radius: 4px; width: 0%; transition: width 0.1s; }
.podcast-progress-thumb {
    position: absolute;
    top: 50%; right: -6px;
    transform: translateY(-50%);
    width: 12px; height: 12px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.podcast-progress-container:hover .podcast-progress-thumb { opacity: 1; }
.podcast-slim-time { display: flex; justify-content: space-between; color: rgba(255,255,255,0.6); font-size: 0.75rem; }
.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.7);
    cursor: pointer;
    display: flex; align-items: center;
    padding: 4px;
    border-radius: 4px;
    transition: color var(--transition-fast);
}
.podcast-skip-btn:hover { color: white; }
.skip-label { position: absolute; font-size: 0.5rem; font-weight: 700; color: currentColor; bottom: 2px; left: 50%; transform: translateX(-50%); }
.podcast-speed-group { display: flex; gap: 2px; }
.podcast-speed-btn {
    background: rgba(255,255,255,0.1); border: none;
    color: rgba(255,255,255,0.7);
    font-size: 0.6875rem; font-weight: 600;
    padding: 3px 6px; border-radius: 4px;
    cursor: pointer; transition: all var(--transition-fast);
}
.podcast-speed-btn:hover, .podcast-speed-btn.active { background: rgba(255,255,255,0.25); color: white; }
.podcast-mute-btn {
    background: none; border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer; padding: 4px; border-radius: 4px;
    display: flex; align-items: center;
    transition: color var(--transition-fast);
}
.podcast-mute-btn:hover { color: white; }
.podcast-volume-slider {
    -webkit-appearance: none;
    height: 3px; background: rgba(255,255,255,0.2); border-radius: 2px;
    outline: none; cursor: pointer;
}
.podcast-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px; height: 12px;
    background: white; border-radius: 50%;
}

/* ===================================
   Glass Card
   =================================== */
.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: all var(--transition-base);
}
.glass-card:hover {
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(0, 93, 170, 0.25);
}

/* ===================================
   Context Section
   =================================== */
.context-section { padding: var(--spacing-3xl) 0; background: var(--bg-base); }
.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: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}

/* ===================================
   Platform Section
   =================================== */
.platform-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
    color: white;
}
.platform-section .section-title { color: white; }
.platform-section .section-subtitle { color: rgba(255,255,255,0.8); }
.platform-section .glass-card {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    color: white;
}
.platform-section .glass-card p { color: rgba(255,255,255,0.8); }
.platform-section .glass-card h3 { color: white; }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.feature-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.feature-list li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
}
.feature-list li::before {
    content: '';
    display: block;
    width: 6px; height: 6px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}
.feature-list li:last-child { border-bottom: none; }

/* ===================================
   Productivity / Solutions Section
   =================================== */
.productivity-section { padding: var(--spacing-3xl) 0; background: var(--bg-base); }
.productivity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.productivity-icon {
    width: 56px; height: 56px;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
}
.productivity-icon svg { width: 28px; height: 28px; stroke: var(--primary); }
.productivity-features { list-style: none; padding: 0; margin-top: 1rem; }
.productivity-features li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 0.375rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.productivity-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.875rem;
}

/* ===================================
   Benefits Section
   =================================== */
.benefits-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--accent-light) 0%, #F4F6F8 100%);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.benefit-card { text-align: center; }
.benefit-icon {
    width: 64px; height: 64px;
    background: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(0, 93, 170, 0.12);
}
.benefit-icon svg { width: 32px; height: 32px; }
.btn-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-light);
    color: var(--primary);
    border: 1px solid rgba(0, 93, 170, 0.2);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: 1rem;
}
.btn-info:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.info-icon { display: flex; }

/* ===================================
   Tech Section
   =================================== */
.tech-section { padding: var(--spacing-3xl) 0; background: var(--bg-base); }
.tech-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.tech-pill {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-base);
    text-align: center;
}
.tech-pill:hover { box-shadow: var(--glass-shadow-hover); }
.pill-icon {
    display: flex; align-items: center; justify-content: center;
    width: 52px; height: 52px;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    margin: 0 auto 0.75rem;
    color: var(--primary);
}
.pill-icon svg { width: 26px; height: 26px; stroke: var(--primary); }
.pill-title { display: block; font-size: 1rem; font-weight: 700; color: var(--primary-deep); margin-bottom: 0.5rem; }
.tech-pill p { font-size: 0.875rem; margin: 0 0 0.75rem; }

/* ===================================
   Security Section
   =================================== */
.security-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
}
.security-section .section-title { color: white; }
.security-section .section-subtitle { color: rgba(255,255,255,0.8); }
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.security-item {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}
.security-item h3 { color: white; }
.security-item h4 { color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 500; margin-bottom: 0.5rem; }
.security-item p { color: rgba(255,255,255,0.75); margin: 0 0 1rem; font-size: 0.9rem; }
.security-icon {
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.security-icon svg { stroke: white !important; }
.security-item .btn-info {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: rgba(255,255,255,0.3);
}
.security-item .btn-info:hover {
    background: white;
    color: var(--primary);
}

/* ===================================
   Benchmarks Section
   =================================== */
.benchmarks-section { padding: var(--spacing-3xl) 0; background: var(--bg-base); }
.benchmarks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.benchmark-card { text-align: center; }
.benchmark-icon {
    width: 60px; height: 60px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.benchmark-icon svg { width: 28px; height: 28px; }
.benchmark-metric { margin: 0.5rem 0 1rem; }
.metric-range {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.metric-second { color: var(--primary-deep); }
.metric-symbol { font-size: 1.5rem; }
.benchmark-impact {
    display: inline-block;
    background: var(--accent-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}
.benchmark-connection {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 2rem;
}
.benchmark-connection h4 { color: var(--primary-deep); margin-bottom: 1rem; }
.benchmark-connection ul { list-style: none; padding: 0; }
.benchmark-connection li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,93,170,0.08);
    color: var(--text-secondary);
    font-size: 0.925rem;
}
.benchmark-connection li:last-child { border-bottom: none; }
.source-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 1.5rem; }

/* ===================================
   Dashboard Section
   =================================== */
.dashboard-section { padding: var(--spacing-3xl) 0; background: var(--accent-light); }
.dash-viewer {
    display: flex;
    gap: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    min-height: 520px;
}
.dash-tabs {
    width: 240px;
    flex-shrink: 0;
    background: var(--primary-deep);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.dash-tabs::-webkit-scrollbar { width: 4px; }
.dash-tabs::-webkit-scrollbar-track { background: transparent; }
.dash-tabs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }
.dash-tab {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.875rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition-fast);
    border-left: 3px solid transparent;
}
.dash-tab:hover { background: rgba(255,255,255,0.08); }
.dash-tab.active {
    background: rgba(255,255,255,0.12);
    border-left-color: white;
}
.dash-tab-num { color: rgba(255,255,255,0.4); font-size: 0.7rem; font-weight: 700; margin-top: 3px; flex-shrink: 0; }
.dash-tab-label { color: rgba(255,255,255,0.85); font-size: 0.8125rem; font-weight: 500; line-height: 1.3; }
.dash-tab.active .dash-tab-label { color: white; font-weight: 600; }
.dash-panel { flex: 1; display: flex; flex-direction: column; }
.dash-img-wrap { flex: 1; overflow: hidden; background: #0a1628; min-height: 380px; display: flex; align-items: center; justify-content: center; position: relative; }
.dash-main-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    display: block;
}
.dash-placeholder {
    width: 100%; height: 100%; min-height: 320px;
    background: linear-gradient(135deg, #0a1628, #1a3a6b);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 1rem; color: rgba(255,255,255,0.5);
}
.dash-caption { padding: 1rem 1.5rem; background: white; }
.dash-caption h4 { color: var(--primary-deep); font-size: 0.975rem; margin-bottom: 0.25rem; }
.dash-caption p { color: var(--text-muted); font-size: 0.825rem; margin: 0; line-height: 1.5; }

/* ===================================
   Downloads / Materials Section
   =================================== */
.downloads-section { padding: var(--spacing-3xl) 0; background: var(--bg-base); }
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.download-card { display: flex; flex-direction: column; }
.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;
    margin-bottom: 1rem;
}
.download-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.75rem; }
.file-type, .file-size, .read-time {
    background: var(--accent-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}
.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 !important;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    text-decoration: none;
    margin-top: 0.75rem;
}
.btn-download:hover { opacity: 0.9; transform: translateY(-1px); color: white !important; }
.exclusive-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--accent-light);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    width: fit-content;
    letter-spacing: 0.02em;
}

.podcast-exclusive-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--accent-light);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    width: fit-content;
}

/* ===================================
   Next Steps Section
   =================================== */
.next-steps-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--accent-light) 0%, #F4F6F8 100%);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    counter-reset: steps;
}
.step-item { position: relative; }
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.step-discover .step-number { background: linear-gradient(135deg, #005DAA, #003B6F); }
.step-prioritize .step-number { background: linear-gradient(135deg, #1a73c5, #005DAA); }
.step-design .step-number { background: linear-gradient(135deg, #2e82d4, #1a73c5); }
.step-execute .step-number { background: linear-gradient(135deg, #4a93de, #2e82d4); }
.cta-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,93,170,0.1);
    border: 1px solid rgba(0,93,170,0.12);
}

/* ===================================
   Confidential Bar
   =================================== */
.confidential-bar {
    background: #FFF8E7;
    border-top: 2px solid #F0B429;
    border-bottom: 2px solid #F0B429;
    padding: 0.875rem 0;
}
.confidential-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #7A4F01;
    font-size: 0.825rem;
    line-height: 1.5;
}
.confidential-inner svg {
    color: #D97706;
    margin-top: 1px;
}
.confidential-inner p {
    margin: 0;
}
.confidential-inner strong {
    color: #5A3700;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary-deep);
    padding: 3rem 0 1.5rem;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}
.footer-tagline { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-top: 0.75rem; }
.footer-contact h4 { color: white; margin-bottom: 1rem; }
.footer-contact p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 0.5rem; display: flex; align-items: center; }
.footer-presented { text-align: right; }
.presented-label { color: rgba(255,255,255,0.5); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.presented-date { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin: 0; }
.footer-logo { height: 36px; width: auto; }

/* ===================================
   Modals
   =================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    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, 20, 50, 0.6);
    backdrop-filter: blur(4px);
}
.modal-content {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 20px 80px rgba(0, 59, 111, 0.3);
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.97);
    transition: all var(--transition-base);
}
.modal.active .modal-content {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(0,93,170,0.08);
    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);
}
.modal-close:hover { background: var(--primary); color: white; }
.modal-header { margin-bottom: 1.5rem; }
.modal-icon {
    width: 52px; height: 52px;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
}
.modal-icon svg { width: 28px; height: 28px; stroke: var(--primary); }
.modal-header h2 { font-size: 1.4rem; color: var(--primary-deep); }
.modal-metric {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0.5rem 0;
}
.modal-body h3 { font-size: 1rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1rem; }
.modal-body ul { list-style: none; padding: 0; }
.modal-body ul li {
    display: flex;
    gap: 10px;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,93,170,0.07);
    font-size: 0.9rem;
    color: var(--text-secondary);
    align-items: flex-start;
    line-height: 1.5;
}
.modal-body ul li::before {
    content: '';
    display: block;
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}
.modal-body ul li:last-child { border-bottom: none; }
.modal-body ul li strong { color: var(--primary-deep); white-space: nowrap; }
.modal-body ul.two-columns { columns: 2; gap: 1rem; }
.modal-body ul.two-columns li { break-inside: avoid; }
.pdf-modal .modal-content {
    max-width: 90vw; width: 90vw;
    height: 90vh;
    display: flex; flex-direction: column;
}
#pdfFrame { flex: 1; border: none; border-radius: var(--radius-sm); }

/* ===================================
   Login Page
   =================================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00254D 0%, #005DAA 50%, #1a3a6b 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.login-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 24px 80px rgba(0, 40, 100, 0.3);
    position: relative;
    z-index: 1;
}
.login-logo { text-align: center; margin-bottom: 1.5rem; }
.login-title { font-size: 1.5rem; text-align: center; color: var(--primary-deep); margin-bottom: 0.25rem; }
.login-subtitle { text-align: center; color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; }
.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: 11px 14px;
    border: 2px solid rgba(0,93,170,0.2);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 0.9375rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition-fast);
    background: white;
}
.form-group input:focus { border-color: var(--primary); }
.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: 700;
    cursor: pointer;
    transition: all var(--transition-base);
}
.btn-login:hover { opacity: 0.9; transform: translateY(-1px); }
.login-error {
    background: #FFF0F0;
    color: #C53030;
    border: 1px solid #FC8181;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    display: none;
    margin-top: 0.75rem;
}
.login-error.active { display: block; }
.login-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===================================
   IoT Canvas Animation
   =================================== */
.iot-canvas-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}
.iot-canvas-section .section-title { color: white; }
.iot-canvas-section .section-subtitle { color: rgba(255,255,255,0.8); }
.iot-canvas-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 360px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.15);
}
#iotCanvas { width: 100%; height: 100%; display: block; }
.iot-canvas-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    pointer-events: none;
}
.iot-center-badge {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2.5rem;
    text-align: center;
}
.iot-center-badge h3 { color: white; font-size: 1.25rem; margin-bottom: 0.25rem; }
.iot-center-badge p { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.875rem; }
.iot-nodes {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.iot-node {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===================================
   Intro Letter Section
   =================================== */
.intro-letter-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--accent-light) 0%, white 100%);
}
.letter-card {
    max-width: 780px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: 0 8px 40px rgba(0,93,170,0.1);
    border: 1px solid rgba(0,93,170,0.12);
    position: relative;
}
.letter-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-deep));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.letter-date { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; }
.letter-body { line-height: 1.9; color: var(--text-secondary); }
.letter-body p { margin-bottom: 1.25rem; }
.letter-signature { margin-top: 2rem; border-top: 1px solid rgba(0,93,170,0.1); padding-top: 1.5rem; }
.letter-signature strong { color: var(--primary-deep); }

/* ===================================
   Animations
   =================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-8px); }
    30% { transform: translateX(8px); }
    45% { transform: translateX(-6px); }
    60% { transform: translateX(6px); }
    75% { transform: translateX(-4px); }
    90% { transform: translateX(4px); }
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1024px) {
    .platform-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        border-bottom: 1px solid rgba(0,93,170,0.1);
        gap: 4px;
        z-index: 999;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-toggle { display: flex; }
    .dash-viewer { flex-direction: column; }
    .dash-tabs { width: 100%; flex-direction: row; overflow-x: auto; padding: 0.75rem; gap: 0; }
    .dash-tab { flex-shrink: 0; padding: 0.625rem 0.875rem; border-left: none; border-bottom: 3px solid transparent; }
    .dash-tab.active { border-bottom-color: white; border-left-color: transparent; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-presented { text-align: left; }
    .hero-cta { justify-content: center; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .cta-container { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .podcast-right-controls { display: none; }
    .modal-content { padding: 1.75rem 1.5rem; border-radius: var(--radius-lg); }
}
