/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
    /* Colors */
    --color-bg-main: #0A0F1E;
    --color-bg-secondary: #131A2B;
    --color-bg-card: #1C2438;
    
    --color-accent-primary: #10B981;
    --color-accent-hover: #059669;
    --color-accent-gold: #0284C7;
    
    --color-text-main: #F8FAFC;
    --color-text-muted: #94A3B8;
    --color-border: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-main: 'Outfit', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
section, header {
    scroll-margin-top: 80px;
}
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 15, 30, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover span:nth-child(1) { transform: translateY(-2px); }
.hamburger-menu:hover span:nth-child(3) { transform: translateY(2px); }
.hamburger-menu:active span { background-color: var(--color-accent-primary); }

.hamburger-menu.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--color-bg-card);
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: right 0.4s ease;
    z-index: 999;
}

.nav-links.active {
    right: 0;
}

.nav-links a {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-accent-primary);
}

@media (max-width: 768px) {
    .main-nav { padding: 1rem; }
    .nav-title { font-size: 0.85rem; max-width: 200px; }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.mt-large {
    margin-top: var(--spacing-lg);
}

.highlight {
    color: var(--color-accent-gold);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

/* ==========================================================================
   BUTTONS (CTAs)
   ========================================================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent-primary);
    color: #FFF;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    transition: all var(--transition-normal);
    text-align: center;
    font-size: 1.1rem;
    border: 2px solid transparent;
    animation: pulse-button 2s infinite ease-in-out;
}

.cta-button:hover {
    background-color: var(--color-accent-hover);
    animation-play-state: paused;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

.cta-button:active {
    transform: translateY(1px);
}

.secondary-cta {
    background-color: transparent;
    border: 2px solid var(--color-accent-gold);
    color: var(--color-accent-gold);
    box-shadow: none;
}

.secondary-cta:hover {
    background-color: var(--color-accent-gold);
    color: var(--color-bg-main);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.2);
}

.massive-cta {
    font-size: 1.25rem;
    padding: 1.5rem 3rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 107, 0, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.badge-urgency {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(2, 132, 199, 0.1);
    color: var(--color-accent-gold);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(2, 132, 199, 0.2);
}

.hero-top-centered {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-top-centered h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2.5rem;
}

.video-container-wrapper {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    background-color: var(--color-bg-card);
    border: 2px dashed rgba(2, 132, 199, 0.5);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-muted);
}

.video-placeholder svg {
    color: var(--color-accent-gold);
    transition: transform var(--transition-fast);
}

.video-container-wrapper:hover .video-placeholder svg {
    transform: scale(1.1);
}

.hero-text .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.secure-checkout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-left: 1rem;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: #00E5FF;
    filter: blur(100px);
    opacity: 0.25;
    z-index: -1;
    border-radius: 50%;
    animation: float-glow 6s ease-in-out infinite;
}

@keyframes float-glow {
    0% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 15px)); }
    100% { transform: translate(-50%, -50%); }
}

.book-mockup {
    max-width: 350px;
    width: 100%;
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@media (min-width: 992px) {
    .hero-content {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

/* ==========================================================================
   PARA QUIÉN ES SECTION
   ========================================================================== */
.for-who {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-card {
    background-color: var(--color-bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 132, 199, 0.3);
}

.custom-check-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
    filter: drop-shadow(0 5px 8px rgba(0,0,0,0.4));
    transition: transform var(--transition-fast);
}

.benefit-card:hover .custom-check-icon {
    transform: scale(1.2) rotate(5deg);
}

.benefit-card p {
    font-size: 1.1rem;
    font-weight: 500;
}

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

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   QUÉ ENCONTRARÁS SECTION
   ========================================================================== */
.what-inside {
    padding: var(--spacing-xl) 0;
}

.chapters-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.chapter-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid #22c55e;
    transition: all var(--transition-fast);
}

.chapter-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.chapter-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #22c55e;
    line-height: 1;
    min-width: 40px;
}

