:root {
    --bg-light: #ffffff;
    --bg-offwhite: #f8fafc;
    --text-charcoal: #0f172a;
    --text-muted: #64748b;
    --lemon-green: #a3e635; 
    --lemon-glow: rgba(163, 230, 53, 0.4);
}

body {
    background-color: var(--bg-light);
    color: var(--text-charcoal);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Lenis - Smooth Scroll Base */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.04em; 
}

/* Grid & Background Effects */
.bg-grid-pattern {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(15, 23, 42, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.1) 1px, transparent 1px);
}

.fade-bottom-to-top {
    mask-image: linear-gradient(to top, black 30%, transparent);
    -webkit-mask-image: linear-gradient(to top, black 30%, transparent);
}

.fade-top-to-bottom {
    mask-image: linear-gradient(to bottom, black 30%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent);
}

.massive-text {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1.05;
    font-weight: 900;
}

.btn-conversion {
    position: relative;
    background-color: var(--lemon-green);
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px var(--lemon-glow);
    overflow: hidden;
    z-index: 1;
}

/* Aura Effect Layer */
.btn-conversion::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250%; /* Largura extra para garantir cobertura na rotação */
    height: 250%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        transparent 70%,
        rgba(255, 255, 255, 0.8) 85%,
        transparent 100%
    );
    transform: translate(-50%, -50%);
    animation: aura-rotate 4s linear infinite;
    z-index: -2;
    pointer-events: none;
}

/* Inner Mask to create the "ring" of light */
.btn-conversion::after {
    content: '';
    position: absolute;
    inset: 2px; /* Espessura da aura */
    background: var(--lemon-green);
    border-radius: inherit;
    z-index: -1;
    pointer-events: none;
}

.btn-conversion:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px var(--lemon-glow);
    filter: brightness(1.08);
}

@keyframes aura-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    height: 48px; /* Altura fixa para controle total */
    display: flex;
    align-items: center;
    position: relative;
    background-color: #dc2626 !important;
    z-index: 20;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    gap: 3rem;
    animation: scroll-marquee 40s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    color: #ffffff;
    font-size: 0.85rem; /* Fonte levemente menor */
    font-weight: 700;
    line-height: 1; /* Força o alinhamento central */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'Outfit', sans-serif;
}

.marquee-dot {
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

@keyframes scroll-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Image Marquee for Results */
.image-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    position: relative;
    display: flex;
    justify-content: flex-start; /* Alinhamento inicial fixo para cálculo preciso */
}

.image-marquee-content {
    display: flex;
    white-space: nowrap;
    gap: 30px;
    width: max-content;
    transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    padding-left: 0; /* Verifique se não há paddings residuais */
}

.image-marquee-content:hover {
    animation-play-state: paused;
}

.carousel-item {
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 32px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.1);
    transition: transform 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

/* Etiquetas no Topo */
.carousel-tags {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 4;
}

.tag {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tag-orange {
    background: #ff4500;
    color: white;
}

.tag-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.image-marquee-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 40%, transparent 100%);
    z-index: 2;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 3;
    color: white;
    text-align: left;
    white-space: normal; /* Garante que o texto quebre linha */
}

.caption-badge {
    color: #ff4500;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.carousel-caption h4 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    white-space: normal;
}

.carousel-caption p {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
    line-height: 1.5;
    white-space: normal;
    word-break: break-word;
}

@media (max-width: 768px) {
    .carousel-item {
        width: 85vw;
        height: 85vw;
        border-radius: 24px;
    }

    .carousel-caption {
        padding: 20px;
    }

    .carousel-caption h4 {
        font-size: 1.3rem;
    }
}

.image-marquee-img:hover {
    transform: scale(1.03);
    border-color: var(--lemon-green);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 100;
}

.nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: #0f172a;
    color: var(--lemon-green);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
}

.nav-btn:hover {
    background: var(--lemon-green);
    color: #0f172a;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(163, 230, 53, 0.3);
}
.plan-pro {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.clean-card {
    background-color: var(--bg-light);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.clean-card:hover {
    border-color: var(--text-charcoal);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    transform: translateY(-5px);
}

/* Bonus Cards Redesign */
.bonus-card {
    background-color: var(--bg-light);
    border: 2px solid #f1f5f9;
    border-radius: 28px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.bonus-card:hover {
    border-color: #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
}

.bonus-tag {
    font-family: 'Inter', monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.bonus-image-container {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.bonus-image-card {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bonus-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--bg-light) 95%);
}

/* Refined Tech Marquee */
.marquee-wrapper {
    position: relative;
    display: flex;
    overflow: hidden;
    background: #f8fafc;
    padding: 3rem 0;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    -webkit-transform: translate3d(0, 0, 0);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
    gap: 2rem;
    padding-right: 2rem;
}

.tool-pill {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tool-pill i {
    font-size: 1.5rem;
    color: #475569;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Interação do FAQ */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Proteção Front-end */
body { user-select: none; }
img, video { pointer-events: none; }
.video-container video, .video-container iframe { pointer-events: auto; }

/* Cinematic Glass Frames - Ultra-Subtle Vignette */
.glass-frame {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    background: rgba(255, 255, 255, 0.01); /* Quase nulo */
    overflow: hidden;
}

/* Micro-noise para textura de vidro físico */
.glass-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    mix-blend-mode: overlay;
}

.glass-frame-top {
    top: 0;
    left: 0;
    right: 0;
    height: 10vh;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.glass-frame-bottom {
    bottom: 0;
    left: 0;
    right: 0;
    height: 10vh;
    -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
    mask-image: linear-gradient(to top, black 0%, transparent 100%);
}

.glass-frame-left {
    left: 0;
    top: 0;
    bottom: 0;
    width: 6vw;
    -webkit-mask-image: linear-gradient(to right, black 0%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, transparent 100%);
}

.glass-frame-right {
    right: 0;
    top: 0;
    bottom: 0;
    width: 6vw;
    -webkit-mask-image: linear-gradient(to left, black 0%, transparent 100%);
    mask-image: linear-gradient(to left, black 0%, transparent 100%);
}
/* Animação de Shine para o Selo */
.badge-shine {
    position: relative;
    overflow: hidden;
}

.badge-shine::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transform: skewX(-20deg);
    animation: badge-shine-sweep 6s infinite;
}

@keyframes badge-shine-sweep {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}
