/**
 * Main Stylesheet for Insuffle Academy Theme
 *
 * Table of Contents:
 * 1. CSS Variables
 * 2. Reset & Base Styles
 * 3. Navigation
 * 4. Hero Section
 * 5. Sections
 * 6. Cards & Components
 * 7. Animations
 * 8. Responsive
 */

/* ===========================
   1. CSS Variables
   =========================== */
:root {
    --primary: #8E2183;
    --secondary: #FFD466;
    --accent: #FFC0CB;
    --light: #FFFFFF;
    --dark: #1a1a2e;
    --grey: #F5F5F5;
    --game-purple: #9c27b0;
    --game-blue: #2196f3;
    --game-green: #4caf50;
    --game-orange: #ff9800;
    --game-red: #f44336;
    --game-gold: #ffd700;
}

/* ===========================
   2. Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* WordPress Classes */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ===========================
   3. Navigation
   =========================== */
nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--game-purple) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: slideDown 0.5s ease-out;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-logo {
    font-size: 1.5rem;
    color: var(--light);
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--secondary);
    transform: translateY(-2px);
}

.nav-cta {
    background: linear-gradient(135deg, var(--game-gold) 0%, var(--game-orange) 100%);
    color: var(--dark) !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
    animation: pulseGlow 2s infinite;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* ===========================
   4. Hero Section
   =========================== */
.hero {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: var(--light);
    padding: 120px 0 180px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(156, 39, 176, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(33, 150, 243, 0.1) 0%, transparent 50%);
    animation: particleMove 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--game-gold) 0%, var(--game-orange) 100%);
    color: var(--dark);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 25px;
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
    animation: float 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-emoji {
    font-size: 5rem;
    margin-bottom: 20px;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--game-gold);
    font-weight: 700;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 50px;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stat {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 25px 40px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,215,0,0.3);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: rgba(255,215,0,0.6);
    box-shadow: 0 10px 30px rgba(255,215,0,0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--game-gold);
    display: block;
    text-shadow: 0 0 30px rgba(255,215,0,0.6);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 600;
}

/* ===========================
   5. Sections
   =========================== */
.section-subtitle {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    line-height: 1.8;
}

/* Urgence Banner */
.urgence-banner {
    background: linear-gradient(135deg, var(--game-red) 0%, #c62828 100%);
    color: var(--light);
    padding: 20px 0;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    animation: urgencePulse 2s infinite;
}

/* Why Section */
.why-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light) 0%, var(--grey) 100%);
}

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

.why-card {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(142, 33, 131, 0.2);
    border-color: var(--primary);
}

.why-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.why-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary);
}

.why-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
}

/* Badges Section */
.badges-section {
    padding: 100px 0;
    background: var(--dark);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.badges-section::before {
    content: '⭐';
    position: absolute;
    font-size: 800px;
    opacity: 0.02;
    top: -200px;
    right: -200px;
}

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

.badge-card {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2) 0%, rgba(142, 33, 131, 0.2) 100%);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.badge-card:hover {
    transform: scale(1.05);
    border-color: var(--game-gold);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

.badge-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.badge-icon {
    font-size: 2.5rem;
}

.badge-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--game-gold);
}

.badge-skills {
    list-style: none;
}

.badge-skills li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 1.05rem;
}

.badge-skills li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--game-green);
    font-weight: bold;
}

/* Programme Section */
.programme-section {
    padding: 100px 0;
    background: var(--grey);
}

.programme-timeline {
    margin-top: 60px;
    position: relative;
}

.timeline-day {
    margin-bottom: 60px;
    position: relative;
}

.day-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--game-purple) 100%);
    color: var(--light);
    padding: 25px 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(142, 33, 131, 0.3);
}

.day-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.day-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.timeline-items {
    display: grid;
    gap: 20px;
}

.timeline-item {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--game-gold);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.timeline-time {
    color: var(--game-purple);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--dark);
}

.timeline-description {
    color: #666;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--light);
}

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

.testimonial-card {
    background: var(--grey);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.testimonial-stars {
    color: var(--game-gold);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    color: var(--dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--game-purple) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--light);
    font-weight: 800;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--dark);
}

.testimonial-role {
    color: #666;
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--grey) 0%, var(--light) 100%);
}

.pricing-card {
    max-width: 700px;
    margin: 60px auto 0;
    background: var(--light);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.15);
    border: 5px solid var(--game-gold);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--game-red) 0%, #c62828 100%);
    color: var(--light);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(244, 67, 54, 0.4);
    animation: wiggle 1s ease-in-out infinite;
}

.pricing-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}

.pricing-price {
    text-align: center;
    margin-bottom: 40px;
}

.price-amount {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.price-period {
    font-size: 1.2rem;
    color: #666;
    margin-top: 10px;
}

.pricing-includes {
    background: var(--grey);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.includes-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary);
}

.includes-list {
    list-style: none;
}

.includes-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    font-size: 1.05rem;
}

.includes-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--game-green);
    font-weight: bold;
    font-size: 1.5rem;
}

.pricing-cta {
    text-align: center;
}

.pricing-guarantee {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 15px;
    border: 2px solid var(--game-green);
}

.guarantee-text {
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 600;
}

/* Dates Section */
.dates-section {
    padding: 100px 0;
    background: var(--dark);
    color: var(--light);
}

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

.date-card {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2) 0%, rgba(142, 33, 131, 0.2) 100%);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.date-card:hover {
    transform: translateY(-10px);
    border-color: var(--game-gold);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
}

.date-month {
    font-size: 1.2rem;
    color: var(--game-gold);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.date-days {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.date-location {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.date-spots {
    background: var(--game-red);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-block;
    margin-bottom: 20px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--grey);
}

.faq-container {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--light);
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 25px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--grey);
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.faq-answer {
    padding: 0 30px 25px;
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
    display: none;
}

/* Final CTA Section */
.final-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--game-purple) 100%);
    color: var(--light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '🚀';
    position: absolute;
    font-size: 600px;
    opacity: 0.05;
    top: -150px;
    right: -150px;
}

.final-cta-content {
    position: relative;
    z-index: 2;
}

.final-cta-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.2;
}

.final-cta-description {
    font-size: 1.4rem;
    margin-bottom: 50px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 0 30px;
}

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

.footer-section h3,
.footer-widget-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--game-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--game-gold);
    padding-left: 5px;
}

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

/* ===========================
   6. Buttons
   =========================== */
.btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--game-gold) 0%, var(--game-orange) 100%);
    color: var(--dark);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 3px solid var(--game-gold);
}

.btn-secondary:hover {
    background: var(--game-gold);
    color: var(--dark);
    transform: translateY(-4px);
}

/* ===========================
   7. Animations
   =========================== */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 8px 35px rgba(255, 215, 0, 0.7);
        transform: translateY(-3px);
    }
}

@keyframes particleMove {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-10px, -10px); }
    50% { transform: translate(10px, 10px); }
    75% { transform: translate(-5px, 5px); }
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(-5deg); }
    75% { transform: translateY(-10px) rotate(5deg); }
}

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

@keyframes urgencePulse {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes wiggle {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    25% { transform: translateX(-50%) rotate(-3deg); }
    75% { transform: translateX(-50%) rotate(3deg); }
}

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

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

/* ===========================
   8. Responsive
   =========================== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat {
        padding: 20px 25px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .badges-grid,
    .why-grid,
    .testimonials-grid,
    .dates-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-title {
        font-size: 2rem;
    }

    .pricing-card {
        padding: 40px 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .hero-emoji {
        font-size: 3rem;
    }

    .price-amount {
        font-size: 3rem;
    }
}
