:root {
    --primary: #00008B;
    /* Dark Blue from system */
    --secondary: #daa520;
    /* Gold Accent from system */
    --accent: #f8f0e3;
    /* Parchment from system */
    --dark: #0f172a;
    --light: #f8f9fa;
    --white: #ffffff;
    --text-color: #2c3e50;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== MICRO-INTERAÇÕES E ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */

/* Base reveal - fade up */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Reveal from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal with zoom */
.reveal-zoom {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

/* Reveal with blur */
.reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger delay classes */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* Accessibility - respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-zoom,
    .reveal-blur {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, var(--primary), #1a1a8e);
    color: white;
    text-align: center;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1001;
}

.top-bar p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.top-bar-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.top-bar-whatsapp:hover {
    background: #1fba59;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.top-bar-whatsapp:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.top-bar-whatsapp svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: 0 0 auto;
}

@media (max-width: 600px) {
    .top-bar {
        padding: 8px 12px;
        font-size: 0.78rem;
        letter-spacing: 0.4px;
    }

    .top-bar p {
        flex-wrap: wrap;
        gap: 7px 10px;
    }

    .top-bar-whatsapp {
        padding: 6px 12px;
        font-size: 0.76rem;
    }
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 46px;
    width: auto;
    max-width: 100%;
}

.logo h1 {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.3rem;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-links a {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary);
    background: rgba(218, 165, 32, 0.1);
}

.nav-links a.active {
    background: var(--primary);
    color: white;
}

/* Hide hamburger menu on desktop */
.mobile-menu-btn {
    display: none;
}

.btn-login {
    background: var(--secondary);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-login:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Responsive Header Updates */
@media (max-width: 1024px) {
    .main-header {
        padding: 8px 0;
    }

    .main-header .container {
        gap: 15px;
    }

    .logo img {
        height: 40px;
    }

    /* Hamburger Menu Button */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1002;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--primary);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Mobile Navigation */
    #mainNav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 1001;
        padding-top: 80px;
    }

    #mainNav.active {
        left: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    .nav-links li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        border-radius: 0;
        color: var(--dark);
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        background: var(--primary);
        color: white;
    }
}

/* Hero Section */
/* Precision Hero System */
.precision-hero {
    padding: 120px 0 100px;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.tech-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at top center, black 40%, transparent 80%);
    z-index: 0;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1 1 500px;
    max-width: 100%;
}

@media (min-width: 1025px) {
    .hero-text {
        flex: 1 1 50%;
        max-width: 55%;
    }
}

/* Badge Pill */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease forwards;
}

.badge-pill .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Typography */
.hero-text h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-text h1 .text-highlight {
    background: linear-gradient(120deg, var(--secondary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-text p {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

/* Actions */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.btn-cta.primary-cta {
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
}

.btn-cta.primary-cta:hover {
    transform: translateY(-4px);
    background: #1e293b;
}

.btn-cta.secondary-cta {
    background: white;
    color: #0f172a;
    padding: 16px 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.btn-cta.secondary-cta:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.trust-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 4px;
}

.trust-indicators .separator {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}

/* Visual Mockup & Floating Cards */
.hero-visual {
    flex: 1 1 400px;
    max-width: 100%;
    position: relative;
    perspective: 1000px;
    margin: 0 auto;
}

@media (min-width: 1025px) {
    .hero-visual {
        flex: 1 1 40%;
        max-width: 45%;
    }
}

.main-image-wrapper {
    position: relative;
    z-index: 5;
    transform-style: preserve-3d;
    animation: heroFloat 6s ease-in-out infinite;
}

.app-mockup {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    /* Thin border */
    display: block;
    margin: 0 auto;
}

/* Floating Card Base */
.floating-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    max-width: 220px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    animation: floatCard 5s ease-in-out infinite;
}

.card-stats {
    top: 15%;
    left: -40px;
    animation-delay: 1s;
}

.card-chart {
    bottom: 20%;
    right: -20px;
    animation-delay: 2s;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: #dbeafe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-text span {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
}

.card-text strong {
    color: #0f172a;
    font-size: 1rem;
}

/* Chart Bars Animation */
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 30px;
}

.chart-bars .bar {
    width: 6px;
    background: #e2e8f0;
    border-radius: 2px;
}

.chart-bars .bar:last-child {
    background: #22c55e;
}

/* Glow Effect Backlight */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

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

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 60px;
    }

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

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .trust-indicators {
        justify-content: center;
    }

    .badge-pill {
        margin: 0 auto 20px;
    }

    .floating-card {
        display: none;
    }

    /* Hide floating cards on mobile to avoid clutter */

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


/* Carousel Section */
.app-showcase {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: #64748b;
    font-size: 1.1rem;
}

.swiper {
    width: 100%;
    padding-bottom: 60px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.swiper-slide {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: auto;
    /* Focus Effect: Default state (non-active slides) */
    opacity: 0.5;
    transform: scale(0.85);
    filter: blur(2px);
}

/* Active Slide - Full Focus */
.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    box-shadow: 0 25px 50px rgba(0, 0, 139, 0.15);
    z-index: 2;
}

/* Adjacent Slides - Partially visible */
.swiper-slide-prev,
.swiper-slide-next {
    opacity: 0.7;
    transform: scale(0.9);
    filter: blur(1px);
}

/* Hover Animation - Only works on active slide */
.swiper-slide-active:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 139, 0.2);
}

