/* ============================================
   CloserCircle Design System
   Dark theme with gold accents
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-accent: #1a1a1a;
    --bg-hover: #1e1e1e;
    --gold: #c9a84c;
    --gold-light: #e8d48b;
    --gold-dim: rgba(201, 168, 76, 0.15);
    --gold-glow: rgba(201, 168, 76, 0.08);
    --text-primary: #f5f5f0;
    --text-secondary: #8a8a80;
    --text-muted: #5a5a52;
    --border: rgba(255,255,255,0.06);
    --border-light: rgba(255,255,255,0.1);
    --success: #4ade80;
    --radius: 4px;
    --transition: 0.2s ease;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', sans-serif;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

/* ============================================
   Layout
   ============================================ */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-cta {
    font-size: 0.82rem !important;
    color: var(--gold) !important;
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 8px 18px;
    border-radius: var(--radius);
    background: var(--gold-dim);
    transition: all var(--transition) !important;
}

.nav-cta:hover {
    background: rgba(201, 168, 76, 0.2) !important;
    border-color: var(--gold) !important;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        padding: 16px 24px;
        flex-direction: column;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        z-index: 100;
    }
    .nav-links.open { display: flex; }
    .nav { position: relative; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--gold);
    color: #0a0a0a;
}

.btn-primary:hover {
    background: var(--gold-light);
    color: #0a0a0a;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.btn-outline-gold:hover {
    background: var(--gold-dim);
    border-color: var(--gold);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.84rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Page Hero
   ============================================ */

.page-hero {
    padding: 60px 0 48px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
}

.page-hero-label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-dim);
    padding: 6px 14px;
    border-radius: 2px;
    margin-bottom: 24px;
    background: var(--gold-dim);
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    max-width: 700px;
    margin-bottom: 16px;
}

.page-hero h1 em {
    font-style: normal;
    color: var(--gold);
}

.page-hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

/* ============================================
   Section Labels
   ============================================ */

.section-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 540px;
    font-size: 0.95rem;
    margin-bottom: 40px;
}

/* ============================================
   Track Cards (Course Catalog)
   ============================================ */

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2px;
    margin-bottom: 80px;
}

.track-card {
    background: var(--bg-card);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: background var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.track-card:hover {
    background: var(--bg-hover);
    color: inherit;
}

.track-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gold-dim);
    transition: background var(--transition);
}

.track-card:hover::before {
    background: var(--gold);
}

.track-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.track-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(201, 168, 76, 0.1);
    line-height: 1;
}

.track-badge {
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    font-weight: 600;
}

.badge-free {
    background: rgba(74, 222, 128, 0.12);
    color: var(--success);
}

.badge-beginner {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
}

.badge-intermediate {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.badge-advanced {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
}

.badge-expert {
    background: rgba(167, 139, 250, 0.12);
    color: #a78bfa;
}

.track-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.track-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
}

.track-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.track-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.track-price {
    color: var(--gold) !important;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}

/* ============================================
   Course Detail Page
   ============================================ */

.course-detail {
    padding: 48px 0 80px;
}

.course-header {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .course-header {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.course-info h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.15;
}

.course-info .course-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.course-stats {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.course-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
}

.course-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Enrollment card */
.enroll-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 32px;
    position: sticky;
    top: 24px;
}

.enroll-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}

.enroll-price-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.enroll-features {
    list-style: none;
    margin-bottom: 24px;
}

.enroll-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.enroll-features li::before {
    content: '\\2713';
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0;
}

.enroll-or {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 16px 0;
    position: relative;
}

.enroll-or::before,
.enroll-or::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border);
}

.enroll-or::before { left: 0; }
.enroll-or::after { right: 0; }

/* Lessons list */
.lessons-section {
    margin-bottom: 60px;
}

.lessons-section h2 {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 24px;
}

.lesson-item {
    background: var(--bg-card);
    padding: 20px 24px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background var(--transition);
}

.lesson-item:hover {
    background: var(--bg-hover);
}

.lesson-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lesson-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    width: 28px;
    text-align: center;
}

.lesson-title {
    font-size: 0.92rem;
    font-weight: 500;
}

.lesson-duration {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* What you'll learn */
.learn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .learn-grid { grid-template-columns: 1fr; }
}

