@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors - Educational Premium (Teal & Orange) */
    --primary: #0d9488;
    --primary-light: #2dd4bf;
    --primary-dark: #134e4a;
    --secondary: #0ea5e9;
    --cta: #ea580c;
    --cta-hover: #c2410c;
    --bg-main: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.8);
    --text-main: #134e4a;
    --text-muted: #475569;
    --white: #ffffff;

    /* Gradientes */
    --grad-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

h3,
h4 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

/* Glassmorphism utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .glass {
        /* Removing backdrop-filter on mobile for maximum performance */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.95);
        /* More opaque for readability without blur */
    }
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-lg) 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--cta);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(234, 88, 12, 0.39);
    /* Attention grabbing pulse animation */
    animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 14px 0 rgba(234, 88, 12, 0.39);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px 0 rgba(234, 88, 12, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 14px 0 rgba(234, 88, 12, 0.39);
    }
}

.btn-primary:hover {
    background-color: var(--cta-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.23);
    animation: none;
    /* Pause pulse on hover for better control */
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-success {
    background-color: #22c55e; /* Emerald 500 */
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(34, 197, 94, 0.39);
    animation: pulse-glow-green 3s infinite ease-in-out;
}

@keyframes pulse-glow-green {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 14px 0 rgba(34, 197, 94, 0.39);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px 0 rgba(34, 197, 94, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 14px 0 rgba(34, 197, 94, 0.39);
    }
}

.btn-success:hover {
    background-color: #16a34a; /* Emerald 600 */
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.23);
    animation: none;
}

.btn-success:active {
    transform: translateY(0) scale(0.98);
}

/* Animation Base */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    /* Reduced movement for smoother feel on mobile */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    /* Targeted properties + shorter duration */
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .reveal {
        transition-duration: 0.4s;
        /* Even faster on mobile */
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
    }

    .btn {
        width: 100%;
        padding: 1.25rem;
    }
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.05) 0%, rgba(255, 255, 255, 0) 90%);
}

.grid-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-visual {
    max-width: 600px;
    width: 100%;
}

.hero-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.small-info {
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.2;
    max-width: 22ch;
    margin: 0 auto var(--space-sm) auto;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: block;
    /* Smooth floating animation */
    animation: floating 6s ease-in-out infinite;
}

.visual-wrapper {
    padding: var(--space-sm);
    position: relative;
}

@keyframes floating {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.benefit-card {
    padding: var(--space-md);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--radius-lg);
    background: white;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card .icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

/* Offer Section */
.offer-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .offer-box {
        padding: 0;
    }
}

.offer-list {
    list-style: none;
    margin: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    text-align: left;
    display: inline-block;
}

.offer-list li {
    font-size: 1.125rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: 0.5rem;
}

.offer-list li .check {
    color: var(--primary);
    font-weight: bold;
}

.price-tag {
    margin: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.old-price {
    text-decoration: line-through;
    color: #ef4444;
    /* Vibrant Red */
    font-size: 1.25rem;
    font-weight: 600;
}

.main-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    color: var(--primary);
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
}

.value {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    font-family: 'Fredoka', sans-serif;
}

.trust-icons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Plans Section */
.plans-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.plan-card {
    background: white;
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 420px;
    text-align: center;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem auto;
    flex-grow: 1;
    max-width: 100%;
    padding: 0;
}

.plan-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    color: var(--primary-dark);
}

.plan-price {
    margin: var(--space-md) 0;
}

.plan-price .old-price {
    display: block;
    font-size: 1rem;
    margin-bottom: 0px;
}

.plan-price .main-price {
    justify-content: center;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
    padding-left: 0;
}

.plan-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.3;
}

.plan-features li .check {
    color: var(--primary);
    font-weight: bold;
}

@media (max-width: 968px) {
    .plan-card.featured {
        transform: none;
        margin: var(--space-md) 0;
    }
}

/* Social Proof Notifications (Toasts) */
#notification-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(-120%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 320px;
}

#notification-toast.show {
    transform: translateX(0);
}

.toast-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-content {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-dark);
}

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

@media (max-width: 768px) {
    #notification-toast {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
}

/* Bonus Section */
.bonus {
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.bonus-card {
    padding: var(--space-md);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--radius-lg);
}

.bonus-card:hover {
    transform: translateY(-12px);
}

.bonus-badge {
    position: absolute;
    top: -12px;
    background: var(--cta);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
}

.bonus-img {
    width: 100%;
    margin-bottom: var(--space-sm);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-img img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.bonus-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--space-xs);
    font-size: 1.25rem;
}

.bonus-pricing {
    margin-top: 1rem;
    font-size: 1rem;
}

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

.free-today {
    color: var(--cta);
    font-weight: 700;
}

/* Scientific Foundation Section */
.grid-foundation {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: center;
}

.foundation-image img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.foundation-content h2 {
    text-align: left;
    margin-bottom: var(--space-xs);
}

.foundation-content .lead {
    text-align: left;
    margin-bottom: var(--space-lg);
    color: var(--text-muted);
}

.foundation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.foundation-item {
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.foundation-item:hover {
    transform: translateY(-5px);
}

.foundation-item .icon {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
}

.foundation-item h4 {
    color: var(--primary-dark);
    margin-bottom: var(--space-xs);
}

.foundation-item p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

@media (max-width: 968px) {
    .grid-foundation {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .foundation-content h2,
    .foundation-content .lead {
        text-align: center;
    }

    .foundation-image {
        order: -1;
    }
}

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

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.social-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 1.25rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.social-card:hover {
    transform: translateY(-5px);
}

.social-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
}

.social-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
    display: block;
}

