/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B35;
    --secondary-color: #2C3E50;
    --success-color: #27AE60;
    --background: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ========================================
   CONTAINER
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   TRUST BAR
   ======================================== */

.trust-bar {
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.trust-bar strong {
    color: #FFD700;
}

/* ========================================
   HEADER
   ======================================== */

header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

header.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.main-nav a:not(.header-cta):hover {
    color: var(--primary-color);
}

.main-nav a:not(.header-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:not(.header-cta):hover::after {
    width: 100%;
}

.header-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.header-cta:hover {
    background: #E55A2B;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-text .subheadline {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.5;
}

.social-proof {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.proof-item .number {
    font-size: 40px;
    font-weight: 800;
    color: #FFD700;
    line-height: 1;
}

.proof-item .label {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.3;
}

.cta-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    border: none;
}

.cta-primary:hover {
    background: #E55A2B;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.5);
}

.cta-secondary {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.9;
}

.urgency-badge {
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 15px 25px;
    margin-top: 25px;
    display: inline-block;
    font-weight: 600;
    font-size: 16px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ========================================
   TRUST SECTION
   ======================================== */

.trust-section {
    background: var(--white);
    padding: 60px 0;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.trust-badge-icon {
    font-size: 56px;
    line-height: 1;
}

.trust-badge-text {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 14px;
    line-height: 1.4;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-title {
    text-align: center;
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ========================================
   QUIZ SECTION
   ======================================== */

.quiz-section {
    background: var(--white);
    padding: 80px 0;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.quiz-options {
    display: grid;
    gap: 20px;
}

.quiz-option {
    border: 3px solid #E0E0E0;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
}

.quiz-option:hover {
    border-color: var(--primary-color);
    background: #FFF5F2;
    transform: translateX(10px);
}

.quiz-option input[type="radio"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.quiz-option-content h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.quiz-option-content p {
    font-size: 14px;
    color: var(--text-light);
}

.quiz-btn {
    width: 100%;
    margin-top: 30px;
    padding: 20px;
    background: var(--success-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.quiz-btn:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
    background: var(--background);
    padding: 80px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 25px;
}

.step h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.step p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   PROGRAMS SECTION
   ======================================== */

.programs {
    background: var(--white);
    padding: 80px 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.program-card {
    background: var(--white);
    border: 2px solid #E0E0E0;
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.program-icon {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1;
}

.program-card h3 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.program-duration {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    background: #FFF5F2;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
}

.program-card ul {
    list-style: none;
    margin: 25px 0;
}

.program-card li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.program-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 20px;
}

.program-cta {
    display: block;
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 25px;
    transition: var(--transition);
}

.program-cta:hover {
    background: #E55A2B;
    transform: scale(1.05);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
    background: var(--background);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
}

.testimonial-info h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.stars {
    color: #FFD700;
    font-size: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-result {
    padding-top: 15px;
    border-top: 2px solid var(--background);
    color: var(--success-color);
    font-weight: 700;
    font-size: 14px;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq {
    background: var(--white);
    padding: 80px 0;
}

.faq-container {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--background);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 30px;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 107, 53, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 32px;
    color: var(--primary-color);
    transition: transform 0.3s;
    font-weight: 700;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.cta-final {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-final h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-final p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.availability {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px 40px;
    border-radius: 15px;
    margin-top: 30px;
}

.availability strong {
    font-size: 16px;
}

.availability-bar {
    background: rgba(255, 255, 255, 0.3);
    height: 12px;
    border-radius: 6px;
    margin-top: 12px;
    overflow: hidden;
}

.availability-fill {
    background: #FFD700;
    height: 100%;
    width: 60%;
    border-radius: 6px;
    animation: fillBar 2s ease-in-out;
}

@keyframes fillBar {
    from { width: 0; }
    to { width: 60%; }
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ========================================
   EXIT POPUP
   ======================================== */

.exit-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.exit-popup.active {
    display: flex;
}

.exit-popup-content {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    position: relative;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.exit-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 36px;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    transition: var(--transition);
}

.exit-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.exit-popup h2 {
    color: var(--secondary-color);
    font-size: 32px;
    margin-bottom: 20px;
}

.exit-popup p {
    color: var(--text-dark);
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.6;
}

.exit-form input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.exit-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.exit-form button {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.exit-form button:hover {
    background: #E55A2B;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   NOTIFICATION POPUP
   ======================================== */

.notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: none;
    align-items: center;
    gap: 15px;
    z-index: 999;
    max-width: 350px;
    animation: slideInLeft 0.5s ease;
}

.notification.active {
    display: flex;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

.notification-text {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.4;
}

.notification-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ========================================
   WHATSAPP FLOAT BUTTON
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: var(--white);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text .subheadline {
        font-size: 18px;
    }

    .social-proof {
        justify-content: center;
        gap: 30px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .quiz-container {
        padding: 30px 20px;
    }

    .exit-popup-content {
        padding: 30px 20px;
    }

    .exit-popup h2 {
        font-size: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .main-nav {
        position: fixed;
        top: 73px;
        left: -100%;
        background: var(--white);
        width: 100%;
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }

    .main-nav.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(10px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);
    }

    .notification {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .trust-bar,
    header,
    .hero,
    .exit-popup,
    .notification,
    .whatsapp-float,
    footer {
        display: none;
    }
}