/* ═══════════════════════════════════════════════════
   AGENTIC AI COURSE — HYPERFRAMES-INSPIRED INTERACTIVE HERO
   Emerald/Automation Accent Theme · 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 {
    --ag-bg: #050505;
    --ag-surface: #0a0a0a;
    --ag-surface-2: #111111;
    --ag-surface-3: #181818;
    --ag-border: rgba(255, 255, 255, 0.06);
    --ag-border-hover: rgba(255, 107, 0, 0.3);
    --ag-text: #e8e8e8;
    --ag-text-muted: rgba(255, 255, 255, 0.5);
    --ag-text-dim: rgba(255, 255, 255, 0.3);
    --ag-primary: #ff6b00;
    --ag-primary-light: #ff8c33;
    --ag-primary-dark: #cc5500;
    --ag-emerald: #10b981;
    --ag-emerald-light: #34d399;
    --ag-emerald-dark: #059669;
    --ag-gradient: linear-gradient(135deg, #ff6b00 0%, #ff8c33 100%);
    --ag-gradient-btn: linear-gradient(135deg, #ff6b00, #cc5500);
    --ag-gradient-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --ag-r: 18px;
    --ag-r-lg: 24px;
}

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

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

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

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

/* ═══════════════════════════════════════════════
   HERO — INTERACTIVE CODE EDITOR (HyperFrames-inspired)
   ═══════════════════════════════════════════════ */

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

/* Grid Background */
.ag-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 */
.ag-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    animation: agGlowFloat 10s ease-in-out infinite;
}

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

.ag-hero-glow--emerald {
    width: 600px;
    height: 600px;
    background: rgba(16, 185, 129, 0.07);
    bottom: -200px;
    left: -200px;
    animation-delay: 3s;
}

.ag-hero-glow--teal {
    width: 400px;
    height: 400px;
    background: rgba(5, 150, 105, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

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

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

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

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

.ag-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(--ag-primary-light);
    width: fit-content;
    animation: agFadeUp 0.8s ease forwards;
}

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

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

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

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

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

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

/* Buttons */
.ag-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;
}

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

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

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

.ag-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;
}

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

.ag-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;
}

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

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

/* Right: Code Editor (HyperFrames-style) */
.ag-hero-editor {
    position: relative;
    animation: agFadeUp 0.8s ease forwards 0.5s;
    opacity: 0;
}

.ag-editor-window {
    background: var(--ag-surface-2);
    border: 1px solid var(--ag-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(16, 185, 129, 0.06);
}

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

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

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

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

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

.ag-editor-filename svg {
    color: var(--ag-emerald);
}

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

.ag-run-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--ag-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;
}

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

/* Editor Body */
.ag-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(--ag-surface-2) 0%, #0d0d0d 100%);
}

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

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

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

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

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

/* Syntax Highlighting */
.ag-keyword { color: #ff6b00; }
.ag-class { color: var(--ag-emerald-light); }
.ag-func { color: #f0c674; }
.ag-param { color: #9cdcfe; }
.ag-string { color: #ce9178; }
.ag-number { color: #b5cea8; }
.ag-comment { color: #6a9955; font-style: italic; }

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

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

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

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

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

.ag-terminal-success {
    color: var(--ag-emerald);
}

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

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

/* Floating Badge */
.ag-editor-badge {
    position: absolute;
    bottom: -20px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--ag-surface-2);
    border: 1px solid var(--ag-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: agFloatBadge 3s ease-in-out infinite;
}

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

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

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

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

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

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

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

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

.ag-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ag-primary-light);
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.15);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 18px;
}

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

.ag-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;
}

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

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

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

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

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

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

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

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

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

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

.ag-track-icon--llm {
    background: rgba(16, 185, 129, 0.1);
    color: var(--ag-emerald);
}

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

.ag-track-icon--multiagent {
    background: rgba(5, 150, 105, 0.12);
    color: var(--ag-emerald-dark);
}

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

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

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

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

.ag-track-topics li i {
    color: var(--ag-emerald);
    font-size: 0.9rem;
}

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

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

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

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

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

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

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

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

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

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

.ag-project-item:hover,
.ag-project-item.active {
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.04);
}

.ag-project-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--ag-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

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

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

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

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

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

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

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

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

.ag-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;
}

.ag-line-highlight {
    background: rgba(16, 185, 129, 0.06);
    margin: 0 -20px;
    padding: 0 20px;
    display: block;
}

.ag-highlight-line {
    background: rgba(16, 185, 129, 0.1);
    margin: 0 -20px;
    padding: 2px 20px;
    display: block;
    border-left: 3px solid var(--ag-emerald);
}

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

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

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

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

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

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

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

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

.ag-module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ag-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.ag-module-card:hover {
    border-color: rgba(255, 107, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

.ag-module-card:hover .ag-module-tags span {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.2);
}

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

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

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

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

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

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

.ag-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(16, 185, 129, 0.07) 0%, transparent 60%);
}

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

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

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

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

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

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

.ag-cta-trust svg {
    color: var(--ag-emerald);
}

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

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

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

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

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

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

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

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

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

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

.ag-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;
}

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

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

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

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

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

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

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

.ag-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(--ag-border);
    display: none;
    z-index: 999;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ag-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) {
    .ag-mentor-wrap {
        grid-template-columns: 380px 1fr;
        gap: 70px;
    }
}

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

.ag-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;
}

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

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

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

/* Floating experience badge */
.ag-mentor-exp-float {
    position: absolute;
    bottom: 20px;
    right: 0;
    background: linear-gradient(135deg, var(--ag-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: ag-float 3s ease-in-out infinite;
}

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

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

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

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

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

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

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

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

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

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

.ag-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;
}

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

.ag-mentor-skills span:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
    transform: translateY(-2px);
}

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

.ag-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);
}

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

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

.ag-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) {
    .ag-mentor-wrap {
        gap: 40px;
        text-align: center;
    }

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

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

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

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

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

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

/* ========================================
   SHARED TEAM COMPONENT — AGENTIC AI STYLES
   ======================================== */

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

/* Centered solo card layout */
.ag-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 */
.ag-mentors-section [data-team-container] .bbx-team-overlay,
.ag-mentors-section [data-team-container] .bbx-team-side-label,
.ag-mentors-section [data-team-container] .bbx-team-accent {
    display: none;
}

/* Image — large circular portrait */
.ag-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(16, 185, 129, 0.3);
    padding: 6px;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.ag-mentors-section [data-team-container] .bbx-team-img-wrap:hover {
    transform: scale(1.03);
    border-color: rgba(16, 185, 129, 0.55);
}

.ag-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 */
.ag-mentors-section [data-team-container] .bbx-team-exp-float {
    display: flex !important;
    position: absolute;
    bottom: 0;
    right: -10px;
    background: linear-gradient(135deg, var(--ag-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: ag-float 3s ease-in-out infinite;
    z-index: 2;
}

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

.ag-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 */
.ag-mentors-section [data-team-container] .bbx-team-footer {
    position: relative;
    display: block;
    padding: 0;
    background: none;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

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

.ag-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;
}

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

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

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

.ag-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;
}

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

.ag-mentors-section [data-team-container] .bbx-team-skills span:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
    transform: translateY(-2px);
}

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

.ag-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);
}

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

.ag-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);
}

.ag-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);
}
