:root {
    --color-brand-green: #00E676;
    /* Vivid Urbano Norte Green */
    --color-brand-green-dark: #00B259;
    --color-black: #050505;
    --color-black-light: #121212;
    --color-white: #ffffff;
    --color-gray-text: #A0A0A0;
    --color-gray-dark: #1E1E1E;

    --font-main: 'Archivo', sans-serif;
    --font-title: 'IBM Plex Serif', serif;

    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-family: var(--font-title);
    font-weight: 700;
}

.highlight {
    color: var(--color-brand-green);
    text-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links a:not(.btn) {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-gray-text);
    transition: color 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--color-brand-green);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--color-white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.btn-primary {
    background-color: var(--color-brand-green);
    color: var(--color-black);
}

.btn-primary:hover {
    background-color: var(--color-brand-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 230, 118, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--color-brand-green);
    border: 1px solid var(--color-brand-green);
    padding: 0.5rem 1.5rem;
}

.btn-outline-primary:hover {
    background-color: var(--color-brand-green);
    color: var(--color-black);
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
}

.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
    border-radius: inherit;
    transition: opacity 0.3s;
}

.glow-effect:hover::after {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* Offset for navbar */
}

.desktop-bg {
    display: block;
}

.mobile-bg {
    display: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg.desktop-bg {
    background-image: url('https://painel.lipplead.com/wp-content/uploads/2026/02/fundo20120pc20novo_converted.webp');
}

.hero-bg.mobile-bg {
    background-image: url('https://painel.lipplead.com/wp-content/uploads/2026/02/fundoooo_converted.webp');
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align left */
    text-align: left;
    /* Align left */
}

.badge {
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: var(--color-brand-green);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 1px;
    display: inline-block;
}

.headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    /* Reduced size */
    margin-bottom: var(--spacing-md);
    max-width: 650px;
}

.subheadline {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    /* Brighter for visibility */
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    /* Helps it pop against detailed backgrounds */
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    max-width: 550px;
}

.cta-group {
    display: flex;
    flex-direction: column;
    /* Stacked layout */
    gap: var(--spacing-md);
    width: 100%;
    max-width: 400px;
    /* Force identical widths up to a point */
}

.cta-group .btn {
    width: 100%;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-lg);
        padding: var(--spacing-xl) 0;
        border-bottom: 2px solid rgba(0, 230, 118, 0.3);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        z-index: 99;
    }

    .nav-links.nav-active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-content {
        height: 80px;
        /* strict height */
        padding: 0 var(--spacing-md);
        flex-direction: row;
        /* logo and burger side by side */
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .cta-group .btn {
        width: 100%;
    }
}

/* Sections Common */
.section {
    padding: var(--spacing-xxl) 0;
}

.dark-section {
    background-color: var(--color-black);
}

.light-section {
    background-color: var(--color-black-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    color: var(--color-gray-text);
    margin-top: var(--spacing-sm);
}

/* Video Section */
.video-section {
    padding: var(--spacing-xl) 0;
}

.video-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.video-wrapper {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.1);
    aspect-ratio: 9/16;
    max-width: 350px;
    margin: 0 auto;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

.video-text {
    flex: 1.5;
}

.video-text p {
    color: var(--color-gray-text);
    margin-top: var(--spacing-md);
    font-size: 1.1rem;
}

/* Prêmio Section */
.premio-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.premio-text {
    flex: 1;
}

.premio-desc {
    color: var(--color-gray-text);
    font-size: 1.1rem;
    margin: var(--spacing-md) 0;
}

.specs-list {
    list-style: none;
}

.specs-list li {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.specs-list li span {
    color: var(--color-brand-green);
    font-weight: 800;
}

.premio-images {
    flex: 1;
}

@keyframes floatCar {
    0% {
        transform: translateY(0px);
    }

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

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

.car-glowing {
    animation: floatCar 6s ease-in-out infinite;
    display: block;
    position: relative;
}

.car-glowing::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 50%;
    background: var(--color-brand-green);
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
}

/* Como Funciona */
.split-section {
    position: relative;
    background-color: var(--color-black-light);
}

.como-funciona-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    /* Slight dim to ensure legibility if over bright areas */
}

.como-funciona-bg.desktop-bg {
    background-image: url('https://painel.lipplead.com/wp-content/uploads/2026/02/fundo20220pc_converted.webp');
    /* Image only on the right side if we wanted, but cover makes it easier - we will use pseudo element fading or rely on layout */
}

.como-funciona-bg.mobile-bg {
    background-image: url('https://painel.lipplead.com/wp-content/uploads/2026/02/fundo20220celular_converted.webp');
}

.split-container {
    display: flex;
    position: relative;
    z-index: 1;
}

.split-content-left {
    flex: 1;
    max-width: 60%;
    padding-right: var(--spacing-lg);
}

.split-content-right {
    flex: 1;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2x2 grid on desktop */
    gap: var(--spacing-lg);
}

.step-card {
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 230, 118, 0.15);
    border-color: rgba(0, 230, 118, 0.4);
    background: rgba(30, 30, 30, 0.8);
}

.step-card:hover::before {
    left: 150%;
}

.step-card h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.step-card .small-text {
    color: var(--color-gray-text);
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
    line-height: 1.4;
}

.step-card strong {
    color: var(--color-brand-green);
    font-size: 1.3rem;
    display: block;
    margin-top: 5px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 230, 118, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(0, 230, 118, 0.2);
    transition: all 0.3s ease;
}

