/*
Theme Name: InstaDoodle Theme
Author: Seu Nome
Version: 2.0 - PageSpeed Optimized
*/

/* ===== VARIÁVEIS DE CORES ===== */
:root {
    --primary-color: #ff6600;
    --primary-dark: #cc5200;
    --primary-light: #ff8533;
    --text-color: #222222;
    --background-color: #ffffff;
    --cta-gradient: linear-gradient(135deg, #ff6600 0%, #cc5200 100%);
    --urgency-banner-bg: linear-gradient(45deg, #ff6600, #cc5200);
}

/* ===== RESET ===== */
*, *::before, *::after { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

/* ===== TIPOGRAFIA ===== */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 16px;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.logo {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 200px;
    height: auto;
}

/* ===== BOTÕES ===== */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95%;
    max-width: 600px;
    margin: 25px auto;
    padding: 20px 30px;
    background: var(--cta-gradient);
    color: #ffffff !important;
    text-align: center;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
    border: 3px solid #ffffff;
    min-height: 60px;
}

.cta-button:hover, .cta-button:focus {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.6);
}

.cta-button.pro {
    background: linear-gradient(135deg, #ff3300, #cc5200);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #f3e5f5 0%, #e8f5e8 100%);
    padding: 40px 30px;
    border-radius: 20px;
    margin: 20px 0 40px 0;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff4081, #ff6600);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* ===== PRICING TIER ===== */
.pricing-tier {
    background: linear-gradient(135deg, #fff3e0, #ffecb3);
    border: 2px solid #ff9800;
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    text-align: center;
}

.tier-badge {
    background: #ff6600;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.pricing-tier .price {
    font-size: 3em;
    font-weight: bold;
    color: #ff6600;
    margin: 15px 0;
}

.pricing-tier .price span {
    font-size: 0.4em;
    display: block;
    color: #666;
}

.tier-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 20px 0;
}

.feature-item {
    background: white;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
}

.usage-note {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 4px solid #4CAF50;
}

.upgrade-suggestion {
    text-align: center;
    margin: 15px 0;
}

.upgrade-suggestion a {
    color: #ff6600;
    text-decoration: underline;
    font-weight: bold;
}

/* ===== PLAN COMPARISON ===== */
.plan-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
    position: relative;
}

.plan-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    border: 3px solid #ddd;
    overflow: visible; /* Permite que o badge saia do container */
}

.plan-card.pro {
    border-color: #ff6600;
    transform: scale(1.02);
}

.plan-badge {
    background: var(--cta-gradient);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6600;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9em;
    white-space: nowrap;
    z-index: 10;
    width: auto;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
    margin-top: 10px; /* Espaço extra para o badge */
}

.plan-header h3 {
    margin-bottom: 10px;
    color: #333;
}

.plan-header .price {
    font-size: 2.5em;
    font-weight: bold;
    color: #ff6600;
}

.plan-header .price span {
    font-size: 0.4em;
    display: block;
    color: #666;
}

.plan-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 25px 0;
}

.plan-features .feature {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.plan-description {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.upgrade-path {
    background: #e3f2fd;
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    font-size: 0.9em;
}

.plan-button {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.starter-btn {
    background: #666;
    color: white;
}

.starter-btn:hover {
    background: #555;
}

.pro-btn {
    background: #ff6600;
    color: white;
    font-size: 1.2em;
}

.pro-btn:hover {
    background: #cc5200;
}

/* ===== UPGRADE EXPLANATION ===== */
.upgrade-explanation {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
}

.upgrade-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.step {
    text-align: center;
    padding: 20px;
}

.step span {
    display: block;
    width: 40px;
    height: 40px;
    background: #ff6600;
    color: white;
    border-radius: 50%;
    line-height: 40px;
    margin: 0 auto 15px auto;
    font-weight: bold;
}

/* ===== HONEST REVIEW ===== */
.honest-review {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 25px 0;
}

.final-verdict {
    background: #fff3e0;
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
    text-align: center;
    border-left: 4px solid #ff9800;
}

/* ===== FAQ ===== */
.faq-section {
    margin: 40px 0;
}

.faq-item {
    background: white;
    padding: 20px;
    margin: 15px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ===== FINAL OFFER ===== */
.final-offer {
    margin: 40px 0;
}

.offer-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.offer-header {
    background: #ff6600;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: bold;
}

.plan-choice {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin: 30px 0;
}

.choice-item {
    text-align: center;
    padding: 20px;
}

.choice-divider {
    text-align: center;
    font-weight: bold;
    color: #666;
}

.choice-item .price {
    font-size: 2em;
    font-weight: bold;
    color: #ff6600;
    margin: 10px 0;
}

.choice-item .price span {
    font-size: 0.5em;
    display: block;
    color: #666;
}

.choice-item ul {
    text-align: left;
    margin: 15px 0;
}

.choice-item li {
    margin: 5px 0;
}

.guarantee-badge {
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {

    .plan-card.pro {
        border-width: 4px;
    }

    .plan-comparison {
        grid-template-columns: 1fr;
        gap: 50px; /* Espaço extra para o badge no mobile */
    }
    
    .plan-card.pro {
        transform: none;
    }
    
    .plan-badge {
    background: var(--cta-gradient);
        font-size: 0.8em;
        padding: 8px 16px;
        top: -12px;
        white-space: normal; /* Permite quebra de linha no mobile */
        max-width: 85%;
        line-height: 1.3;
    }
    
    .plan-header {
        margin-top: 5px;
    }
    
    .upgrade-steps {
        grid-template-columns: 1fr;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .plan-choice {
        grid-template-columns: 1fr;
    }
    
    .choice-divider {
        margin: 20px 0;
    }
    
    .cta-button {
        width: 98%;
        padding: 15px 20px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .pricing-tier, .plan-card {
        padding: 20px 15px;
    }
    
    .plan-header .price {
        font-size: 2em;
    }
    
    .cta-button {
        font-size: 1.1em;
        padding: 12px 15px;
    }
    
    .plan-badge {
    background: var(--cta-gradient);
        font-size: 0.75em;
        padding: 6px 12px;
        top: -10px;
        max-width: 80%;
    }
    
    .plan-header {
        margin-top: 8px;
    }
}