/* ============================================================
   Full-Stack Bootcamp — Public Site
   urinboydev.uz · Modern · Responsive · 2026
   ============================================================ */

/* ─── Variables ──────────────────────────────────────────── */
:root {
    --primary:       #0d9488;
    --primary-dark:  #0f766e;
    --primary-light: #14b8a6;
    --primary-50:    #f0fdfa;
    --primary-100:   #ccfbf1;
    --primary-900:   #134e4a;
    --accent:        #0891b2;

    --bg:            #f8fafc;
    --bg-card:       #ffffff;
    --text:          #0f172a;
    --text-2:        #334155;
    --text-3:        #64748b;
    --text-muted:    #94a3b8;
    --border:        #e2e8f0;
    --border-light:  #f1f5f9;

    --backend:       #0284c7;
    --backend-bg:    rgba(2,132,199,0.08);
    --frontend:      #059669;
    --frontend-bg:   rgba(5,150,105,0.08);
    --project:       #7c3aed;
    --project-bg:    rgba(124,58,237,0.08);

    --shadow-xs: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 10px rgba(13,148,136,0.06);
    --shadow-md: 0 6px 24px rgba(13,148,136,0.10);
    --shadow-lg: 0 12px 40px rgba(13,148,136,0.14);

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius:    14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --topbar-h: 64px;
    --max-w: 920px;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[x-cloak] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Topbar ─────────────────────────────────────────────── */
.app-topbar {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-light);
    position: sticky; top: 0; z-index: 100;
    height: var(--topbar-h);
}
.topbar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    height: 100%;
    padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.topbar-logo {
    font-size: 1.05rem; font-weight: 800;
    color: var(--primary); text-decoration: none;
    display: flex; align-items: center; gap: 9px;
}
.topbar-logo-icon {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
/* Desktop nav */
.topbar-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.topbar-nav-desktop { display: flex; }
.topbar-link {
    color: var(--text-3); text-decoration: none;
    font-weight: 600; font-size: 0.88rem;
    padding: 6px 12px; border-radius: var(--radius-sm);
    transition: all 0.15s;
}
.topbar-link:hover { color: var(--primary); background: var(--primary-50); }
.topbar-user-chip {
    display: flex; align-items: center; gap: 6px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 4px 10px 4px 4px;
}
.topbar-user-dropdown { position: relative; }
.topbar-user-chip-btn {
    display: flex; align-items: center; gap: 6px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 4px 10px 4px 4px;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    transition: border-color 0.15s, background 0.15s;
}
.topbar-user-chip-btn:hover { border-color: var(--primary); background: var(--primary-50); }
.topbar-user-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.2s;
}
.topbar-user-chevron.open { transform: rotate(180deg); color: var(--primary); }
.topbar-user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    z-index: 200;
}
.tudm-enter { transition: opacity 0.15s, transform 0.15s; }
.tudm-start { opacity: 0; transform: translateY(-6px); }
.tudm-end   { opacity: 1; transform: translateY(0); }
.topbar-user-menu-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg);
}
.topbar-user-menu-avatar {
    width: 36px; height: 36px;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.topbar-user-menu-name { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.topbar-user-menu-role { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.topbar-user-menu-divider { height: 1px; background: var(--border-light); margin: 4px 0; }
.topbar-user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-2);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background 0.12s, color 0.12s;
}
.topbar-user-menu-item:hover { background: var(--primary-50); color: var(--primary); }
.topbar-user-menu-item-logout { color: #dc2626; }
.topbar-user-menu-item-logout:hover { background: #fef2f2; color: #b91c1c; }
.topbar-avatar {
    width: 26px; height: 26px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 800; color: white;
}
.topbar-user  { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.topbar-role  { font-size: 0.7rem; color: var(--text-muted); display: none; }
.topbar-form  { display: inline; }
.topbar-btn {
    background: var(--primary-50); color: var(--primary);
    border: 1px solid var(--primary-100);
    padding: 7px 14px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 0.84rem; cursor: pointer;
    transition: all 0.15s; white-space: nowrap;
    text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
}
.topbar-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.topbar-btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.topbar-btn-primary:hover { background: var(--primary-dark); }
.topbar-btn-sm { padding: 5px 11px; font-size: 0.78rem; }

/* Mobile right (hamburger + quick actions) */
.topbar-mobile-right {
    display: none;
    align-items: center;
    gap: 8px;
    position: relative;
}
.topbar-mobile-actions { display: flex; align-items: center; gap: 8px; }
.topbar-avatar-mobile { width: 30px; height: 30px; font-size: 0.78rem; flex-shrink: 0; }
.topbar-hamburger {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: background 0.15s;
    flex-shrink: 0;
}
.topbar-hamburger:hover { background: var(--primary-50); border-color: var(--primary); color: var(--primary); }

/* Mobile dropdown menu */
.topbar-mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    z-index: 200;
}
.tmm-enter { transition: opacity 0.15s, transform 0.18s; }
.tmm-start { opacity: 0; transform: translateY(-8px) scale(0.97); }
.tmm-end   { opacity: 1; transform: translateY(0) scale(1); }
.tmm-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg);
}
.tmm-avatar {
    width: 34px; height: 34px;
    font-size: 0.88rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: white; flex-shrink: 0;
}
.tmm-name { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.tmm-role { font-size: 0.72rem; color: var(--text-muted); }
.tmm-divider { height: 1px; background: var(--border-light); margin: 4px 0; }
.tmm-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-2);
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}
.tmm-link:hover { background: var(--primary-50); color: var(--primary); }
.tmm-link-active { color: var(--primary); font-weight: 700; }
.tmm-logout { color: #dc2626; }
.tmm-logout:hover { background: #fef2f2; color: #b91c1c; }
.tmm-register-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    background: var(--primary);
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}
.tmm-register-btn:hover { background: var(--primary-dark); }

/* Show/hide by breakpoint */
@media (max-width: 640px) {
    .topbar-nav-desktop { display: none !important; }
    .topbar-mobile-right { display: flex !important; }
}
@media (min-width: 641px) {
    .topbar-mobile-right { display: none !important; }
    .topbar-nav-desktop { display: flex !important; }
}

/* ─── Alerts ─────────────────────────────────────────────── */
.alert-wrapper { max-width: var(--max-w); margin: 0 auto; padding: 12px 20px 0; }
.alert {
    padding: 11px 16px; border-radius: var(--radius-sm);
    font-size: 0.87rem; font-weight: 500;
    display: flex; align-items: center; gap: 8px;
    max-width: var(--max-w); margin: 12px auto 0;
    margin-left: 20px; margin-right: 20px;
}
@media (min-width: 960px) {
    .alert { margin-left: auto; margin-right: auto; }
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ─── Page wrapper ───────────────────────────────────────── */
.page-wrap { max-width: var(--max-w); margin: 0 auto; padding: 28px 20px 56px; }

/* ─── Back link ──────────────────────────────────────────── */
.back-link {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--text-3); text-decoration: none;
    font-weight: 600; font-size: 0.88rem;
    padding: 7px 13px; border-radius: var(--radius-sm);
    background: var(--bg-card); border: 1px solid var(--border);
    margin-bottom: 22px; transition: all 0.15s;
}
.back-link:hover { color: var(--primary); border-color: var(--primary-100); background: var(--primary-50); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, #0f766e 0%, var(--primary) 40%, var(--accent) 100%);
    border-radius: var(--radius-xl);
    padding: 52px 28px 44px;
    color: white; text-align: center;
    margin-bottom: 24px;
    position: relative; overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% -20%, rgba(255,255,255,0.12) 0%, transparent 60%);
}
.hero-section > * { position: relative; z-index: 1; }
.hero-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.15s;
}
.hero-back-link:hover { color: white; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.14em;
    padding: 6px 14px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-full);
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}
.hero-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800; line-height: 1.18;
    margin-bottom: 10px; letter-spacing: -0.02em;
}
.hero-subtitle { font-size: 1.05rem; font-weight: 600; opacity: 0.92; margin-bottom: 6px; }
.hero-desc { font-size: 0.9rem; opacity: 0.8; }
.hero-chips {
    display: flex; justify-content: center; gap: 8px;
    flex-wrap: wrap; margin-top: 22px;
}
.hero-chip {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.8rem; font-weight: 600;
    padding: 6px 13px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
}

