/* style.css - Premium Styles for Enxaqueca Control */

:root {
    --bg-dark: #EBEDF0; /* Original light gray page background */
    --bg-light: #FFFFFF; /* Original white card background */
    --primary: #10BCC4; /* Original brand teal/cyan */
    --primary-light: #27B4BB; /* Hover teal */
    --primary-dark: #242424; /* Dark headings */
    --accent: #E71345; /* Crimson highlight */
    --accent-hover: #c20c35;
    --cream-card: #FFFFFF;
    --cream-border: #e2e8f0;
    --text-dark: #242424;
    --text-light: #393939; /* Normal text color */
    --text-muted: #554848; /* Slate dark gray */
    --text-muted-light: #707070;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Page Wrapper Card */
.page-wrapper {
    max-width: 800px;
    margin: 100px auto 40px;
    background-color: var(--bg-light);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    position: relative;
}

/* Glassmorphism Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16, 188, 196, 0.08);
    transition: var(--transition);
}

.header-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.header-cta {
    background-color: var(--primary);
    color: white !important;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(16, 188, 196, 0.2);
}

.header-cta:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 188, 196, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 50px 20px 40px;
    background: #FFFFFF;
    text-align: center;
    overflow: hidden;
}

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

.kicker {
    display: inline-block;
    background: rgba(16, 188, 196, 0.08);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 188, 196, 0.18);
    animation: pulse 2s infinite;
}

h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    color: var(--primary);
}

h1 span.highlight {
    color: var(--accent);
}

.subheadline {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto 35px;
    font-weight: 400;
}

.subheadline strong {
    color: var(--text-dark);
}

/* VSL Video Container */
.vsl-container {
    background: #000;
    border-radius: 15px;
    aspect-ratio: 16/9;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 35px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(16, 188, 196, 0.1);
    overflow: hidden;
}

.vsl-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), #008f96);
    cursor: pointer;
}

.play-button {
    width: 70px;
    height: 70px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.8rem;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.play-button i {
    margin-left: 5px;
}

.vsl-placeholder:hover .play-button {
    transform: scale(1.1);
    background-color: #FFFFFF;
    color: var(--primary-light);
}

.vsl-subtext {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.vsl-player,
.vsl-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
    pointer-events: none;
}

.vsl-youtube-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 86px;
    height: 86px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vsl-youtube-play .play-button {
    width: 78px;
    height: 78px;
}

.vsl-container.vsl-playing .vsl-youtube-play {
    display: none;
}

.vsl-click-shield {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
    cursor: default;
    display: none;
}

.vsl-container.vsl-playing .vsl-click-shield {
    display: block;
}

/* Call to Action Button */
.cta-button {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--primary);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(16, 188, 196, 0.25);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    max-width: 100%;
    border: none;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    background-color: var(--primary-light);
    box-shadow: 0 12px 30px rgba(16, 188, 196, 0.35);
}

.cta-subtext {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Delay Hidden Content (Fades in dynamically via JS) */
.delay {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, visibility 0.8s;
    height: 0;
    overflow: hidden;
}

.delay.reveal {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    height: auto;
    overflow: visible;
}

/* Section Containers inside page wrapper card */
.light-section {
    background-color: #FFFFFF;
    color: var(--text-dark);
    padding: 50px 20px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
    color: var(--primary);
}

.section-title span.highlight {
    color: var(--accent);
}

/* Cream Content Cards */
.cream-card {
    background-color: var(--cream-card);
    border: 1px solid var(--cream-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cream-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Discovery Grid */
.discover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.discover-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.discover-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary);
}

.discover-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Testimonials Section */
.testimonials-section {
    background-color: #FFFFFF;
    color: var(--text-dark);
    padding: 50px 20px;
    border-top: 1px solid #f1f5f9;
}

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

.testimonial-card {
    background-color: #FFFFFF;
    border: 1px solid var(--cream-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.author-location {
    font-size: 0.8rem;
    color: var(--text-muted-light);
}

/* Pricing / Bundle Section */
.pricing-section {
    background-color: #FFFFFF;
    color: var(--text-light);
    padding: 50px 20px;
    text-align: center;
    border-top: 1px solid #f1f5f9;
}

.pricing-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary);
}

.pricing-subtitle {
    color: var(--text-muted-light);
    font-size: 1rem;
    margin-bottom: 35px;
}

.bundle-card {
    max-width: 720px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid var(--cream-border);
    border-radius: 15px;
    padding: 35px 25px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    align-items: center;
    text-align: left;
}

.bundle-image-container {
    display: flex;
    justify-content: center;
}

.bundle-image {
    width: 100%;
    max-width: 260px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.bundle-details h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary);
}

.bundle-price {
    margin: 20px 0;
}

.original-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: #E00000; /* Original red line-through */
    font-weight: 500;
}

