* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background:
        radial-gradient(circle at top, rgba(99, 102, 241, 0.10), transparent 30%),
        linear-gradient(180deg, #f8f9fa 0%, #eef2f7 100%);
    overflow-x: hidden;
}

.browser-notification-bell {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1300;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%);
    color: white;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.28);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.browser-notification-bell:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 22px 40px rgba(37, 99, 235, 0.34);
}

.browser-notification-bell-icon {
    font-size: 24px;
    line-height: 1;
}

.browser-notification-badge {
    position: absolute;
    top: -4px;
    right: -2px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid white;
}

.browser-notification-panel {
    position: fixed;
    right: 24px;
    bottom: 94px;
    z-index: 1299;
    width: min(360px, calc(100vw - 32px));
    display: none;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
}

.browser-notification-panel-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.browser-notification-panel-subtitle,
.browser-notification-status {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.browser-notification-label {
    display: block;
    margin-top: 14px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.browser-notification-select {
    width: 100%;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid #d0d5dd;
    background: white;
}

.browser-notification-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.browser-notification-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    max-height: 180px;
    overflow: auto;
}

.browser-notification-item {
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    border: 1px solid #e2e8f0;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0;
}

/* ============ HEADER E NAVBAR ============ */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 0;
    position: relative;
    overflow: clip;
}

.header::before,
.header::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    filter: blur(6px);
}

.header::before {
    width: 240px;
    height: 240px;
    right: -70px;
    top: 40px;
}

.header::after {
    width: 160px;
    height: 160px;
    left: -30px;
    bottom: -30px;
}

.navbar {
    background: rgba(0, 0, 0, 0.1);
    padding: 18px 0;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.navbar-brand {
    font-weight: bold;
    font-size: 24px;
}

.site-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.navbar-brand h1 {
    margin: 0;
    font-size: 24px;
}

.site-logo {
    display: block;
    max-height: 56px;
    width: auto;
    max-width: min(220px, 42vw);
    object-fit: contain;
}

.navbar-menu {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.navbar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.10);
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.navbar-toggle:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.16);
}

.navbar-toggle-box {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
}

.navbar-toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-link,
.nav-home-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-home-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ============ HERO SECTION ============ */
.hero-section {
    padding: 88px 0 76px;
    text-align: center;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: clamp(2.3rem, 6vw, 4.25rem);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.05;
    max-width: 12ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.1vw, 1.35rem);
    opacity: 0.95;
    margin: 0 auto 30px;
    max-width: 48ch;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ MAIN CONTENT ============ */
.main-content {
    padding: 48px 0;
    min-height: calc(100vh - 200px);
}

.courses-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* ============ COURSES GRID ============ */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
    animation: fadeIn 0.8s ease 0.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ COURSE CARDS (PREMIUM) ============ */
.course-card {
    display: block;
    position: relative;
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.10);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    animation: scaleIn 0.5s ease forwards;
    content-visibility: auto;
    contain-intrinsic-size: 420px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    text-decoration: none;
    color: inherit;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    height: auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.course-card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.course-card:hover .card-overlay {
    opacity: 1;
}

.card-btn {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.05);
}

.card-content {
    padding: 24px;
}

.course-card:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.35);
    outline-offset: 4px;
}

.card-title {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
    line-height: 1.25;
}

.card-tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.card-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    min-height: 72px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    align-items: center;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 2px solid #ddd;
}

.btn-secondary:hover {
    background: #e0e0e0;
    border-color: #667eea;
    color: #667eea;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-success {
    background: #27ae60;
    color: white;
}

.btn-success:hover {
    background: #229954;
}

.btn-warning {
    background: #f39c12;
    color: white;
}

.btn-warning:hover {
    background: #e67e22;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 16px;
}

/* ============ EMPTY STATE ============ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #ddd;
}

.empty-state-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #e0e7ff 0%, #eef2ff 100%);
    color: #4f46e5;
    font-size: 34px;
    font-weight: 800;
}

.empty-state p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* ============ FOOTER ============ */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

.subscribe-section {
    margin-top: 70px;
}

