/* ═══════════════════════════════════════════════════
   PYTHON COURSE — HYPERFRAMES-INSPIRED INTERACTIVE HERO
   Completely Unique Design · v2.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 {
    --py-bg: #050505;
    --py-surface: #0a0a0a;
    --py-surface-2: #111111;
    --py-surface-3: #181818;
    --py-border: rgba(255, 255, 255, 0.06);
    --py-border-hover: rgba(255, 107, 0, 0.3);
    --py-text: #e8e8e8;
    --py-text-muted: rgba(255, 255, 255, 0.5);
    --py-text-dim: rgba(255, 255, 255, 0.3);
    --py-primary: #ff6b00;
    --py-primary-light: #ff8c33;
    --py-primary-dark: #cc5500;
    --py-cyan: #06b6d4;
    --py-green: #34d399;
    --py-purple: #8b5cf6;
    --py-gradient: linear-gradient(135deg, #ff6b00 0%, #ff8c33 100%);
    --py-gradient-btn: linear-gradient(135deg, #ff6b00, #cc5500);
    --py-r: 18px;
    --py-r-lg: 24px;
}

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

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

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

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

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

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

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

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

.py-hero-glow--blue {
    width: 600px;
    height: 600px;
    background: rgba(255, 107, 0, 0.06);
    bottom: -200px;
    left: -200px;
    animation-delay: 3s;
}

.py-hero-glow--purple {
    width: 400px;
    height: 400px;
    background: rgba(255, 140, 51, 0.04);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.py-editor-window {
    background: var(--py-surface-2);
    border: 1px solid var(--py-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 107, 0, 0.05);
}

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

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

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

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

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

.py-editor-filename svg {
    color: var(--py-primary);
}

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

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

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

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

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

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

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

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

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

/* Syntax Highlighting */
.py-keyword { color: #ff6b00; }
.py-class { color: #ff8c33; }
.py-func { color: #f0c674; }
.py-param { color: #9cdcfe; }
.py-string { color: #ce9178; }
.py-number { color: #b5cea8; }
.py-comment { color: #6a9955; font-style: italic; }

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

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

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

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

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

.py-terminal-success {
    color: var(--py-green);
}

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

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

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

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

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

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

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

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

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

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

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

.py-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--py-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.py-track-icon--automation {
    background: rgba(139, 92, 246, 0.1);
    color: var(--py-purple);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.py-project-item:hover,
.py-project-item.active {
    border-color: var(--py-border-hover);
    background: rgba(255, 107, 0, 0.03);
}

.py-project-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--py-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

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

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

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

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

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

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

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

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

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

.py-line-highlight {
    background: rgba(255, 107, 0, 0.05);
    margin: 0 -20px;
    padding: 0 20px;
    display: block;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.py-module-card:hover .py-module-tags span {
    background: rgba(255, 107, 0, 0.05);
    border-color: rgba(255, 107, 0, 0.2);
}

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

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

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

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

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

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

.py-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(255, 140, 51, 0.06) 0%, transparent 60%);
}

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

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

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

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

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

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

.py-cta-trust svg {
    color: var(--py-green);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.floating-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.floating-btn.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.floating-btn.whatsapp-btn {
    background: #25D366;
    color: #fff;
}

.floating-btn.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.floating-btn.top-btn {
    background: var(--py-primary);
    color: #fff;
}

.floating-btn.top-btn:hover {
    background: #fff;
    color: var(--py-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Decorative dots */
.py-mentor-dots {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(255, 107, 0, 0.25) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    pointer-events: none;
    z-index: -1;
}

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

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

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

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

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

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

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

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

.py-mentor-skills span:hover {
    background: rgba(255, 107, 0, 0.08);
    border-color: rgba(255, 107, 0, 0.2);
    transform: translateY(-2px);
}

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

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

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

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

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

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

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

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

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

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

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