:root {
    --primary-color: #8A2BE2; /* BlueViolet */
    --secondary-color: #FF69B4; /* HotPink */
    --accent-color: #00BFFF; /* DeepSkyBlue */
    --background-color: #1a0f2d; /* Dark purple background */
    --text-color: #f0e6ff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-family: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; /* Space for floating countdown */
}

#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* --- Typography --- */
h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

p {
    margin-bottom: 1rem;
    max-width: 65ch;
}

/* --- CTA Button --- */
.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.6);
}

/* --- Header / Hero Section --- */
.hero {
    text-align: center;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}
.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero .subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 2rem;
    color: var(--text-color);
    opacity: 0.9;
}

/* --- Sections --- */
main section {
    padding: 5rem 0;
}

/* Benefits Section */
.benefits {
    background: var(--card-bg);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}
.benefit-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, background 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-10px);
    background: var(--card-bg);
}
.benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

/* Course Content Section */
.content-split {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.content-image {
    flex: 1;
    max-width: 450px;
}
.content-image img {
    width: 100%;
    border-radius: 15px;
}
.content-list {
    flex: 1;
    list-style: none;
}
.content-list li {
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}
.content-list strong {
    color: var(--secondary-color);
}

/* Features Section */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.feature-card {
    background: var(--card-bg);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    font-weight: 600;
}

/* Who is it for Section */
.who-is-it-for {
    background: var(--card-bg);
}
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
}
.audience-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Final CTA Section */
.final-cta {
    text-align: center;
}
.final-cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.final-cta p {
    max-width: 600px;
    margin-bottom: 2rem;
}
.final-button {
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
}
.final-button .main-text {
    font-size: 1.5rem;
    font-weight: 700;
}
.final-button .sub-text {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}
.secure-info {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    background: #000;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Animations */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Countdown Timer --- */
#countdown-timer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    padding: 12px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    color: #fff;
}
.countdown-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.countdown-content p {
    margin: 0;
    font-weight: 600;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
#timer {
    display: flex;
    gap: 1rem;
}
.time-block {
    text-align: center;
    min-width: 50px;
}
.time-block span {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}
.time-block small {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-split {
        flex-direction: column;
    }
    .hero {
        padding: 4rem 0;
        min-height: 60vh;
    }
    main section {
        padding: 3rem 0;
    }
    body {
        padding-top: 0;
    }
    .hero {
        margin-top: 100px;
    }
    .countdown-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    #countdown-timer {
        padding: 8px 0;
    }
    .countdown-content p {
        font-size: 1rem;
    }
    .time-block span {
        font-size: 1.8rem;
    }
}