/* ═══════════════════════════════════════════════════
   MACHINE LEARNING COURSE — DATA-SCIENCE INSPIRED INTERACTIVE HERO
   Violet Accent Edition · v1.0
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --ml-bg: #050505;
    --ml-surface: #0a0a0a;
    --ml-surface-2: #111111;
    --ml-surface-3: #181818;
    --ml-border: rgba(255, 255, 255, 0.06);
    --ml-border-hover: rgba(255, 107, 0, 0.3);
    --ml-text: #e8e8e8;
    --ml-text-muted: rgba(255, 255, 255, 0.5);
    --ml-text-dim: rgba(255, 255, 255, 0.3);
    --ml-primary: #ff6b00;
    --ml-primary-light: #ff8c33;
    --ml-primary-dark: #cc5500;
    --ml-violet: #a855f7;
    --ml-violet-light: #c084fc;
    --ml-violet-dark: #7c3aed;
    --ml-gradient: linear-gradient(135deg, #ff6b00 0%, #ff8c33 100%);
    --ml-gradient-violet: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    --ml-gradient-btn: linear-gradient(135deg, #ff6b00, #cc5500);
    --ml-r: 18px;
    --ml-r-lg: 24px;
}

/* ── Base ──────────────────────────────────────── */

body.ml-body {
    font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    background: var(--ml-bg);
    color: var(--ml-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ml-gradient-text {
    background: var(--ml-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ml-gradient-text--violet {
    background: var(--ml-gradient-violet);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ═══════════════════════════════════════════════
   HERO — INTERACTIVE CODE EDITOR
   ═══════════════════════════════════════════════ */

.ml-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 80px;
}

/* Grid Background */
.ml-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    pointer-events: none;
}

/* Ambient Glows */
.ml-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    animation: mlGlowFloat 10s ease-in-out infinite;
}

.ml-hero-glow--orange {
    width: 500px;
    height: 500px;
    background: rgba(255, 107, 0, 0.08);
    top: -100px;
    right: -100px;
}

.ml-hero-glow--violet {
    width: 600px;
    height: 600px;
    background: rgba(168, 85, 247, 0.08);
    bottom: -200px;
    left: -200px;
    animation-delay: 3s;
}

.ml-hero-glow--violet-soft {
    width: 400px;
    height: 400px;
    background: rgba(124, 58, 237, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

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

.ml-hero-inner {
    position: relative;
    z-index: 2;
}

.ml-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Content */
.ml-hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ml-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ml-primary-light);
    width: fit-content;
    animation: mlFadeUp 0.8s ease forwards;
}

.ml-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--ml-primary);
    border-radius: 50%;
    animation: mlPulse 2s ease-in-out infinite;
}

@keyframes mlPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--ml-primary); }
    50% { opacity: 0.4; box-shadow: 0 0 2px var(--ml-primary); }
}

.ml-hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -2px;
    animation: mlFadeUp 0.8s ease forwards 0.1s;
    opacity: 0;
}

.ml-hero-subtitle {
    font-size: 1.1rem;
    color: var(--ml-text-muted);
    line-height: 1.7;
    max-width: 480px;
    animation: mlFadeUp 0.8s ease forwards 0.2s;
    opacity: 0;
}

.ml-highlight {
    color: #fff;
    font-weight: 600;
}

.ml-hero-actions {
    display: flex;
    gap: 16px;
    animation: mlFadeUp 0.8s ease forwards 0.3s;
    opacity: 0;
}

/* Buttons */
.ml-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: inherit;
}

.ml-btn--primary {
    background: var(--ml-gradient-btn);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.3);
}

.ml-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 107, 0, 0.4);
    color: #fff;
    text-decoration: none;
}

.ml-btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ml-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.ml-btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ml-btn--outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.ml-btn--large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.ml-btn--full {
    width: 100%;
}

/* Right: Code Editor */
.ml-hero-editor {
    position: relative;
    animation: mlFadeUp 0.8s ease forwards 0.5s;
    opacity: 0;
}