.step-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-brand-green);
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: rgba(0, 230, 118, 0.15);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.3);
}

/* SVG Animations */
@keyframes driveCar {
    0% {
        transform: translateX(0) scale(1);
    }

    25% {
        transform: translateX(3px) scale(1.05);
    }

    50% {
        transform: translateX(-3px) scale(1.05) translateY(-2px);
    }

    75% {
        transform: translateX(2px) scale(1);
    }

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

@keyframes spinStar {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
        filter: drop-shadow(0 0 8px rgba(0, 230, 118, 0.8));
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes bouncePin {

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

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

@keyframes pulseTicket {
    0% {
        transform: scale(1);
        stroke-width: 2;
    }

    50% {
        transform: scale(1.15) rotate(5deg);
        stroke-width: 2.5;
        filter: drop-shadow(0 0 5px rgba(0, 230, 118, 0.5));
    }

    100% {
        transform: scale(1);
        stroke-width: 2;
    }
}

.step-card:hover .anim-car {
    animation: driveCar 0.8s ease-in-out infinite;
}

.step-card:hover .anim-star {
    animation: spinStar 1.5s linear infinite;
}

.step-card:hover .anim-pin {
    animation: bouncePin 0.6s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
}

.step-card:hover .anim-ticket {
    animation: pulseTicket 1s ease-in-out infinite;
}

.featured-card {
    background: linear-gradient(145deg, rgba(0, 230, 118, 0.15) 0%, rgba(20, 20, 20, 0.8) 100%);
    border-color: rgba(0, 230, 118, 0.5);
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.1) inset;
}

.featured-card::before {
    background: linear-gradient(90deg, transparent, rgba(0, 230, 118, 0.2), transparent);
}

.featured-card:hover {
    box-shadow: 0 15px 40px rgba(0, 230, 118, 0.3), 0 0 30px rgba(0, 230, 118, 0.2) inset;
}

.featured-card .step-icon {
    background: var(--color-brand-green);
    border: none;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.5);
}

.featured-card .step-icon svg {
    color: var(--color-black);
}

.featured-card:hover .step-icon {
    background: var(--color-white);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.7);
}

/* Footer Wrapper with Unicorn Animation */
.footer-wrapper {
    position: relative;
    background-color: var(--color-black);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.unicorn-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Under the content but above background */
    pointer-events: none;
    /* Let clicks pass through to content */
}

.footer-wrapper-content {
    position: relative;
    z-index: 2;
    /* Content sits above the animation */
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0.4) 100%);
}

/* Period Section Adjusted */
.transparent-section {
    background-color: transparent !important;
    border: none !important;
    padding-bottom: var(--spacing-lg) !important;
}

.period-container {
    display: flex;
    background: rgba(20, 20, 20, 0.3);
    /* Lighter glass effect to show animation behind */
    backdrop-filter: blur(4px);
    /* Reduced blur to show unicorn cubes */
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--spacing-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.period-box {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.period-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 var(--spacing-xl);
}

.date-highlight {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-brand-green);
    line-height: 1.2;
    margin-top: var(--spacing-sm);
}

.details-box {
    text-align: left;
}

.sorteio-info {
    list-style: none;
    margin-top: var(--spacing-md);
}

.sorteio-info li {
    margin-bottom: var(--spacing-sm);
    color: var(--color-gray-text);
}

.sorteio-info li strong {
    color: var(--color-white);
}

/* Animations helpers */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

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

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

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

/* Mobile Responsive extensions */
@media (max-width: 900px) {

    .video-container,
    .premio-container,
    .period-container {
        flex-direction: column;
        text-align: center;
    }

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

    .period-divider {
        width: 100%;
        height: 1px;
        margin: var(--spacing-lg) 0;
    }

    .desktop-bg {
        display: none !important;
    }

    .mobile-bg {
        display: block !important;
    }

    .split-container {
        flex-direction: column;
    }

    .split-content-left {
        max-width: 100%;
        padding-right: 0;
        padding-top: var(--spacing-xl);
        padding-bottom: 50vh;
        /* Adds empty space at the bottom for the background image to show */
        text-align: center;
    }

    .split-content-left .section-header {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .split-content-right {
        display: none;
        /* Emptiness box not needed on mobile */
    }

    .como-funciona-bg {
        background-position: top center;
        opacity: 0.8;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .hero-content {
        align-items: center;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding-top: 50vh;
        /* Pushes content down on mobile */
    }

    .cta-group {
        justify-content: center;
    }
}

/* Footer Section Adjusted */
.transparent-footer {
    background-color: transparent !important;
    border-top: none !important;
    padding-top: var(--spacing-lg) !important;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer h4 {
    color: var(--color-brand-green);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.footer-tagline {
    color: var(--color-gray-text);
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--color-gray-text);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-legal-info p {
    color: var(--color-gray-text);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    color: var(--color-white);
    transition: all 0.3s;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.social-icon:hover {
    background: var(--color-brand-green);
    color: var(--color-black);
    border-color: var(--color-brand-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md) 0;
    background-color: transparent;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.footer-bottom p {
    color: var(--color-gray-text);
    font-size: 0.85rem;
}

.lgpd-text {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.3) !important;
    max-width: 800px;
}

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

    .lgpd-text {
        text-align: right;
    }
}