/* TedsWoodworking Pre-Sell Page Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800;900&display=swap');

/* CSS Variables for Premium Theme Design */
:root {
    --primary-dark: #2c1a0e;       /* Deep Mahogany Brown */
    --primary: #5c3e21;            /* Rich Wood Oak */
    --primary-medium: #875c36;     /* Light Walnut */
    --primary-light: #f9f5f0;      /* Warm Soft Cream Background */
    --accent-amber: #e67e22;       /* Vibrant Amber for Actions */
    --accent-amber-hover: #d35400; /* Darker Amber on Hover */
    --accent-green: #27ae60;       /* Forest Green for Success/Guarantee */
    --accent-green-hover: #219653; /* Darker Green */
    --text-main: #2d251e;          /* Off-black text with a brown tint */
    --text-muted: #6e645a;         /* Soft warm grey for secondary text */
    --white: #ffffff;
    --border-color: #e5dac9;       /* Cream/beige borders */
    --success-bg: #eafaf1;
    --warning-bg: #fff9e6;
    --warning-border: #ffd580;
    
    /* Layout Constants */
    --max-width: 960px;
    --border-radius: 12px;
    --shadow-sm: 0 2px 4px rgba(44, 26, 14, 0.05);
    --shadow-md: 0 8px 16px rgba(44, 26, 14, 0.08);
    --shadow-lg: 0 16px 32px rgba(44, 26, 14, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #fcfbfa;
    /* Prevent any horizontal scrolling globally */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    /* Prevent horizontal overflow on ALL browsers and devices */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Headings */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.25;
}

h1 { font-size: 2.5rem; letter-spacing: -0.5px; }
h2 { font-size: 1.85rem; margin-bottom: 1.25rem; position: relative; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; }

p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    font-weight: 400;
}

a {
    color: var(--accent-amber);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-amber-hover);
    text-decoration: underline;
}

/* Premium Layout Helpers */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 60px 0;
}

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

/* Notification Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 3px solid var(--accent-amber);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.top-bar span {
    color: var(--accent-amber);
    font-weight: 700;
}

.top-bar-cta {
    background-color: var(--accent-amber);
    color: var(--white);
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
}

.top-bar-cta:hover {
    background-color: var(--accent-amber-hover);
    color: var(--white);
    text-decoration: none;
}

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo-svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-amber);
    display: block;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-dark);
}

.logo-text span {
    color: var(--accent-amber);
}

.badge-reviewer {
    background-color: var(--primary-light);
    border: 1px solid var(--border-color);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f9f5f0 0%, #f0e6da 100%);
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border-color);
}

.hero-sub {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-medium);
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 2px solid var(--accent-amber);
    padding-bottom: 4px;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-desc {
    font-size: 1.2rem;
    max-width: 780px;
    margin: 0 auto 28px;
    color: var(--text-muted);
}

/* Hero dual-CTA group */
.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
}

@media (min-width: 520px) {
    .hero-cta-group {
        flex-direction: row;
        justify-content: center;
    }
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--primary-medium);
    background: transparent;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Quiz Box */