.learn-item {
    background: var(--bg-card);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.learn-item::before {
    content: '\\25B8';
    color: var(--gold);
    font-size: 0.8rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============================================
   Mentorship Page
   ============================================ */

.mentorship-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-bottom: 80px;
}

@media (max-width: 900px) {
    .mentorship-packages { grid-template-columns: 1fr; }
}

.package-card {
    background: var(--bg-card);
    padding: 40px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.package-card.featured {
    border: 1px solid rgba(201, 168, 76, 0.3);
    background: linear-gradient(180deg, rgba(201, 168, 76, 0.04) 0%, var(--bg-card) 100%);
}

.package-featured-label {
    position: absolute;
    top: -1px;
    left: 32px;
    right: 32px;
    height: 2px;
    background: var(--gold);
}

.package-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.package-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}

.package-price-period {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.package-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.package-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.package-features li {
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-features li::before {
    content: '\\2713';
    color: var(--gold);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Mentor section */
.mentor-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
    border-top: 1px solid var(--border);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .mentor-section { grid-template-columns: 1fr; gap: 40px; }
}

.mentor-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.mentor-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.mentor-features {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mentor-feature {
    background: var(--bg-card);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.mentor-icon {
    width: 36px;
    height: 36px;
    background: var(--gold-dim);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
}

.mentor-feature h4 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.mentor-feature p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   Booking Form
   ============================================ */

.booking-section {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.booking-form {
    max-width: 560px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238a8a80' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-success {
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    padding: 20px 24px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--success);
    display: none;
}

.form-success.visible { display: block; }

/* ============================================
   Pricing Section
   ============================================ */

.pricing-section {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.pricing-highlight {
    background: var(--bg-card);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 48px 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.pricing-highlight h3 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.pricing-highlight .price-big {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.pricing-highlight .price-compare {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-highlight .price-compare s {
    color: var(--text-muted);
}

/* ============================================
   Footer
   ============================================ */

.app-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

@media (max-width: 768px) {
    .app-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ============================================
   Utilities
   ============================================ */

.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }

/* ============================================
   Animations
   ============================================ */

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

.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

.stagger-1 { animation-delay: 0.05s; opacity: 0; }
.stagger-2 { animation-delay: 0.1s; opacity: 0; }
.stagger-3 { animation-delay: 0.15s; opacity: 0; }
.stagger-4 { animation-delay: 0.2s; opacity: 0; }
.stagger-5 { animation-delay: 0.25s; opacity: 0; }
.stagger-6 { animation-delay: 0.3s; opacity: 0; }
.stagger-7 { animation-delay: 0.35s; opacity: 0; }

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 24px;
    transition: color var(--transition);
}

.back-link:hover {
    color: var(--gold);
}

/* Strategies tags */
.strategy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.strategy-tag {
    font-size: 0.72rem;
    padding: 4px 10px;
    background: var(--bg-accent);
    color: var(--text-muted);
    border-radius: 2px;
    letter-spacing: 0.5px;
}

/* Nav mentor link highlight */
.nav-mentor-link {
    color: var(--gold) !important;
    font-weight: 600 !important;
}

.form-label-upper {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ============================================
   AI Mentor - Identify Screen
   ============================================ */

.mentor-identify-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.mentor-identify-page .nav {
    padding: 20px 24px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.mentor-identify {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.mentor-identify-card {
    max-width: 460px;
    width: 100%;
    text-align: center;
}

.mentor-ai-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #0a0a0a;
    margin: 0 auto 24px;
}

.mentor-identify-card h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.mentor-identify-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 32px;
}

.mentor-identify-form {
    text-align: left;
    margin-bottom: 16px;
}

.mentor-identify-form .form-group {
    margin-bottom: 16px;
}

.mentor-identify-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.mentor-identify-features {
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mif-item {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mif-icon {
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .mentor-identify-features { grid-template-columns: 1fr; }
}

/* ============================================
   AI Mentor - Onboarding Wizard
   ============================================ */

.onboard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
}

.onboard-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-accent);
    border: 2px solid var(--border-light);
    transition: all 0.3s;
}

.onboard-dot.active {
    background: var(--gold);
    border-color: var(--gold);
}

.onboard-line {
    width: 48px;
    height: 2px;
    background: var(--border-light);
    transition: background 0.3s;
}

.onboard-line.active {
    background: var(--gold);
}

.mentor-identify-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.onboard-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.onboard-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-primary);
    width: 100%;
    text-align: left;
    font-family: 'DM Sans', sans-serif;
}

.onboard-option:hover {
    border-color: var(--border-light);
    background: var(--bg-hover);
}

.onboard-option.selected {
    border-color: var(--gold);
    background: var(--gold-dim);
}

.oo-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.onboard-option strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
}

.oo-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.onboard-goals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    text-align: left;
}

.onboard-goal {
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
}

.onboard-goal:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
}

.onboard-goal.selected {
    border-color: var(--gold);
    background: var(--gold-dim);
    color: var(--gold);
}

.onboard-nav {
    display: flex;
    gap: 12px;
}

.onboard-nav .btn {
    flex: 1;
}

/* ============================================
   AI Mentor - Chat Interface
   ============================================ */

.mentor-chat-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.mentor-nav {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    z-index: 10;
    background: var(--bg-dark);
}

.mentor-nav-center {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mentor-nav-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gold);
}

.mentor-nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mentor-nav-link {
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    text-decoration: none;
    font-weight: 500;
}

.mentor-nav-link:hover {
    color: var(--text-secondary) !important;
}

.mentor-sidebar-toggle,
.mentor-new-chat-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mentor-sidebar-toggle:hover,
.mentor-new-chat-btn:hover {
    color: var(--text-primary);
    background: var(--bg-accent);
}

/* Chat app layout */
.mentor-app {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sidebar */
.mentor-sidebar {
    width: 280px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    background: var(--bg-dark);
    flex-shrink: 0;
}

.mentor-sidebar-header {
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.mentor-sidebar-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.mentor-sidebar-empty {
    padding: 24px 16px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mentor-conv-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 12px 14px;
    background: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-align: left;
    color: var(--text-secondary);
    transition: all 0.15s;
    margin-bottom: 2px;
    font-family: 'DM Sans', sans-serif;
}

.mentor-conv-item:hover {
    background: var(--bg-accent);
    color: var(--text-primary);
}

.mentor-conv-item.active {
    background: var(--gold-dim);
    color: var(--text-primary);
}

.mentor-conv-title {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mentor-conv-time {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.mentor-sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
}

.mentor-profile-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mpb-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 160px;
}

.mpb-level {
    font-size: 0.72rem;
    color: var(--gold);
    text-transform: capitalize;
    font-weight: 600;
}

/* Main chat area */
.mentor-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.mentor-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Empty state */
.mentor-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.mentor-empty-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0a0a0a;
    margin-bottom: 20px;
}

.mentor-empty h3 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.mentor-empty p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    max-width: 440px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.mentor-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 500px;
}

.mentor-suggestion {
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
}

.mentor-suggestion:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
}

/* Message bubbles */
.mentor-msg {
    display: flex;
    gap: 12px;
    max-width: 780px;
    animation: fadeIn 0.25s ease;
}

.mentor-msg-user {
    flex-direction: row-reverse;
    align-self: flex-end;
}

.mentor-msg-ai {
    align-self: flex-start;
}

.mentor-msg-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    color: #0a0a0a;
    flex-shrink: 0;
    margin-top: 2px;
}

