/* =====================================================
   COURSEDIY
   Main stylesheet
===================================================== */

:root {
    --primary: #4f46e5;
    --primary-dark: #312e81;
    --primary-light: #eef2ff;

    --text: #111827;
    --muted: #64748b;

    --border: #e2e8f0;
    --surface: #ffffff;
    --background: #f8fafc;

    --success: #16a34a;

    --shadow:
        0 15px 45px rgba(15, 23, 42, 0.08);

    --radius: 16px;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--background);

    line-height: 1.6;
}


a {
    color: inherit;
}


button,
input {
    font: inherit;
}


.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =====================================================
   NAVIGATION
===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(14px);

    border-bottom:
        1px solid var(--border);
}


.nav-container {
    min-height: 76px;

    display: flex;
    align-items: center;
    gap: 28px;
}


.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;

    margin-right: auto;
}


.brand-mark {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #7c3aed
        );

    color: white;

    font-weight: 900;
}


.brand strong {
    display: block;

    font-size: 16px;

    line-height: 1.1;
}


.brand small {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 9px;

    letter-spacing: 0.4px;
}


.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}


.desktop-nav a {
    color: #475569;

    font-size: 12px;
    font-weight: 650;

    text-decoration: none;
}


.desktop-nav a:hover {
    color: var(--primary);
}


.nav-cta {
    padding: 10px 14px;

    border-radius: 8px;

    background: var(--primary);
    color: white;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;
}


.mobile-menu-button {
    display: none;

    border: 0;
    background: transparent;

    font-size: 24px;

    cursor: pointer;
}


.mobile-menu {
    display: none;
}


/* =====================================================
   BUTTONS
===================================================== */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 12px 18px;

    border-radius: 9px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.button:hover {
    transform: translateY(-2px);
}


.primary-button {
    background: var(--primary);
    color: white;

    box-shadow:
        0 8px 22px
        rgba(79, 70, 229, 0.2);
}


.secondary-button {
    background: white;
    color: var(--text);

    border:
        1px solid var(--border);
}


/* =====================================================
   HERO
===================================================== */

.hero {
    padding: 92px 0 75px;

    background:
        radial-gradient(
            circle at 80% 20%,
            #e0e7ff 0,
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #ffffff,
            #f8fafc
        );
}


.hero-grid {
    display: grid;

    grid-template-columns:
        1.25fr
        0.75fr;

    gap: 70px;

    align-items: center;
}


.eyebrow,
.section-label {
    color: var(--primary);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.5px;
}


.hero h1 {
    margin: 12px 0 20px;

    max-width: 720px;

    font-size:
        clamp(46px, 6vw, 76px);

    line-height: 0.98;

    letter-spacing: -4px;
}


.hero h1 span {
    display: block;
    color: var(--primary);
}


.hero-copy > p {
    max-width: 680px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.75;
}


.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}


.hero-stats {
    display: flex;

    flex-wrap: wrap;

    gap: 38px;

    margin-top: 38px;
}


.hero-stats strong {
    display: block;

    font-size: 21px;
}


.hero-stats span {
    display: block;

    color: var(--muted);

    font-size: 10px;
}


.hero-panel {
    padding: 34px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #111827,
            #312e81
        );

    color: white;

    box-shadow:
        0 30px 70px
        rgba(49, 46, 129, 0.22);
}


.hero-panel-label {
    color: #c4b5fd;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;
}


.hero-panel h2 {
    margin:
        12px 0 22px;

    font-size: 30px;

    line-height: 1.15;
}


.hero-panel ul {
    padding: 0;

    margin: 0;

    list-style: none;
}


.hero-panel li {
    padding: 11px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,0.12);

    color: #e2e8f0;

    font-size: 12px;
}


.hero-panel li:last-child {
    border-bottom: 0;
}


/* =====================================================
   SECTION HEADINGS
===================================================== */

section {
    scroll-margin-top: 90px;
}


.section-heading {
    display: flex;

    align-items: end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 34px;
}


.section-heading.centered {
    display: block;

    text-align: center;

    max-width: 760px;

    margin:
        0 auto 38px;
}


.section-heading h2 {
    margin: 7px 0 8px;

    font-size: 40px;

    line-height: 1.1;

    letter-spacing: -1.5px;
}


.section-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}


.course-count {
    color: var(--muted);

    font-size: 11px;

    white-space: nowrap;
}


/* =====================================================
   LIFETIME OFFER
===================================================== */

.lifetime-section {
    padding: 95px 0;

    background:
        linear-gradient(
            180deg,
            #eef2ff,
            #f8fafc
        );
}


.lifetime-card {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    overflow: hidden;

    border-radius: 22px;

    background: white;

    border:
        1px solid #c7d2fe;

    box-shadow:
        0 30px 80px
        rgba(79, 70, 229, 0.12);
}