/* ─── Stats grid ─────────────────────────────────────────── */
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px; margin-bottom: 32px;
}
.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px 14px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: transform 0.18s, box-shadow 0.18s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.stat-icon-wrap {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--primary-50);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px;
}
.stat-val { display: block; font-size: 1.55rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-lbl { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 5px; }

/* ─── Section label ──────────────────────────────────────── */
.section-label {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8rem; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.section-label::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ─── Month cards ────────────────────────────────────────── */
.courses-list { display: grid; gap: 14px; max-width: 560px; margin: 0 auto; }
.courses-empty { text-align: center; color: var(--text-muted); padding: 32px 20px; font-size: 0.95rem; }
.course-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}
.course-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.course-card-accent { height: 4px; }
.course-card-body { padding: 22px 24px; position: relative; }
.course-card-title { font-size: 1.2rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.course-card-subtitle { font-size: 0.9rem; color: var(--text-2); margin-bottom: 6px; }
.course-card-period { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.course-card-meta { display: flex; gap: 16px; font-size: 0.8rem; font-weight: 600; color: var(--primary); }
.course-card-arrow {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: transform 0.2s, color 0.2s;
}
.course-card:hover .course-card-arrow { transform: translateY(-50%) translateX(4px); color: var(--primary); }

.months-list { display: grid; gap: 12px; }
.month-card {
    display: block;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    text-decoration: none; color: inherit;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
    overflow: hidden;
}
.month-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13,148,136,0.25);
}
.month-card-inner { display: flex; align-items: stretch; }
.month-card-accent {
    width: 4px; flex-shrink: 0;
    border-radius: 0;
}
.month-card-body { flex: 1; padding: 18px 20px; min-width: 0; }
.month-card-top { display: flex; align-items: center; gap: 13px; margin-bottom: 8px; }
.month-num-badge {
    width: 42px; height: 42px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem; font-weight: 800; flex-shrink: 0;
}
.month-header-info { flex: 1; min-width: 0; }
.month-name { font-size: 1.05rem; font-weight: 800; color: var(--text); line-height: 1.2; }
.month-period-text { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.month-arrow { color: var(--text-muted); flex-shrink: 0; transition: transform 0.2s var(--ease); }
.month-card:hover .month-arrow { transform: translateX(5px); color: var(--primary); }
.month-title-text { font-size: 0.85rem; color: var(--text-3); line-height: 1.5; margin-bottom: 10px; }
.month-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.month-tag {
    font-size: 0.73rem; font-weight: 600;
    padding: 3px 9px; border-radius: var(--radius-full);
}
.tag-backend  { background: var(--backend-bg);  color: var(--backend); }
.tag-frontend { background: var(--frontend-bg); color: var(--frontend); }
.tag-project  { background: var(--project-bg);  color: var(--project); }

/* ─── Footer ─────────────────────────────────────────────── */
.bootcamp-footer {
    text-align: center; margin-top: 40px; padding-top: 28px;
    border-top: 1px solid var(--border);
}
.bootcamp-footer p { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 6px; }
.bootcamp-footer a { color: var(--primary); font-weight: 600; text-decoration: none; font-size: 0.88rem; }
.bootcamp-footer a:hover { text-decoration: underline; }

/* ─── Detail hero ────────────────────────────────────────── */
.detail-hero {
    border-radius: var(--radius-lg);
    padding: 32px 24px 28px;
    color: white; text-align: center;
    margin-bottom: 22px; position: relative; overflow: hidden;
}
.detail-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% -10%, rgba(255,255,255,0.15), transparent 60%);
}
.detail-hero > * { position: relative; z-index: 1; }
.detail-badge {
    display: inline-block;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.12em; padding: 5px 13px;
    background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-full); margin-bottom: 12px;
}
.detail-title { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.detail-period { font-size: 0.88rem; opacity: 0.88; }
.lesson-type-badge {
    display: inline-block; margin-top: 10px;
    font-size: 0.75rem; font-weight: 700; padding: 4px 13px;
    border-radius: var(--radius-full); background: rgba(255,255,255,0.22);
}

/* ─── Legend bar ─────────────────────────────────────────── */
.legend-bar {
    display: flex; gap: 16px; flex-wrap: wrap;
    margin-bottom: 20px; padding: 12px 18px;
    background: var(--bg-card); border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.legend-pill { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 500; color: var(--text-3); }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

/* ─── Week cards ─────────────────────────────────────────── */
.week-card {
    background: var(--bg-card); border-radius: var(--radius);
    margin-bottom: 12px; border: 1px solid var(--border);
    box-shadow: var(--shadow-xs); overflow: hidden;
    transition: box-shadow 0.18s;
}
.week-card:hover { box-shadow: var(--shadow-sm); }
.week-header {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 16px;
    background: #f8fffe;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer; user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s;
}
.week-header:hover { background: var(--primary-50); }
.week-num-badge {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 800; color: white; flex-shrink: 0;
}
.week-label { flex: 1; font-size: 0.9rem; font-weight: 700; color: var(--text); }
.week-guide-btn {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.74rem; font-weight: 600; color: var(--primary);
    background: var(--primary-50); padding: 4px 10px;
    border-radius: var(--radius-full);
    text-decoration: none; border: 1px solid var(--primary-100);
    transition: all 0.15s;
}
.week-guide-btn:hover { background: var(--primary); color: white; }
.week-toggle {
    color: var(--text-muted); transition: transform 0.28s var(--ease);
    flex-shrink: 0;
}
.week-toggle.open { transform: rotate(180deg); }

/* ─── Lesson items ───────────────────────────────────────── */
.week-lessons { overflow: hidden; }
.lesson-item {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.15s;
}
.lesson-item:last-child { border-bottom: none; }
.lesson-item.clickable { cursor: pointer; }
.lesson-item.clickable:hover { background: var(--primary-50); }
.lesson-date {
    flex-shrink: 0; text-align: center;
    min-width: 46px;
    padding: 6px 0;
    background: var(--border-light);
    border-radius: var(--radius-sm);
}
.lesson-day-num { font-size: 1.1rem; font-weight: 800; color: var(--text); line-height: 1; }
.lesson-day-name { font-size: 0.65rem; color: var(--text-muted); margin-top: 2px; }
.lesson-body { flex: 1; min-width: 0; }
.lesson-topic {
    font-size: 0.88rem; font-weight: 600; display: inline-block;
    padding: 4px 10px; border-radius: 7px; margin-bottom: 3px;
    line-height: 1.4;
}
.lesson-topic.backend  { background: var(--backend-bg);  color: #0369a1; }
.lesson-topic.frontend { background: var(--frontend-bg); color: #047857; }
.lesson-topic.project  { background: var(--project-bg);  color: #6d28d9; }
.lesson-duration { font-size: 0.76rem; color: #ea580c; font-weight: 600; }
.lesson-go { color: var(--primary); opacity: 0.6; flex-shrink: 0; }
.lesson-item.clickable:hover .lesson-go { opacity: 1; }

.lesson-item-locked { cursor: default; opacity: 0.85; }
.lesson-item-locked .lesson-topic { opacity: 0.9; }
.lesson-lock {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    padding: 4px;
}
.lesson-lock svg { display: block; }

/* ─── Summary block ──────────────────────────────────────── */
.detail-summary {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 22px; margin-top: 6px;
    border: 1px solid var(--border); box-shadow: var(--shadow-xs);
}
.summary-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.95rem; font-weight: 700; color: var(--primary);
    margin-bottom: 14px; padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-50);
}
.mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.mini-stat {
    background: var(--primary-50); border-left: 3px solid var(--primary);
    padding: 12px 14px; border-radius: var(--radius-sm);
}
.mini-stat-val { font-size: 1.35rem; font-weight: 800; color: var(--primary); }
.mini-stat-lbl { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.project-card {
    background: var(--project-bg); border-left: 3px solid var(--project);
    padding: 14px 16px; border-radius: var(--radius-sm); margin-top: 12px;
}
.project-card h4 { font-size: 0.92rem; font-weight: 700; color: #6d28d9; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.project-card p { font-size: 0.84rem; color: var(--text-3); line-height: 1.65; }
.note-card {
    display: flex; align-items: flex-start; gap: 8px;
    background: #fffbeb; border-left: 3px solid #f59e0b;
    padding: 12px 14px; border-radius: var(--radius-sm);
    margin-top: 10px; font-size: 0.83rem; color: #92400e; line-height: 1.5;
}

/* ─── Guide page ─────────────────────────────────────────── */
.guide-content-wrap {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 24px; border: 1px solid var(--border); margin-top: 18px;
    box-shadow: var(--shadow-xs);
}
.guide-page-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.guide-body { font-size: 0.94rem; line-height: 1.75; color: var(--text-3); }
.guide-body h2 { font-size: 1.15rem; font-weight: 800; color: var(--text); margin: 1.5em 0 0.5em; }
.guide-body h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 1.2em 0 0.4em; }
.guide-body h4 { font-size: 0.95rem; font-weight: 700; margin: 1em 0 0.4em; }
.guide-body p  { margin-bottom: 0.8em; }
.guide-body ul, .guide-body ol { margin: 0.5em 0 0.8em 1.3em; }
.guide-body li { margin-bottom: 0.3em; }
.guide-body code {
    background: var(--primary-50); color: var(--primary-dark);
    padding: 2px 6px; border-radius: 4px; font-size: 0.88em;
    font-family: 'JetBrains Mono', monospace;
}
.guide-body pre {
    background: #0f172a; color: #e2e8f0;
    padding: 16px; border-radius: var(--radius-sm);
    overflow-x: auto; font-size: 0.84rem; line-height: 1.55; margin: 12px 0;
    font-family: 'JetBrains Mono', monospace;
}
.guide-body pre code { background: none; color: inherit; padding: 0; }
.guide-body table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.88rem; }
.guide-body th, .guide-body td { padding: 9px 12px; border: 1px solid var(--border); text-align: left; }
.guide-body th { background: var(--primary-50); color: var(--primary-dark); font-weight: 700; }
.guide-placeholder-wrap {
    background: #fffbeb; border: 1px solid #f59e0b;
    border-radius: var(--radius); padding: 24px; margin-top: 18px;
}
.guide-placeholder { font-size: 0.92rem; color: #92400e; line-height: 1.65; }
.guide-placeholder code { background: #fef3c7; padding: 2px 6px; border-radius: 4px; }

/* ─── Auth pages ─────────────────────────────────────────── */
.auth-page-wrap {
    min-height: calc(100vh - var(--topbar-h));
    display: flex; align-items: center; justify-content: center;
    padding: 24px 16px;
    background: linear-gradient(160deg, var(--primary-50) 0%, var(--bg) 60%);
}
.auth-card-wrap { width: 100%; max-width: 420px; }
.auth-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 40px rgba(13,148,136,0.10), 0 2px 8px rgba(0,0,0,0.04);
}
.auth-logo-wrap {
    text-align: center; margin-bottom: 20px;
}
.auth-logo-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 8px;
}
.auth-title { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 6px; text-align: center; }
.auth-desc  { font-size: 0.87rem; color: var(--text-3); line-height: 1.5; text-align: center; margin-bottom: 22px; }
.auth-form  { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--text-2); }
.form-input {
    padding: 10px 13px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-size: 0.94rem; color: var(--text);
    background: var(--bg); transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); background: white; }

/* Password eye toggle */
.form-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.form-input-wrap .form-input {
    width: 100%;
    padding-right: 42px;
}
.form-eye-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 5px;
    transition: color 0.15s, background 0.15s;
    line-height: 1;
}
.form-eye-btn:hover { color: var(--primary); background: var(--primary-50); }
.form-check { flex-direction: row; align-items: center; gap: 8px; }
.form-checkbox { width: 17px; height: 17px; accent-color: var(--primary); cursor: pointer; }
.auth-submit {
    background: var(--primary); color: white; border: none;
    padding: 12px 20px; border-radius: var(--radius-sm);
    font-size: 0.96rem; font-weight: 700; cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 7px;
}
.auth-submit:hover { background: var(--primary-dark); }
.auth-submit:active { transform: scale(0.98); }
.auth-footer { margin-top: 18px; font-size: 0.86rem; color: var(--text-muted); text-align: center; }
.auth-footer a { color: var(--primary); font-weight: 600; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 3px; }
.auth-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 500px) {
    .page-wrap     { padding: 20px 14px 40px; }
    .stats-grid    { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hero-section  { padding: 36px 18px 30px; }
    .topbar-inner  { padding: 0 14px; }
    .topbar-role   { display: none; }
    .month-card-body { padding: 14px 15px; }
}
@media (min-width: 501px) and (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 600px) {
    .mini-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
    .months-list { grid-template-columns: 1fr; }
    .stats-grid  { gap: 18px; }
    .hero-section { padding: 60px 40px 52px; }
}

/* ─── Guide section label ────────────────────────────────── */
.guide-section-label {
    display: flex; align-items: center; gap: 7px;
    font-size: 0.78rem; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin: 22px 0 12px;
}
.guide-section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ─── MD Files list (guide page) ─────────────────────────── */
.md-files-list { display: flex; flex-direction: column; gap: 8px; }
.md-file-card {
    display: flex; align-items: center; gap: 14px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px 18px;
    text-decoration: none; color: inherit;
    transition: all 0.18s var(--ease); box-shadow: var(--shadow-xs);
}
.md-file-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.md-file-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--primary-50); color: var(--primary);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.md-file-info  { flex: 1; min-width: 0; }
.md-file-label { display: block; font-size: 0.9rem; font-weight: 700; color: var(--text); }
.md-file-name  { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; font-family: monospace; }
.md-file-meta  { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.md-file-badge {
    font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em;
    background: var(--primary-50); color: var(--primary); border: 1px solid var(--primary-100);
    padding: 2px 7px; border-radius: var(--radius-full);
}
.md-file-arrow { color: var(--text-muted); transition: transform 0.18s; }
.md-file-card:hover .md-file-arrow { transform: translateX(4px); color: var(--primary); }

/* ─── Guide empty state ──────────────────────────────────── */
.guide-empty-state {
    text-align: center; padding: 48px 20px; color: var(--text-muted);
    background: var(--bg-card); border-radius: var(--radius);
    border: 1px dashed var(--border); margin-top: 12px;
}
.guide-empty-state p { font-size: 0.9rem; }

/* ─── MD View page ───────────────────────────────────────── */
.md-meta-strip {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; flex-wrap: wrap; margin-bottom: 20px;
    padding: 11px 16px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.md-meta-left  { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.md-meta-tag   { font-size: 0.77rem; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-sm); background: var(--border-light); color: var(--text-3); }
.type-dot      { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-full); }
.type-dot-backend  { background: var(--backend-bg);  color: var(--backend); }
.type-dot-frontend { background: var(--frontend-bg); color: var(--frontend); }
.type-dot-project  { background: var(--project-bg);  color: var(--project); }
.md-nav-btns   { display: flex; align-items: center; gap: 6px; }
.md-nav-btn {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.78rem; font-weight: 600; color: var(--text-3);
    background: var(--border-light); border: 1px solid var(--border);
    padding: 5px 11px; border-radius: var(--radius-sm);
    text-decoration: none; transition: all 0.15s;
}
.md-nav-btn:hover { background: var(--primary-50); color: var(--primary); border-color: var(--primary-100); }
.md-nav-label { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Two-column layout */
.md-layout { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .md-layout { grid-template-columns: 220px 1fr; align-items: start; } }

/* Sidebar */
.md-sidebar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: sticky; top: calc(var(--topbar-h) + 16px); }
.md-sidebar-title { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--border-light); }
.md-sidebar-nav { display: flex; flex-direction: column; }
.md-sidebar-link { display: flex; align-items: center; gap: 9px; padding: 10px 14px; font-size: 0.84rem; font-weight: 600; color: var(--text-3); text-decoration: none; border-bottom: 1px solid var(--border-light); transition: all 0.15s; }
.md-sidebar-link:last-child { border-bottom: none; }
.md-sidebar-link:hover { background: var(--primary-50); color: var(--primary); }
.md-sidebar-link.active { background: var(--primary-50); color: var(--primary); font-weight: 700; border-left: 3px solid var(--primary); }
.md-sidebar-num { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; background: var(--border); color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; }
.md-sidebar-link.active .md-sidebar-num { background: var(--primary); color: white; }