.chapter-item p {
    font-size: 1.1rem;
}

.chapter-item strong {
    color: var(--color-text-main);
}

@media (min-width: 768px) {
    .chapters-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   DEVICES SECTION
   ========================================================================== */
.devices-section {
    padding: var(--spacing-lg) 0;
    /* Use the same background as the main page */
}

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

.devices-text p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    text-align: center;
}

.devices-text .section-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.device-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.device-tag {
    background-color: var(--color-bg-card);
    border: 1px solid rgba(2, 132, 199, 0.3);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.device-tag:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent-gold);
    background-color: rgba(2, 132, 199, 0.1);
}

.devices-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.devices-mockup {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .devices-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .devices-text p, .devices-text .section-title {
        text-align: left;
    }
    
    .device-icons {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   TESTIMONIOS SECTION
   ========================================================================== */
.testimonials {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg-secondary);
}

.reviews-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem 2rem;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .reviews-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

.review-card-new {
    position: relative;
    background-color: #151515;
    border-radius: 12px 80px 12px 12px;
    padding: 2.5rem 2rem 2rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    margin-top: 2rem;
}

.review-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.quotes {
    position: absolute;
    font-family: Georgia, serif;
    font-size: 8rem;
    color: #fff;
    line-height: 1;
    z-index: -1;
    animation: pulse-quote 2s infinite alternate;
}

.quote-top {
    top: -50px;
    left: -20px;
}

.quote-bottom {
    bottom: -70px;
    right: -20px;
    transform: rotate(180deg);
    animation: pulse-quote-bottom 2s infinite alternate;
}

@keyframes pulse-quote {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 1; }
}

@keyframes pulse-quote-bottom {
    0% { transform: rotate(180deg) scale(1); opacity: 0.8; }
    100% { transform: rotate(180deg) scale(1.15); opacity: 1; }
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.review-info h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.review-info p {
    font-size: 0.95rem;
    color: #bbb;
}

.review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #fff;
    position: absolute;
    top: -30px;
    right: 20px;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.review-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    transform: scale(1.05); /* Scales the image slightly to hide any transparent borders inside the image itself */
}

.avatar-placeholder {
    font-size: 1.5rem;
}

.review-text-new {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #f1f1f1;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-pill {
    background-color: #fff;
    color: #000;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.flag-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    border: 2px solid #fff;
}

.flag-circle .fi {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: block;
}

.instagram-proof {
    margin-top: var(--spacing-lg);
    background-color: var(--color-bg-card);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.instagram-proof-image {
    width: 100%;
    max-width: 250px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4));
    transition: transform var(--transition-slow);
}

.instagram-proof-image:hover {
    transform: translateY(-10px);
}

.ig-mockup {
    width: 100%;
    height: auto;
}

.instagram-proof-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.instagram-proof-text p {
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    max-width: 400px;
}

.ig-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 1.1rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
}

.ig-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(225, 48, 108, 0.5);
    opacity: 1;
}

@media (min-width: 768px) {
    .instagram-proof {
        flex-direction: row;
        justify-content: center;
        text-align: left;
        max-width: 800px;
        margin: var(--spacing-lg) auto 0;
    }
    
    .instagram-proof-text {
        align-items: flex-start;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .review-card {
        width: calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .review-card {
        width: calc(33.333% - 1rem);
    }
}

/* ==========================================================================
   SOBRE EL AUTOR SECTION
   ========================================================================== */
.about-author {
    padding: var(--spacing-xl) 0;
}

.author-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--color-bg-card);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.author-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.author-ring {
    position: absolute;
    inset: -10px;
    border: 2px dashed var(--color-accent-gold);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.author-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--color-bg-card);
    position: relative;
    z-index: 2;
}

.verified-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 48px;
    height: auto;
    z-index: 3;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

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