.swiper-slide img {
    width: 100%;
    height: 220px;
    /* Fixed height for consistency */
    object-fit: contain;
    /* Contain to show full UI */
    background: #f8fafc;
    /* Slightly darker background */
    padding: 20px;
    /* Padding inside image area */
    transition: transform 0.5s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.swiper-slide:hover img {
    transform: scale(1.05);
}

.slide-content {
    padding: 30px 25px;
    text-align: center;
}

.slide-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.35rem;
    font-weight: 800;
}

.slide-content p {
    color: #475569;
    font-size: 0.95rem;
    text-align: center;
    /* Center align looks cleaner for short descriptions */
    line-height: 1.6;
    font-weight: 500;
    text-align: justify;
}

/* Pagination */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--secondary);
    width: 30px;
    /* Pill shape */
    border-radius: 5px;
}

/* Custom Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    width: 50px;
    height: 50px;
    background: var(--primary);
    /* Accent color background */
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 139, 0.2);
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid white;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--secondary);
    transform: scale(1.15);
    box-shadow: 0 15px 25px rgba(218, 165, 32, 0.3);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: 800;
}

/* Specific positioning to avoid overlap */
.swiper-button-prev {
    left: 0px;
}

.swiper-button-next {
    right: 0px;
}

/* Bento Grid System */
.bento-features {
    padding: 100px 0;
    background: #f8fafc;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 24px;
    margin-top: 50px;
}

.bento-card {
    background: white;
    border-radius: 24px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    border-color: rgba(218, 165, 32, 0.3);
}

.bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bento-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.bento-card:hover .bento-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

.bento-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.bento-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
    text-align: justify;
}

/* Grid Areas */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
}

.bento-large h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.bento-large p {
    font-size: 1.1rem;
    max-width: 80%;
}

.bento-tall {
    grid-column: span 1;
    grid-row: span 2;
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 139, 0.15);
}

.bento-tall h3 {
    color: white;
}

.bento-tall p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.bento-tall .bento-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--secondary);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-tall:hover .bento-icon {
    background: white;
    color: var(--primary);
}

.bento-wide {
    grid-column: span 1;
    grid-row: span 1;
}

/* Featured Tag */
.bento-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #dbeafe;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    margin-top: auto;
    width: fit-content;
}

/* Banco de Questões Card */
.bento-questoes {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
    border-color: rgba(34, 197, 94, 0.2);
}

.bento-questoes:hover {
    border-color: rgba(34, 197, 94, 0.4);
}

.bento-questoes .bento-icon {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
}

.bento-questoes:hover .bento-icon {
    background: #15803d;
    color: white;
}

.questoes-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0;
}

