/* FKTI Learning Hub Styles */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Data-modelling inspired (refined) */
    --primary-color: #3b82f6;
    --primary-blue: #3b82f6;
    --primary-color-dark: #2563eb;
    --primary-purple: #8b5cf6;
    --primary-purple-dark: #7c3aed;
    --accent-cyan: #06b6d4;
    --accent-color: #22c55e;
    --secondary-color: #f97316;
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    --bg-gradient-start: #f0f9ff;
    --bg-gradient-end: #e0f2fe;
    --border-light: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Course Brand Colors */
    --python-primary: #3776ab;
    --python-secondary: #ffd43b;
    --airflow-primary: #017cee;
    --airflow-secondary: #00c7d4;
    --terraform-primary: #623ce4;
    --terraform-secondary: #7b42f6;
    --redshift-primary: #ff9900;
    --redshift-secondary: #ffb84d;
    --mssql-primary: #cc2927;
    --mssql-secondary: #e74c3c;
    --dbt-primary: #ff694b;
    --dbt-secondary: #ff8a65;
    --metabase-primary: #509ee3;
    --metabase-secondary: #42a5f5;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Font Sizes */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* Technology Train Section */
.tech-train {
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
    padding: var(--spacing-2xl) 0;
    overflow: hidden;
    position: relative;
    min-height: 200px;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.tech-train::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 200 100"><defs><pattern id="subtleClouds" x="0" y="0" width="200" height="100" patternUnits="userSpaceOnUse"><circle cx="40" cy="30" r="12" fill="rgba(108,117,125,0.03)" opacity="0.5"/><circle cx="160" cy="60" r="18" fill="rgba(108,117,125,0.02)" opacity="0.4"/><circle cx="100" cy="80" r="8" fill="rgba(108,117,125,0.04)" opacity="0.3"/></pattern></defs><rect width="200" height="100" fill="url(%23subtleClouds)"/></svg>') repeat;
    animation: cloudMove 120s linear infinite;
    pointer-events: none;
}

@keyframes cloudMove {
    from { transform: translateX(0); }
    to { transform: translateX(-100px); }
}

.train-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
}

