/* =====================================================
   E-BOOK GUIA FINANCEIRO DA INDEPENDÊNCIA - SALES PAGE
   ===================================================== */

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis CSS para o novo design */
:root {
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    
    /* Cores principais */
    --primary-green: #10b981;
    --primary-blue: #3b82f6;
    --dark-blue: #1e3a8a;
    --accent-orange: #f59e0b;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --background-light: #f9fafb;
    --white: #ffffff;
    --border-gray: #e5e7eb;
}

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

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

/* Main content */
.main-content {
    padding: 0;
}

/* Hero Section */
.hero-section {
    background: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.ebook-mockup {
    max-width: 300px;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* Remover fundo branco */
    mix-blend-mode: multiply;
    background: transparent;
}

/* Problems Section */
.problems-section {
    background: var(--background-light);
    padding: 80px 0;
}

.problems-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.problem-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-gray);
}

.problem-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}

.problem-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.problem-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.central-image {
    text-align: center;
}

.featured-ebook {
    max-width: 500px;
    width: 500px;
    height: auto;
}

/* Presentation Section */
.presentation-section {
    background: linear-gradient(180deg, #e8f4f5 0%, #f0f9fa 50%, #ffffff 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.presentation-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.presentation-text {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.central-image {
    text-align: center;
    position: relative;
}

.featured-ebook {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.featured-ebook:hover {
    transform: translateY(-8px);
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.15));
}

/* Transformation Section */
.transformation-section {
    background: var(--background-light);
    padding: 80px 0;
}

.transformation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.transformation-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-gray);
}

.transformation-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}

.transformation-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.transformation-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* Offer Section */
.offer-section {
    background: var(--white);
    padding: 80px 0;
    text-align: center;
}

.price-display {
    margin: 3rem 0;
}

.price-old {
    font-size: 1.2rem;
    color: var(--text-gray);
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.price-current {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 2rem;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.badge-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.ebook-showcase {
    margin: 3rem 0;
}

.ebook-preview {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Guarantee Section */
.guarantee-section {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.guarantee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.guarantee-section .section-title {
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    font-size: 2rem;
}

.guarantee-box {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.guarantee-icon-main {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.guarantee-icon-main svg {
    stroke: var(--white);
    width: 50px;
    height: 50px;
}

.guarantee-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.guarantee-text {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.guarantee-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.guarantee-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 12px;
    text-align: left;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.guarantee-feature:hover {
    border-color: var(--primary-green);
    transform: translateX(5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.feature-icon svg {
    stroke: var(--white);
    width: 20px;
    height: 20px;
}

.feature-text {
    flex: 1;
}

.feature-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
}

.guarantee-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-gray);
}

.guarantee-seal svg {
    stroke: var(--primary-green);
    fill: none;
    width: 50px;
    height: 50px;
}

.guarantee-seal span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-green);
}

/* Related Products Section */
.related-products-section {
    background: var(--background-light);
    padding: 80px 0;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Package Highlight */
.package-highlight {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.package-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    margin-bottom: 1rem;
}

.package-badge svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.package-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 2rem;
}

.package-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.package-logo img {
    max-width: 200px;
    width: 100%;
    height: auto;
}

.package-info {
    text-align: left;
}

.package-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.package-description {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.package-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--background-light);
    border-radius: 8px;
}

.benefit-item svg {
    stroke: var(--primary-green);
    min-width: 20px;
}

.benefit-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.package-pricing {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.price-old-package {
    font-size: 1rem;
    color: var(--text-gray);
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.price-current-package {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value-package {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
}

.package-cta {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.package-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    text-align: center;
    padding: 0.75rem;
    background: var(--background-light);
    border-radius: 8px;
    margin: 0;
}

.package-note svg {
    stroke: var(--primary-blue);
    min-width: 16px;
}

/* Legacy product preview styles (mantido para fallback) */
.products-preview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.product-preview-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-preview-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}

.product-preview-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.product-preview-logo img {
    max-height: 80px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Remover fundo branco */
    mix-blend-mode: multiply;
    background: transparent;
    transition: transform 0.3s ease;
}

.product-preview-card:hover .product-preview-logo img {
    transform: scale(1.05);
}

.product-preview-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-preview-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.preview-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
}

.products-cta {
    margin-top: 3rem;
}

.cta-button.secondary {
    background: linear-gradient(135deg, var(--text-dark), var(--primary-blue));
    margin-bottom: 1rem;
}

.products-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 1rem 0 0;
    font-style: italic;
}

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

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-gray);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(249, 250, 251, 0.5);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
    user-select: none;
}

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

.faq-question:hover .faq-icon {
    background-color: var(--primary-green);
    transform: scale(1.05);
}

.faq-question:hover .faq-icon svg {
    color: var(--white);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    transition: color 0.3s ease;
}

.faq-icon {
    color: var(--primary-green);
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.1);
    flex-shrink: 0;
}

.faq-icon svg {
    transition: transform 0.3s ease;
    color: var(--primary-green);
}

/* Keyframe animation for smooth rotation */
@keyframes rotate-down {
    from { transform: rotate(0deg); }
    to { transform: rotate(180deg); }
}

@keyframes rotate-up {
    from { transform: rotate(180deg); }
    to { transform: rotate(0deg); }
}

.faq-answer {
    padding: 0 1.5rem;
    color: var(--text-gray);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 1.5rem;
}

/* FAQ Open State */
.faq-open .faq-question {
    background-color: var(--background-light);
}

.faq-open .faq-question h3 {
    color: var(--primary-green);
}

.faq-open .faq-icon {
    background-color: var(--primary-green);
}

.faq-open .faq-icon svg {
    color: var(--white);
    transform: rotate(180deg);
}

/* Common Elements */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Alternative solution for white background removal */
.logo-no-bg {
    filter: 
        contrast(1.2) 
        brightness(1.1) 
        saturate(1.1);
    background: transparent;
}

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-width: 280px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

.main-cta {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    min-width: 350px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    /* Remover fundo branco para fundo escuro */
    mix-blend-mode: screen;
    background: transparent;
}

.footer-info p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-tagline {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

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

/* Small devices (576px and up) */
@media (min-width: 576px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .transformation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .security-badges {
        gap: 3rem;
    }
    
    .products-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
    
    .ebook-mockup {
        max-width: 400px;
    }
    
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .transformation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .products-preview {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .guarantee-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .package-content {
        grid-template-columns: 300px 1fr;
        gap: 3rem;
        padding: 3rem;
    }
    
    .package-info {
        text-align: left;
    }
    
    .package-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .problems-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .transformation-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .ebook-preview {
        max-width: 500px;
    }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
    .hero-grid {
        gap: 5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .ebook-preview {
        max-width: 300px;
    }
}