.ml-editor-window {
    background: var(--ml-surface-2);
    border: 1px solid var(--ml-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(168, 85, 247, 0.08);
}

.ml-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--ml-surface-3);
    border-bottom: 1px solid var(--ml-border);
}

.ml-editor-dots {
    display: flex;
    gap: 8px;
}

.ml-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.ml-dot--red { background: #ff5f56; }
.ml-dot--yellow { background: #ffbd2e; }
.ml-dot--green { background: #27c93f; }

.ml-editor-filename {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--ml-text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.ml-editor-filename svg {
    color: var(--ml-violet);
}

.ml-editor-actions {
    display: flex;
    gap: 12px;
}

.ml-run-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--ml-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.ml-run-btn:hover {
    background: var(--ml-primary-light);
    transform: scale(1.05);
}

/* Editor Body */
.ml-editor-body {
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    min-height: 380px;
    position: relative;
    background: linear-gradient(180deg, var(--ml-surface-2) 0%, #0d0d0d 100%);
}

.ml-code-content {
    position: relative;
}

.ml-code-line {
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.ml-code-line.active {
    opacity: 1;
    transform: translateX(0);
}

.ml-line-num {
    color: var(--ml-text-dim);
    min-width: 24px;
    text-align: right;
    user-select: none;
}

.ml-code-text {
    flex: 1;
    color: #e8e8e8;
}

/* Syntax Highlighting */
.ml-keyword { color: var(--ml-primary); }
.ml-class { color: var(--ml-primary-light); }
.ml-func { color: var(--ml-violet-light); }
.ml-param { color: #c4b5fd; }
.ml-string { color: #ce9178; }
.ml-number { color: var(--ml-violet); }
.ml-comment { color: #8b7ba8; font-style: italic; }

/* Cursor */
.ml-cursor {
    position: absolute;
    left: 50px;
    top: 12px;
    width: 2px;
    height: 18px;
    background: var(--ml-primary);
    animation: mlCursorBlink 1s ease-in-out infinite;
}

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

/* Terminal Output */
.ml-terminal-output {
    margin-top: 20px;
    padding: 16px;
    background: #000;
    border-radius: 8px;
    border: 1px solid var(--ml-border);
    font-size: 0.8rem;
    animation: mlFadeIn 0.5s ease;
}

.ml-terminal-line {
    color: var(--ml-text-muted);
    margin-bottom: 6px;
}

.ml-terminal-line:last-child {
    margin-bottom: 0;
}

.ml-terminal-success {
    color: var(--ml-violet-light);
}

.ml-terminal-info {
    color: var(--ml-primary-light);
    font-weight: 600;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--ml-border);
}

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

/* Floating Badge */
.ml-editor-badge {
    position: absolute;
    bottom: -20px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--ml-surface-2);
    border: 1px solid var(--ml-border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: mlFloatBadge 3s ease-in-out infinite;
}

.ml-editor-badge svg {
    color: #ffbd2e;
}

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

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

/* ═══════════════════════════════════════════════
   SECTIONS — SHARED
   ═══════════════════════════════════════════════ */

.ml-section {
    padding: 120px 0;
    position: relative;
}

/* Smooth section transitions */
.ml-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, var(--ml-bg), transparent);
    pointer-events: none;
    z-index: 0;
}

.ml-section .container {
    position: relative;
    z-index: 2;
}

.ml-curriculum-section {
    background: linear-gradient(180deg, #080808 0%, var(--ml-bg) 30%, var(--ml-bg) 70%, #080808 100%);
}

.ml-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ml-violet-light);
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.18);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.ml-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.ml-section-header h2 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.8px;
    line-height: 1.15;
}

.ml-section-header p {
    font-size: 1.05rem;
    color: var(--ml-text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   SKILL TRACKS
   ═══════════════════════════════════════════════ */

.ml-tracks-section {
    background: linear-gradient(180deg, var(--ml-bg) 0%, var(--ml-surface) 100%);
    position: relative;
}

.ml-tracks-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--ml-bg));
    pointer-events: none;
}

.ml-tracks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ml-track-card {
    background: var(--ml-surface-2);
    border: 1px solid var(--ml-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.ml-track-card:hover {
    transform: translateY(-8px);
    border-color: var(--ml-border-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ml-track-card--featured {
    border-color: rgba(255, 107, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, var(--ml-surface-2) 100%);
}

.ml-track-featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ml-primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ml-track-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.ml-track-icon--stats {
    background: rgba(168, 85, 247, 0.1);
    color: var(--ml-violet);
}

.ml-track-icon--core {
    background: rgba(255, 107, 0, 0.1);
    color: var(--ml-primary);
}

.ml-track-icon--deploy {
    background: rgba(124, 58, 237, 0.12);
    color: var(--ml-violet-light);
}

.ml-track-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.ml-track-card > p {
    font-size: 0.9rem;
    color: var(--ml-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.ml-track-topics {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.ml-track-topics li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--ml-text);
}

.ml-track-topics li i {
    color: var(--ml-violet-light);
    font-size: 0.9rem;
}

.ml-track-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--ml-border);
    font-size: 0.8rem;
    color: var(--ml-text-muted);
}

.ml-track-duration {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ═══════════════════════════════════════════════
   LIVE DEMO SECTION
   ═══════════════════════════════════════════════ */

.ml-demo-section {
    background: linear-gradient(180deg, var(--ml-surface) 0%, var(--ml-surface-2) 50%, var(--ml-bg) 100%);
    position: relative;
}

.ml-demo-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--ml-surface));
    pointer-events: none;
}

.ml-demo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ml-demo-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.ml-demo-description {
    font-size: 1rem;
    color: var(--ml-text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.ml-project-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.ml-project-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--ml-surface-2);
    border: 1px solid var(--ml-border);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ml-project-item:hover,
.ml-project-item.active {
    border-color: var(--ml-border-hover);
    background: rgba(168, 85, 247, 0.04);
}

.ml-project-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.12);
    color: var(--ml-violet-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.ml-project-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.ml-project-info p {
    font-size: 0.85rem;
    color: var(--ml-text-muted);
    line-height: 1.5;
}

/* Code Preview Window */
.ml-code-preview-window {
    background: var(--ml-surface-2);
    border: 1px solid var(--ml-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.ml-preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--ml-surface-3);
    border-bottom: 1px solid var(--ml-border);
}

.ml-preview-dots {
    display: flex;
    gap: 6px;
}

.ml-preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ml-preview-dots span:nth-child(1) { background: #ff5f56; }
.ml-preview-dots span:nth-child(2) { background: #ffbd2e; }
.ml-preview-dots span:nth-child(3) { background: #27c93f; }

.ml-preview-title {
    font-size: 0.85rem;
    color: var(--ml-text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.ml-preview-body {
    padding: 20px;
    background: #0a0a0a;
}

.ml-preview-body pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    color: #e8e8e8;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: hidden;
}

.ml-line-highlight {
    background: rgba(168, 85, 247, 0.06);
    margin: 0 -20px;
    padding: 0 20px;
    display: block;
}

.ml-highlight-line {
    background: rgba(255, 107, 0, 0.1);
    margin: 0 -20px;
    padding: 2px 20px;
    display: block;
    border-left: 3px solid var(--ml-primary);
}

/* ═══════════════════════════════════════════════
   CURRICULUM GRID
   ═══════════════════════════════════════════════ */

.ml-curriculum-section {
    background: linear-gradient(180deg, #080808 0%, var(--ml-bg) 100%);
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.ml-curriculum-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.ml-curriculum-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ml-module-bg-icon {
    position: absolute;
    right: -15px;
    bottom: -15px;
    font-size: 130px;
    opacity: 0.05;
    color: var(--ml-violet);
    z-index: 0;
    transform: rotate(-10deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.ml-module-card:hover .ml-module-bg-icon {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.09;
}

.ml-module-content, .ml-module-number {
    position: relative;
    z-index: 1;
}

.ml-module-card {
    display: flex;
    gap: 24px;
    padding: 40px;
    background: var(--ml-surface-2);
    border: 1px solid var(--ml-border);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ml-module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--ml-primary), var(--ml-violet));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ml-module-card:hover::before {
    opacity: 1;
}

.ml-module-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ml-module-number {
    font-family: var(--ml-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ml-violet);
    opacity: 0.6;
    line-height: 1;
    min-width: 40px;
    padding-top: 4px;
}

.ml-module-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.ml-module-desc {
    font-size: 0.9rem;
    color: var(--ml-text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.ml-module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.ml-module-tags span {
    font-size: 0.8rem;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ml-border);
    border-radius: 50px;
    color: var(--ml-text-muted);
    transition: all 0.2s ease;
}

.ml-module-card:hover .ml-module-tags span {
    background: rgba(168, 85, 247, 0.06);
    border-color: rgba(168, 85, 247, 0.22);
}

.ml-module-outcomes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--ml-border);
    margin-top: 8px;
}

.ml-module-outcomes span {
    font-size: 0.85rem;
    color: var(--ml-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.ml-module-outcomes span i {
    color: var(--ml-violet-light);
    font-size: 0.8rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */

.ml-cta-section {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--ml-bg) 0%, var(--ml-surface) 50%, var(--ml-bg) 100%);
}

.ml-cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--ml-bg));
    pointer-events: none;
}

.ml-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 107, 0, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse at 30% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
}

.ml-cta-card {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--ml-surface-2);
    border: 1px solid var(--ml-border);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ml-cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.ml-cta-subtitle {
    font-size: 1.05rem;
    color: var(--ml-text-muted);
    margin-bottom: 32px;
}

.ml-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.ml-cta-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--ml-text-muted);
}

.ml-cta-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ml-cta-trust svg {
    color: var(--ml-violet-light);
}

/* ═══════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════ */

.ml-faq-section {
    background: linear-gradient(180deg, var(--ml-surface) 0%, var(--ml-bg) 100%);
    position: relative;
}

.ml-faq-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--ml-surface));
    pointer-events: none;
}

.ml-faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.ml-faq-sidebar {
    position: sticky;
    top: 120px;
}

.ml-faq-sidebar h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.ml-faq-sidebar p {
    font-size: 1rem;
    color: var(--ml-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.ml-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ml-faq-item {
    background: var(--ml-surface-2);
    border: 1px solid var(--ml-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ml-faq-item.active {
    border-color: var(--ml-border-hover);
}

.ml-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
}

.ml-faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.ml-faq-question i {
    font-size: 1.2rem;
    color: var(--ml-violet-light);
    transition: transform 0.3s ease;
}

.ml-faq-item.active .ml-faq-question i {
    transform: rotate(45deg);
}

.ml-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.ml-faq-item.active .ml-faq-answer {
    max-height: 200px;
}

.ml-faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--ml-text-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   FLOATING & STICKY ELEMENTS
   ═══════════════════════════════════════════════ */

.ml-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--ml-border);
    display: none;
    z-index: 999;
}

/* Floating buttons — shared styles now live in navfoot.css */

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .ml-hero-layout {
        gap: 40px;
    }

    .ml-tracks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .ml-hero {
        padding: 120px 0 60px;
    }

    .ml-hero-layout {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .ml-hero-content {
        text-align: left;
        align-items: flex-start;
    }

    .ml-hero-badge {
        margin: 0;
    }

    .ml-hero-subtitle {
        margin: 0;
    }

    .ml-hero-actions {
        justify-content: flex-start;
    }

    .ml-section {
        padding: 100px 0;
    }

    .ml-curriculum-grid {
        gap: 24px;
    }

    .ml-module-card {
        padding: 32px;
    }

    .ml-demo-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ml-faq-layout {
        grid-template-columns: 1fr;
    }

    .ml-faq-sidebar {
        position: static;
        text-align: center;
    }

    .ml-tracks-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ml-section {
        padding: 80px 0;
    }

    .ml-hero-layout {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .ml-curriculum-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ml-module-card {
        padding: 28px;
        flex-direction: column;
        gap: 16px;
    }

    .ml-hero-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }

    .ml-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .ml-btn {
        width: 100%;
        max-width: 280px;
    }

    .ml-editor-window {
        margin: 0 -10px;
    }

    .ml-editor-body {
        font-size: 0.75rem;
    }

    .ml-curriculum-grid {
        grid-template-columns: 1fr;
    }

    .ml-cta-card {
        padding: 40px 24px;
    }

    .ml-cta-actions {
        flex-direction: column;
    }

    .ml-cta-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .ml-hero {
        padding: 100px 0 50px;
    }

    .ml-hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ml-hero-content {
        text-align: center;
        align-items: center;
    }

    .ml-hero-badge {
        margin: 0 auto;
    }

    .ml-hero-subtitle {
        margin: 0 auto;
    }

    .ml-hero-actions {
        justify-content: center;
    }

    .ml-hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        letter-spacing: -1px;
    }

    .ml-hero-subtitle {
        font-size: 0.95rem;
    }

    .ml-editor-header {
        padding: 12px 16px;
    }

    .ml-editor-body {
        padding: 16px;
        font-size: 0.7rem;
    }

    .ml-scroll-indicator {
        display: none;
    }

    .ml-section-header h2 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .ml-module-card {
        padding: 16px;
    }

    .ml-track-card {
        padding: 24px;
    }
}

/* ═══════════════════════════════════════════════
   MENTOR SECTION — Modern Borderless
   ═══════════════════════════════════════════════ */

.ml-mentors-section {
    background: linear-gradient(180deg, var(--ml-bg) 0%, #0a0a0a 100%);
    position: relative;
    z-index: 2;
}

.ml-mentor-wrap {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

@media (min-width: 768px) {
    .ml-mentor-wrap {
        grid-template-columns: 380px 1fr;
        gap: 70px;
    }
}

/* ── Visual Column ── */
.ml-mentor-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.ml-mentor-img-bg {
    position: relative;
    width: 260px;
    height: 320px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    transition: border-radius 0.6s ease;
}

.ml-mentor-img-bg::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--ml-primary), var(--ml-violet-dark));
    z-index: -1;
    opacity: 0.6;
}

.ml-mentor-img-bg:hover {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
}

.ml-mentor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Floating experience badge */
.ml-mentor-exp-float {
    position: absolute;
    bottom: 20px;
    right: 0;
    background: linear-gradient(135deg, var(--ml-primary) 0%, #ff9500 100%);
    color: #fff;
    padding: 14px 22px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 30px rgba(255, 107, 0, 0.35);
    animation: ml-float 3s ease-in-out infinite;
}

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

.ml-exp-num {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.ml-exp-text {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Decorative dots */
.ml-mentor-dots {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(168, 85, 247, 0.3) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    pointer-events: none;
    z-index: -1;
}

/* ── Body Column ── */
.ml-mentor-body {
    position: relative;
}

.ml-mentor-title-group {
    margin-bottom: 20px;
}

.ml-mentor-name {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.ml-mentor-role {
    font-size: 1.05rem;
    color: var(--ml-violet-light);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.ml-mentor-bio {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--ml-text-muted);
    margin-bottom: 28px;
}

/* Skill pills — glassmorphism style */
.ml-mentor-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.ml-mentor-skills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    cursor: default;
}

.ml-mentor-skills span::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ml-violet);
    flex-shrink: 0;
}

.ml-mentor-skills span:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.25);
    transform: translateY(-2px);
}

/* Social links — minimal circle style */
.ml-mentor-social {
    display: flex;
    gap: 14px;
}

.ml-social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ml-social-link:hover {
    background: var(--ml-primary);
    border-color: var(--ml-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.25);
}

.ml-social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.25);
}

