/* Global Styles */
:root {
    --primary-color: #38bdf8;
    /* Soft Sky Blue */
    --primary-dark: #0284c7;
    /* Deep Sky Blue */
    --accent-color: #0ea5e9;
    /* Matching Blue Accent */
    --cta-color: #4ade80;
    /* Green to match buttons */
    --cta-hover: #16a34a;
    --text-color: #475569;
    /* Softer Slate Text */
    --bg-light: #f0f9ff;
    /* Very Light Alice Blue */
    --white: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(14 165 233 / 0.15), 0 4px 6px -4px rgb(14 165 233 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-white {
    color: var(--white);
}

.font-bold {
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-cta {
    background: linear-gradient(135deg, #4ade80, #16a34a);
    /* Matching Green Gradient */
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.6);
    filter: brightness(1.15);
    background: linear-gradient(135deg, #86efac, #15803d);
}

.pulsing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* Sections */
section {
    padding: 4rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95)), url('../worried_mother.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 6rem 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* VSL Placeholder */
/* VSL Placeholder - Reels Style */
.vsl-container {
    width: 100%;
    max-width: 350px;
    /* Slightly narrower for phone look */
    margin: 2rem auto;
    aspect-ratio: 9 / 16;
    background-color: #000;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 4px solid #000;
}

/* Problem Section */
.problem {
    background-color: var(--white);
}

.problem h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.highlight-box {
    background-color: #e0f2fe;
    /* Soft Blue */
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

/* Solution Section */
.solution {
    background-color: #f0f9ff;
    position: relative;
    overflow: hidden;
}

.solution::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.solution-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.solution-text {
    flex: 1;
    min-width: 300px;
}

.solution-text p {
    font-size: 1.4rem;
    color: #1e293b;
    /* Stronger, darker slate */
    line-height: 1.8;
    font-weight: 500;
}

.solution-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.ebook-cover {
    max-width: 350px;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.25));
    transition: transform 0.5s ease;
}

.ebook-cover:hover {
    transform: rotateY(-5deg) scale(1.02);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Offer Section */
.offer {
    background: linear-gradient(to bottom right, var(--primary-dark), var(--primary-color));
    color: var(--white);
    text-align: center;
}

.price-box {
    background: var(--white);
    color: var(--text-color);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    margin: 2rem auto;
    box-shadow: var(--shadow-lg);
}

.old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 1.25rem;
}

.new-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
}


/* Premium Offer Card (Below VSL) */
/* Premium Offer Card (Below VSL) */


/* Protruding 3D Ribbon */
/* Premium Offer Card (Below VSL) */
.premium-offer-card {
    background: linear-gradient(145deg, #ffffff, #f0f9ff);
    border: 3px solid #0ea5e9;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.25);
    position: relative;
    overflow: hidden;
    text-align: center;
    /* Ensure everything is centered */
}

/* ... existing ribbon styles ... */

/* Super High-Convert Button */
.btn-aggressive {
    background: linear-gradient(to bottom, #22c55e 0%, #16a34a 100%);
    /* Pure Conversion Green */
    color: white;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.4rem;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    width: 100%;
    margin-top: 1rem;
    position: relative;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 0 #14532d, 0 10px 15px rgba(22, 163, 74, 0.3);
    /* Darker 3D, less glow */
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.btn-aggressive:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #14532d, 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-aggressive:hover {
    background: linear-gradient(to bottom, #22c55e 0%, #15803d 100%);
    /* Slight darken on hover instead of brighten */
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #14532d, 0 12px 25px rgba(22, 163, 74, 0.4);
}

/* Attention Grabbing Animation */
.pulsing {
    animation: attention-pulse 2s infinite;
}

@keyframes attention-pulse {
    0% {
        transform: scale(1);
    }

    10% {
        transform: scale(1.02);
    }

    20% {
        transform: scale(0.98);
    }

    30% {
        transform: scale(1.02);
    }

    40% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

.premium-offer-card::before {
    content: 'OFERTA RELÂMPAGO';
    background: #ef4444;
    color: white;
    width: 220px;
    /* Generous width to guarantee span */
    text-align: center;
    padding: 0.5rem 0;
    position: absolute;
    top: 25px;
    right: -60px;
    /* Pull back enough to center the band */
    transform: rotate(45deg);
    font-weight: 800;
    font-size: 0.75rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.premium-offer-card p:first-of-type {
    text-align: center;
    padding-right: 0;
    margin-top: 0.5rem;
    /* Safe breathing room */
    position: relative;
    z-index: 5;
}

.premium-benefit-list {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.premium-benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #374151;
    font-weight: 500;
}

.check-minimal {
    color: #10b981;
    /* Green check */
    font-weight: 800;
    flex-shrink: 0;
}



@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Pain vs Solution Section */
.pain-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.pain-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid transparent;
    flex: 1 1 300px;
    max-width: 400px;
}

/* Specific Card Colors - Stronger Tones */
.pain-card:nth-child(1) {
    background-color: #dbeafe;
    /* Blue 100 */
    border-color: #93c5fd;
}

.pain-card:nth-child(1) .pain-header {
    background-color: #bfdbfe;
    /* Blue 200 */
    border-bottom-color: #93c5fd;
}

.pain-card:nth-child(1) .solution-body {
    background-color: #dbeafe;
}

.pain-card:nth-child(2) {
    background-color: #dcfce7;
    /* Green 100 */
    border-color: #86efac;
}

.pain-card:nth-child(2) .pain-header {
    background-color: #bbf7d0;
    /* Green 200 */
    border-bottom-color: #86efac;
}

.pain-card:nth-child(2) .solution-body {
    background-color: #dcfce7;
}

.pain-card:nth-child(3) {
    background-color: #f3e8ff;
    /* Purple 100 */
    border-color: #d8b4fe;
}

.pain-card:nth-child(3) .pain-header {
    background-color: #e9d5ff;
    /* Purple 200 */
    border-bottom-color: #d8b4fe;
}

.pain-card:nth-child(3) .solution-body {
    background-color: #f3e8ff;
}

.pain-card:nth-child(4) {
    background-color: #ffedd5;
    /* Orange 100 */
    border-color: #fdba74;
}

.pain-card:nth-child(4) .pain-header {
    background-color: #fed7aa;
    /* Orange 200 */
    border-bottom-color: #fdba74;
}

.pain-card:nth-child(4) .solution-body {
    background-color: #ffedd5;
}

.pain-card:nth-child(5) {
    background-color: #cffafe;
    /* Cyan 100 */
    border-color: #67e8f9;
}

.pain-card:nth-child(5) .pain-header {
    background-color: #a5f3fc;
    /* Cyan 200 */
    border-bottom-color: #67e8f9;
}

.pain-card:nth-child(5) .solution-body {
    background-color: #cffafe;
}

.pain-card:nth-child(6) {
    background-color: #ffe4e6;
    /* Rose 100 */
    border-color: #fecdd3;
}

.pain-card:nth-child(6) .pain-header {
    background-color: #fecdd3;
    /* Rose 200 */
    border-bottom-color: #fda4af;
}

.pain-card:nth-child(6) .solution-body {
    background-color: #ffe4e6;
}

.pain-card:nth-child(7) {
    background-color: #f1f5f9;
    /* Slate 100 */
    border-color: #cbd5e1;
}

.pain-card:nth-child(7) .pain-header {
    background-color: #e2e8f0;
    /* Slate 200 */
    border-bottom-color: #cbd5e1;
}

.pain-card:nth-child(7) .solution-body {
    background-color: #f1f5f9;
}

/* Ensure text is distinct on stronger backgrounds */
.pain-content h4,
.solution-content h5 {
    color: #1e293b;
    /* Darker slate for better contrast */
}

.solution-content p {
    color: #334155;
    /* Slightly darker body text */
}

.pain-header h4 {
    color: #334155;
    /* Darker header text */
}

/* Phone Bundle Mockup */
.phone-bundle {
    position: relative;
    width: 350px;
    height: 500px;
    /* Adjust based on need */
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.75);
    /* Global Reduction */
    transform-origin: center center;
}

.phone-mockup {
    position: absolute;
    width: 220px;
    height: 440px;
    /* Approx 9:18 ratio */
    background: #000;
    border-radius: 30px;
    border: 8px solid #1f2937;
    /* Phone frame color */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, filter 0.4s ease;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    /* HW Accel */
}

.phone-left {
    z-index: 10;
    transform: translateX(-30%) rotate(-5deg);
}

.phone-right {
    z-index: 5;
    transform: translateX(20%) translateY(5%) rotate(5deg) scale(0.95);
    filter: brightness(0.9);
}

/* Hover Interaction: Reveal Both */
.phone-bundle:hover .phone-left {
    transform: translateX(-55%) rotate(0deg);
}

.phone-bundle:hover .phone-right {
    transform: translateX(55%) translateY(0) rotate(0deg) scale(1);
    filter: brightness(1);
    z-index: 11;
    /* Bring to front optional, or just keep side by side */
}

@media (max-width: 768px) {
    .phone-bundle {
        width: 100%;
        height: 400px;
        transform: scale(0.85);
    }
}

@media (max-width: 480px) {
    .phone-bundle {
        height: 350px;
        transform: scale(0.7);
    }
}

/* Phone UI Overlay */
.phone-ui-top {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.status-icons {
    display: flex;
    gap: 5px;
    font-size: 10px;
    align-items: center;
}

.signal {
    letter-spacing: -2px;
}

.phone-ui-bottom {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    z-index: 20;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pain-header {
    background-color: #f1f5f9;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px dashed #cbd5e1;
}

.pain-header h4 {
    font-size: 1rem;
    color: #64748b;
    font-weight: 600;
}

.solution-body {
    padding: 1.5rem;
    background-color: #f0f9ff;
    /* Very light blue */
    position: relative;
}

.solution-body .arrow {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 2px 8px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
}

.solution-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.solution-content h5 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.solution-content p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
}

.emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .solution-content {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
    }
}

/* Final Responsive Adjustments */
@media (max-width: 900px) {
    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .pain-grid {
        gap: 1rem;
    }
}

@media (max-width: 768px) {

    /* Safe Typography Scaling */
    html {
        font-size: 14px;
    }

    /* Base scale down */

    h1 {
        font-size: 1.8rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    /* Layout Adjustments */
    .container {
        padding: 0 16px;
    }

    section {
        padding: 2.5rem 0;
    }

    /* Phone Bundle Scaling for Tablet */
    .phone-bundle {
        transform: scale(0.8);
        transform-origin: center top;
        /* Scale from top to avoid pushing down weirdly */
        height: 400px;
        margin: 0 auto 3rem auto;
        /* Added extra bottom margin */
    }

    /* List Items */
    .premium-benefit-list li {
        font-size: 1rem;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    /* Mobile-First Fixes */

    /* Override Inline Price Size */
    .premium-offer-card div[style*="font-size: 4.5rem"] {
        font-size: 3rem !important;
    }

    .premium-offer-card span[style*="font-size: 1.8rem"] {
        font-size: 1.4rem !important;
    }

    /* Carousel Items - Responsive Width */
    .results-carousel>div {
        flex: 0 0 85vw !important;
        /* Full width minus gap */
        max-width: 320px;
    }

    /* Phone Bundle Mobile - COMPACT FIX */
    .phone-bundle {
        transform: scale(0.6) !important;
        /* Reduced for better fit */
        transform-origin: center top !important;
        height: 330px !important;
        /* Adjusted Height */
        left: -5px;
        margin: 0 auto 3rem auto !important;
        /* Clean Separation */
        position: relative;
        z-index: 10;
        width: 100%;
        display: block;
    }

    .solution-content {
        flex-direction: column !important;
        /* Stack vertically */
        display: flex !important;
        gap: 0 !important;
        padding-top: 2rem;
    }

    .solution-text {
        /* No order needed */
        margin-top: 0;
        z-index: 20;
        position: relative;
    }

    .solution-text h2 {
        font-size: 1.6rem !important;
        /* Smaller headline */
    }

    /* Buttons */
    .btn-aggressive {
        font-size: 1.1rem !important;
        padding: 1rem 1.5rem !important;
    }

    /* VSL Placeholder */
    .vsl-container {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    /* WhatsApp Float Button */
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulsing 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}