.author-subtitle {
    color: var(--color-accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.author-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.author-text p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .author-wrapper {
        grid-template-columns: auto 1fr;
        padding: 4rem;
        gap: 4rem;
    }
    
    .author-image-container {
        width: 250px;
        height: 250px;
    }
}

/* ==========================================================================
   PRECIO Y OFERTA SECTION
   ========================================================================== */
.offer {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
}

.offer-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1C2438, #131A2B);
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(16, 185, 129, 0.3);
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.offer-badge-floating {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-accent-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.875rem;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.offer-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.trust-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.trust-text strong {
    color: var(--color-text-main);
}

.pricing-card {
    margin-bottom: 2.5rem;
}

.price-old {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.price-old span {
    text-decoration: line-through;
    color: #f97316;
}

.price-current {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: #F5C842;
    line-height: 1;
}

.currency {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.amount {
    font-size: 6rem;
    font-weight: 800;
}

.currency-code {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 3.5rem;
    margin-left: 0.5rem;
}

.guarantee-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.guarantee-box svg {
    color: #10B981; /* Green check */
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
    background-color: var(--color-bg-main);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social:hover {
    color: var(--color-accent-gold);
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse-button {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   CAROUSEL
   ========================================================================== */
.readers-carousel-section {
    margin-top: 5rem;
    text-align: center;
    width: 100%;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    /* This creates the blur/fade effect at the edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    padding: 1rem 0;
    cursor: grab;
}

.carousel-wrapper:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
}

.carousel-item {
    width: 250px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    background-color: #111;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    /* Prevent image dragging natively */
    user-select: none;
    -webkit-user-drag: none;
}

.carousel-img-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.carousel-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.carousel-info {
    padding: 1rem 0.5rem;
    text-align: center;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-info h4 {
    color: #fff;
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.carousel-info p {
    color: var(--color-accent-gold);
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
}

.carousel-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: #777;
    font-weight: 600;
    font-size: 1.1rem;
    pointer-events: none;
}

.carousel-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

/* ==========================================================================
   PROTECTION SECTION
   ========================================================================== */
.protection-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg-secondary);
}

.highlight-messy {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.highlight-messy::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: -5px;
    width: 105%;
    height: 14px;
    background-color: #22c55e; /* verde vibrante */
    opacity: 0.6;
    z-index: -1;
    border-radius: 3px;
    transform: skew(-20deg) rotate(-2deg);
}

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

.protection-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform var(--transition-normal);
}

.protection-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 197, 94, 0.4);
}

.protection-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.protection-icon svg {
    filter: drop-shadow(0 4px 6px rgba(34, 197, 94, 0.3));
}

.protection-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

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

.text-green {
    color: #22c55e;
}

.fw-bold {
    font-weight: 800;
}

@media (min-width: 768px) {
    .protection-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   AUTHOR BUTTON OVERRIDE
   ========================================================================== */
.author-cta {
    background-color: #0284C7 !important; /* Celeste */
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.4) !important;
}

.author-cta:hover {
    background-color: #0369a1 !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   FLOATING COUNTDOWN
   ========================================================================== */
.floating-countdown {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0284C7, #22c55e); /* Celeste a verde */
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-countdown.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 20px);
}

.countdown-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.countdown-link {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}

.countdown-link:hover {
    opacity: 0.9;
}

#timer {
    font-variant-numeric: tabular-nums;
}

.close-countdown {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s;
}

.close-countdown:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Mobile optimizations for floating countdown */
@media (max-width: 480px) {
    .floating-countdown {
        bottom: 10px;
        padding: 0.5rem 1rem;
        width: calc(100% - 20px);
        border-radius: 30px;
    }
    
    .countdown-content {
        gap: 0.5rem;
    }
    
    .countdown-link {
        font-size: 0.8rem;
        flex-direction: column;
        justify-content: center;
        gap: 0.1rem;
        width: 100%;
    }
    
    #timer {
        white-space: nowrap;
        font-size: 1rem; /* keep numbers slightly readable */
    }
}