.ml-social-link.instagram:hover {
    background: #e4405f;
    border-color: #e4405f;
    box-shadow: 0 10px 25px rgba(228, 64, 95, 0.25);
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .ml-mentor-wrap {
        gap: 40px;
        text-align: center;
    }

    .ml-mentor-img-bg {
        width: 220px;
        height: 270px;
    }

    .ml-mentor-exp-float {
        right: 10px;
        padding: 12px 18px;
    }

    .ml-mentor-name {
        font-size: 1.9rem;
    }

    .ml-mentor-skills {
        justify-content: center;
    }

    .ml-mentor-social {
        justify-content: center;
    }

    .ml-mentor-dots {
        left: 10px;
    }
}

/* ========================================
   SHARED TEAM COMPONENT — MACHINE LEARNING STYLES
   ======================================== */

/* Override original ml-mentor-wrap grid so injected card gets full width */
.ml-mentors-section .ml-mentor-wrap[data-team-container] {
    display: block;
    max-width: 700px;
    margin: 0 auto;
}

/* Centered solo card layout */
.ml-mentors-section [data-team-container] .bbx-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    height: auto;
    cursor: default;
    position: relative;
}

/* Hide unused card elements */
.ml-mentors-section [data-team-container] .bbx-team-overlay,
.ml-mentors-section [data-team-container] .bbx-team-side-label,
.ml-mentors-section [data-team-container] .bbx-team-accent {
    display: none;
}