.train-track {
    position: relative;
    height: 160px;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.train-line {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #6c757d 0%, #6c757d 45%, 
        #adb5bd 45%, #adb5bd 55%, 
        #6c757d 55%, #6c757d 100%);
    background-size: 40px 3px;
    animation: trackMove 3s linear infinite;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

@keyframes trackMove {
    from { background-position-x: 0; }
    to { background-position-x: 40px; }
}

.train-cars {
    display: flex;
    align-items: flex-end;
    position: absolute;
    bottom: 34px;
    animation: trainMove 25s linear infinite;
    gap: 2px;
}

@keyframes trainMove {
    from { transform: translateX(100vw); }
    to { transform: translateX(-100%); }
}

.train-car {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    min-width: 120px;
    width: 120px;
    height: 85px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-right: var(--spacing-xs);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.train-car:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Engine Styling */
.train-car.engine {
    background: linear-gradient(135deg, #495057, #6c757d);
    min-width: 100px;
    width: 100px;
    height: 90px;
    border-radius: var(--radius-lg);
    color: white;
}

.train-car.engine .smoke {
    position: absolute;
    top: -25px;
    left: 20%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    animation: steamEngine 1.5s ease-in-out infinite;
    z-index: 10;
}

.train-car.engine .smoke::after {
    content: '💨💨';
    position: absolute;
    top: -8px;
    left: 10px;
    font-size: 0.6rem;
    animation: steamEngine 1.8s ease-in-out infinite 0.3s;
    opacity: 0.7;
}

.train-car.engine .smoke::before {
    content: '💨';
    position: absolute;
    top: -15px;
    left: 25px;
    font-size: 0.5rem;
    animation: steamEngine 2.1s ease-in-out infinite 0.6s;
    opacity: 0.5;
}

@keyframes steamEngine {
    0% { 
        transform: translateX(-50%) translateY(0) scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: translateX(-50%) translateY(-15px) scale(1.2); 
        opacity: 0.6; 
    }
    100% { 
        transform: translateX(-50%) translateY(-25px) scale(1.4); 
        opacity: 0; 
    }
}

/* Caboose Styling */
.train-car.caboose {
    background: #ffffff;
    border-left: 3px solid #20c997;
    border-radius: var(--radius-lg);
}

/* Technology-specific car colors */
.train-car.mssql-car {
    border-left: 3px solid var(--mssql-primary);
}

.train-car.python-car {
    border-left: 3px solid var(--python-primary);
}

.train-car.terraform-car {
    border-left: 3px solid var(--terraform-primary);
}

.train-car.redshift-car {
    border-left: 3px solid var(--redshift-primary);
}

.train-car.airflow-car {
    border-left: 3px solid var(--airflow-primary);
}

.train-car.dbt-car {
    border-left: 3px solid var(--dbt-primary);
}

.train-car.metabase-car {
    border-left: 3px solid var(--metabase-primary);
}

.car-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xs);
    position: relative;
}

.car-icon {
    font-size: 1.2rem;
    background: #f8f9fa;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.car-connector {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 15px;
    background: #adb5bd;
    border-radius: 2px;
}

.car-content {
    text-align: center;
    color: var(--text-dark);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--spacing-xs);
    overflow: hidden;
}

.car-title {
    font-size: 0.7rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 2px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.car-subtitle {
    font-size: 0.6rem;
    color: var(--text-medium);
    font-weight: var(--font-weight-medium);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.car-wheels {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.wheel {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #495057 30%, #6c757d 60%, #adb5bd 100%);
    border-radius: 50%;
    border: 1px solid #343a40;
    animation: wheelSpin 1s linear infinite;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

@keyframes wheelSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tech-train {
        padding: var(--spacing-xl) 0;
        min-height: 150px;
    }
    
    .train-track {
        height: 100px;
    }
    
    .train-car {
        min-width: 90px;
        width: 90px;
        height: 70px;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .train-car.engine {
        min-width: 80px;
        width: 80px;
        height: 75px;
    }
    
    .car-icon {
        width: 22px;
        height: 22px;
        font-size: 1rem;
    }
    
    .car-title {
        font-size: 0.6rem;
    }
    
    .car-subtitle {
        font-size: 0.5rem;
    }
    
    .wheel {
        width: 10px;
        height: 10px;
    }
    
    .car-wheels {
        gap: 8px;
        bottom: -6px;
    }
    
    .train-cars {
        bottom: 28px;
    }
}

@media (max-width: 480px) {
    .train-cars {
        animation-duration: 20s;
    }
    
    .train-car {
        min-width: 75px;
        width: 75px;
        height: 60px;
    }
    
    .train-car.engine {
        min-width: 70px;
        width: 70px;
        height: 65px;
    }
    
    .car-title {
        font-size: 0.55rem;
    }
    
    .car-subtitle {
        font-size: 0.45rem;
    }
    
    .car-icon {
        width: 18px;
        height: 18px;
        font-size: 0.8rem;
    }
    
    .wheel {
        width: 8px;
        height: 8px;
    }
}

/* Engine text color fix */
.train-car.engine .car-content {
    color: white;
}

.train-car.engine .car-title {
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.train-car.engine .car-subtitle {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Blue Theme (Default) */
[data-theme="blue"] {
    --primary-color: #0077be;
    --primary-blue: #0077be; /* Alias for compatibility */
    --primary-color-dark: #005a8b;
    --accent-color: #4caf50;
    --secondary-color: #ff9800;
    --bg-gradient-start: #f0f7ff;
    --bg-gradient-end: #e3f2fd;
}

/* Green Theme */
[data-theme="green"] {
    --primary-color: #27ae60;
    --primary-blue: #27ae60; /* Alias for compatibility */
    --primary-color-dark: #1e8449;
    --accent-color: #3498db;
    --secondary-color: #e67e22;
    --bg-gradient-start: #f0fff4;
    --bg-gradient-end: #e8f5e8;
}

/* Purple Theme */
[data-theme="purple"] {
    --primary-color: #8e44ad;
    --primary-blue: #8e44ad; /* Alias for compatibility */
    --primary-color-dark: #6c3483;
    --accent-color: #f39c12;
    --secondary-color: #e74c3c;
    --bg-gradient-start: #f8f4ff;
    --bg-gradient-end: #f0e6ff;
}

/* Orange Theme */
[data-theme="orange"] {
    --primary-color: #e67e22;
    --primary-blue: #e67e22; /* Alias for compatibility */
    --primary-color-dark: #d35400;
    --accent-color: #27ae60;
    --secondary-color: #3498db;
    --bg-gradient-start: #fff8f0;
    --bg-gradient-end: #ffebdd;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-color: #74b9ff;
    --primary-blue: #74b9ff; /* Alias for compatibility */
    --primary-color-dark: #0984e3;
    --accent-color: #00b894;
    --secondary-color: #fd79a8;
    --text-dark: #e1e5e9;
    --text-medium: #b2bec3;
    --text-light: #636e72;
    --bg-white: #2d3436;
    --bg-light: #636e72;
    --bg-lighter: #74b9ff;
    --bg-gradient-start: #2d3436;
    --bg-gradient-end: #636e72;
    --border-light: #636e72;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f8faff 0%, #fdf2f8 35%, #ecfeff 65%, #faf5ff 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    letter-spacing: -0.01em;
}

/* Improved Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 var(--spacing-md) 0;
    letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin: 0 0 var(--spacing-md) 0;
    text-align: left;
    max-width: 65ch;
}

/* Better text alignment for content sections */
.content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.content-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.content-section h3 {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-lg);
}

/* Improved lists */
ul, ol {
    margin: 0 0 var(--spacing-md) var(--spacing-lg);
    padding: 0;
}

li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

/* Code blocks with better alignment */
.code-block {
    margin: var(--spacing-lg) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.code-block pre {
    margin: 0;
    padding: var(--spacing-lg);
    background: #1a1a1a;
    color: #f8f8f2;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

/* Navigation - ultra-slim floating glass bar */
.main-nav {
    position: fixed;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: navSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.main-nav:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
}

@keyframes navSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Data-modelling-style orb animation for hub pages */
.page-orb-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.page-orb-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.14;
    animation: pageOrbFloat 22s ease-in-out infinite;
}
.page-orb-bg .orb:nth-child(1) { width: 400px; height: 400px; background: #818cf8; top: 5%; left: -3%; animation-delay: 0s; }
.page-orb-bg .orb:nth-child(2) { width: 350px; height: 350px; background: #f9a8d4; top: 45%; right: -5%; animation-delay: -7s; }
.page-orb-bg .orb:nth-child(3) { width: 320px; height: 320px; background: #67e8f9; bottom: 5%; left: 25%; animation-delay: -14s; }
@keyframes pageOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(25px, -18px) scale(1.04); }
    66% { transform: translate(-12px, 22px) scale(0.96); }
}
.top-offset-for-nav { padding-top: 72px !important; }

/* App download - keep visible in nav */
.app-download-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
    border: none;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.78rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 2px;
    flex-shrink: 0;
}
.app-download-nav:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    transform: translateY(-1px);
}
.app-download-nav-icon { font-size: 0.95rem; }
.app-download-nav-text {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    white-space: nowrap;
    transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}
.app-download-nav:hover .app-download-nav-text {
    max-width: 160px;
    opacity: 1;
}

.nav-container {
    margin: 0 auto;
    padding: 0 8px 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    height: 44px;
    flex-wrap: nowrap;
}

.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link:hover .nav-logo {
    transform: rotate(-6deg) scale(1.08);
}

/* Fancy home icon button */
.home-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff !important;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(99,102,241,0.25);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}
.home-icon-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 100%);
    border-radius: 10px 10px 0 0;
    pointer-events: none;
}
.home-icon-btn:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 20px rgba(99,102,241,0.35);
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}
.home-icon-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.home-icon-btn:hover i {
    transform: scale(1.12);
}

/* Nav middle: subtle dot animation only (no text), never overlaps menu */
.nav-middle {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    height: 100%;
}
.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6366f1;
    opacity: 0.5;
    animation: navDotPulse 1.4s ease-in-out infinite;
}
.nav-dot:nth-child(1) { animation-delay: 0s; }
.nav-dot:nth-child(2) { animation-delay: 0.2s; }
.nav-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes navDotPulse {
    0%, 100% { transform: scale(0.85); opacity: 0.4; }
    50% { transform: scale(1.2); opacity: 0.9; }
}

/* Theme selector removed */
.theme-selector, .theme-toggle, .theme-dropdown { display: none !important; }

/* Nav data fact ticker — guaranteed space so trivia is always visible */
.nav-ticker {
    flex: 1 1 240px;
    min-width: 200px;
    max-width: 420px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    overflow: hidden;
}
.ticker-icon {
    font-size: 0.8rem;
    flex-shrink: 0;
    opacity: 0.85;
}
.ticker-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
    min-height: 1.2em;
}
@media (max-width: 880px) {
    .nav-ticker { display: none; }
}

.theme-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.25s ease;
    z-index: 1000;
}

.theme-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.theme-option:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.theme-preview {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
}

