@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
    --primary-color: #00f2ea;
    --secondary-color: #9f00ff;
    --dark-bg: #0a0a1a;
    --light-bg: #1a1a2e;
    --text-color: #e0e0e0;
    --text-dark: #a0a0a0;
    --glow-shadow: 0 0 15px rgba(0, 242, 234, 0.5), 0 0 25px rgba(0, 242, 234, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-shadow: var(--glow-shadow);
}

section {
    padding: 5rem 7%;
    min-height: 100vh;
}

/* ======== HEADER ======== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    transition: all .3s ease;
}

.header.scrolled {
    box-shadow: 0 5px 15px rgba(0, 242, 234, 0.1);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-left: 2px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.navbar a {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-left: 2.5rem;
    transition: color .3s ease;
}

.navbar a:hover {
    color: var(--primary-color);
    text-shadow: var(--glow-shadow);
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    transition: all .3s ease;
    box-shadow: 0 0 20px rgba(159, 0, 255, 0.4);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 242, 234, 0.6);
}

/* ======== HERO SECTION ======== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
}

.hero-cta {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}

.urgency-note {
    margin-top: 1.5rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(159, 0, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 242, 234, 0.15) 0%, transparent 40%);
    z-index: 1;
    animation: bg-pan 20s linear infinite;
}

@keyframes bg-pan {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* ======== BENEFITS SECTION ======== */
.benefits {
    background-color: var(--light-bg);
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--dark-bg);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 242, 234, 0.2);
    transition: all .3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: var(--glow-shadow);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* ======== COURSE INFO SECTION ======== */
.course-info {
    text-align: center;
}
.info-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    width: 220px;
    border-left: 3px solid var(--primary-color);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 1rem;
    color: var(--text-dark);
}

/* ======== SYLLABUS SECTION ======== */
.syllabus {
    background-color: var(--light-bg);
}

.syllabus-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--dark-bg);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 242, 234, 0.2);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--text-color);
    font-family: 'Space Grotesk', sans-serif;
}

.accordion-header i {
    color: var(--primary-color);
    transition: transform .3s ease;
    margin-left: 1rem;
}

.accordion-item.active .accordion-header i.fa-chevron-down {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out, padding .3s ease-out;
}

.accordion-content ul {
    padding: 0 1.5rem 1.5rem 3.5rem;
}

.accordion-content ul li {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    position: relative;
}

.accordion-content ul li::before {
    content: '\2713';
    color: var(--primary-color);
    position: absolute;
    left: -2rem;
}

/* ======== INSTRUCTOR SECTION ======== */
.instructor-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 15px;
}

.instructor-photo {
    flex-basis: 40%;
    max-width: 300px;
}

.instructor-photo img {
    width: 100%;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    box-shadow: var(--glow-shadow);
}

.instructor-bio {
    flex-basis: 60%;
}

.instructor-bio h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

.instructor-bio h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.instructor-bio p {
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ======== FINAL CTA ======== */
.final-cta {
    background: linear-gradient(rgba(10, 10, 26, 0.9), rgba(10, 10, 26, 0.9)), url('https://www.gstatic.com/devrel-devsite/prod/vc2c9833ca826e7f433f1618a816913e316a903c51f153a8b2732a39d8926c04f/cloud/images/social-icon-bg.svg') center/cover;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* ======== FOOTER ======== */
.footer {
    padding: 2rem 7%;
    background: var(--light-bg);
    text-align: center;
}

.footer p {
    color: var(--text-dark);
    margin-top: 1rem;
}

/* ======== SCROLL ANIMATIONS ======== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .header {
        padding: 1.2rem 5%;
    }
    section {
        padding: 4rem 5%;
    }
    .instructor-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        display: none; /* Simple hiding for mobile, can be replaced with a hamburger menu */
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero h2 {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
}