.quiz-wrapper {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.quiz-header {
    margin-bottom: 25px;
}

.quiz-progress {
    height: 8px;
    background-color: #eee4d5;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    width: 33%;
    background-color: var(--accent-amber);
    transition: var(--transition);
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

.quiz-question {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.quiz-option {
    background-color: var(--primary-light);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.quiz-option:hover {
    background-color: #efe5d8;
    border-color: var(--primary-medium);
    transform: translateY(-2px);
}

.quiz-option::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary-medium);
    border-radius: 50%;
    flex-shrink: 0;
}

.quiz-option:hover::before {
    border-color: var(--accent-amber);
    background-color: var(--accent-amber);
    box-shadow: inset 0 0 0 2px var(--white);
}

.quiz-option.selected {
    border-color: var(--accent-amber);
    background-color: #fef9f3;
    box-shadow: 0 0 0 1px var(--accent-amber);
}

.quiz-option.selected::before {
    border-color: var(--accent-amber);
    background-color: var(--accent-amber);
    box-shadow: inset 0 0 0 2px var(--white);
}

/* Quiz Loader / Calculating State */
.quiz-loading {
    display: none;
    text-align: center;
    padding: 40px 0;
}

.quiz-loading.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.spinner {
    border: 4px solid rgba(92, 62, 33, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-left-color: var(--accent-amber);
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

/* Quiz Result recommendation banner */
.quiz-result-recommendation {
    display: none;
    background-color: var(--success-bg);
    border: 2px dashed var(--accent-green);
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
    text-align: center;
}

.quiz-result-recommendation.active {
    display: block;
    animation: slideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quiz-result-title {
    color: var(--accent-green);
    font-weight: 800;
    margin-bottom: 8px;
}

/* Affiliate Disclosure — inline editorial style (top of article) */
.affiliate-disclosure-inline {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.5;
}

.affiliate-disclosure-inline strong {
    color: var(--text-main);
    font-weight: 600;
}

/* .affiliate-disclosure (legacy/kept for compatibility) */
.affiliate-disclosure {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: #f9f5f0;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--border-color);
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 20px;
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.affiliate-disclosure strong {
    color: var(--primary-dark);
}

/* Article Body / Editorial Layout */
.editorial-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .editorial-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.article-main {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item span {
    font-weight: 600;
    color: var(--primary-dark);
}

.featured-img-wrap {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.featured-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.featured-img:hover {
    transform: scale(1.02);
}

/* Ensure ALL images never overflow their containers */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #3b3127;
}

.article-content strong {
    color: var(--primary-dark);
}

/* Listas nativas dentro do artigo —————————————————————————————
   O reset global (* { padding: 0; margin: 0 }) remove o padding-left
   padrão dos browsers. Sem ele, bullets com list-style-position: outside
   ficam sem espaço reservado e "escapam" para fora do card pela esquerda.
   Restauramos o recuo correto aqui para ul e ol dentro do artigo.
——————————————————————————————————————————————————————————————— */
.article-content ul,
.article-content ol {
    padding-left: 22px;      /* espaço para o bullet/número não sair do card */
    margin-bottom: 20px;
    list-style-position: outside; /* marcador fica fora do texto, dentro do padding */
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 10px;
    font-size: 1.03rem;
    color: #3b3127;
    line-height: 1.6;
    padding-left: 4px;   /* respiro extra entre bullet e texto */
}

/* Warning Checklist — Lumberyard Mistake Section */
.warning-checklist {
    background-color: #fff9f0;
    border: 1px solid #f5d8a8;
    border-left: 4px solid var(--primary-medium);
    border-radius: var(--border-radius);
    padding: 22px 24px;
    margin: 28px 0;
}

.warning-checklist-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.warning-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}

.warning-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
    padding: 0;
    margin: 0;
}

.warning-list li::before {
    content: "✗";
    color: #c0392b;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.warning-checklist-close {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
}

/* Who Is This For — Fit Grid */
.fit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 24px 0 36px;
}

@media (min-width: 600px) {
    .fit-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.fit-box {
    padding: 22px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.fit-yes {
    border-top: 3px solid var(--accent-green);
}

.fit-no {
    border-top: 3px solid var(--primary-medium);
}

.fit-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.35;
}

.fit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fit-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--text-main);
    margin-bottom: 9px;
    line-height: 1.45;
    padding: 0;
}

.fit-list li::before {
    content: "—";
    color: var(--text-muted);
    flex-shrink: 0;
    margin-top: 1px;
}

.quote-box {
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary-medium);
    padding: 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 30px 0;
    font-style: italic;
}

.quote-box p {
    margin-bottom: 0;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.quote-author {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    font-style: normal;
    color: var(--text-muted);
}

.editorial-takeaway {
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary-medium);
    padding: 22px 24px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 30px 0;
}

.editorial-takeaway-text {
    margin-bottom: 0;
    color: var(--text-main);
    font-size: 1.02rem;
    line-height: 1.6;
}

/* Warning & Notice Boxes */
.notice-box {
    background-color: var(--warning-bg);
    border: 1px solid var(--warning-border);
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.notice-icon {
    font-size: 1.5rem;
    color: #f1c40f;
}

.notice-text h4 {
    color: #b78a00;
    margin-bottom: 5px;
}

.notice-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #7d6500;
}

/* Sidebar Elements */
.sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.15rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Reviewer Info Widget */
.author-profile {
    text-align: center;
}

.profile-pic {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 15px; /* Center the image since it's a block element */
    border: 3px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
}

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

.author-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.author-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Call to Action elements */
.cta-widget {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    border: none;
    text-align: center;
}

.cta-widget .widget-title {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.1);
}

.cta-widget p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

/* Testimonial Widget */
.testimonial-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.testimonial-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.testimonial-text {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.user-info h5 {
    font-size: 0.85rem;
    font-weight: 700;
}

.user-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Teds vs Free Plans Comparison Section */
.comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 30px 0;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    background-color: var(--white);
    /* Constrain to parent so it never pushes page width */
    max-width: 100%;
    width: 100%;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    /* NO min-width — this was the #1 cause of horizontal scroll on mobile */
}

.comparison-table th, .comparison-table td {
    padding: 14px 12px;
    text-align: left;
    word-break: break-word;
}

.comparison-table th {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border-bottom: 2px solid var(--border-color);
}

.comparison-table tr {
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:last-child {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: #faf8f5;
}

.comparison-table td strong {
    color: var(--primary-dark);
}

.comp-feature {
    font-weight: 600;
    width: 30%;
}

.comp-teds {
    background-color: rgba(39, 174, 96, 0.04);
    width: 35%;
}

.comp-free {
    width: 35%;
}

.table-svg {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    flex-shrink: 0;
}

.table-svg.check {
    color: var(--accent-green);
}

.table-svg.cross {
    color: #e74c3c;
}

/* Pros & Cons Section */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 35px 0;
}

@media (min-width: 768px) {
    .pros-cons-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pros-box, .cons-box {
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.pros-box {
    border-top: 4px solid var(--accent-green);
}

.cons-box {
    border-top: 4px solid var(--primary-medium);
}

.pros-box h3 { color: var(--accent-green); display: flex; align-items: center; gap: 8px; }
.cons-box h3 { color: var(--primary-dark); display: flex; align-items: center; gap: 8px; }

.article-content .pros-cons-list {
    list-style: none;
    margin-top: 20px;
    padding-left: 0;
}

.article-content .pros-cons-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    padding-left: 0;
    font-size: 0.98rem;
    line-height: 1.5;
}

.article-content .pros-list li::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2327ae60' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.article-content .cons-list li::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23875c36' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Bundle Box details */
/* Bundle Box details */
.bundle-box {
    background-color: #fdfbf7;
    background-image: linear-gradient(rgba(229, 218, 201, 0.25) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(229, 218, 201, 0.25) 1px, transparent 1px);
    background-size: 24px 24px;
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--accent-amber);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.bundle-header {
    text-align: center;
    margin-bottom: 25px;
}

.bundle-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    max-width: 420px;
    margin: 0 auto 30px;
}

.bundle-image-container::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.12) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.bundle-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.bundle-image:hover {
    transform: scale(1.03) rotate(-1deg);
}