.mentor-msg-content {
    font-size: 0.92rem;
    line-height: 1.65;
    word-break: break-word;
}

.mentor-msg-user .mentor-msg-content {
    background: var(--gold-dim);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 12px 16px;
    border-radius: 16px 16px 4px 16px;
    color: var(--text-primary);
}

.mentor-msg-ai .mentor-msg-content {
    color: var(--text-secondary);
    padding: 4px 0;
}

.mentor-msg-ai .mentor-msg-content strong {
    color: var(--text-primary);
}

.mentor-msg-ai .mentor-msg-content h3,
.mentor-msg-ai .mentor-msg-content h4 {
    color: var(--text-primary);
    margin: 16px 0 8px;
    font-size: 1rem;
}

.mentor-msg-ai .mentor-msg-content h3:first-child,
.mentor-msg-ai .mentor-msg-content h4:first-child {
    margin-top: 0;
}

.mentor-msg-ai .mentor-msg-content p {
    margin-bottom: 10px;
}

.mentor-msg-ai .mentor-msg-content p:last-child {
    margin-bottom: 0;
}

.mentor-msg-ai .mentor-msg-content ul,
.mentor-msg-ai .mentor-msg-content ol {
    margin: 8px 0 12px 20px;
}

.mentor-msg-ai .mentor-msg-content li {
    margin-bottom: 4px;
}

.mentor-msg-ai .mentor-msg-content code {
    background: var(--bg-card);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.85rem;
    color: var(--gold);
}

/* Typing indicator */
.mentor-typing {
    color: var(--text-muted);
    font-style: italic;
}

.mentor-typing span {
    animation: blink 1.2s infinite;
}

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