.lifetime-main {
    padding: 50px;

    color: white;

    background:
        linear-gradient(
            145deg,
            #111827,
            #312e81
        );
}


.lifetime-badge {
    display: inline-block;

    padding: 6px 10px;

    border-radius: 6px;

    background:
        rgba(196,181,253,0.13);

    color: #c4b5fd;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;
}


.lifetime-main h3 {
    margin: 18px 0;

    font-size: 38px;

    line-height: 1.08;

    letter-spacing: -1.5px;
}


.lifetime-main h3 span {
    display: block;

    color: #a5b4fc;
}


.lifetime-main > p {
    color: #cbd5e1;

    font-size: 13px;

    line-height: 1.7;
}


.pricing-row {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 25px;
}


.price {
    font-size: 58px;

    line-height: 1;

    font-weight: 900;

    letter-spacing: -3px;
}


.price small {
    font-size: 25px;

    vertical-align: top;

    letter-spacing: 0;
}


.old-price {
    color: #94a3b8;

    font-size: 16px;

    text-decoration: line-through;
}


.save-badge {
    padding: 5px 8px;

    border-radius: 5px;

    background: #16a34a;

    color: white;

    font-size: 9px;

    font-weight: 900;
}


.international-price {
    margin-top: 12px;

    color: #94a3b8;

    font-size: 11px;
}


.international-price strong {
    color: white;

    font-size: 18px;
}


.international-price span {
    text-decoration: line-through;

    margin-left: 4px;
}


.lifetime-button {
    width: 100%;

    margin-top: 28px;

    background: white;

    color: #312e81;
}


.micro-note {
    text-align: center;

    color: #94a3b8 !important;

    font-size: 9px !important;

    margin-top: 10px;
}


.lifetime-benefits {
    padding: 44px 50px;
}


.lifetime-benefits h3 {
    margin-top: 0;

    font-size: 19px;
}


.benefit {
    display: flex;

    gap: 13px;

    padding: 13px 0;

    border-bottom:
        1px solid var(--border);
}


.benefit:last-child {
    border-bottom: 0;
}


.benefit-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 9px;
    font-weight: 900;
}


.benefit strong {
    display: block;

    margin-bottom: 2px;

    font-size: 12px;
}


.benefit p {
    margin: 0;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.5;
}


.offer-disclaimer {
    max-width: 900px;

    margin: 17px auto 0;

    text-align: center;

    color: var(--muted);

    font-size: 9px;

    line-height: 1.6;
}


/* =====================================================
   1 + 1 OFFER
===================================================== */

.offer-section {
    padding: 70px 0;
}


.offer-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 36px;

    border:
        1px solid #c7d2fe;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #eef2ff
        );
}


.offer-card h2 {
    margin: 7px 0;

    font-size: 28px;

    letter-spacing: -1px;
}


.offer-card p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
}


/* =====================================================
   COURSES
===================================================== */

.courses-section {
    padding: 95px 0;
}


.course-tools {
    margin-bottom: 32px;
}


.search-input {
    width: 100%;

    padding: 14px 16px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    outline: none;

    background: white;

    font-size: 12px;
}


.search-input:focus {
    border-color: #a5b4fc;

    box-shadow:
        0 0 0 4px
        rgba(99,102,241,0.08);
}


.filters {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 12px;
}


.filter-button {
    padding: 8px 11px;

    border:
        1px solid var(--border);

    border-radius: 7px;

    background: white;

    color: #475569;

    cursor: pointer;

    font-size: 10px;

    font-weight: 750;
}


.filter-button:hover,
.filter-button.active {
    border-color: var(--primary);

    background: var(--primary-light);

    color: var(--primary);
}


.course-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


.course-card {
    overflow: hidden;

    display: flex;

    flex-direction: column;

    min-width: 0;

    border:
        1px solid var(--border);

    border-radius: 14px;

    background: white;

    box-shadow:
        0 8px 25px
        rgba(15,23,42,0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


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

    box-shadow:
        0 18px 40px
        rgba(15,23,42,0.10);
}


.course-card-link {
    display: block;

    color: inherit;

    text-decoration: none;
}


.course-image-container {
    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #e2e8f0;
}


.course-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.25s ease;
}


.course-card:hover .course-image {
    transform: scale(1.035);
}


.course-offer-badge {
    position: absolute;

    top: 10px;
    left: 10px;

    padding: 5px 7px;

    border-radius: 5px;

    background: #111827;

    color: white;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 0.6px;
}


.course-content {
    padding: 19px 19px 10px;
}