.bundle-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-amber) 0%, #d35400 100%);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bundle-box-title {
    font-size: 1.85rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.bundle-box-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.5;
}

.bundle-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bundle-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(229, 218, 201, 0.6);
    box-shadow: 0 4px 8px rgba(44, 26, 14, 0.02);
    transition: var(--transition);
}

.bundle-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(92, 62, 33, 0.08);
    border-color: var(--accent-amber);
}

.bundle-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--transition);
}

.bundle-item:hover .bundle-item-icon {
    transform: scale(1.1);
}

.bundle-item-icon.plan-icon {
    background-color: rgba(41, 128, 185, 0.08);
    color: #2980b9;
}

.bundle-item-icon.video-icon {
    background-color: rgba(231, 76, 60, 0.08);
    color: #e74c3c;
}

.bundle-item-icon.cad-icon {
    background-color: rgba(142, 68, 173, 0.08);
    color: #8e44ad;
}

.bundle-item-icon.book-icon {
    background-color: rgba(39, 174, 96, 0.08);
    color: #27ae60;
}

.bundle-item-icon.lifetime-icon {
    background-color: rgba(243, 156, 18, 0.08);
    color: #e67e22;
}

.bundle-item-icon svg {
    width: 22px;
    height: 22px;
}

.bundle-item-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.bundle-item-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: 'Montserrat', sans-serif;
}

