    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        :root {
            --brand: #f97316; --brand-dk: #ea6c00;
            --text: #0f172a; --muted: #64748b;
            --border: #e2e8f0; --bg: #f8fafc; --card: #fff;
            --radius: 14px; --shadow: 0 4px 24px rgba(0,0,0,.07);
            --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
        }
        body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }
        .site-header { background: #fff; border-bottom: 1px solid var(--border); padding: 0 24px; }
        .site-header__inner { max-width: 1100px; margin: 0 auto; height: 64px; display: flex; align-items: center; justify-content: space-between; }
        .back { font-size: 13px; color: var(--muted); text-decoration: none; }
        .back:hover { color: var(--brand); }
        .user-bar { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
        .user-bar a { color: var(--muted); text-decoration: none; }
        .user-bar a:hover { color: var(--brand); }
        .hero { background: linear-gradient(135deg,#fff7ed 0%,#fff 60%); border-bottom: 1px solid var(--border); padding: 64px 24px 52px; text-align: center; }
        .hero__badge { display: inline-flex; align-items: center; gap: 6px; background: #fff7ed; border: 1px solid #fed7aa; color: var(--brand); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; margin-bottom: 20px; }
        .hero__title { font-size: clamp(28px,5vw,46px); font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
        .hero__title em { font-style: normal; color: var(--brand); }
        .hero__sub { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.6; }
        .hero__login { margin-top: 14px; font-size: 14px; color: var(--muted); }
        .hero__login a { color: var(--brand); font-weight: 600; text-decoration: none; }
        .main { max-width: 1100px; margin: 0 auto; padding: 52px 24px 80px; }
        .empty-state { text-align: center; padding: 80px 24px; color: var(--muted); font-size: 16px; }
        .courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
        .course-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
        .course-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
        .course-card__stripe { height: 4px; background: linear-gradient(90deg,var(--brand),#fb923c); }
        .course-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
        .course-card__free { display: inline-flex; align-items: center; gap: 4px; background: #dcfce7; color: #16a34a; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; width: fit-content; }
        .course-card__title { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.3; }
        .course-card__desc { font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; }
        .course-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); margin-top: 4px; }
        .course-card__footer { padding: 16px 24px; border-top: 1px solid var(--border); background: #fafafa; display: flex; gap: 10px; }
        .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 18px; font-size: 14px; font-weight: 600; border-radius: 8px; border: none; cursor: pointer; text-decoration: none; transition: background .15s; font-family: inherit; }
        .btn-primary { background: var(--brand); color: #fff; flex: 1; }
        .btn-primary:hover { background: var(--brand-dk); }
        .btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
        .btn-outline:hover { background: var(--bg); }
        .btn-green { background: #16a34a; color: #fff; flex: 1; }
        .btn-green:hover { background: #15803d; }

        /* Modal login */
        .modal-overlay { display: none; position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 1000; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(3px); }
        .modal-overlay.open { display: flex; }
        .modal { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-width: 420px; padding: 32px; position: relative; animation: modalIn .2s ease; }
        @keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
        .modal__close { position: absolute; top: 14px; right: 14px; background: none; border: none; cursor: pointer; color: var(--muted); font-size: 20px; line-height: 1; padding: 4px; border-radius: 6px; }
        .modal__close:hover { color: var(--text); }
        .modal__badge { display: inline-flex; align-items: center; gap: 5px; background: #fff7ed; color: var(--brand); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 3px 10px; border-radius: 99px; margin-bottom: 12px; }
        .modal__title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
        .modal__sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; line-height: 1.6; }
        .form-group { margin-bottom: 14px; }
        .form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
        .form-group input { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; font-family: inherit; color: var(--text); background: var(--bg); outline: none; transition: border-color .15s, box-shadow .15s; }
        .form-group input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(249,115,22,.12); background: #fff; }
        .alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; margin-bottom: 14px; display: none; }
        .alert.error { background: #fee2e2; color: #b91c1c; display: block; }
        .spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .6s linear infinite; display: none; }
        @keyframes spin { to { transform: rotate(360deg); } }
        .modal__success { text-align: center; padding: 16px 0; display: none; }
.modal__success p { font-size: 15px; font-weight: 600; color: #15803d; }

        /* Hero stats */
        .hero__stats { display: flex; justify-content: center; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
        .hero__stat { text-align: center; }
        .hero__stat strong { display: block; font-size: 24px; font-weight: 700; color: var(--text); }
        .hero__stat span { font-size: 13px; color: var(--muted); }

        /* Benefits strip */
        .benefits-strip { background: #fff; border-bottom: 1px solid var(--border); padding: 32px 24px; }
        .benefits-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
        .benefit { display: flex; align-items: flex-start; gap: 14px; }
        .benefit__icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
        .benefit strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
        .benefit p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }

        /* Section label */
        .courses-section-label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 20px; }