.subscribe-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.10);
    border: 1px solid rgba(148, 163, 184, 0.12);
    content-visibility: auto;
    contain-intrinsic-size: 500px;
}

.subscribe-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4f46e5;
    margin-bottom: 10px;
}

.subscribe-title {
    text-align: left;
    margin-bottom: 16px;
}

.subscribe-title::after {
    left: 0;
    transform: none;
}

.subscribe-copy {
    color: #667085;
    margin-bottom: 24px;
    max-width: 720px;
}

.subscribe-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.subscribe-form input,
.subscribe-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
}

.subscribe-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.channel-options {
    display: flex;
    gap: 18px;
    margin-top: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.channel-options label {
    display: flex;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
    flex: 0 0 auto;
}

.channel-options label span {
    white-space: nowrap;
}

.subscribe-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.subscribe-message {
    font-size: 14px;
}

.subscribe-message.success {
    color: #027a48;
}

.subscribe-message.error {
    color: #b42318;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .container {
        width: min(100%, calc(100% - 24px));
    }

    .navbar-menu {
        gap: 10px;
        justify-content: flex-start;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .subscribe-grid {
        grid-template-columns: 1fr;
    }

    .course-card:hover {
        transform: translateY(-5px);
    }

    .subscribe-card {
        padding: 24px;
    }

    .card-description {
        min-height: 0;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100%, calc(100% - 20px));
    }

    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .navbar-menu {
        width: 100%;
        gap: 8px;
    }

    .nav-link {
        font-size: 13px;
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.10);
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-section {
        padding: 54px 0 44px;
    }

    .browser-notification-bell {
        right: 16px;
        bottom: 16px;
    }

    .browser-notification-panel {
        right: 16px;
        bottom: 84px;
    }

    .card-content {
        padding: 18px;
    }

    .card-btn,
    .card-footer .btn,
    .subscribe-actions .btn {
        width: 100%;
    }

    .subscribe-card {
        padding: 20px;
    }

    .channel-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 22px;
    }

    .section-title {
        font-size: 24px;
    }
}

/* ============ LANDING E CATALOGO ============ */
.landing-body,
.catalog-body {
    background:
        radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.10), transparent 22%),
        radial-gradient(circle at 85% 12%, rgba(249, 115, 22, 0.12), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #eef3f8 100%);
}

.landing-header,
.catalog-header {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(29, 78, 216, 0.94) 48%, rgba(14, 165, 233, 0.90) 100%);
}

.landing-navbar {
    background: rgba(6, 12, 24, 0.16);
}

.landing-hero,
.catalog-hero {
    position: relative;
    padding: 84px 0 92px;
    overflow: hidden;
}

.landing-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 36px;
    align-items: center;
}

.landing-copy,
.landing-spotlight,
.landing-panel,
.feature-card,
.course-type-section,
.catalog-grid-wrap {
    position: relative;
    z-index: 2;
}

.landing-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-kicker {
    background: rgba(79, 70, 229, 0.10);
    color: #4f46e5;
}

.landing-title {
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 0.98;
    color: #ffffff;
    max-width: 12ch;
    margin-bottom: 20px;
}

.catalog-title {
    max-width: 16ch;
}

.landing-inline-copy {
    max-width: 62ch;
    margin-top: 10px;
    margin-bottom: 0;
}

.landing-subtitle {
    max-width: 56ch;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 26px;
}

.landing-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.landing-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 720px;
}

.landing-stat {
    padding: 18px 18px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-stat strong {
    display: block;
    font-size: 1.7rem;
    color: #ffffff;
}

.landing-stat span {
    display: block;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.95rem;
}

.landing-spotlight {
    display: grid;
    gap: 16px;
}

.spotlight-card {
    padding: 26px;
    border-radius: 30px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
        rgba(8, 15, 28, 0.34);
    color: #ffffff;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

.spotlight-card h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.06;
    margin-bottom: 14px;
}

.spotlight-card p {
    color: rgba(255, 255, 255, 0.80);
    margin-bottom: 18px;
}

.spotlight-label {
    display: inline-flex;
    margin-bottom: 16px;
    color: #fde68a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.spotlight-ribbon {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spotlight-ribbon span {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
}

.landing-shape {
    position: absolute;
    z-index: 1;
    opacity: 0.55;
    filter: blur(2px);
    animation: floatShape 12s ease-in-out infinite;
}

.landing-shape-a {
    top: 90px;
    right: 12%;
    width: 140px;
    height: 140px;
    border-radius: 38% 62% 60% 40% / 41% 41% 59% 59%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(191, 219, 254, 0.08));
}