.promo-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.promo-price span {
    font-size: 0.95rem;
    color: var(--text-muted-light);
    font-weight: 500;
}

.price-subtext {
    font-size: 0.8rem;
    color: #10b981;
    font-weight: 700;
    margin-top: 5px;
}

.bundle-features {
    list-style: none;
    margin-bottom: 25px;
}

.bundle-features li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

.bundle-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: 800;
}

/* Guarantee Info */
.guarantee-container {
    max-width: 720px;
    margin: 40px auto 0;
    background: #B2FCFF; /* Original sky cyan background */
    border: none;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    text-align: left;
}

.guarantee-badge {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    object-fit: contain;
}

.guarantee-text h4 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.guarantee-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    background-color: #FFFFFF;
    color: var(--text-dark);
    padding: 50px 20px;
    border-top: 1px solid #f1f5f9;
}

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

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid var(--primary); /* Original teal border */
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary); /* Original teal question color */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    transition: var(--transition);
}

.faq-icon {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-answer p {
    padding: 10px 22px 18px;
}

.faq-item.active .faq-question {
    color: var(--text-dark);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--text-dark);
}

.faq-item.active .faq-answer {
    border-top: 1px solid rgba(16, 188, 196, 0.15);
}

/* Card Footer Styling */
.card-footer {
    background-color: var(--primary);
    color: white;
    padding: 40px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
    max-width: 760px;
    margin: 0 auto;
}

.footer-warning h5 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.footer-warning h5 span {
    font-weight: 800;
    color: #242424; /* Black/dark gray accent */
}

.footer-warning p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    max-width: 130px;
    height: auto;
    filter: brightness(0) invert(1); /* Ensure it's readable/white on teal */
}

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-top: 0;
}

.footer-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 0;
}

.footer-links a {
    color: #e8e8e8 !important;
    text-decoration: none;
    font-size: 0.75rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white !important;
    text-decoration: underline;
}

/* Facebook Disclaimer Styling */
.facebook-disclaimer {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #554848;
    line-height: 1.6;
    opacity: 0.8;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.03);
        opacity: 0.95;
    }
}

@keyframes shine {
    10% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

/* Responsive Grid and Layout Updates */
@media (max-width: 768px) {
    body {
        background-color: #FFFFFF; /* On mobile, keep it white since page-wrapper stretches */
    }

    .page-wrapper {
        margin: 65px 0 0;
        border-radius: 0;
        border: none;
        box-shadow: none;
        max-width: 100%;
    }

    .header-container {
        padding: 12px 15px;
    }

    .logo {
        font-size: 1.25rem;
    }

    .header-cta {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    h1 {
        font-size: 1.7rem;
        line-height: 1.25;
        letter-spacing: -0.5px;
        margin-bottom: 18px;
    }
    
    .section-title {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 25px;
    }

    .pricing-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .pricing-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .bundle-details h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        text-align: center;
    }

    .discover-content h3 {
        font-size: 1.05rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 15px 18px;
    }

    .faq-answer p {
        padding: 10px 18px 18px;
    }

    .hero {
        padding: 35px 15px 30px;
    }

    .light-section, .testimonials-section, .pricing-section, .faq-section {
        padding: 35px 15px;
    }
    
    .bundle-card {
        grid-template-columns: 1fr;
        padding: 25px 15px;
        gap: 20px;
    }

    .bundle-features {
        margin-bottom: 15px;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .illustration-col {
        order: -1;
    }
    
    .brain-illustration {
        max-width: 180px;
        border: 4px solid white;
    }
    
    .guarantee-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }

    .guarantee-badge {
        width: 96px;
        height: 96px;
    }

    .payment-logos {
        flex-wrap: wrap;
        gap: 8px;
    }

    .card-footer {
        padding: 30px 15px;
    }

    .card-footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-warning {
        text-align: center;
    }
}

/* Tactile Interactive States */
.cta-button:active, .header-cta:active {
    transform: translateY(-1px) scale(0.98);
}

/* Custom focus states for FAQ items */
.faq-question:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Product Intro Section */
.product-intro {
    padding: 50px 20px;
    background-color: #FFFFFF;
    border-top: 1px solid #f1f5f9;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
}

.intro-image-container {
    display: flex;
    justify-content: center;
}

.intro-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.intro-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.intro-details h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.25;
}

.intro-details p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .intro-image {
        max-width: 200px;
    }
}

/* Deliverables Section */
.deliverables-section {
    background-color: #FFFFFF;
    color: var(--text-dark);
    padding: 50px 20px;
    border-top: 1px solid #f1f5f9;
}

.deliverables-content {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.deliverables-image-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.deliverables-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.deliverables-image:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-lg);
}

.deliverables-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.deliverable-card {
    padding: 20px;
}

.deliverable-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.deliverable-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .deliverables-list-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .deliverables-image {
        max-width: 100%;
    }
}
