/* ================================
   GLOBAL STYLES & RESET
   ================================ */

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

:root {
    /* Color Palette */
    --bg-dark: #0A0A0F;
    --bg-darker: #050508;
    --purple: #8B5CF6;
    --cyan: #06B6D4;
    --pink: #EC4899;
    --white: #FFFFFF;
    --grey-light: #E5E7EB;
    --grey: #9CA3AF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
    --gradient-accent: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
    --gradient-mesh: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
                     radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
                     radial-gradient(circle at 40% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    
    /* Effects */
    --blur: 20px;
    --glow: 0 0 30px rgba(139, 92, 246, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   STICKY HEADER
   ================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(var(--blur));
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 15, 0.95);
}

.nav {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}

.logo {
    color: var(--white);
}

.logo-pro {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--grey-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--purple);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--purple);
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--purple);
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 20px 100px;
    background: var(--bg-darker);
    overflow: hidden;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.stars {
    font-size: 12px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--grey-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.icon {
    font-size: 20px;
}

.hero-cta-group {
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    position: relative;
    padding: 18px 48px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.cta-button:hover .button-glow {
    transform: translate(-50%, -50%) scale(1);
    animation: pulse 1.5s infinite;
}

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

.cta-subtext {
    margin-top: 15px;
    font-size: 14px;
    color: var(--grey);
}

.hero-footer {
    font-size: 16px;
    color: var(--grey-light);
}

/* Hero Decorations */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.decoration-1 {
    width: 400px;
    height: 400px;
    background: var(--purple);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.decoration-2 {
    width: 300px;
    height: 300px;
    background: var(--cyan);
    bottom: 20%;
    right: -5%;
    animation-delay: 2s;
}

.decoration-3 {
    width: 350px;
    height: 350px;
    background: var(--pink);
    top: 50%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

/* ================================
   SECTION STYLES
   ================================ */

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--grey-light);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(var(--blur));
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.glass-card:hover::before {
    opacity: 1;
}

/* ================================
   WHAT YOU'LL LEARN SECTION
   ================================ */

.learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.learn-card {
    text-align: center;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
}

.gradient-icon {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.card-text {
    color: var(--grey-light);
    line-height: 1.7;
}

/* ================================
   TOOLS SECTION
   ================================ */

.tools-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    font-size: 16px;
    font-weight: 500;
}

.check-icon {
    color: var(--cyan);
    font-size: 20px;
    flex-shrink: 0;
}

.tools-tagline {
    text-align: center;
    font-size: 18px;
    color: var(--grey-light);
    max-width: 700px;
    margin: 0 auto;
}

.highlight {
    color: var(--purple);
    font-weight: 600;
}

/* ================================
   BONUS SECTION
   ================================ */

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.bonus-card {
    text-align: center;
}

.bonus-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.bonus-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.bonus-text {
    color: var(--grey-light);
    line-height: 1.6;
}

/* ================================
   MENTOR SECTION
   ================================ */

.mentor-section {
    background: var(--bg-darker);
}

.mentor-card {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.mentor-avatar {
    flex-shrink: 0;
}

.mentor-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid rgba(139, 92, 246, 0.5);
}

.avatar-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    font-family: var(--font-heading);
    border: 3px solid rgba(139, 92, 246, 0.5);
}

.mentor-name {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mentor-bio {
    color: var(--grey-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.mentor-description {
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
}

.mentor-points {
    list-style: none;
    margin-bottom: 15px;
}

.mentor-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--grey-light);
}

.mentor-footer {
    color: var(--grey);
    font-style: italic;
}

/* ================================
   TESTIMONIALS SECTION
   ================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    position: relative;
    padding: 40px 30px 30px;
}

.quote-icon {
    font-size: 72px;
    color: var(--purple);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-text {
    position: relative;
    z-index: 2;
    font-size: 16px;
    line-height: 1.7;
    color: var(--grey-light);
    margin-bottom: 20px;
}

.testimonial-stars {
    font-size: 14px;
}

/* ================================
   WHY SECTION
   ================================ */

.why-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.why-description {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px;
}

.why-item h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
}

.why-footer {
    text-align: center;
    font-size: 18px;
    color: var(--grey-light);
}

/* ================================
   PRICING SECTION
   ================================ */

.pricing-section {
    background: var(--bg-darker);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    position: relative;
}

.discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 20px rgba(236, 72, 153, 0.4);
}

.price-container {
    margin-bottom: 40px;
}

.price-original {
    font-size: 24px;
    color: var(--grey);
    text-decoration: line-through;
    margin-bottom: 10px;
}

.price-current {
    font-size: 72px;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--grey-light);
}

.urgency-badge {
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid var(--pink);
    padding: 12px 24px;
    border-radius: 8px;
    color: var(--pink);
    font-weight: 600;
    margin-bottom: 30px;
    display: inline-block;
}

.large-cta {
    font-size: 20px;
    padding: 20px 60px;
}

.payment-status {
    min-height: 24px;
    margin-top: 1.5rem;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    display: none;
    line-height: 1.4;
}

.payment-status.is-visible {
    display: block;
    animation: statusFadeIn 0.3s forwards;
}

.payment-status.is-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fda4af;
}

.payment-status.is-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #86efac;
}

@keyframes statusFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.payment-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
}

.payment-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.payment-modal.is-open .payment-modal__dialog {
    transform: scale(1);
    opacity: 1;
}

.payment-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 22, 0.78);
    backdrop-filter: blur(8px);
}

.payment-modal__dialog {
    position: relative;
    width: min(100%, 520px);
    padding: 36px;
    z-index: 1;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.payment-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.payment-modal__title {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 10px;
}

.payment-modal__subtitle {
    color: var(--grey-light);
    margin-bottom: 28px;
}

.payment-form {
    display: grid;
    gap: 18px;
}

.payment-form__field {
    display: grid;
    gap: 8px;
    text-align: left;
}

.payment-form__field label {
    color: var(--grey-light);
    font-size: 14px;
    font-weight: 600;
}

.payment-form__field input,
.payment-form__field select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-form__field input:focus,
.payment-form__field select:focus {
    border-color: rgba(139, 92, 246, 0.75);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

.payment-form__field select option {
    color: #111827;
}

.payment-form__submit {
    width: 100%;
    margin-top: 8px;
}

/* ================================
   FAQ SECTION
   ================================ */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
}

.faq-question h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
}

.faq-toggle {
    font-size: 28px;
    color: var(--purple);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-answer p {
    color: var(--grey-light);
    line-height: 1.7;
    padding-bottom: 25px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

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

.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-brand p {
    color: var(--grey);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--grey-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--grey);
    font-size: 14px;
}

/* ================================
   SCROLL ANIMATIONS
   ================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 968px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 20px 80px;
    }
    
    .hero-details {
        flex-direction: column;
        gap: 15px;
    }
    
    .learn-grid,
    .tools-grid,
    .bonus-grid,
    .testimonials-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .mentor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .large-cta {
        padding: 18px 40px;
        font-size: 18px;
    }
    
    .price-current {
        font-size: 56px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }

    .payment-modal__dialog {
        padding: 28px 20px;
    }
    
    .discount-badge {
        top: 10px;
        right: 10px;
        font-size: 12px;
        padding: 6px 16px;
    }
}