.landing-shape-b {
    left: 5%;
    bottom: 58px;
    width: 94px;
    height: 94px;
    border-radius: 22px;
    transform: rotate(18deg);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.34), rgba(249, 115, 22, 0.16));
    animation-duration: 10s;
}

.landing-shape-c {
    left: 48%;
    top: 78px;
    width: 118px;
    height: 118px;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(255, 255, 255, 0.10));
    animation-duration: 14s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(8deg); }
}

.landing-main {
    padding-top: 34px;
}

.landing-panel,
.catalog-grid-wrap {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
    margin-bottom: 28px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 24px;
}

.section-title-left {
    text-align: left;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title-left::after {
    display: none;
}

.type-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.type-pill {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 160px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f7f9fd);
    border: 1px solid rgba(148, 163, 184, 0.16);
    color: #0f172a;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.type-pill:hover,
.type-pill-active {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.14);
}

.type-pill span {
    color: #64748b;
    font-size: 0.92rem;
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.feature-card {
    padding: 26px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.10), transparent 35%),
        #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.feature-index {
    display: inline-flex;
    margin-bottom: 16px;
    color: #4f46e5;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 1.3rem;
}

.feature-card p {
    color: #475569;
}

.course-type-section {
    margin-bottom: 34px;
}

.course-type-section:last-child {
    margin-bottom: 0;
}

.landing-catalog {
    display: grid;
    gap: 26px;
}

.course-strip .course-card:nth-child(n + 11) {
    display: none;
}

.catalog-grid .course-card {
    display: block;
}

.catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.will-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.will-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .landing-hero-grid {
        grid-template-columns: 1fr;
    }

    .landing-copy,
    .landing-spotlight {
        width: 100%;
    }

    .landing-features {
        grid-template-columns: 1fr;
    }

    .landing-stats {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .landing-navbar .container {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .landing-navbar .navbar-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .landing-navbar .navbar-menu {
        width: 100%;
        display: none;
        flex-direction: column;
        gap: 10px;
        margin-top: 14px;
        padding: 16px;
        border-radius: 20px;
        background: rgba(6, 12, 24, 0.34);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    }

    .landing-navbar.is-open .navbar-menu {
        display: flex;
    }

    .landing-navbar .nav-link {
        width: 100%;
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.08);
    }

    .landing-navbar.is-open .navbar-toggle-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .landing-navbar.is-open .navbar-toggle-line:nth-child(2) {
        opacity: 0;
    }

    .landing-navbar.is-open .navbar-toggle-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .landing-title,
    .catalog-title {
        max-width: 100%;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .type-pill {
        min-width: calc(50% - 7px);
    }

    .spotlight-card,
    .landing-stat,
    .feature-card {
        border-radius: 22px;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .course-strip .course-card:nth-child(n + 6) {
        display: none;
    }
}

@media (max-width: 480px) {
    .landing-header .site-logo,
    .catalog-header .site-logo {
        max-width: min(190px, 54vw);
    }

    .landing-hero,
    .catalog-hero {
        padding: 58px 0 64px;
    }

    .landing-actions {
        flex-direction: column;
    }

    .landing-actions .btn,
    .section-heading .btn {
        width: 100%;
    }

    .landing-stats {
        gap: 10px;
    }

    .landing-stat {
        padding: 16px;
    }

    .section-title-left,
    .section-title {
        font-size: 1.9rem;
    }

    .type-pill {
        min-width: 100%;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .landing-panel,
    .catalog-grid-wrap,
    .feature-card {
        padding: 20px;
        border-radius: 22px;
    }

    .spotlight-card {
        padding: 20px;
    }

    .course-type-section .section-heading .btn {
        width: 100%;
    }
}