/* Image — large circular portrait */
.ml-mentors-section [data-team-container] .bbx-team-img-wrap {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: visible;
    margin: 0 auto 28px;
    border: 3px solid rgba(168, 85, 247, 0.3);
    padding: 6px;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.ml-mentors-section [data-team-container] .bbx-team-img-wrap:hover {
    transform: scale(1.03);
    border-color: rgba(168, 85, 247, 0.55);
}

.ml-mentors-section [data-team-container] .bbx-team-img-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    filter: none;
}

/* Experience badge */
.ml-mentors-section [data-team-container] .bbx-team-exp-float {
    display: flex !important;
    position: absolute;
    bottom: 0;
    right: -10px;
    background: linear-gradient(135deg, var(--ml-primary) 0%, #ff9500 100%);
    color: #fff;
    padding: 10px 16px;
    border-radius: 14px;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.35);
    animation: ml-float 3s ease-in-out infinite;
    z-index: 2;
}

.ml-mentors-section [data-team-container] .bbx-team-exp-num {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.ml-mentors-section [data-team-container] .bbx-team-exp-text {
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

/* Text content */
.ml-mentors-section [data-team-container] .bbx-team-footer {
    position: relative;
    display: block;
    padding: 0;
    background: none;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.ml-mentors-section [data-team-container] .bbx-team-footer-inner {
    display: block;
}

.ml-mentors-section [data-team-container] .bbx-team-name {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0 0 6px;
}

.ml-mentors-section [data-team-container] .bbx-team-role {
    font-size: 1rem;
    color: var(--ml-violet-light);
    font-weight: 600;
    display: block;
    margin-bottom: 0;
}

.ml-mentors-section [data-team-container] .bbx-team-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--ml-text-muted);
    margin: 18px auto 24px;
    display: block;
    max-width: 480px;
    max-height: none;
    overflow: visible;
}

/* Skills row */
.ml-mentors-section [data-team-container] .bbx-team-skills {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    justify-content: center;
}

.ml-mentors-section [data-team-container] .bbx-team-skills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    cursor: default;
}

.ml-mentors-section [data-team-container] .bbx-team-skills span::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ml-violet);
    flex-shrink: 0;
}

.ml-mentors-section [data-team-container] .bbx-team-skills span:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.25);
    transform: translateY(-2px);
}

/* Social icons */
.ml-mentors-section [data-team-container] .bbx-team-socials {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.ml-mentors-section [data-team-container] .bbx-team-socials a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ml-mentors-section [data-team-container] .bbx-team-socials a:hover {
    background: var(--ml-primary);
    border-color: var(--ml-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.25);
}

.ml-mentors-section [data-team-container] .bbx-team-socials a:nth-child(1):hover {
    background: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.25);
}

.ml-mentors-section [data-team-container] .bbx-team-socials a:nth-child(2):hover {
    background: #e4405f;
    border-color: #e4405f;
    box-shadow: 0 10px 25px rgba(228, 64, 95, 0.25);
}