/* Article */
.md-article { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs); min-width: 0; }
.md-article-full { grid-column: 1 / -1; }
.md-article-header { padding: 12px 20px; border-bottom: 1px solid var(--border); background: var(--border-light); }
.md-file-badge-lg { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; color: var(--text-3); font-family: monospace; }

/* Markdown body */
.md-body { padding: 24px 28px; font-size: 0.94rem; line-height: 1.8; color: var(--text-2); }
.md-body h1 { font-size: 1.5rem; font-weight: 800; color: var(--text); margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-100); letter-spacing: -0.01em; }
.md-body h2 { font-size: 1.15rem; font-weight: 800; color: var(--text); margin: 28px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.md-body h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 20px 0 8px; }
.md-body h4 { font-size: 0.94rem; font-weight: 700; color: var(--text); margin: 16px 0 6px; }
.md-body p  { margin-bottom: 0.9em; }
.md-body ul, .md-body ol { margin: 0.5em 0 0.9em 1.3em; }
.md-body li { margin-bottom: 0.35em; line-height: 1.65; }
.md-body strong { font-weight: 700; color: var(--text); }
.md-body em { color: var(--text-3); }
.md-body hr { border: none; border-top: 1px solid var(--border); margin: 22px 0; }
.md-body a  { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.md-body a:hover { color: var(--primary-dark); }
.md-body blockquote { border-left: 3px solid var(--primary); background: var(--primary-50); padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 14px 0; color: var(--primary-900); font-style: italic; }
.md-body code { background: var(--primary-50); color: var(--primary-dark); padding: 2px 7px; border-radius: 5px; font-size: 0.87em; font-family: 'JetBrains Mono', 'Courier New', monospace; }
.md-body pre { background: #0f172a; color: #e2e8f0; padding: 18px 20px; border-radius: var(--radius-sm); overflow-x: auto; font-size: 0.84rem; line-height: 1.6; margin: 14px 0; font-family: 'JetBrains Mono', 'Courier New', monospace; }
.md-body pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.md-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.88rem; display: block; overflow-x: auto; }
.md-body th, .md-body td { padding: 9px 13px; border: 1px solid var(--border); text-align: left; }
.md-body th { background: var(--primary-50); color: var(--primary-dark); font-weight: 700; white-space: nowrap; }
.md-body tbody tr:hover { background: var(--border-light); }

/* Bottom nav */
.md-bottom-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--border); background: var(--border-light); }
.md-bottom-btn { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); background: white; border: 1px solid var(--border); transition: all 0.15s; }
.md-bottom-btn:hover { border-color: var(--primary-100); background: var(--primary-50); color: var(--primary); }
.md-bottom-next { justify-content: flex-end; }
.md-bottom-hint  { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.md-bottom-title { font-size: 0.84rem; font-weight: 700; }

@media (max-width: 500px) {
    .md-body { padding: 16px 15px; }
    .md-bottom-nav { grid-template-columns: 1fr; }
    .md-nav-label { display: none; }
}

/* ═══════════════════════════════════════════════════════
   TOPBAR — active link
   ═══════════════════════════════════════════════════════ */
.topbar-link-active {
    color: var(--primary) !important;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════════════ */

/* Container */
.lp-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Hero ──────────────────────────────────────────────── */
.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 80px;
}
.lp-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #0d9488 50%, #0f172a 100%);
    opacity: 0.96;
    z-index: 0;
}
.lp-hero-dots {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 32px 32px;
}
.lp-hero .lp-container { position: relative; z-index: 1; width: 100%; }
.lp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 900px) {
    .lp-hero-inner { grid-template-columns: 1fr; }
    .lp-hero-visual { display: none; }
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(13,148,136,0.25);
    border: 1px solid rgba(13,148,136,0.4);
    color: #5eead4;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 22px;
    letter-spacing: 0.04em;
}
.lp-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.lp-hero-title-accent {
    background: linear-gradient(90deg, #5eead4, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.lp-hero-title-sub {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0;
}
.lp-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 520px;
}
.lp-hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 16px 20px;
    width: fit-content;
    flex-wrap: wrap;
}
.lp-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}
.lp-hero-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}
.lp-hero-stat-lbl {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.lp-hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}
.lp-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.lp-hero-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Buttons ────────────────────────────────────────────── */
.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.18s;
    text-decoration: none;
    border: 2px solid transparent;
    line-height: 1;
}
.lp-btn-primary {
    background: #0d9488;
    color: white;
    border-color: #0d9488;
}
.lp-btn-primary:hover { background: #0f766e; border-color: #0f766e; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(13,148,136,0.35); }
.lp-btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.4);
}
.lp-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.lp-btn-white {
    background: white;
    color: #0d9488;
    border-color: white;
}
.lp-btn-white:hover { background: #f0fdfa; transform: translateY(-1px); }
.lp-btn-outline-white {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.5);
}
.lp-btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: white; }
.lp-btn-sm { padding: 8px 14px; font-size: 0.82rem; }