.theme-blue { background: linear-gradient(135deg, #0077be, #3498db); }
.theme-green { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.theme-purple { background: linear-gradient(135deg, #8e44ad, #9b59b6); }
.theme-orange { background: linear-gradient(135deg, #e67e22, #f39c12); }
.theme-dark { background: linear-gradient(135deg, #2d3436, #74b9ff); }

/* Enhanced Screenshot Placeholders */
.screenshot-placeholder {
    background: var(--bg-white);
    border: 2px dashed var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.screenshot-placeholder h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.screenshot-placeholder p {
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: var(--spacing-lg);
}

.mock-screenshot {
    background: #f8f9fa;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.screenshot-header {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.screenshot-header::before {
    content: '●●●';
    font-size: 0.8rem;
    opacity: 0.7;
}

.screenshot-content {
    padding: var(--spacing-lg);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* DAG list styles for Airflow screenshots */
.dag-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-md);
    background: #f8f9fa;
}

.dag-status {
    font-size: 1rem;
}

.dag-status.success {
    color: #28a745;
}

.dag-status.running {
    color: #007bff;
    animation: pulse 2s ease-in-out infinite;
}

.dag-status.failed {
    color: #dc3545;
}

.dag-item small {
    color: #6c757d;
    font-size: 0.8rem;
    margin-left: auto;
}

/* Architecture component styles */
.arch-component {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-left: 3px solid var(--primary-blue);
    background: #f8f9fa;
    margin-bottom: var(--spacing-xs);
}

.comp-icon {
    font-size: 1.2rem;
    width: 25px;
}

/* Flow step styles */
.flow-step {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: #e3f2fd;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-xs);
}

.step-num {
    background: var(--primary-blue);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* DAG graph styles */
.dag-graph {
    text-align: center;
    padding: var(--spacing-lg);
}

.task-node {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border: 2px solid #28a745;
    border-radius: var(--radius-lg);
    background: #f8fff8;
    margin-bottom: var(--spacing-md);
}

.task-icon {
    color: #28a745;
    font-size: 1.2rem;
}

.task-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    font-size: 0.85rem;
    color: #6c757d;
}

/* Task detail rows */
.task-detail-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid #eee;
}

.status-success {
    color: #28a745;
    font-weight: bold;
}

.log-output {
    background: #2d3748;
    color: #68d391;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-family: monospace;
    margin-top: var(--spacing-sm);
}

/* MSSQL Feature Selection styles */
.feature-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-xs);
    background: #f8f9fa;
}

.feature-option.checked {
    background: #e8f5e8;
    border-color: #28a745;
}

.feature-option.unchecked {
    background: #f8f9fa;
    border-color: #dee2e6;
}

.checkbox {
    font-size: 1.1rem;
    width: 20px;
}

.feature-option small {
    color: #6c757d;
    font-size: 0.8rem;
    margin-left: auto;
}

.install-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: #e3f2fd;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.install-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
}

/* MSSQL Cube Browser styles */
.cube-dimension {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: #f0f8ff;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-xs);
}

.cube-icon {
    font-size: 1.1rem;
    width: 20px;
}

.cube-measure {
    padding: var(--spacing-sm);
    background: #e8f5e8;
    border-radius: var(--radius-sm);
    margin-top: var(--spacing-sm);
    border-left: 3px solid #28a745;
}

/* Performance comparison styles */
.perf-comparison {
    text-align: center;
}

.perf-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.perf-value.slow {
    color: #dc3545;
    background: #f8d7da;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-weight: bold;
}

.perf-value.fast {
    color: #28a745;
    background: #d4edda;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-weight: bold;
}

.improvement-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    margin: var(--spacing-md) 0;
}

.perf-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.stat-item {
    padding: var(--spacing-sm);
    background: #e3f2fd;
    border-radius: var(--radius-sm);
    text-align: center;
}

/* Metabase Chart Visualizations */
.chart-container {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid #e0e0e0;
}

.chart-container h5 {
    margin-bottom: var(--spacing-lg);
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

/* Bar Chart Styles */
.bar-chart {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.bar-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.bar-label {
    min-width: 120px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.bar-visual {
    flex: 1;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-sm);
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bar-value {
    color: white;
    font-weight: bold;
    font-size: 0.85rem;
    margin-left: auto;
}

/* Pie Chart Styles */
.pie-chart {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.pie-visual {
    flex-shrink: 0;
}

.pie-legend {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    flex-shrink: 0;
}

.legend-text {
    min-width: 140px;
    color: #555;
    font-weight: 500;
}

.legend-value {
    color: #888;
    font-size: 0.85rem;
    margin-left: auto;
}

/* Chart Insights */
.chart-insights {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid #eee;
}

.insight {
    background: #e8f5e8;
    color: #2d5a2d;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

.filter-applied {
    background: #e3f2fd;
    color: #1565c0;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Line Chart Styles */
.line-chart {
    margin-bottom: var(--spacing-lg);
}

.chart-grid {
    display: flex;
    align-items: stretch;
    margin-bottom: var(--spacing-sm);
}

.y-axis {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    width: 60px;
    padding-right: var(--spacing-sm);
    height: 200px;
}

.y-label {
    font-size: 0.8rem;
    color: #666;
    text-align: right;
    line-height: 1;
}

.chart-area {
    flex: 1;
    position: relative;
    height: 200px;
}

.x-axis {
    display: flex;
    justify-content: space-between;
    padding-left: 60px;
    margin-top: var(--spacing-xs);
}

.x-label {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    flex: 1;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.chart-legend .legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.legend-line {
    width: 20px;
    height: 3px;
    border-radius: 2px;
}

.legend-line.dashed {
    background-image: linear-gradient(to right, currentColor 50%, transparent 50%);
    background-size: 8px 3px;
    background-repeat: repeat-x;
}

/* Mobile optimizations for charts */
@media (max-width: 768px) {
    .pie-chart {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .bar-label {
        min-width: 80px;
        font-size: 0.8rem;
    }
    
    .chart-container {
        padding: var(--spacing-md);
    }
    
    .chart-grid {
        overflow-x: auto;
    }
    
    .y-axis {
        width: 50px;
    }
    
    .x-axis {
        padding-left: 50px;
    }
    
    .chart-legend {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }
}

/* Dashboard Layout Styles */
.dashboard-layout {
    background: #f8f9fa;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* KPI Cards Row */
.kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.kpi-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.kpi-card h6 {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.kpi-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: var(--spacing-xs);
}

.kpi-change {
    font-size: 0.8rem;
    font-weight: 600;
}

.kpi-change.positive {
    color: #27ae60;
}

.kpi-change.negative {
    color: #e74c3c;
}

/* Chart Rows */
.chart-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.chart-half {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chart-half h6 {
    font-size: 0.9rem;
    color: #2c3e50;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.mini-line-chart {
    height: 120px;
    position: relative;
}

.mini-bar-chart {
    display: flex;
    align-items: end;
    gap: var(--spacing-sm);
    height: 120px;
    padding: var(--spacing-sm) 0;
}

.mini-bar {
    flex: 1;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    display: flex;
    align-items: end;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding-bottom: var(--spacing-xs);
    min-height: 20%;
}

/* Bottom Row */
.bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-md);
}

.chart-third {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chart-third h6 {
    font-size: 0.9rem;
    color: #2c3e50;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.region-list, .acquisition-channels, .alert-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.region-item, .channel-item, .alert-item {
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.region-item {
    background: #f8f9fa;
    border-left: 3px solid #3498db;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: #f8f9fa;
}

.channel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.alert-item {
    font-weight: 500;
}

.alert-item.success {
    background: #d4edda;
    color: #155724;
}

.alert-item.warning {
    background: #fff3cd;
    color: #856404;
}

.alert-item.info {
    background: #d1ecf1;
    color: #0c5460;
}

.dashboard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid #dee2e6;
    font-size: 0.8rem;
    color: #6c757d;
}

/* Mobile Dashboard Layout */
@media (max-width: 768px) {
    .kpi-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chart-row {
        grid-template-columns: 1fr;
    }
    
    .bottom-row {
        grid-template-columns: 1fr;
    }
    
    .dashboard-layout {
        padding: var(--spacing-md);
    }
    
    .dashboard-footer {
        flex-direction: column;
        gap: var(--spacing-xs);
        text-align: center;
    }
}

.model-item, .metric-card, .chart-placeholder {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status.success {
    color: var(--accent-color);
    font-weight: 600;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.chart-placeholder {
    height: 120px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Floating Cards Responsive */
@media (max-width: 1200px) {
    .card-redshift {
        right: 180px;
    }
    
    .card-cert {
        left: 200px;
    }
}

@media (max-width: 992px) {
    .floating-card {
        font-size: 0.75rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .card-icon {
        font-size: 1.1rem;
    }
    
    .card-terraform, .card-dbt {
        display: none; /* Hide some cards on medium screens */
    }
    
    .card-cert {
        left: 150px;
    }
}

@media (max-width: 768px) {
    .workflow-pipeline {
        padding: var(--spacing-lg);
    }
    
    
    .workflow-row {
        gap: var(--spacing-md);
    }
    
    .workflow-node {
        min-width: 140px;
        padding: var(--spacing-md);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .node-icon {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
    
    .node-title {
        font-size: 0.8rem;
    }
    
    .node-subtitle {
        font-size: 0.6rem;
    }
    
    .flow-arrow {
        font-size: 1.2rem;
    }
    
    .screenshot-placeholder {
        padding: var(--spacing-lg);
        margin: var(--spacing-lg) 0;
    }
    
    .mock-screenshot {
        max-width: 100%;
    }
    
    .screenshot-content {
        padding: var(--spacing-md);
        min-height: 150px;
    }
}

@media (max-width: 992px) {
    .workflow-node {
        min-width: 160px;
        padding: var(--spacing-lg);
    }
    
    .node-icon {
        font-size: 1.8rem;
        width: 45px;
        height: 45px;
    }
}

/* Nav links - dropdown + auth + app; no overflow clip so dropdown panel is visible */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    overflow: visible;
    padding: 0 4px;
    justify-content: flex-end;
}
.nav-links::-webkit-scrollbar {
    display: none;
}

/* Nav dropdown - one "Menu" trigger, hover shows submenu */
.nav-dropdown {
    position: relative;
    flex-shrink: 0;
}
.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1.25;
    padding: 6px 12px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #4f46e5;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
}
.nav-dropdown-trigger:hover {
    background: rgba(79, 70, 229, 0.1);
    color: #4338ca;
    transform: translateY(-1px);
}
.nav-dropdown-icon {
    font-size: 0.65rem;
    opacity: 0.85;
    transition: transform 0.25s ease;
}
.nav-dropdown:hover .nav-dropdown-icon {
    transform: rotate(180deg);
}
.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(99, 102, 241, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1001;
}
.nav-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-dropdown-trigger:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.4);
}
.nav-dropdown-link {
    display: block;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-radius: 10px;
    margin: 0 6px;
    transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown-link:hover {
    background: rgba(99, 102, 241, 0.08);
    color: #4338ca;
}
.nav-dropdown-link:first-child { margin-top: 0; }
.nav-dropdown-link:last-child { margin-bottom: 0; }

.nav-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 6px 10px;
    border-radius: 999px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    transform: translateY(-1px);
}

/* Colorful accent for each nav link */
.nav-link[href="learning-path.html"] { color: #4f46e5; }
.nav-link[href="learning-path.html"]:hover { background: rgba(79, 70, 229, 0.1); color: #4338ca; }

.nav-link[href="data-modelling.html"] { color: #7c3aed; }
.nav-link[href="data-modelling.html"]:hover { background: rgba(124, 58, 237, 0.1); color: #6d28d9; }

.nav-link[href="data-adventure.html"] { color: #0891b2; }
.nav-link[href="data-adventure.html"]:hover { background: rgba(8, 145, 178, 0.1); color: #0e7490; }

.nav-link[href="distributed-computing.html"] { color: #06b6d4; }
.nav-link[href="distributed-computing.html"]:hover { background: rgba(6, 182, 212, 0.1); color: #0891b2; }

.nav-link[href="pipeline-designer.html"] { color: #db2777; }
.nav-link[href="pipeline-designer.html"]:hover { background: rgba(219, 39, 119, 0.1); color: #be185d; }

.nav-link[href="founder.html"] { color: #ea580c; }
.nav-link[href="founder.html"]:hover { background: rgba(234, 88, 12, 0.1); color: #c2410c; }

.nav-link[onclick*="showContactInfo"] { color: #0d9488; }
.nav-link[onclick*="showContactInfo"]:hover { background: rgba(13, 148, 136, 0.1); color: #0f766e; }

/* Auth nav slot: always show Login / Sign Up or My Account - keep visible, no shrink */
#auth-nav-slot {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
#auth-nav-slot .auth-nav-account,
#auth-nav-slot .auth-logout-btn {
    white-space: nowrap;
    flex-shrink: 0;
}
.auth-nav-login { color: #4f46e5 !important; }
.auth-nav-login:hover { background: rgba(79, 70, 229, 0.12) !important; color: #4338ca !important; }
.auth-nav-signup {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #fff !important;
    padding: 6px 12px;
    margin-left: 4px;
}
.auth-nav-signup:hover { background: linear-gradient(135deg, #4f46e5, #6d28d9) !important; color: #fff !important; opacity: 0.95; }
.auth-nav-account { color: #059669 !important; }
.auth-nav-account:hover { background: rgba(5, 150, 105, 0.12) !important; color: #047857 !important; }

.nav-cta {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.9rem;
    box-shadow: 
        0 3px 0 #1d4ed8,
        0 4px 8px rgba(37, 99, 235, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 5px 0 #1d4ed8,
        0 7px 14px rgba(37, 99, 235, 0.35);
}

.nav-cta:active {
    transform: translateY(1px);
    box-shadow: 
        0 2px 0 #1d4ed8,
        0 3px 6px rgba(37, 99, 235, 0.25);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6366f1;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.mobile-menu-toggle:hover {
    background: rgba(99, 102, 241, 0.1);
}

/* Hero Section - light pastel gradient with color */
.hero, .hero-modern {
    margin-top: 60px;
    padding: 16px 0 32px;
    background: linear-gradient(135deg, #f0f4ff 0%, #fdf2f8 35%, #ecfeff 65%, #faf5ff 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, rgba(129, 140, 248, 0.08), rgba(236, 72, 153, 0.06), rgba(6, 182, 212, 0.06));
    transform: rotate(15deg);
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem var(--spacing-2xl);
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Trivia line inside hero empty space — fills gap without adding page height */
.hero-trivia {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 640px;
    margin: 0 auto 0;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    min-height: 44px;
    position: relative;
    z-index: 2;
}
.hero-trivia .ticker-icon {
    font-size: 1rem;
    flex-shrink: 0;
    opacity: 0.9;
}
.hero-trivia .ticker-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    text-align: center;
    line-height: 1.4;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-purple);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
    font-family: 'Fredoka One', 'Bungee', 'Righteous', cursive;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1.2);
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(2) .stat-number {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(3) .stat-number {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
}

/* 3D Button Styles */
.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-family: inherit;
    position: relative;
}

.btn-primary {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    box-shadow: 
        0 4px 0 #1d4ed8,
        0 6px 12px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 0 #1d4ed8,
        0 10px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 #1d4ed8,
        0 3px 8px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    color: #1d1d1f;
    border: 1px solid #d1d5db;
    box-shadow: 
        0 4px 0 #d1d5db,
        0 6px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 0 #d1d5db,
        0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-secondary:active {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 #d1d5db,
        0 3px 8px rgba(0, 0, 0, 0.08);
}

/* Legacy CTA styles */
.cta-primary, .cta-secondary {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
    border: none;
}

.cta-primary {
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-color);
    font-weight: 700;
}

.cta-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-medium);
    font-weight: 600;
}

.cta-secondary:hover {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    position: relative;
    width: 100%;
    min-height: 600px;
}

.workflow-pipeline {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl);
}


.workflow-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
}

.workflow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    width: 100%;
}

.workflow-node {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    min-width: 180px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.workflow-node:hover::before {
    left: 100%;
}

.node-icon {
    font-size: 1.6rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.node-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.node-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.node-subtitle {
    font-size: 0.7rem;
    color: var(--text-medium);
    font-weight: 500;
}

.workflow-node:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    animation: pulse 2s ease-in-out infinite;
}

.flow-arrow.vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Node-specific colors */
.node-mssql { border-color: #CC2927; }
.node-mssql .node-icon { background: rgba(204, 41, 39, 0.1); }
.node-mssql:hover { border-color: #CC2927; }

.node-python { border-color: #3776AB; }
.node-python .node-icon { background: rgba(55, 118, 171, 0.1); }
.node-python:hover { border-color: #3776AB; }

.node-terraform { border-color: #623CE4; }
.node-terraform .node-icon { background: rgba(98, 60, 228, 0.1); }
.node-terraform:hover { border-color: #623CE4; }

.node-redshift { border-color: #FF9900; }
.node-redshift .node-icon { background: rgba(255, 153, 0, 0.1); }
.node-redshift:hover { border-color: #FF9900; }

.node-airflow { border-color: #017CEE; }
.node-airflow .node-icon { background: rgba(1, 124, 238, 0.1); }
.node-airflow:hover { border-color: #017CEE; }

.node-dbt { border-color: #FF694B; }
.node-dbt .node-icon { background: rgba(255, 105, 75, 0.1); }
.node-dbt:hover { border-color: #FF694B; }

.node-metabase { border-color: #509EE3; }
.node-metabase .node-icon { background: rgba(80, 158, 227, 0.1); }
.node-metabase:hover { border-color: #509EE3; }

.node-cert { border-color: #FFD700; }
.node-cert .node-icon { background: rgba(255, 215, 0, 0.1); }
.node-cert:hover { border-color: #FFD700; }

/* Sequential Animation */
.workflow-node {
    opacity: 0;
    animation: fadeInSequence 0.6s ease forwards;
}

.workflow-node[data-step="1"] { animation-delay: 0.2s; }
.workflow-node[data-step="2"] { animation-delay: 0.4s; }
.workflow-node[data-step="3"] { animation-delay: 0.6s; }
.workflow-node[data-step="4"] { animation-delay: 0.8s; }
.workflow-node[data-step="5"] { animation-delay: 1.0s; }
.workflow-node[data-step="6"] { animation-delay: 1.2s; }
.workflow-node[data-step="7"] { animation-delay: 1.4s; }
.workflow-node[data-step="8"] { animation-delay: 1.6s; }



@keyframes fadeInSequence {
    0% { 
        opacity: 0; 
        transform: translateY(20px) scale(0.9); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

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

/* Courses Section - Minimalistic Design */
.courses {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-white);
}

.courses-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4f46e5, #7c3aed, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1rem;
    color: #475569;
    margin: 0 auto;
    white-space: nowrap;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
}

.course-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: var(--spacing-2xl);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.1);
    border-color: rgba(99,102,241,0.15);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
}

/* Colorful card accents */
.python-card {
    border-left: 4px solid #3776ab;
}
.python-card::before {
    background: linear-gradient(90deg, #3776ab, #ffd43b);
}
.python-card:hover {
    box-shadow: 0 12px 32px rgba(55, 118, 171, 0.2);
}

.airflow-card {
    border-left: 4px solid #017cee;
}
.airflow-card::before {
    background: linear-gradient(90deg, #017cee, #00c7d4);
}
.airflow-card:hover {
    box-shadow: 0 12px 32px rgba(1, 124, 238, 0.2);
}

.terraform-card {
    border-left: 4px solid #623ce4;
}
.terraform-card::before {
    background: linear-gradient(90deg, #623ce4, #7b42f6);
}
.terraform-card:hover {
    box-shadow: 0 12px 32px rgba(98, 60, 228, 0.2);
}
}

.redshift-card {
    border-left: 4px solid #ff9900;
}
.redshift-card::before {
    background: linear-gradient(90deg, #ff9900, #ffb84d);
}
.redshift-card:hover {
    box-shadow: 0 12px 32px rgba(255, 153, 0, 0.2);
}

.mssql-card {
    border-left: 4px solid #cc2927;
}
.mssql-card::before {
    background: linear-gradient(90deg, #cc2927, #e74c3c);
}
.mssql-card:hover {
    box-shadow: 0 12px 32px rgba(204, 41, 39, 0.2);
}

.dbt-card {
    border-left: 4px solid #ff694b;
}
.dbt-card::before {
    background: linear-gradient(90deg, #ff694b, #ff8a65);
}
.dbt-card:hover {
    box-shadow: 0 12px 32px rgba(255, 105, 75, 0.2);
}

.metabase-card {
    border-left: 4px solid #509ee3;
}
.metabase-card::before {
    background: linear-gradient(90deg, #509ee3, #42a5f5);
}
.metabase-card:hover {
    box-shadow: 0 12px 32px rgba(80, 158, 227, 0.2);
}

.course-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
}

.course-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.python-card .course-icon {
    background: linear-gradient(135deg, #3776ab, #ffd43b);
}

.airflow-card .course-icon {
    background: linear-gradient(135deg, #017cee, #00c7d4);
}

.terraform-card .course-icon {
    background: linear-gradient(135deg, #623ce4, #7b42f6);
}

.redshift-card .course-icon {
    background: linear-gradient(135deg, #ff9900, #ffb84d);
}

.mssql-card .course-icon {
    background: linear-gradient(135deg, #cc2927, #e74c3c);
}

.dbt-card .course-icon {
    background: linear-gradient(135deg, #ff694b, #ff8a65);
}

.metabase-card .course-icon {
    background: linear-gradient(135deg, #509ee3, #42a5f5);
}

.course-badge {
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.course-badge.beginner {
    background: rgba(76, 175, 80, 0.1);
    color: var(--accent-green);
}

.course-badge.advanced {
    background: rgba(255, 152, 0, 0.1);
    color: var(--accent-orange);
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.course-description {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.course-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-medium);
    font-size: 0.875rem;
}

.feature i {
    color: var(--primary-blue);
    width: 16px;
}

.course-curriculum {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.course-curriculum h4 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.course-curriculum ul {
    list-style: none;
    padding: 0;
}

.course-curriculum li {
    padding: var(--spacing-xs) 0;
    color: var(--text-medium);
    position: relative;
    padding-left: var(--spacing-lg);
}

.course-curriculum li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.course-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--bg-lighter);
    border-radius: var(--radius-lg);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.course-cta {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

/* 3D Course CTAs with unique colors */
.python-cta {
    background: linear-gradient(180deg, #3776ab 0%, #2c5c87 100%);
    color: white;
    box-shadow: 0 4px 0 #1e3f5b, 0 6px 12px rgba(55, 118, 171, 0.35);
}
.python-cta:hover {
    box-shadow: 0 6px 0 #1e3f5b, 0 10px 20px rgba(55, 118, 171, 0.4);
}

.airflow-cta {
    background: linear-gradient(180deg, #017cee 0%, #0162be 100%);
    color: white;
    box-shadow: 0 4px 0 #014d96, 0 6px 12px rgba(1, 124, 238, 0.35);
}
.airflow-cta:hover {
    box-shadow: 0 6px 0 #014d96, 0 10px 20px rgba(1, 124, 238, 0.4);
}

.terraform-cta {
    background: linear-gradient(180deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    box-shadow: 0 4px 0 #5b21b6, 0 6px 12px rgba(124, 58, 237, 0.35);
}
.terraform-cta:hover {
    box-shadow: 0 6px 0 #5b21b6, 0 10px 20px rgba(124, 58, 237, 0.4);
}

.redshift-cta {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 0 #b45309, 0 6px 12px rgba(245, 158, 11, 0.35);
}
.redshift-cta:hover {
    box-shadow: 0 6px 0 #b45309, 0 10px 20px rgba(245, 158, 11, 0.4);
}

.mssql-cta {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 0 #b91c1c, 0 6px 12px rgba(239, 68, 68, 0.35);
}
.mssql-cta:hover {
    box-shadow: 0 6px 0 #b91c1c, 0 10px 20px rgba(239, 68, 68, 0.4);
}

.dbt-cta {
    background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 0 #c2410c, 0 6px 12px rgba(249, 115, 22, 0.35);
}
.dbt-cta:hover {
    box-shadow: 0 6px 0 #c2410c, 0 10px 20px rgba(249, 115, 22, 0.4);
}

.metabase-cta {
    background: linear-gradient(180deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    box-shadow: 0 4px 0 #0e7490, 0 6px 12px rgba(6, 182, 212, 0.35);
}
.metabase-cta:hover {
    box-shadow: 0 6px 0 #0e7490, 0 10px 20px rgba(6, 182, 212, 0.4);
}

/* PostgreSQL/DBeaver Course - NEW */
.postgres-card {
    border-left: 4px solid #336791;
}
.postgres-card::before {
    background: linear-gradient(90deg, #336791, #4a90c7);
}
.postgres-card:hover {
    box-shadow: 0 12px 32px rgba(51, 103, 145, 0.2);
}
.postgres-card .course-icon {
    background: linear-gradient(135deg, #336791, #4a90c7);
}
.postgres-cta {
    background: linear-gradient(180deg, #336791 0%, #2a5478 100%);
    color: white;
    box-shadow: 0 4px 0 #1e3d56, 0 6px 12px rgba(51, 103, 145, 0.35);
}
.postgres-cta:hover {
    box-shadow: 0 6px 0 #1e3d56, 0 10px 20px rgba(51, 103, 145, 0.4);
}

/* AWS DMS Course - NEW */
.dms-card {
    border-left: 4px solid #ff9900;
}
.dms-card::before {
    background: linear-gradient(90deg, #ff9900, #146eb4);
}
.dms-card:hover {
    box-shadow: 0 12px 32px rgba(255, 153, 0, 0.2);
}
.dms-card .course-icon {
    background: linear-gradient(135deg, #ff9900, #146eb4);
}
.dms-cta {
    background: linear-gradient(180deg, #ff9900 0%, #e88a00 100%);
    color: white;
    box-shadow: 0 4px 0 #cc7a00, 0 6px 12px rgba(255, 153, 0, 0.35);
}
.dms-cta:hover {
    box-shadow: 0 6px 0 #cc7a00, 0 10px 20px rgba(255, 153, 0, 0.4);
}

.datascience-cta {
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 0 #5a67d8, 0 6px 12px rgba(102, 126, 234, 0.35);
}
.datascience-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #5a67d8, 0 10px 20px rgba(102, 126, 234, 0.4);
}
.datascience-cta:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #5a67d8, 0 3px 8px rgba(102, 126, 234, 0.3);
}

.course-cta:hover {
    transform: translateY(-2px);
}

.course-cta:active {
    transform: translateY(2px);
}

/* ═══════════════════════════════════════════════════════════════
   STORY THEME SELECTOR - Interactive Industry Cards
   ═══════════════════════════════════════════════════════════════ */

.story-selector {
    background: transparent;
    padding: 32px 0;
}

.selector-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.selector-header {
    text-align: center;
    margin-bottom: 20px;
}

.theme-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.theme-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(99,102,241,0.1);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    min-width: 100px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.theme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.theme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99,102,241,0.15);
    border-color: rgba(99,102,241,0.3);
    background: rgba(255,255,255,0.9);
}

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

.theme-card.active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-color: #4f46e5;
    color: white;
    box-shadow: 0 4px 20px rgba(99,102,241,0.35);
}

.theme-card.active::before {
    opacity: 0;
}

.theme-card.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(99,102,241,0.4);
}

.theme-icon {
    font-size: 28px;
    margin-bottom: 4px;
}

.theme-name {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 2px;
}

.theme-subtitle {
    font-size: 10px;
    opacity: 0.7;
}

.theme-card.active .theme-subtitle {
    opacity: 0.9;
}

/* DataBot Scene Styling */
.databot-scene {
    position: relative;
    width: 200px;
    height: 220px;
    margin: 0 auto 20px;
}

/* Decorative elements hidden - cleaner design */
.scene-background,
.scene-element,
.elem-1,
.elem-2,
.elem-3 {
    display: none;
}

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

.databot-hat {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    z-index: 10;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

.databot-badge {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: white;
    font-size: 7px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    white-space: nowrap;
}

/* Journey Step Icons for new tools */
.postgres-icon { background: linear-gradient(135deg, #336791, #4a90c7); }
.dbeaver-icon { background: linear-gradient(135deg, #5c4033, #8b6914); }
.dms-icon { background: linear-gradient(135deg, #ff9900, #146eb4); }

/* Data Journey Section - Crisp Design */
.data-journey {
    background: transparent;
    padding: 24px 0;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

/* Removed decorative background pattern for cleaner look */

.journey-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

.data-journey .section-title {
    color: var(--text-primary, var(--text-dark));
    text-align: center;
    margin-bottom: 8px;
    font-size: 1.4rem;
    font-weight: 600;
}

.data-journey .section-subtitle {
    color: var(--text-secondary, var(--text-medium));
    text-align: center;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Journey Header Row - Centered with DataBot */
.journey-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 24px;
}

.journey-header-row .section-header {
    text-align: right;
    margin-bottom: 0;
}

/* DataBot Container - Next to Title */
.databot-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* Modern Robot Design */
.databot-robot {
    position: relative;
    width: 70px;
    height: 90px;
}

.robot-antenna {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 10px;
    background: linear-gradient(180deg, #64748b, #94a3b8);
    border-radius: 1px;
}

.antenna-ball {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: antennaBlink 2s ease-in-out infinite;
}

@keyframes antennaBlink {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px #ef4444; }
    50% { opacity: 0.5; box-shadow: 0 0 3px #ef4444; }
}

.robot-head {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 34px;
    background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
    border-radius: 10px 10px 6px 6px;
    border: 2px solid #94a3b8;
    overflow: hidden;
}

.robot-screen {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 14px;
    background: linear-gradient(180deg, #1e293b, #334155);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.robot-hat-icon {
    font-size: 10px;
}

.robot-eyes {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.robot-eye {
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    animation: robotBlink 4s ease-in-out infinite;
    box-shadow: 0 0 4px #3b82f6;
}

.robot-eye.right {
    animation-delay: 0.1s;
}

@keyframes robotBlink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.2); }
}

.robot-mouth {
    display: none;
}

.robot-neck {
    position: absolute;
    top: 44px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 4px;
    background: #94a3b8;
    border-radius: 2px;
}

.robot-body {
    position: absolute;
    top: 47px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 34px;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    border-radius: 6px 6px 10px 10px;
    border: 2px solid #1d4ed8;
}

.robot-chest-icon {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 12px;
}

.robot-badge {
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    background: #fbbf24;
    color: #78350f;
    font-size: 6px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    white-space: nowrap;
}

.robot-arms {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
}

.robot-arm {
    position: absolute;
    width: 6px;
    height: 22px;
    background: linear-gradient(180deg, #64748b, #475569);
    border-radius: 3px;
}

.robot-arm.left-arm {
    left: 4px;
    transform: rotate(-15deg);
    transform-origin: top center;
    animation: robotWave 3s ease-in-out infinite;
}

.robot-arm.right-arm {
    right: 4px;
    transform: rotate(15deg);
    transform-origin: top center;
}

@keyframes robotWave {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(-25deg); }
}

.databot-speech {
    background: white;
    color: #374151;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 10px;
    line-height: 1.35;
    max-width: 130px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

/* Hide old databot elements */
.story-character,
.databot-scene,
.speech-bubble {
    display: none;
}

/* Responsive for mobile - Additional improvements */
@media (max-width: 480px) {
    .theme-card {
        min-width: 75px;
        padding: 8px 10px;
        flex: 0 0 calc(50% - 5px);
        max-width: calc(50% - 5px);
    }
    
    .theme-icon {
        font-size: 20px;
    }
    
    .theme-name {
        font-size: 9px;
    }
    
    .theme-subtitle {
        font-size: 7px;
    }
    
    .journey-step {
        padding: 12px;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-description {
        font-size: 0.85rem;
    }
    
    .step-example {
        font-size: 0.8rem;
        padding: 6px 8px;
    }
    
    .databot-container {
        max-width: 150px;
    }
    
    .databot-robot {
        width: 100px;
        height: 120px;
    }
    
    .robot-head {
        width: 60px;
        height: 60px;
    }
    
    .robot-screen {
        width: 45px;
        height: 45px;
    }
    
    .robot-hat-icon {
        font-size: 28px;
    }
    
    .databot-speech {
        font-size: 8px;
        max-width: 100px;
    }
}

/* Journey Steps */
.journey-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

/* Data Science icon styling */
.datascience-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.journey-step {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.5);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.journey-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.journey-step:hover::before {
    opacity: 1;
}

.journey-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.1);
    border-color: rgba(99,102,241,0.15);
}

.journey-step-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.step-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: white;
    flex-shrink: 0;
}

.mssql-icon { background: linear-gradient(135deg, #2196F3, #1976D2); }
.python-icon { background: linear-gradient(135deg, #4CAF50, #45a049); }
.terraform-icon { background: linear-gradient(135deg, #9C27B0, #7B1FA2); }
.redshift-icon { background: linear-gradient(135deg, #FF9800, #F57C00); }
.airflow-icon { background: linear-gradient(135deg, #00BCD4, #0097A7); }
.dbt-icon { background: linear-gradient(135deg, #FF5722, #D84315); }
.metabase-icon { background: linear-gradient(135deg, #3F51B5, #303F9F); }

.step-content h3 {
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 600;
}

.step-description {
    color: var(--text-medium);
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 13px;
}

.step-example {
    background: rgba(255, 235, 59, 0.1);
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 3px solid #FFD700;
    font-style: italic;
    color: var(--text-medium);
    font-size: 12px;
    line-height: 1.5;
}

/* Journey Result - Full Width Rectangle */
.journey-result {
    margin-top: 16px;
}

.result-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    padding: 20px 24px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.result-icon {
    font-size: 2.5rem;
    color: #FF9800;
    flex-shrink: 0;
}

.result-content {
    flex: 1;
}

.result-card h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.result-card p {
    color: var(--text-medium);
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 13px;
}

.final-example {
    background: rgba(255, 152, 0, 0.08);
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: 10px;
    color: var(--text-medium);
    line-height: 1.5;
    border-left: 3px solid #FF9800;
    font-size: 12px;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-10deg); }
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateX(0px) rotate(0deg); }
    33% { transform: translateX(30px) rotate(120deg); }
    66% { transform: translateX(-20px) rotate(240deg); }
}

/* Data Journey Responsive */
@media (max-width: 768px) {
    .data-journey .section-title {
        font-size: 1.8rem;
    }
    
    .data-journey .section-subtitle {
        font-size: 1rem;
    }
    
    .databot {
        width: 100px;
        height: 120px;
    }
    
    .databot-head {
        width: 60px;
        height: 60px;
    }
    
    .databot-body {
        width: 50px;
        height: 60px;
    }
    
    .databot-chest {
        font-size: 1.2rem;
    }
    
    .speech-bubble {
        max-width: 250px;
        font-size: 0.9rem;
    }
    
    .journey-steps {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    
    .journey-step {
        padding: 14px;
        gap: 10px;
    }
    
    .step-number,
    .step-icon {
        justify-self: center;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .step-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .step-example {
        font-size: 0.85rem;
        padding: 8px 10px;
        line-height: 1.4;
    }
    
    .result-card {
        padding: var(--spacing-lg);
        margin: 0 var(--spacing-md);
        flex-direction: column;
        text-align: center;
    }
    
    .result-card h3 {
        font-size: 1.5rem;
    }
    
    .result-icon {
        font-size: 2rem;
    }
    
    /* Theme Cards Mobile */
    .theme-cards {
        gap: 10px;
        padding: 0 10px;
    }
    
    .theme-card {
        min-width: 85px;
        padding: 10px 12px;
        flex: 0 0 calc(33.333% - 7px);
        max-width: calc(33.333% - 7px);
    }
    
    .theme-icon {
        font-size: 22px;
        margin-bottom: 3px;
    }
    
    .theme-name {
        font-size: 10px;
        line-height: 1.2;
    }
    
    .theme-subtitle {
        font-size: 8px;
        line-height: 1.2;
    }
    
    .selector-header h2 {
        font-size: 1.5rem;
    }
    
    .selector-header p {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    /* DataBot Container Mobile */
    .databot-container {
        width: 100%;
        max-width: 180px;
        margin: 0 auto 16px;
    }
    
    .databot-robot {
        width: 120px;
        height: 140px;
    }
    
    .robot-head {
        width: 70px;
        height: 70px;
    }
    
    .robot-screen {
        width: 50px;
        height: 50px;
    }
    
    .robot-hat-icon {
        font-size: 32px;
    }
    
    .robot-badge {
        font-size: 6px;
        padding: 1px 5px;
    }
    
    .databot-speech {
        font-size: 9px;
        padding: 5px 8px;
        max-width: 120px;
        line-height: 1.3;
    }
    
    .journey-header-row {
        flex-direction: column;
        gap: 16px;
        padding: 0 16px;
    }
    
    .journey-header-row .section-header {
        text-align: center;
    }
}

/* Navigation Responsive */
@media (max-width: 768px) {
    .nav-contact {
        display: none;
    }
    
    .theme-toggle span {
        display: none; /* Hide "Themes" text on mobile */
    }
    
    .nav-container {
        justify-content: space-between;
    }
}

@media (max-width: 992px) {
    .theme-toggle {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.85rem;
    }
}

/* Learning Path */
.learning-path {
    background: var(--bg-light);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    margin-top: var(--spacing-2xl);
}

.path-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-2xl);
}

.path-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
}

.path-step {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    flex: 1;
    max-width: 250px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.step-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.4;
}

.path-arrow {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Features Section */
.features {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.feature-item {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.feature-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: var(--spacing-2xl);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.about-stat {
    text-align: center;
}

.about-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
}

.about-stat .stat-text {
    color: var(--text-light);
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-lighter));
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-light);
}

.about-image-placeholder i {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.about-image-placeholder p {
    color: var(--text-medium);
    font-weight: 600;
    text-align: center;
}

/* Contact Section */
.contact {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
    text-align: center;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.contact-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-2xl);
}

.contact-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta {
    padding: var(--spacing-lg) var(--spacing-2xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border: none;
}

.contact-cta.python-cta {
    background: linear-gradient(135deg, #3776ab, #ffd43b);
    color: white;
}

.contact-cta.airflow-cta {
    background: linear-gradient(135deg, #017cee, #00c7d4);
    color: white;
}

.contact-cta.terraform-cta {
    background: linear-gradient(135deg, #623ce4, #7b42f6);
    color: white;
}

.contact-cta.redshift-cta {
    background: linear-gradient(135deg, #ff9900, #ffb84d);
    color: white;
}

.contact-cta.mssql-cta {
    background: linear-gradient(135deg, #cc2927, #e74c3c);
    color: white;
}

.contact-cta.dbt-cta {
    background: linear-gradient(135deg, #ff694b, #ff8a65);
    color: white;
}

.contact-cta.metabase-cta {
    background: linear-gradient(135deg, #509ee3, #42a5f5);
    color: white;
}

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

.contact-info {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-medium);
}

.contact-item i {
    color: var(--primary-blue);
}

/* Footer - compact, smaller type, clear hierarchy */
.footer {
    background: linear-gradient(135deg, #1e1b4b 0%, #1e293b 100%);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    min-width: 0;
}

.footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.footer-tagline {
    color: #94a3b8;
    line-height: 1.4;
    font-size: 0.75rem;
    max-width: 140px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    font-size: 0.8125rem;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: rgba(255,255,255,0.95);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: var(--spacing-xs);
    transition: color 0.2s ease;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.footer-column a:hover {
    color: var(--primary-blue);
}

.footer-link-pro {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}
.footer-link-pro .pro-badge {
    font-size: 0.65rem;
    background: #f59e0b;
    color: #1e293b;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}
.pro-badge {
    font-size: 0.7em;
    background: #f59e0b;
    color: #1e293b;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    margin-left: 4px;
}

.footer-bottom {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-sm);
    border-top: 1px solid #374151;
    text-align: center;
    color: #94a3b8;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.72rem;
    line-height: 1.8;
    white-space: normal;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-middle {
        display: none;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-features {
        grid-template-columns: 1fr;
    }
    
    .path-flow {
        flex-direction: column;
    }
    
    .path-arrow {
        transform: rotate(90deg);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-actions {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .contact-info {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-card {
        padding: var(--spacing-lg);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════
   TECH POWERHOUSE - Impactful Hero Visual
   ═══════════════════════════════════════════════════════════════ */

.tech-powerhouse {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Power Core */
.power-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.power-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid transparent;
}

.ring-1 {
    width: 100px;
    height: 100px;
    border-color: rgba(59, 130, 246, 0.3);
    animation: ringPulse 2s ease-out infinite;
}

.ring-2 {
    width: 140px;
    height: 140px;
    border-color: rgba(59, 130, 246, 0.2);
    animation: ringPulse 2s ease-out infinite 0.4s;
}

.ring-3 {
    width: 180px;
    height: 180px;
    border-color: rgba(59, 130, 246, 0.1);
    animation: ringPulse 2s ease-out infinite 0.8s;
}

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

.power-core {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 0 6px rgba(59, 130, 246, 0.15),
        0 0 40px rgba(99, 102, 241, 0.4),
        0 20px 60px rgba(59, 130, 246, 0.3),
        inset 0 -4px 12px rgba(0, 0, 0, 0.2);
    animation: coreBreathe 3s ease-in-out infinite;
}

.power-core i {
    font-size: 2.2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes coreBreathe {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 0 0 6px rgba(59, 130, 246, 0.15),
            0 0 40px rgba(99, 102, 241, 0.4),
            0 20px 60px rgba(59, 130, 246, 0.3),
            inset 0 -4px 12px rgba(0, 0, 0, 0.2);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 
            0 0 0 8px rgba(59, 130, 246, 0.2),
            0 0 60px rgba(99, 102, 241, 0.5),
            0 25px 80px rgba(59, 130, 246, 0.35),
            inset 0 -4px 12px rgba(0, 0, 0, 0.2);
    }
}

/* Connection Lines */
.power-connections {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Floating Tech Icons */
.tech-float {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    z-index: 5;
}

.tech-float img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.tech-label {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-float {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-float:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 
        0 16px 40px rgba(59, 130, 246, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    z-index: 20;
}

.tech-float:active {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 8px 20px rgba(59, 130, 246, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.1);
}

.tech-float:hover .tech-label {
    color: #3b82f6;
}

/* Position each tech icon - scattered powerful layout */
.tech-1 {
    top: 5%;
    left: 12%;
    animation: floatUp 4s ease-in-out infinite;
}

.tech-2 {
    top: 8%;
    right: 15%;
    animation: floatUp 4s ease-in-out infinite 0.5s;
}

.tech-3 {
    top: 38%;
    left: 0;
    animation: floatUp 4s ease-in-out infinite 1s;
}

.tech-4 {
    top: 35%;
    right: 0;
    animation: floatUp 4s ease-in-out infinite 1.5s;
}

.tech-5 {
    bottom: 25%;
    left: 8%;
    animation: floatUp 4s ease-in-out infinite 2s;
}

.tech-6 {
    bottom: 18%;
    right: 12%;
    animation: floatUp 4s ease-in-out infinite 2.5s;
}

.tech-7 {
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    animation: floatUp 4s ease-in-out infinite 3s;
}

.tech-8 {
    top: 20%;
    left: 5%;
    animation: floatUp 4s ease-in-out infinite 3.5s;
}

.tech-9 {
    top: 50%;
    right: 5%;
    animation: floatUp 4s ease-in-out infinite 4s;
}

.tech-10 {
    bottom: 10%;
    left: 30%;
    animation: floatUp 4s ease-in-out infinite 4.5s;
}

.tech-11 {
    bottom: 5%;
    left: 10%;
    animation: floatUp 4s ease-in-out infinite 5s;
}

@keyframes floatUp {
    0%, 100% { 
        transform: translateY(0);
    }
    50% { 
        transform: translateY(-8px);
    }
}

/* Entrance animations */
.tech-float {
    opacity: 0;
    animation: techEnter 0.6s ease-out forwards, floatUp 4s ease-in-out infinite;
}

.tech-1 { animation-delay: 0.1s, 0s; }
.tech-2 { animation-delay: 0.2s, 0.5s; }
.tech-3 { animation-delay: 0.3s, 1s; }
.tech-4 { animation-delay: 0.4s, 1.5s; }
.tech-5 { animation-delay: 0.5s, 2s; }
.tech-6 { animation-delay: 0.6s, 2.5s; }
.tech-7 { animation-delay: 0.7s, 3s; }
.tech-8 { animation-delay: 0.8s, 3.5s; }
.tech-9 { animation-delay: 0.9s, 4s; }
.tech-10 { animation-delay: 1s, 4.5s; }
.tech-11 { animation-delay: 1.1s, 5s; }

@keyframes techEnter {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .tech-powerhouse {
        width: 350px;
        height: 350px;
    }
    
    .power-core {
        width: 70px;
        height: 70px;
    }
    
    .power-core i {
        font-size: 1.8rem;
    }
    
    .tech-float {
        padding: 10px;
    }
    
    .tech-float img {
        width: 28px;
        height: 28px;
    }
    
    .tech-label {
        font-size: 8px;
    }
}

@media (max-width: 768px) {
    .tech-powerhouse {
        width: 280px;
        height: 280px;
        margin-top: 30px;
    }
    
    .power-core {
        width: 60px;
        height: 60px;
    }
    
    .power-core i {
        font-size: 1.5rem;
    }
    
    .tech-float {
        padding: 8px;
        border-radius: 12px;
    }
    
    .tech-float img {
        width: 24px;
        height: 24px;
    }
    
    .tech-label {
        display: none;
    }
    
    .ring-1 { width: 80px; height: 80px; }
    .ring-2 { width: 110px; height: 110px; }
    .ring-3 { width: 140px; height: 140px; }
}

@media (max-width: 480px) {
    .hero-visual {
        display: none;
    }
}

/* Back to Top Button - Floating Arrow */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, var(--primary-blue, #3b82f6) 0%, var(--primary-dark, #2563eb) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    box-shadow: 0 4px 0 #1d4ed8, 0 6px 12px rgba(37, 99, 235, 0.35);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 0 #1d4ed8, 0 10px 20px rgba(37, 99, 235, 0.4);
}

.back-to-top:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1d4ed8, 0 3px 8px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