/* Input area */
.mentor-input-area {
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    background: var(--bg-dark);
    flex-shrink: 0;
}

.mentor-input-form {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    max-width: 780px;
    margin: 0 auto;
}

.mentor-input-form textarea {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    border-radius: 12px;
    resize: none;
    min-height: 44px;
    max-height: 150px;
    line-height: 1.5;
    transition: border-color 0.2s;
}

.mentor-input-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.mentor-input-form textarea:disabled {
    opacity: 0.5;
}

.mentor-send-btn {
    width: 44px;
    height: 44px;
    background: var(--gold);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    color: #0a0a0a;
}

.mentor-send-btn:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.mentor-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.mentor-send-btn svg {
    color: #0a0a0a;
}

/* ============================================
   AI Mentor - Mobile Responsive
   ============================================ */

@media (max-width: 768px) {
    .mentor-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        z-index: 200;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .mentor-sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0,0,0,0.5);
    }

    .mentor-sidebar.open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 280px;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
    }

    .mentor-messages {
        padding: 16px;
    }

    .mentor-input-area {
        padding: 12px 16px;
    }

    .mentor-msg {
        max-width: 100%;
    }

    .mentor-nav-link {
        display: none;
    }

    .mentor-identify-card h1 {
        font-size: 1.6rem;
    }
}

/* ============================================
   Onboarding Step Label
   ============================================ */

.ob-step-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* Nav path link */
.nav-path-link {
    color: var(--gold) !important;
    font-weight: 600 !important;
}

/* ============================================
   Learning Path Dashboard
   ============================================ */

.lp-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.lp-loading-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    animation: spin 2s linear infinite;
}

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

.lp-loading p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Header */
.lp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--border);
}

.lp-header-left {
    flex: 1;
}

.lp-header h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
    line-height: 1.15;
}

.lp-header-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* Score ring */
.lp-score-card {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lp-score-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lp-score-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.lp-score-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

/* Stats row */
.lp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin: 2px 0;
}

.lp-stat {
    background: var(--bg-card);
    padding: 24px 20px;
    text-align: center;
}

.lp-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.lp-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Next milestone banner */
.lp-next-milestone {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, var(--bg-card) 100%);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 20px 24px;
    margin-top: 24px;
}

.lp-nm-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.lp-nm-content {
    flex: 1;
}

.lp-nm-label {
    font-size: 0.68rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.lp-nm-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
}

.lp-nm-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Action box */
.lp-action-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-card);
    border-left: 3px solid var(--gold);
    padding: 20px 24px;
    margin-top: 24px;
}

.lp-action-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.lp-action-label {
    font-size: 0.72rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
    font-weight: 600;
}

.lp-action-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Track list */
.lp-tracks {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 48px;
}

.lp-track-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-card);
    padding: 24px;
    transition: background var(--transition);
}

.lp-track-item:hover {
    background: var(--bg-hover);
}

.lp-track-num {
    width: 36px;
    height: 36px;
    background: var(--gold-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.lp-track-info {
    flex: 1;
    min-width: 0;
}

.lp-track-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.lp-track-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    text-decoration: none;
}

.lp-track-title:hover {
    color: var(--gold) !important;
}

.lp-track-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.lp-track-badge.review {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
}

.lp-track-badge.done {
    background: rgba(74, 222, 128, 0.12);
    color: var(--success);
}

.lp-track-reason {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.5;
}

.lp-track-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--bg-accent);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.lp-track-progress-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.lp-track-progress-text {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Weekly actions */
.lp-weekly-actions {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 48px;
}

.lp-wa-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    padding: 16px 20px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.lp-wa-check {
    font-size: 1.1rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Milestones */
.lp-milestones {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 60px;
}

.lp-ms-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    padding: 18px 20px;
    transition: background var(--transition);
}

.lp-ms-item:hover {
    background: var(--bg-hover);
}

.lp-ms-item.completed {
    opacity: 0.6;
}

.lp-ms-check {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.lp-ms-info {
    flex: 1;
}

.lp-ms-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.lp-ms-item.completed .lp-ms-title {
    text-decoration: line-through;
    color: var(--text-muted);
}

.lp-ms-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.lp-ms-date {
    font-size: 0.72rem;
    color: var(--gold);
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .lp-header {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .lp-header-actions {
        justify-content: center;
    }

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

    .lp-next-milestone {
        flex-direction: column;
        text-align: center;
    }

    .lp-track-item {
        flex-direction: column;
    }

    .lp-ms-item {
        flex-wrap: wrap;
    }
}