.bundle-item-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.val-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.val-blue {
    background-color: rgba(41, 128, 185, 0.1);
    color: #2980b9;
}

.val-red {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.val-purple {
    background-color: rgba(142, 68, 173, 0.1);
    color: #8e44ad;
}

.val-green {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.val-gold {
    background-color: rgba(243, 156, 18, 0.1);
    color: #d35400;
}

/* Bundle CTA Wrap */
.bundle-cta-wrap {
    display: flex;
    justify-content: center;
    padding: 24px 0 8px;
}

/* Sidebar Disclaimer Text */
.sidebar-disclaimer {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 10px;
    font-style: italic;
    margin-bottom: 0;
}

/* Testimonial Disclaimer */
.testimonial-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 6px;
    margin-bottom: 0;
}

/* Editorial Team Icon in Sidebar */
.editorial-team-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
    opacity: 0.7;
}

/* CTA Disclaimer below main CTA */
.cta-disclaimer {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 8px;
    margin-bottom: 0;
    text-align: center;
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 2px solid var(--border-color);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 900;
    box-shadow: 0 -4px 16px rgba(44,26,14,0.1);
    transform: translateY(100%);
    transition: transform 0.35s ease;
    /* Hidden by default — only shown on mobile via media query */
    display: none;
}

.sticky-mobile-cta.visible {
    transform: translateY(0);
}

.sticky-cta-btn {
    flex: 1;
    max-width: 360px;
    font-size: 0.92rem;
    padding: 13px 18px;
}

.sticky-cta-close {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
}

.sticky-cta-close:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

/* Show sticky CTA only on mobile screens */
@media (max-width: 767px) {
    .sticky-mobile-cta {
        display: flex;
    }
}

/* FAQ Accordion */
.faq-section {
    margin: 50px 0;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.accordion-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-medium);
}

