/* ==========================================================================
   DESIGN SYSTEM - VIBE CODE (Decifre Seu Chefe)
   ========================================================================== */

:root {
    /* Colors */
    --primary: #0a192f;
    --primary-light: #172a45;
    --secondary: #64ffda;
    --accent: #f0a500;
    --text-main: #ccd6f6;
    --text-muted: #8892b0;
    --white: #ffffff;
    --bg-dark: #020c1b;
    --bg-card: #112240;

    /* Typography */
    --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 6rem 1rem;
    --container-max-width: 1100px;

    /* Personalization Toggles */
    --display-variation: none;
    --display-default: block;
}

.is-variation {
    display: var(--display-variation) !important;
}

.is-default {
    display: var(--display-default) !important;
}

/* Animations & Scroll Reveal */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-down {
    transform: translateY(-40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-zoom {
    transform: scale(0.95);
}

.reveal.active {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--white);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Reusable Components */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    font-family: var(--font-sans);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #d48a00 100%);
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(240, 165, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(240, 165, 0, 0.3);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section-subtitle {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
    text-align: center;
}

.glass {
    background: rgba(17, 34, 64, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

/* Hero */
.hero {
    padding: 8rem 0 6rem;
    background-color: #f8fafc;
    background-image: radial-gradient(circle at top right, rgba(100, 255, 218, 0.3), transparent),
        radial-gradient(circle at bottom left, rgba(240, 165, 0, 0.15), transparent);
    color: var(--primary);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.badge-top {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: block;
}

.hero .badge-top {
    color: var(--accent); /* Darker/different contrast color for light background */
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary);
}

.highlight {
    color: var(--primary);
    background: linear-gradient(120deg, rgba(240, 165, 0, 0.3) 0%, rgba(240, 165, 0, 0) 100%);
    padding: 0 5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 3rem;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.hero-benefits .icon {
    color: var(--accent);
}

.cta-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    margin-left: 0.5rem;
}

.hero .cta-meta {
    color: #64748b; /* readable slate grey against light bg */
}

.hero-img-main {
    max-width: 100%;
    height: auto;
    max-height: 95vh;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
    transition: transform 0.5s ease;
}

.hero-img-main:hover {
    transform: translateY(-5px);
}

.lupa-scan {
    position: absolute;
    top: 5%;
    left: 10%;
    width: 220px;
    z-index: 5;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
    animation: scanBoss 9s ease-in-out infinite alternate;
}

@keyframes scanBoss {
    0% {
        transform: translate(0, 0) scale(1) rotate(-5deg);
    }
    25% {
        transform: translate(250px, 100px) scale(1.1) rotate(10deg);
    }
    50% {
        transform: translate(80px, 200px) scale(0.95) rotate(-15deg);
    }
    75% {
        transform: translate(260px, 280px) scale(1.05) rotate(5deg);
    }
    100% {
        transform: translate(50px, 350px) scale(0.9) rotate(-20deg);
    }
}

.audio-waves {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 30px;
}

.audio-waves span {
    width: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
    animation: wave 1s infinite ease-in-out;
}

.audio-waves span:nth-child(2) {
    animation-delay: 0.2s;
}

.audio-waves span:nth-child(3) {
    animation-delay: 0.4s;
}

.audio-waves span:nth-child(4) {
    animation-delay: 0.1s;
}

.audio-waves span:nth-child(5) {
    animation-delay: 0.3s;
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(0.4);
    }

    50% {
        transform: scaleY(1.5);
    }
}

/* Floating Bonus Card (Sophisticated UI) */
.floating-bonus-card {
    position: absolute;
    bottom: -20px;
    right: 10px;
    background: #ffffff;
    width: 220px;
    border-radius: 14px;
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 25px 50px -12px rgba(0, 0, 0, 0.4);
    z-index: 10;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: floatVertical 5s ease-in-out infinite;
}

/* Subtle Card Behind for "Stacked" Look */
.floating-bonus-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 14px;
    transform: rotate(-4deg) translate(-8px, -4px);
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.fb-header {
    background: #f8fafc;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 14px 14px 0 0;
}

.fb-header i {
    color: var(--accent);
    font-size: 1rem;
}

.fb-header span {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.fb-body {
    padding: 16px;
}

.fb-body h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.3;
}

.fb-body p {
    color: #475569;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

.fb-footer {
    padding: 0 16px 16px;
}

.fb-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

@keyframes floatVertical {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Pain Points */
.pain-points {
    padding: var(--section-padding);
    background-color: var(--primary-light);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.pain-card {
    padding: 2.5rem;
    transition: transform 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
}

.pain-icon {
    width: 60px;
    height: 60px;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.05);
}

.pain-footer {
    margin-top: 4rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
}

/* Strategic Turn */
.strategic-turn {
    padding: var(--section-padding);
    background-color: var(--primary-light);
    background-image:
        linear-gradient(rgba(100, 255, 218, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

.turn-container {
    padding: 4rem;
    border-radius: 24px;
    background: rgba(17, 34, 64, 0.4);
    border: 1px solid rgba(100, 255, 218, 0.1);
    text-align: center;
}

.profiles-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: left;
    margin: 4rem 0;
}

.profile-mini {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(2, 12, 27, 0.5);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.profile-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.D {
    background: #ff4d4d;
}

.I {
    background: #ffcc00;
    color: #000;
}

.S {
    background: #00cc66;
}

.C {
    background: #3399ff;
}

/* Product Features */
.product-features {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, var(--primary-light), var(--bg-dark));
}

.product-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.product-features h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.feature-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3.5rem;
    align-items: flex-start;
}

.feature-icon {
    width: 54px;
    height: 54px;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.5;
}

.learning-outcomes {
    padding: 3.5rem;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.learning-outcomes h3 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.learning-outcomes h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.learning-outcomes ul {
    list-style: none;
}

.learning-outcomes li {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.check-mark {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 2px;
}

/* Target Audience - Parallax Redesign */
.target-audience-parallax {
    position: relative;
    padding: 6rem 0 10rem;
    /* Reduced top padding to fix 'faixa preta' */
    background-image:
        linear-gradient(var(--bg-dark), rgba(2, 12, 27, 0.7)),
        url('images/parallax.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
}

.audience-parallax-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.audience-glass-card {
    padding: 4rem;
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.audience-glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(100, 255, 218, 0.3);
}

.audience-glass-card.not-for {
    border-top: none;
    /* Resetting previous style */
    border: 1px solid rgba(255, 77, 77, 0.1);
}

.audience-glass-card.not-for:hover {
    border-color: rgba(255, 77, 77, 0.3);
}

.audience-glass-card h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.audience-list {
    list-style: none;
}

.audience-list li {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    align-items: flex-start;
}

.bullet-icon {
    flex-shrink: 0;
    font-weight: 700;
}

.is-for .bullet-icon {
    color: var(--secondary);
}

.is-not-for .bullet-icon {
    color: #ff4d4d;
}

.audience-list span:last-child {
    flex: 1;
}

/* Testimonials */
.testimonials {
    padding: 10rem 0;
    /* Forced vertical spacing */
    background: #0d1e3a;
    /* Different shade of blue-dark */
    background-image:
        radial-gradient(rgba(100, 255, 218, 0.05) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (max-width: 1024px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testimonial-card {
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.3rem;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
}

.user-info {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    font-size: 1rem;
    font-style: normal;
}

/* Bonus */
.bonus-section {
    padding: var(--section-padding);
    background-color: var(--primary);
}

.bonus-box {
    padding: 4rem;
    border: 2px dashed rgba(100, 255, 218, 0.2);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.ebook-cover-mock {
    aspect-ratio: 3/4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ebook-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.2);
}

/* Pricing */
.price-guarantee-mini {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.price-guarantee-mini i {
    font-size: 2.5rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.price-guarantee-mini p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-main);
    margin: 0;
}

.price-guarantee-mini strong {
    color: var(--secondary);
    display: block;
    margin-bottom: 0.2rem;
}

/* Pricing */
.pricing {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.price-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem;
    text-align: center;
    border: 2px solid var(--secondary);
    /* Stronger border as 'before' */
    position: relative;
    background: rgba(17, 34, 64, 0.5);
}

.price-items {
    text-align: left;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.price-item span:last-child {
    color: var(--secondary);
    font-weight: 700;
}

.main-price-val {
    font-size: 5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin: 1rem 0;
}

/* FAQ */
.faq {
    padding: var(--section-padding);
    background-color: var(--primary-light);
}

.faq-accordion {
    max-width: 800px;
    margin: 4rem auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item summary {
    padding: 1.5rem 0;
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(225deg);
}

.faq-item summary:hover {
    color: var(--text-main);
}

.faq-item p {
    padding: 0 0 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(100, 255, 218, 0.2);
    z-index: 1000;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.sticky-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.sticky-text h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin: 0;
}

.sticky-text p {
    font-size: 0.9rem;
    margin: 0.2rem 0 0;
    color: var(--text-muted);
}

/* Footer Simple */
.footer-simple {
    padding: 3rem 0 8rem;
    /* Extra bottom padding for sticky bar */
    background-color: var(--bg-dark);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-simple p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    :root {
        --section-padding: 4rem 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 5rem 0 4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-benefits {
        display: inline-block;
        text-align: left;
        margin: 0 auto 2.5rem;
    }

    .hero-visual {
        max-width: 350px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .pain-grid,
    .profiles-preview,
    .product-grid,
    .audience-grid,
    .testimonial-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .turn-container {
        padding: 2.5rem 1.5rem;
    }

    .bonus-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2.5rem 1.5rem;
        gap: 2rem;
    }

    .ebook-cover-mock {
        max-width: 200px;
        margin: 0 auto;
    }

    .guarantee-box {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .price-card {
        padding: 3rem 1.5rem;
    }

    .main-price-val {
        font-size: 3rem;
    }

    .sticky-cta-content {
        gap: 1rem;
    }

    .sticky-text {
        display: none;
    }

    .footer-simple {
        padding: 3rem 1.5rem 10rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .pain-card,
    .testimonial-card,
    .faq-item {
        padding: 1.5rem;
    }

    .badge-top {
        font-size: 0.8rem;
    }
}