/* ===== RESET & BASE STYLES ===== */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* ===== FONT FACE ===== */
@font-face {
    font-family: "NeueMachina";
    src: url("./assets/font/NeueMachina-Medium.woff2") format("woff2"),
         url("./assets/font/NeueMachina-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

/* ===== BODY STYLES ===== */
body {
    background-color: #0b0b0d;
    font-family: Helvetica, sans-serif;
    color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 1rem;
    min-height: 70px;
    transition: all 0.3s ease;
}

/* Logo Styles */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(95%) saturate(6577%)
            hue-rotate(284deg) brightness(80%) contrast(113%);
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.logo span {
    filter: brightness(0) saturate(100%) invert(12%) sepia(95%) saturate(6577%)
            hue-rotate(284deg) brightness(80%) contrast(113%);
    font-size: 2.5rem;
    font-family: "NeueMachina", Helvetica;
    font-weight: 900;
}

/* Navigation Styles */
nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.links-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

nav a {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-family: "NeueMachina";
    transition: all 0.75s ease-out;
    white-space: nowrap;
    position: relative;
}

/* Underline effect for nav links */
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #8a00c4;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 80%;
}

nav a:hover {
    background-color: transparent;
    color: #8a00c4;
}

.sign-in-btn {
    background-color: #8a00c4 !important;
    height: max-content;
    padding: 8px 15px !important;
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 5px;
    transition: all 0.75s ease-out;
}

/* Remove underline effect for sign-in button */
.sign-in-btn::after {
    display: none;
}

.sign-in-btn:hover {
    background-color: #b347ff !important;
    box-shadow: 0px 0px 20px 1px #b300ff;
    transform: translateY(-2px);
    color: #ffffff !important;
}

nav svg {
    fill: #ffffff;
}

/* Hide mobile menu elements by default */
#sidebar-active,
.open-sidebar-btn,
.close-sidebar-btn {
    display: none;
}

/* ===== MAIN CONTENT ===== */
main {
    padding-top: 70px;
}

section {
    min-height: 100vh;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero-section {
    text-align: center;
    font-family: "NeueMachina", Helvetica;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
}

.hero-section .headline {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
}

.hero-section h1 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    line-height: 1.5;
    margin: 0 auto;
    max-width: 800px;
    color: #e8e8e8;
    font-weight: normal;
}

.hero-section .tagline {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #b347ff;
    line-height: 1.2;
}

.hero-section button {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    font-weight: 400;
    background-color: #8a00c4;
    color: #ffffff;
    font-family: "NeueMachina", Helvetica;
    padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 30px);
    border-radius: 5px;
    max-width: 30rem;
    width: 90%;
    text-align: center;
    margin: 0 auto;
    border: none;
    transition: all 0.5s;
    cursor: pointer;
}

.hero-section button:hover {
    background-color: #b347ff;
    box-shadow: 0px 0px 20px 1px #b300ff;
    transform: translateY(-2px);
}

/* ===== MILESTONES SECTION ===== */
.milestones {
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.milestone-item {
    flex: 1;
    min-width: 120px;
}

.milestones .stats {
    font-family: Helvetica, sans-serif;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    color: #8a00c4;
    margin-bottom: 0.5rem;
}

.milestones .text {
    font-family: "NeueMachina", Helvetica;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #e8e8e8;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    margin: 4rem 0;
}

.iframe-wrapper {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    margin: 0 auto;
    position: relative;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: all 0.5s;
    border-radius: 1rem;
    position: absolute;
    top: 0;
    left: 0;
}

.iframe-wrapper iframe:hover {
    box-shadow: 0px 0px 20px 1px #8a00c4;
    transform: translateY(-10px);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0b0b0d 100%);
    text-align: center;
}

.features-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: "NeueMachina", Helvetica;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.5s ease;
    border: 1px solid #333;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(138, 0, 196, 0.3);
    border-color: #8a00c4;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8a00c4, #b347ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-family: "NeueMachina", Helvetica;
    color: #ffffff;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #e8e8e8;
    line-height: 1.6;
}

/* ===== COURSES SECTION ===== */
.courses-section {
    text-align: center;
}

.courses-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: "NeueMachina", Helvetica;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 3rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.course-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.5s ease;
    border: 1px solid #333;
    text-align: left;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(138, 0, 196, 0.3);
    border-color: #8a00c4;
}