.course-category {
    margin-bottom: 7px;

    color: var(--primary);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.course-title {
    min-height: 48px;

    margin: 0;

    font-size: 17px;

    line-height: 1.25;

    letter-spacing: -0.3px;
}


.course-description {
    min-height: 61px;

    margin: 10px 0 0;

    color: var(--muted);

    font-size: 10.5px;

    line-height: 1.55;
}


.course-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 13px 19px 19px;
}


.course-level {
    color: var(--muted);

    font-size: 9px;

    font-weight: 750;
}


.udemy-button {
    padding: 9px 11px;

    border-radius: 7px;

    background: var(--primary);

    color: white;

    text-decoration: none;

    font-size: 9px;

    font-weight: 850;

    white-space: nowrap;
}


.udemy-button:hover {
    background: var(--primary-dark);
}


.no-results {
    display: none;

    padding: 50px;

    text-align: center;

    color: var(--muted);

    background: white;

    border:
        1px solid var(--border);

    border-radius: 14px;
}


/* =====================================================
   LEARNING PATHS
===================================================== */

.paths-section {
    padding: 95px 0;

    background: white;
}


.path-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}


.path-card {
    padding: 25px;

    text-align: left;

    border:
        1px solid var(--border);

    border-radius: 14px;

    background: white;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}


.path-card:hover {
    transform: translateY(-3px);

    border-color:
        #a5b4fc;
}


.path-card span {
    display: block;

    margin-bottom: 20px;

    color: var(--primary);

    font-size: 10px;

    font-weight: 900;
}


.path-card strong {
    display: block;

    font-size: 15px;
}


.path-card small {
    display: block;

    margin-top: 6px;

    color: var(--muted);

    font-size: 9px;
}


/* =====================================================
   1-ON-1
===================================================== */

.one-on-one-section {
    padding: 80px 0;
}


.one-on-one-card,
.community-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding: 42px;

    border-radius: 18px;

    background: #111827;

    color: white;
}


.one-on-one-card h2,
.community-card h2 {
    margin: 7px 0;

    font-size: 30px;

    letter-spacing: -1px;
}


.one-on-one-card p,
.community-card p {
    max-width: 720px;

    margin: 0;

    color: #cbd5e1;

    font-size: 12px;
}


.one-on-one-card .section-label,
.community-card .section-label {
    color: #a5b4fc;
}


/* =====================================================
   COMMUNITY
===================================================== */

.community-section {
    padding: 0 0 95px;
}


.community-card {
    background:
        linear-gradient(
            135deg,
            #172554,
            #312e81
        );
}


.whatsapp-button {
    background: #22c55e;

    color: white;

    white-space: nowrap;
}


.whatsapp-button:hover {
    background: #16a34a;
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    padding: 60px 0 20px;

    background: #0f172a;

    color: white;
}


.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        0.7fr
        0.7fr;

    gap: 60px;
}


.footer-brand {
    margin-bottom: 15px;
}


.footer-grid p {
    max-width: 420px;

    color: #94a3b8;

    font-size: 11px;
}


.footer-grid h4 {
    margin-top: 0;

    font-size: 12px;
}


.footer-grid > div > a:not(.brand) {
    display: block;

    width: fit-content;

    margin:
        8px 0;

    color: #94a3b8;

    text-decoration: none;

    font-size: 10px;
}


.footer-grid > div > a:not(.brand):hover {
    color: white;
}


.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 45px;

    padding-top: 18px;

    border-top:
        1px solid
        rgba(255,255,255,0.10);

    color: #64748b;

    font-size: 9px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .desktop-nav {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-menu.open {
        display: flex;

        flex-direction: column;

        padding:
            10px 20px 20px;

        gap: 3px;

        border-top:
            1px solid var(--border);
    }

    .mobile-menu a {
        padding: 11px 0;

        color: #475569;

        text-decoration: none;

        font-size: 12px;
        font-weight: 700;
    }

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

    .hero-panel {
        max-width: 650px;
    }

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

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

    .lifetime-card {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 700px) {

    .container {
        width:
            min(100% - 28px, 1180px);
    }

    .hero {
        padding: 65px 0 55px;
    }

    .hero h1 {
        font-size: 46px;
        letter-spacing: -2.5px;
    }

    .section-heading {
        display: block;
    }

    .course-count {
        margin-top: 12px;
    }

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

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

    .offer-card,
    .one-on-one-card,
    .community-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .lifetime-main,
    .lifetime-benefits {
        padding: 32px 25px;
    }

    .lifetime-main h3 {
        font-size: 31px;
    }

    .price {
        font-size: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}


@media (max-width: 450px) {

    .hero h1 {
        font-size: 40px;
    }

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

    .hero-actions .button {
        width: 100%;
    }

    .course-footer {
        align-items: flex-end;
    }
}