.accordion-header {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.accordion-chevron {
    width: 20px;
    height: 20px;
    color: var(--primary-medium);
    transition: var(--transition);
    flex-shrink: 0;
}

.accordion-item.active .accordion-chevron {
    transform: rotate(180deg);
    color: var(--accent-amber);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: #faf9f6;
}

.accordion-body-content {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1rem;
}

.accordion-item.active .accordion-body {
    max-height: 1000px;
    transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

/* Risk Reversal Guarantee Box */
.guarantee-box {
    background-color: #f1fcf6;
    border: 2px solid #bfead0;
    border-radius: var(--border-radius);
    padding: 35px;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
}

@media (min-width: 768px) {
    .guarantee-box {
        flex-direction: row;
        text-align: left;
    }
}

.guarantee-badge-container {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eafaf1;
    border-radius: 50%;
    color: var(--accent-green);
}

.guarantee-shield-svg {
    width: 64px;
    height: 64px;
    stroke: currentColor;
}

.guarantee-title {
    color: var(--accent-green);
    font-size: 1.45rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.guarantee-desc {
    font-size: 0.98rem;
    margin-bottom: 0;
    color: #1e633d;
}

/* Premium Buttons & Call to Actions */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    padding: 18px 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-amber) 0%, #d35400 100%);
    color: var(--white);
    border-bottom: 4px solid #b33c00;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(230, 126, 34, 0.3);
    background: linear-gradient(135deg, #f39c12 0%, var(--accent-amber-hover) 100%);
    color: var(--white);
    text-decoration: none;
}

.btn-primary:active {
    transform: translateY(-1px);
    border-bottom-width: 2px;
}

.cta-box-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px 0;
    padding: 30px;
    background: radial-gradient(circle, #faf6f0 0%, #efe5d8 100%);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.cta-tagline {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-medium);
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.3rem;
}

.new-price {
    color: #e74c3c;
    font-size: 2.2rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
}

/* Footer styling */
.site-footer {
    background-color: var(--primary-dark);
    color: #a39587;
    padding: 50px 0;
    border-top: 5px solid var(--primary-medium);
    font-size: 0.85rem;
}

.site-footer p {
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.footer-links a {
    color: #c9bbae;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.disclaimer-text {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    line-height: 1.6;
}

/* Feedback Theme Cards (replaces testimonial-item with quote) */
.feedback-intro {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.feedback-card {
    background-color: #f9f5f0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.feedback-card:last-child {
    margin-bottom: 0;
}

.feedback-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.feedback-card-text {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE — Mobile First (all devices, all browsers)
   Tested targets: iPhone SE, iPhone 14, Samsung Galaxy,
   iPad, Firefox, Safari, Chrome, Edge
   ============================================================ */

/* Tablet and below */
@media (max-width: 767px) {
    /* Typography scale-down */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.15rem; }

    /* Container: padding generoso para os cards "flutuarem" */
    .container {
        padding: 0 14px;
        width: 100%;
        max-width: 100%;
    }

    /* Top bar: wrap text, don't overflow */
    .top-bar {
        font-size: 0.76rem;
        padding: 8px 16px;
        line-height: 1.5;
        white-space: normal;
        word-break: break-word;
    }

    .site-header { padding: 10px 0; }

    .logo-area {
        flex-wrap: wrap;
        gap: 6px;
    }

    .logo-text { font-size: 1.2rem; }
    .logo-icon  { font-size: 1.5rem; }
    .badge-reviewer { font-size: 0.7rem; }

    /* Hero */
    .hero { padding: 28px 0 18px; }
    .hero-title { font-size: 1.75rem; line-height: 1.2; }
    .hero-desc  { font-size: 0.98rem; margin-bottom: 18px; }

    /* ── RESPIRO LATERAL NOS CARDS ──────────────────────────────
       Zeramos as margens horizontais nos cards para mobile, de
       forma que a rolagem lateral seja evitada e o respiro
       seja dado exclusivamente pelo padding horizontal do container.
    ─────────────────────────────────────────────────────────── */

    /* Quiz — card de entrada (hero) */
    .quiz-wrapper {
        padding: 18px 14px;
        margin-left: 0;
        margin-right: 0;
    }
    .quiz-question { font-size: 1.05rem; }
    .quiz-option   { font-size: 0.93rem; padding: 11px 12px; }

    .section-padding { padding: 30px 0; }

    /* Artigo principal */
    .article-main {
        padding: 18px 14px;
        margin-left: 0;
        margin-right: 0;
    }
    .article-meta  { font-size: 0.8rem; gap: 8px; margin-bottom: 12px; }

    /* Sidebar widgets */
    .widget {
        margin-left: 0;
        margin-right: 0;
    }

    /* Tabela comparativa */
    .comparison-table-wrap {
        margin: 18px 0;
    }
    .comparison-table th,
    .comparison-table td   { padding: 9px 7px; font-size: 0.78rem; }

    /* Pros / Cons */
    .pros-cons-grid { gap: 18px; margin: 18px 0; }
    .pros-box, .cons-box { padding: 18px 13px; }

    /* Bundle Box Mobile Styling */
    .bundle-box {
        padding: 24px 16px;
        margin: 24px 0;
        background-size: 16px 16px;
    }
    .bundle-box-title {
        font-size: 1.45rem;
    }
    .bundle-box-subtitle {
        font-size: 0.92rem;
        margin-bottom: 18px;
    }
    .bundle-image-container {
        margin-bottom: 15px;
    }
    .bundle-image {
        max-width: 240px;
        margin: 0 auto;
    }
    .bundle-item {
        padding: 16px;
        gap: 12px;
        border-radius: 10px;
    }
    .bundle-item-icon {
        width: 38px;
        height: 38px;
        margin-top: 1px;
    }
    .bundle-item-icon svg {
        width: 18px;
        height: 18px;
    }
    .bundle-item-title-row {
        gap: 6px;
        margin-bottom: 4px;
    }
    .bundle-item-title {
        font-size: 0.95rem;
    }
    .bundle-item-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    .val-badge {
        font-size: 0.65rem;
        padding: 1px 6px;
        border-radius: 3px;
    }

    /* Garantia */
    .guarantee-box {
        padding: 18px 13px;
        margin: 20px 0;
        gap: 12px;
    }
    .guarantee-badge-container { width: 72px; height: 72px; }
    .guarantee-shield-svg { width: 38px; height: 38px; }
    .guarantee-title { font-size: 1.2rem; }

    /* CTA box central */
    .cta-box-center {
        margin: 25px 0;
        padding: 18px 14px;
    }

    /* Botões — largura total, legível */
    .btn {
        font-size: 0.92rem;
        padding: 13px 18px;
        width: 100%;
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
        line-height: 1.35;
    }

    .new-price { font-size: 1.75rem; }
    .pricing-block { flex-wrap: wrap; gap: 8px; }

    /* Accordion */
    .accordion {
        margin-left: 0;
        margin-right: 0;
    }
    .accordion-header      { padding: 14px 16px; font-size: 0.93rem; }
    .accordion-body-content { padding: 14px 16px; font-size: 0.9rem; }

    /* Modal */
    .modal-overlay { padding: 12px; }
    .modal-box { padding: 18px 14px; max-height: 90vh; width: 100%; }
    .modal-content-body h2 { font-size: 1.25rem; }

    /* Footer */
    .site-footer { padding: 36px 0; }
    .footer-links { gap: 12px; }
    .disclaimer-text { font-size: 0.8rem; }

    /* Notice box */
    .notice-box {
        gap: 10px;
        padding: 15px 12px;
        margin-left: 0;
        margin-right: 0;
    }
    .notice-icon { font-size: 1.3rem; flex-shrink: 0; }

    /* Quote box & Editorial Takeaway */
    .quote-box, .editorial-takeaway { padding: 15px 14px; margin: 20px 0; }
}

/* Extra small screens (iPhone SE 375px, older Androids 360px) */
@media (max-width: 390px) {
    h1, .hero-title { font-size: 1.5rem; }
    h2 { font-size: 1.2rem; }
    .logo-text  { font-size: 1.05rem; }
    .logo-icon  { font-size: 1.3rem; }
    .btn        { font-size: 0.82rem; padding: 11px 14px; }
    .new-price  { font-size: 1.55rem; }
    .hero-sub   { font-size: 0.75rem; letter-spacing: 1px; }
    .comparison-table th,
    .comparison-table td { padding: 7px 5px; font-size: 0.72rem; }
}

/* Modal Overlay & Box for Legal Policies */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: slideDown 0.3s ease;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--primary-dark);
}

.modal-content-body h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.modal-content-body h3 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-content-body p, .modal-content-body li {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 15px;
}