.course-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.course-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8a00c4, #b347ff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.course-card h3 {
    font-size: 1.8rem;
    font-family: "NeueMachina", Helvetica;
    color: #ffffff;
}

.course-card p {
    color: #e8e8e8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-features {
    list-style: none;
    margin-bottom: 2rem;
}

.course-features li {
    color: #e8e8e8;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.course-features li::before {
    content: '✓';
    color: #8a00c4;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-original {
    color: #888;
    text-decoration: line-through;
    font-size: 1.2rem;
}

.price-current {
    color: #8a00c4;
    font-size: 2rem;
    font-weight: bold;
    font-family: "NeueMachina", Helvetica;
}

.course-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #8a00c4, #b347ff);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: "NeueMachina", Helvetica;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-btn:hover {
    box-shadow: 0 10px 20px rgba(138, 0, 196, 0.5);
    transform: translateY(-2px);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0b0b0d 100%);
    text-align: center;
}

.about-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: "NeueMachina", Helvetica;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 3rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #e8e8e8;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    padding: 2rem;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 1rem;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #8a00c4;
    box-shadow: 0 10px 30px rgba(138, 0, 196, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #8a00c4;
    font-family: "NeueMachina", Helvetica;
}

.stat-label {
    color: #e8e8e8;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    text-align: center;
}

.testimonials-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: "NeueMachina", Helvetica;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.5s ease;
    border: 1px solid #333;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(138, 0, 196, 0.3);
    border-color: #8a00c4;
}



.testimonial-text {
    color: #e8e8e8;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8a00c4, #b347ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
}

.author-info h4 {
    color: #ffffff;
    font-family: "NeueMachina", Helvetica;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #8a00c4;
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0b0b0d 100%);
    padding: 3rem 2rem 1rem;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(95%) saturate(6577%)
            hue-rotate(284deg) brightness(80%) contrast(113%);
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.footer-logo span {
    filter: brightness(0) saturate(100%) invert(12%) sepia(95%) saturate(6577%)
            hue-rotate(284deg) brightness(80%) contrast(113%);
    font-size: 2rem;
    font-family: "NeueMachina", Helvetica;
    font-weight: 900;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e8e8e8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8a00c4;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    color: #888;
}

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

/* Large screens */
@media (min-width: 1200px) {
    section {
        padding: 4rem 3rem;
    }
}

/* Tablet and mobile navigation */
@media (max-width: 990px) {
    .links-container {
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 2000;
        width: 250px;
        height: 100vh;
        background-color: #1a1a1a;
        transition: 1s ease-in-out;
        padding-top: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    nav a {
        height: auto;
        width: 100%;
        padding: 20px 30px;
        justify-content: flex-start;
        border-bottom: 1px solid #333;
    }

    /* Mobile underline effect adjustment */
    nav a::after {
        left: 30px;
        transform: none;
        bottom: 10px;
    }

    nav a:hover::after {
        width: calc(100% - 60px);
    }

    .open-sidebar-btn {
        display: block;
        margin-right: 10px;
        cursor: pointer;
    }

    .close-sidebar-btn {
        display: block;
        margin-left: 20px;
        cursor: pointer;
        margin-bottom: 1rem;
    }

    #sidebar-active:checked ~ .links-container {
        right: 0;
    }

    #sidebar-active:checked ~ #overlay {
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1500;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .sign-in-btn {
        width: max-content;
        margin: 10px 30px !important;
    }
}

/* Medium tablets */
@media (max-width: 768px) {
    section {
        padding: 3rem 1rem;
        min-height: auto;
    }

    .features-grid,
    .courses-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .milestones {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    header {
        padding: 0.5rem;
    }

    .logo img {
        height: 40px;
        width: 40px;
    }

    .logo span {
        font-size: 2rem;
    }

    nav a {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    /* Mobile underline adjustment for smaller screens */
    nav a::after {
        left: 20px;
    }

    nav a:hover::after {
        width: calc(100% - 40px);
    }

    .milestones {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        text-align: center;
    }

    .links-container {
        width: 200px;
    }

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

/* Very small devices */
@media (max-width: 360px) {
    .links-container {
        width: 180px;
    }
}