/* ── Tech chips ─────────────────────────────────────────── */
.lp-tech-chip {
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.lp-chip-php     { background: rgba(119,123,180,0.2); color: #a5b4fc; border: 1px solid rgba(119,123,180,0.3); }
.lp-chip-laravel { background: rgba(255,45,32,0.15);  color: #fca5a5; border: 1px solid rgba(255,45,32,0.25); }
.lp-chip-react   { background: rgba(97,218,251,0.15); color: #7dd3fc; border: 1px solid rgba(97,218,251,0.25); }
.lp-chip-ts      { background: rgba(49,120,198,0.2);  color: #93c5fd; border: 1px solid rgba(49,120,198,0.3); }
.lp-chip-vite    { background: rgba(100,108,255,0.2); color: #c4b5fd; border: 1px solid rgba(100,108,255,0.3); }
.lp-chip-git     { background: rgba(240,81,51,0.15);  color: #fcd34d; border: 1px solid rgba(240,81,51,0.25); }

/* ── Hero Visual (code card) ────────────────────────────── */
.lp-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.lp-code-card {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.lp-code-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-code-dot { width: 10px; height: 10px; border-radius: 50%; }
.lp-dot-red    { background: #ef4444; }
.lp-dot-yellow { background: #f59e0b; }
.lp-dot-green  { background: #22c55e; }
.lp-code-filename { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-left: 8px; font-family: monospace; }
.lp-code-body {
    padding: 20px 18px;
    font-size: 0.82rem;
    line-height: 1.7;
    overflow-x: auto;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
}
.lp-code-body code { font-family: inherit; }
.lp-c-kw  { color: #c084fc; }
.lp-c-cls { color: #5eead4; }
.lp-c-fn  { color: #93c5fd; }
.lp-c-var { color: #fca5a5; }
.lp-c-str { color: #86efac; }

.lp-floating-badge {
    position: absolute;
    background: white;
    border-radius: 30px;
    padding: 7px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    animation: fb-float 3s ease-in-out infinite;
    white-space: nowrap;
}
.lp-fb-1 { top: -16px;  right: -10px;  animation-delay: 0s; }
.lp-fb-2 { bottom: 60px; left: -20px;  animation-delay: 1s; }
.lp-fb-3 { bottom: -10px; right: 20px; animation-delay: 2s; }
@keyframes fb-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ── Section base ───────────────────────────────────────── */
.lp-section {
    padding: 88px 0;
}
.lp-section-head {
    text-align: center;
    margin-bottom: 52px;
}
.lp-section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.lp-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.lp-section-desc {
    font-size: 1rem;
    color: var(--text-2);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── About ──────────────────────────────────────────────── */
.lp-about { background: var(--bg); }
.lp-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .lp-about-grid { grid-template-columns: 1fr; }
}
.lp-about-col {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: box-shadow 0.18s, transform 0.18s;
}
.lp-about-col:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }
.lp-about-col-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.lp-icon-backend  { background: #f0fdfa; color: #0d9488; }
.lp-icon-frontend { background: #eef2ff; color: #6366f1; }
.lp-icon-project  { background: #fffbeb; color: #f59e0b; }
.lp-about-col-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
}
.lp-feature-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.lp-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.5;
}
.lp-feature-list svg { flex-shrink: 0; margin-top: 2px; }

/* For who grid */
.lp-for-who { margin-top: 0; }
.lp-for-who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 768px) {
    .lp-for-who-grid { grid-template-columns: 1fr; }
}
.lp-for-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
}
.lp-for-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--primary-50);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.lp-for-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.lp-for-card p {
    font-size: 0.82rem;
    color: var(--text-2);
    line-height: 1.55;
}

/* ── Technologies ───────────────────────────────────────── */
.lp-tech-section { background: #f8fafc; }
.lp-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 900px) { .lp-tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lp-tech-grid { grid-template-columns: 1fr 1fr; } }
.lp-tech-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    transition: box-shadow 0.18s, transform 0.18s;
}
.lp-tech-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); transform: translateY(-2px); }
.lp-tech-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    gap: 3px;
    margin: 0 auto 12px;
    font-size: 0.65rem;
    font-weight: 800;
}
.lp-tech-icon span { font-size: 0.78rem; font-weight: 800; }
.lp-ti-php     { background: #ede9fe; color: #7c3aed; }
.lp-ti-laravel { background: #fee2e2; color: #dc2626; }
.lp-ti-react   { background: #e0f2fe; color: #0284c7; }
.lp-ti-ts      { background: #dbeafe; color: #1d4ed8; }
.lp-ti-vite    { background: #ede9fe; color: #7c3aed; }
.lp-ti-tailwind{ background: #ecfdf5; color: #059669; }
.lp-ti-mysql   { background: #fff7ed; color: #c2410c; }
.lp-ti-git     { background: #fff1f2; color: #e11d48; }
.lp-tech-card p { font-size: 0.75rem; color: var(--text-muted); margin: 0; }

/* ── Curriculum ─────────────────────────────────────────── */
.lp-curriculum { background: var(--bg); }
.lp-curriculum-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}
.lp-curriculum-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
    background: white;
}
.lp-curriculum-item:last-child { border-bottom: none; }
.lp-curriculum-item:hover { background: #f8fafc; }
.lp-ci-num {
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1.5px solid;
    font-size: 1rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.lp-ci-body { flex: 1; min-width: 0; }
.lp-ci-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 3px;
}
.lp-ci-name { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.lp-ci-period { font-size: 0.75rem; color: var(--text-muted); }
.lp-ci-title { font-size: 0.82rem; color: var(--text-2); margin-bottom: 6px; }
.lp-ci-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.lp-ci-tag {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.lp-ci-tag.tag-backend  { background: #f0fdfa; color: #0d9488; }
.lp-ci-tag.tag-frontend { background: #eef2ff; color: #6366f1; }
.lp-ci-tag.tag-project  { background: #fffbeb; color: #d97706; }
.lp-ci-count { font-size: 0.72rem; color: var(--text-muted); margin-left: auto; white-space: nowrap; }
.lp-ci-arrow {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--primary-50);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: background 0.15s;
}
.lp-ci-arrow:hover { background: var(--primary); color: white; }
.lp-curriculum-cta { text-align: center; }

/* ── Instructor ─────────────────────────────────────────── */
.lp-instructor { background: #0f172a; }
.lp-instructor-card {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.lp-instructor-avatar {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d9488, #6366f1);
    color: white;
    font-size: 2.2rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.lp-instructor-info { flex: 1; min-width: 200px; }
.lp-instructor-info .lp-section-label { background: rgba(13,148,136,0.2); color: #5eead4; }
.lp-instructor-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}
.lp-instructor-bio {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin-bottom: 16px;
}
.lp-instructor-links { display: flex; gap: 10px; }
.lp-instructor-links .lp-btn-outline { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.25); }
.lp-instructor-links .lp-btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.lp-instructor-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.lp-ins-stat { text-align: center; }
.lp-ins-num { display: block; font-size: 2rem; font-weight: 800; color: #5eead4; }
.lp-ins-lbl { font-size: 0.75rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── FAQ ────────────────────────────────────────────────── */
.lp-faq { background: #f8fafc; }
.lp-faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lp-faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.15s;
}
.lp-faq-item.is-open { box-shadow: 0 4px 16px rgba(0,0,0,0.06); border-color: var(--primary); }
.lp-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    text-align: left;
    font-family: inherit;
    transition: color 0.15s;
}
.lp-faq-q:hover { color: var(--primary); }
.lp-faq-icon {
    flex-shrink: 0;
    transition: transform 0.2s;
}
.lp-faq-item.is-open .lp-faq-icon { transform: rotate(180deg); color: var(--primary); }
.lp-faq-a {
    padding: 0 20px 18px;
}
.lp-faq-a p { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; margin: 0; }

/* ── Bottom CTA ─────────────────────────────────────────── */
.lp-bottom-cta { background: var(--bg); }
.lp-cta-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 64px 48px;
    text-align: center;
}
.lp-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d9488 0%, #6366f1 100%);
    z-index: 0;
}
.lp-cta-content { position: relative; z-index: 1; }
.lp-cta-title {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}
.lp-cta-desc { font-size: 1rem; color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.lp-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────── */
.lp-footer {
    background: #0f172a;
    padding: 32px 0;
}
.lp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.lp-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lp-footer-name { font-size: 0.95rem; font-weight: 700; color: white; }
.lp-footer-sub  { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 2px; }
.lp-footer-links {
    display: flex;
    gap: 20px;
}
.lp-footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.15s;
}
.lp-footer-links a:hover { color: #5eead4; }
.lp-footer-copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 16px;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════
   REGISTER MODAL
   ═══════════════════════════════════════════════════════ */
.reg-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15,23,42,0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.reg-fade-enter  { transition: opacity 0.2s; }
.reg-fade-start  { opacity: 0; }
.reg-fade-end    { opacity: 1; }
.reg-slide-enter { transition: opacity 0.2s, transform 0.22s cubic-bezier(0.34,1.56,0.64,1); }
.reg-slide-start { opacity: 0; transform: scale(0.9) translateY(16px); }
.reg-slide-end   { opacity: 1; transform: scale(1) translateY(0); }

.reg-modal {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 560px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.3);
    overflow: hidden;
}
.reg-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 24px 20px;
    border-bottom: 1px solid #f1f5f9;
}
.reg-modal-logo {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d9488, #6366f1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.reg-modal-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 3px;
}
.reg-modal-sub { font-size: 0.8rem; color: #64748b; }
.reg-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    margin-left: auto;
    transition: background 0.15s, color 0.15s;
}
.reg-modal-close:hover { background: #f1f5f9; color: #0f172a; }

.reg-modal-errors {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 24px;
    margin-top: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.82rem;
    line-height: 1.5;
}
.reg-modal-form { padding: 20px 24px; }
.reg-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
@media (max-width: 500px) {
    .reg-form-row { grid-template-columns: 1fr; }
    .reg-modal { max-height: 90vh; overflow-y: auto; margin: 12px; }
    .reg-modal-header { padding: 18px 18px 16px; }
    .reg-modal-form { padding: 16px 18px; }
    .reg-modal-footer { padding: 12px 18px 18px; }
}
.reg-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.reg-field label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.reg-input {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    font-size: 0.9rem;
    color: #0f172a;
    background: #f8fafc;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    box-sizing: border-box;
}
.reg-input:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px #f0fdfa;
    background: white;
}
.reg-hint { font-size: 0.72rem; color: #94a3b8; }
.reg-eye { right: 10px; }
.form-input-wrap .reg-input { padding-right: 42px; }

.reg-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    background: #0d9488;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    margin-top: 4px;
}
.reg-submit:hover {
    background: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13,148,136,0.3);
}
.reg-modal-footer {
    padding: 14px 24px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
}
.reg-modal-footer a { color: #0d9488; font-weight: 700; text-decoration: none; }
.reg-modal-footer a:hover { text-decoration: underline; }

/* FAQ accordion transition (no x-collapse plugin) */
.faq-enter { transition: opacity 0.2s ease, max-height 0.25s ease; overflow: hidden; }
.faq-start { opacity: 0; max-height: 0; }
.faq-end   { opacity: 1; max-height: 400px; }

/* ═══════════════════════════════════════════════════════
   LANDING — MOBILE FULL
   ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .lp-container { padding: 0 16px; }
    .lp-hero {
        min-height: auto;
        padding: 28px 0 48px;
        padding-top: max(28px, env(safe-area-inset-top));
    }
    .lp-hero-badge { font-size: 0.72rem; padding: 4px 10px; margin-bottom: 16px; }
    .lp-hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        margin-bottom: 10px;
        line-height: 1.2;
    }
    .lp-hero-title-sub { font-size: clamp(0.9rem, 3.5vw, 1.1rem); }
    .lp-hero-desc {
        font-size: 0.95rem;
        margin-bottom: 22px;
        line-height: 1.6;
    }
    .lp-hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 14px 16px;
        margin-bottom: 26px;
        width: 100%;
        box-sizing: border-box;
    }
    .lp-hero-stat { padding: 0 12px; }
    .lp-hero-stat-num { font-size: 1.35rem; }
    .lp-hero-stat-lbl { font-size: 0.68rem; }
    .lp-hero-stat-divider { display: none; }
    .lp-hero-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
        width: 100%;
    }
    .lp-hero-actions .lp-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.9rem;
        min-height: 48px;
        box-sizing: border-box;
    }
    .lp-hero-chips { gap: 6px; }
    .lp-tech-chip { font-size: 0.7rem; padding: 4px 10px; }

    .lp-section { padding: 40px 0; }
    .lp-section-head { margin-bottom: 28px; }
    .lp-section-title { font-size: clamp(1.35rem, 5vw, 1.65rem); }
    .lp-section-desc { font-size: 0.9rem; }

    .lp-about-grid { gap: 20px; }
    .lp-about-col { padding: 20px 18px; }
    .lp-feature-list li { font-size: 0.88rem; padding-left: 22px; }
    .lp-for-who { margin-top: 36px; }
    .lp-for-who-grid { gap: 14px; }
    .lp-for-card { padding: 18px 16px; }
    .lp-for-card h4 { font-size: 1rem; }
    .lp-for-card p { font-size: 0.85rem; }

    .lp-tech-grid { gap: 12px; }
    .lp-tech-card { padding: 16px 14px; }
    .lp-tech-icon { width: 44px; height: 44px; }
    .lp-tech-icon span { font-size: 0.72rem; }
    .lp-tech-card p { font-size: 0.7rem; }

    .lp-curriculum-list { gap: 0; border-radius: 14px; overflow: hidden; }
    .lp-curriculum-item {
        padding: 14px 14px 14px 12px;
        gap: 12px;
        min-height: auto;
    }
    .lp-ci-num { width: 36px; height: 36px; font-size: 0.9rem; flex-shrink: 0; }
    .lp-ci-top { flex-wrap: wrap; gap: 4px; }
    .lp-ci-name { font-size: 0.9rem; }
    .lp-ci-title { font-size: 0.78rem; margin-bottom: 6px; }
    .lp-ci-tags {
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 6px;
    }
    .lp-ci-arrow {
        width: 40px; height: 40px;
        min-width: 40px;
        border-radius: 10px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .lp-curriculum-cta { margin-top: 24px; }
    .lp-curriculum-cta .lp-btn { width: 100%; justify-content: center; min-height: 48px; }

    .lp-instructor-card {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 32px 20px;
    }
    .lp-instructor-avatar {
        width: 72px; height: 72px;
        font-size: 1.8rem;
        margin: 0 auto;
    }
    .lp-instructor-info { min-width: 0; }
    .lp-instructor-name { font-size: 1.45rem; margin-bottom: 8px; }
    .lp-instructor-bio { font-size: 0.88rem; margin-bottom: 14px; }
    .lp-instructor-links { justify-content: center; }
    .lp-instructor-links .lp-btn { width: 100%; justify-content: center; max-width: 220px; margin: 0 auto; }
    .lp-instructor-stats {
        justify-content: center;
        gap: 24px;
    }
    .lp-ins-num { font-size: 1.6rem; }
    .lp-ins-lbl { font-size: 0.7rem; }

    .lp-faq-list { gap: 6px; }
    .lp-faq-q {
        padding: 16px 18px;
        min-height: 52px;
        font-size: 0.9rem;
        align-items: center;
    }
    .lp-faq-a { padding: 0 18px 16px; }
    .lp-faq-a p { font-size: 0.84rem; }

    .lp-cta-card { padding: 36px 20px 40px; border-radius: 18px; }
    .lp-cta-title { font-size: clamp(1.25rem, 5vw, 1.5rem); margin-bottom: 10px; }
    .lp-cta-desc { font-size: 0.9rem; margin-bottom: 22px; }
    .lp-cta-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .lp-cta-actions .lp-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        box-sizing: border-box;
    }

    .lp-footer { padding: 28px 0 24px; }
    .lp-footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 18px;
    }
    .lp-footer-brand { justify-content: center; }
    .lp-footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }
    .lp-footer-copy { font-size: 0.7rem; padding-top: 14px; }
    .lp-footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
    .lp-hero-stats { gap: 8px; padding: 12px; }
    .lp-hero-stat { padding: 0 8px; }
    .lp-hero-stat-num { font-size: 1.2rem; }
    .lp-ci-tags .lp-ci-tag { font-size: 0.65rem; padding: 3px 8px; }
}