.social-meta {
    display: flex;
    flex-direction: column;
}

.social-name {
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.verified-badge {
    color: #3897f0;
    font-size: 0.85rem;
}

.social-context {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.social-more {
    position: absolute;
    right: 0;
    top: 5px;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
}

.social-body {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.social-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: var(--space-sm);
    margin-top: auto;
}

.social-actions {
    display: flex;
    gap: var(--space-md);
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
    cursor: pointer;
}

.social-likes {
    font-size: 0.85rem;
    color: var(--text-dark);
}

/* Guarantee Section */
.guarantee {
    background: white;
}

.grid-guarantee {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.guarantee-img img {
    width: 200px;
    height: auto;
}

.guarantee-text h2 {
    color: var(--primary-dark);
    margin-bottom: var(--space-sm);
}

@media (max-width: 968px) {
    .grid-hero {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-cta {
        order: 3;
    }

    .grid-guarantee {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .guarantee-img img {
        margin: 0 auto;
    }
}

/* FAQ Accordion */
.max-md {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion {
    margin-top: var(--space-md);
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    margin-bottom: var(--space-xs);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(13, 148, 136, 0.05);
}

.faq-question .arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    background: rgba(13, 148, 136, 0.05);
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 var(--space-md);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 var(--space-md) var(--space-md) var(--space-md);
}

.faq-answer p {
    color: var(--text-muted);
}

.carousel-header {
    text-align: center;
    margin-bottom: var(--space-md);
}

.carousel-header h3 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: var(--space-xs);
}

.carousel-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: scale(0.95);
    background: white;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 var(--space-sm);
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--primary);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: var(--space-sm);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-container {
        aspect-ratio: 1;
    }

    .carousel-prev,
    .carousel-next {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Countdown Timer Bar */
.timer-bar {
    position: sticky;
    top: 0;
    z-index: 2000;
    background-color: var(--cta);
    color: var(--white);
    padding: 0.75rem 0;
    text-align: center;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.timer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.timer-numbers {
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .timer-content {
        font-size: 0.9rem;
        gap: 8px;
    }
}

/* Exit Intent Modal */
#exit-intent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

#exit-intent-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    max-width: 500px;
    width: 90%;
    padding: 3rem;
    border-radius: 2rem;
    text-align: center;
    position: relative;
    border: 3px solid var(--cta);
    box-shadow: 0 25px 50px -12px rgba(234, 88, 12, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#exit-intent-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--cta);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}
/* Main Footer Styles */
.final-cta {
    background: radial-gradient(circle at center, rgba(13, 148, 136, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    padding-bottom: var(--space-lg);
}

.social-proof-kids {
    padding-bottom: var(--space-lg);
}

.social-img-wrapper {
    margin-top: var(--space-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.social-proof-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

footer {
    padding: 4rem 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    background: white;
    border-top: 1px solid #E2E8F0;
}

footer p {
    margin-bottom: 0.5rem;
}


/* ─── APP PREVIEW SECTION ────────────────────────────────── */
.app-preview {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    overflow: hidden;
    padding: var(--space-xl) 0;
}

.app-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.app-badge {
    background: var(--cta);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.app-text h2 {
    text-align: left;
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.app-text h2 span {
    color: var(--primary);
}

.app-features {
    list-style: none;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.app-features li {
    font-size: 1.1rem;
    display: grid;
    grid-template-columns: 24px 28px 1fr;
    gap: 8px;
    align-items: flex-start;
    text-align: left;
    line-height: 1.3;
}

.feat-emoji {
    display: flex;
    justify-content: center;
    font-size: 1.2rem;
}

.feat-content {
    color: var(--text-dark);
}

.app-features li::before {
    content: "✔️";
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    padding-top: 2px;
}

.app-hint {
    background: rgba(13, 148, 136, 0.1);
    padding: 1rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    font-weight: 700;
    color: var(--primary-dark);
}

.app-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.app-mockup img {
    max-width: 110%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.15));
    border-radius: 32px;
}

@media (max-width: 968px) {
    .app-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
    .app-text h2 {
        text-align: center;
        font-size: 2.2rem;
    }
    .app-features {
        align-items: center;
        text-align: left;
    }
    .app-mockup {
        flex-direction: column;
        gap: 2rem;
    }
    .app-mockup img {
        max-width: 100%;
    }
    .hide-mobile {
        display: none !important;
    }
    .show-mobile {
        display: block !important;
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}

/* ─── PRICING UPDATES ───────────────────────────────────── */
.plan-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 1rem;
}

.pre-sale-tag {
    background: #fef3c7;
    color: #92400e;
    font-size: 0.8rem;
    font-weight: 900;
    padding: 0.5rem;
    border-radius: 8px;
    margin: 0.5rem 0;
    border: 1px dashed #f59e0b;
}

.plan-features li.off {
    opacity: 0.4;
    text-decoration: line-through;
}

.btn-success.lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.pulse {
    animation: cta-pulse 2s infinite;
}

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

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cta);
    color: white;
    padding: 0.6rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
    z-index: 10;
    white-space: nowrap;
}

/* ─── CONDITIONAL VISIBILITY ────────────────────────────── */
.show-mobile {
    display: none;
}

@media (max-width: 968px) {
    .hide-mobile {
        display: none !important;
    }
    .show-mobile {
        display: block !important;
        margin-top: 2rem;
        width: 100%;
        text-align: center;
    }
}