.q-chip {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 14px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.q-chip-concursos  { background: #2563eb; }
.q-chip-medicina   { background: #0a7d4d; }
.q-chip-vestibular { background: #7c3aed; }
.q-chip-militar    { background: #4b5563; }
.q-chip-jogos      { background: #db2777; }

/* Responsive Grid */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-large {
        grid-column: span 2;
    }

    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
        height: 350px;
    }
}

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

    .bento-large,
    .bento-tall,
    .bento-wide {
        grid-column: span 1;
        grid-row: auto;
        height: auto;
        min-height: 280px;
    }

    .bento-large h3 {
        font-size: 1.5rem;
    }
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background: white;
}

.pricing-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.card-plano {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    width: 320px;
    text-align: center;
    transition: 0.3s;
}

.card-plano:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-plano.destaque {
    border: 2px solid var(--secondary);
    background: linear-gradient(to bottom right, #eff6ff, white);
    position: relative;
}

.card-plano h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card-plano .preco {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 20px 0;
}

.card-plano .preco .currency {
    font-size: 1.2rem;
    vertical-align: super;
}

.card-plano .preco .periodo {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 400;
    display: block;
    margin-top: 5px;
}

.card-plano .beneficios {
    margin-bottom: 30px;
    text-align: left;
}

.card-plano .beneficios li {
    margin-bottom: 12px;
    color: #475569;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
}

.card-plano .beneficios li::before {
    content: '✓';
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.card-plano .btn-plano {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    border: 2px solid var(--primary);
    color: var(--primary);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1e1e90 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(218, 165, 32, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(218, 165, 32, 0.1) 0%, transparent 20%);
    pointer-events: none;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary);
    font-size: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.stat-item h3 span {
    color: white;
}

.stat-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.card-plano.destaque .btn-plano {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.card-plano.destaque .btn-plano:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Footer */
.main-footer {
    background: var(--primary);
    color: #cbd5e1;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
}

.footer-brand h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo img {
    height: 170px;
    filter: brightness(0) invert(1);
}

.footer-contact {
    text-align: right;
}

.footer-contact h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-contact a {
    color: #cbd5e1;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--secondary);
}

.newsletter-form {
    margin-top: 20px;
    margin-left: 77px;
}

.newsletter-label {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 10px !important;
}

.newsletter-form form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    padding: 12px 15px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 0.9rem;
    width: 270px;
    outline: none;
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #c49418;
}

.newsletter-feedback {
    margin-top: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    animation: slideDown 0.3s ease;
    transition: all 0.3s ease;
}

.newsletter-feedback.success {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.newsletter-feedback.error {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bottom-footer {
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover svg {
    transform: rotate(15deg);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }

    100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ===== TESTIMONIALS SECTION - PREMIUM GLASSMORPHISM ===== */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #000050 0%, var(--primary) 50%, #000050 100%);
    position: relative;
    overflow: hidden;
}

/* Animated background orbs */
.testimonials::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 0, 139, 0.5) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.testimonials::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.25) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.testimonials .section-title h2 {
    color: white;
}

.testimonials .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* Glass Card Effect */
.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-align: center;
    width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Decorative quote background */
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 120px;
    font-family: 'Georgia', serif;
    color: rgba(218, 165, 32, 0.1);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(218, 165, 32, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.testimonial-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Rainbow gradient border effect on image */
.testimonial-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .testimonial-image-wrapper::before {
    opacity: 1;
}

.testimonial-thumb {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, filter 0.3s ease;
    border-radius: 14px;
}

.testimonial-card:hover .testimonial-thumb {
    transform: scale(1.08);
    filter: brightness(0.85);
}

.testimonial-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 139, 0.7) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover .testimonial-overlay {
    opacity: 1;
}

.zoom-icon {
    color: white;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.9rem;
}

.testimonial-card:hover .zoom-icon {
    transform: translateY(0);
}

.testimonial-meta {
    padding-top: 5px;
}

.testimonial-meta h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
}

.verified-badge {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.verified-badge::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.stars {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.5);
}

.click-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    display: block;
    transition: color 0.3s ease;
}

.testimonial-card:hover .click-hint {
    color: var(--secondary);
}

/* Testimonial Lightbox */
.testimonial-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.testimonial-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
    animation: testimonial-zoom 0.3s ease;
}

@keyframes testimonial-zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.testimonial-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.testimonial-lightbox-content p {
    color: white;
    font-size: 1.3rem;
    margin-top: 20px;
    font-weight: 600;
}

.testimonial-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.testimonial-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

/* Video Section */
.video-showcase {
    padding: 60px 0;
    background: linear-gradient(to bottom, #f8fafc, white);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 500px;
    overflow: hidden;
    /*border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 4px solid white;*/
    max-width: 70%;
    margin: 0 auto;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 768px) {


    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .card-plano {
        width: 100%;
        max-width: 350px;
    }

    /* Footer Responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        order: 2;
    }

    .footer-logo {
        order: 1;
    }

    .footer-logo img {
        height: 100px;
    }

    .footer-contact {
        order: 3;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .newsletter-form {
        margin-left: 0;
    }

    .newsletter-form form {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .newsletter-form input {
        width: 100%;
        max-width: 300px;
        border-radius: 8px;
        text-align: center;
    }

    .newsletter-form button {
        width: 100%;
        max-width: 300px;
        border-radius: 8px;
    }

    /* ===== MOBILE OPTIMIZATIONS ===== */

    /* Reduce section spacing on mobile */
    section {
        padding: 50px 0 !important;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    /* Larger CTA buttons for touch */
    .btn-cta {
        padding: 16px 35px;
        font-size: 1rem;
        min-height: 52px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn-subscribe {
        min-height: 50px;
        font-size: 1rem;
    }

    /* Hero mobile adjustments */
    .hero {
        padding: 80px 0 60px !important;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-text h2 {
        font-size: 0.75rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-img img {
        animation: none;
        /* Disable float on mobile for performance */
    }

    /* Swiper mobile adjustments */
    .swiper {
        padding-left: 15px;
        padding-right: 15px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }

    /* Pricing cards mobile */
    .pricing-card {
        padding: 30px 25px;
        width: 100%;
    }

    .price-tag .amount {
        font-size: 2.5rem;
    }

    /* Feature box mobile */
    .feature-box {
        padding: 25px;
    }

    /* Stats section mobile */
    .stats-grid {
        flex-direction: column !important;
        gap: 25px;
    }

    /* FAQ mobile */
    .faq-question {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    /* Testimonials mobile */
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .testimonial-card {
        padding: 12px;
    }

    .testimonial-card h4 {
        font-size: 0.85rem;
    }

    /* WhatsApp button mobile */
    .whatsapp-float {
        bottom: 90px;
        /* Move up to not overlap with floating CTA */
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-tooltip {
        display: none;
        /* Hide tooltip on mobile */
    }
}

/* ===== FLOATING MOBILE CTA BAR ===== */
@media (max-width: 768px) {
    .mobile-cta-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 12px 20px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        z-index: 9997;
        display: flex;
        gap: 10px;
        justify-content: center;
    }

    .mobile-cta-bar .btn-mobile-cta {
        flex: 1;
        max-width: 300px;
        padding: 14px 20px;
        background: var(--primary);
        color: white;
        text-align: center;
        border-radius: 12px;
        font-weight: 700;
        font-size: 1rem;
        box-shadow: 0 4px 15px rgba(0, 0, 139, 0.3);
        transition: all 0.3s ease;
    }

    .mobile-cta-bar .btn-mobile-cta:active {
        transform: scale(0.98);
    }

    /* Add padding to body to account for fixed bar */
    body {
        padding-bottom: 70px;
    }
}

@media (min-width: 769px) {
    .mobile-cta-bar {
        display: none;
    }
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
    animation: lightbox-zoom 0.3s ease;
}

@keyframes lightbox-zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-title {
    color: white;
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

/* Lightbox Navigation Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10001;
}

.lightbox-prev-btn {
    left: 30px;
}

.lightbox-next-btn {
    right: 30px;
}

.lightbox-nav:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .lightbox-prev-btn {
        left: 10px;
    }

    .lightbox-next-btn {
        right: 10px;
    }
}

/* ========== NEW PRICING SECTION (Precision Performance Refactor) ========== */
.pricing-new {
    padding: 120px 0;
    background-color: #f8fafc;
    background-image:
        linear-gradient(rgba(0, 0, 139, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 139, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

/* Precision Toggle Switch */
.plan-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.toggle-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    color: #64748b;
    position: relative;
    cursor: pointer;
    transition: color 0.3s;
}

.toggle-label:hover {
    color: var(--primary);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
    /* Fully rounded pill */
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
    /* Fully round circle */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Checked State: Blue System Color */
input:checked+.slider {
    background-color: var(--primary);
}

input:check+.slider:before {
    transform: translateX(26px);
}

/* Fix focus outline */
input:focus+.slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Save Badge */
.save-badge {
    position: absolute;
    top: -25px;
    right: -20px;
    background: #ec4899;
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(236, 72, 153, 0.3);
    animation: bounce 2s infinite;
}

.save-badge::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 10px;
    border-width: 4px 4px 0;
    border-style: solid;
    border-color: #ec4899 transparent transparent transparent;
}

/* Pricing Grid Layout */
.pricing-cards-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-row {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    perspective: 1000px;
}

.pricing-row.hidden {
    display: none;
}

/* Precision Card Design */
.pricing-card {
    background: white;
    border-radius: 6px;
    padding: 0 0 40px 0;
    /* Padding bottom for button space */
    width: 380px;
    position: relative;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    border-color: #cbd5e1;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #cbd5e1;
    transition: 0.3s;
    z-index: 10;
}

.pricing-card:hover::before {
    background: var(--primary);
}

.pricing-card.featured {
    border: 1px solid var(--secondary);
    box-shadow: 0 10px 30px -5px rgba(218, 165, 32, 0.15);
    z-index: 10;
}

.pricing-card.featured::before {
    background: var(--secondary);
    height: 6px;
}

.card-badge {
    position: absolute;
    top: 16px;
    right: -4px;
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 20;
    border-radius: 2px 0 0 2px;
}

.card-badge::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    border-width: 4px 0 0 4px;
    border-style: solid;
    border-color: #b8860b transparent transparent transparent;
}

.card-header-new {
    padding: 40px 30px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #fff, #fcfcfc);
    border-bottom: 1px solid #f1f5f9;
}

.card-header-new h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 5px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.price-anchor {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: -5px;
    font-weight: 600;
    text-transform: uppercase;
}

.old-price {
    text-decoration: line-through;
    color: #ef4444;
    /* Red color for strikethrough price */
    font-weight: 700;
}

.price-tag {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
    color: var(--primary);
}

.price-tag .currency {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 8px;
}

.price-tag .amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

.price-tag .period {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    display: block;
    width: 100%;
    margin-top: 5px;
}

.features-list {
    padding: 30px;
    flex-grow: 1;
}

.features-list li {
    padding: 8px 20px;
    color: #475569;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
    border-bottom: 1px dashed #f1f5f9;
}

.features-list li:last-child {
    border-bottom: none;
}

.check-icon {
    color: #10b981;
    font-weight: 800;
    font-size: 1rem;
    padding-top: 2px;
}

.features-list li.unavailable {
    opacity: 0.5;
    text-decoration: line-through;
    color: #cbd5e1;
}

.features-list li.unavailable .check-icon {
    color: #cbd5e1;
}

.features-list li.highlight {
    background: #f0f9ff;
    margin: 5px -20px;
    padding: 10px 20px;
    border-left: 3px solid var(--primary);
    color: #0c4a6e;
    font-weight: 600;
}

.features-list li.highlight .check-icon {
    color: var(--primary);
}

/* Button */
.btn-subscribe {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 60px);
    margin: 0 30px;
    padding: 18px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    color: var(--primary);
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    text-decoration: none;
    box-shadow: none;
}

.btn-subscribe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary);
    transition: 0.3s;
    z-index: -1;
}

.btn-subscribe:hover {
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 139, 0.2);
}

.btn-subscribe:hover::before {
    width: 100%;
}

.btn-subscribe.pro {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 6px rgba(218, 165, 32, 0.3);
}

.btn-subscribe.pro::before {
    background: #b8860b;
}

.btn-subscribe.pro:hover {
    box-shadow: 0 10px 25px -5px rgba(218, 165, 32, 0.5);
    background: #b8860b;
    border-color: #b8860b;
}

.btn-subscribe.disabled {
    background: #f1f5f9;
    border-color: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-subscribe.upgrade {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.btn-subscribe.upgrade::before {
    background: #059669;
}

.btn-subscribe.upgrade:hover {
    background: #059669;
    border-color: #059669;
}

@media (max-width: 900px) {
    .pricing-row {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 400px;
    }

    .plan-toggle {
        gap: 15px;
    }

    .toggle-label {
        font-size: 1rem;
    }
}

/* Save Badge for Annual Toggle (Precision) */
.save-badge {
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Current Plan Styles (Precision) */
.pricing-card.current-plan {
    border: 2px solid #10b981;
    background: #ffffff;
}

.pricing-card.current-plan:hover {
    transform: translateY(-8px);
    border-color: #10b981;
}

.pricing-card.current-plan::before {
    background: #10b981;
}

.card-badge.current {
    background: #10b981;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.card-badge.current::after {
    border-color: #047857 transparent transparent transparent;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    transform: translateY(120%);
    /* Garante que saia da tela */
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    visibility: hidden;
    /* Evita cliques fantasmas */
}

.cookie-banner.show {
    transform: translateY(0);
    visibility: visible;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.cookie-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.cookie-text p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn.accept {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 139, 0.3);
}

.cookie-btn.accept:hover {
    background: #000080;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 139, 0.4);
}

.cookie-btn.reject {
    background: #f1f5f9;
    color: #64748b;
}

.cookie-btn.reject:hover {
    background: #e2e8f0;
}

/* Mobile adjustments for cookie banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        flex-direction: column;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }

    .cookie-banner {
        bottom: 70px;
        /* Above mobile CTA bar */
    }
}