:root {
    --bg-main: #0B0E14;
    --bg-secondary: #131722;
    --accent-blue: #235BD1;
    --accent-blue-hover: #3A72E8;
    --accent-purple: #6236FF;
    --text-primary: #FFFFFF;
    --text-secondary: #9BA1A6;
    --glass-bg: rgba(25, 30, 45, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #2a3143;
    border-radius: 4px;
}

/* UI Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.btn-primary, .btn-primary-small {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(35, 91, 209, 0.3);
    text-align: center;
}

.btn-primary { padding: 16px 32px; font-size: 1.1rem; }
.btn-primary-small { padding: 10px 20px; font-size: 0.95rem; }

.btn-primary:hover, .btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(98, 54, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 120px 5% 60px;
    position: relative;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.badge {
    display: inline-block;
    background: rgba(35, 91, 209, 0.15);
    color: #6C9BFF;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(35, 91, 209, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.security-badges {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Mockup CSS for Hero Image */
.hero-image-wrapper {
    flex: 1.2;
    position: relative;
    max-width: 900px;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(35, 91, 209, 0.4);
    top: -50px;
    left: -50px;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(98, 54, 255, 0.3);
    bottom: -50px;
    right: -20px;
}

.image-showcase {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid var(--glass-border);
    /* Um pequeno brilho ao redor simulando a tela */
    box-shadow: 0 0 40px rgba(35, 91, 209, 0.2), 0 25px 50px rgba(0,0,0,0.5);
    background: #0f121b;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.image-showcase:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(35, 91, 209, 0.3), 0 35px 60px rgba(0,0,0,0.6);
}

.software-print {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 12px;
}

.software-print:first-of-type {
    position: relative;
}

.software-print.active {
    opacity: 1;
    z-index: 5;
}

.carousel-title-top {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}


/* Sections Content */
.features, .pricing {
    padding: 100px 5%;
    position: relative;
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 32px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(35, 91, 209, 0.05);
    border-color: rgba(35, 91, 209, 0.3);
}

.f-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.05);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Pricing */
.pricing {
    background: radial-gradient(circle at center, rgba(35, 91, 209, 0.05) 0%, var(--bg-main) 70%);
}

/* Steps Section */
.steps {
    padding: 80px 5%;
}
.steps-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.step-box {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    text-align: center;
    position: relative;
    border-top: 3px solid var(--accent-blue);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.step-box:hover {
    transform: translateY(-8px);
    border-top-color: var(--accent-purple);
}
.step-num {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: -53px auto 20px;
    box-shadow: 0 8px 20px rgba(98, 54, 255, 0.4);
}
.step-box h3 { margin-bottom: 15px; font-size: 1.25rem;}
.step-box p { color: var(--text-secondary); font-size: 0.95rem; }

/* FAQ Section */
.faq {
    padding: 80px 5%;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    padding: 24px;
    cursor: pointer;
    transition: background 0.3s;
}
.faq-item:hover {
    background: rgba(255,255,255,0.03);
}
.faq-item summary {
    font-size: 1.15rem;
    font-weight: 600;
    outline: none;
    list-style: none; /* remove default arrow */
    position: relative;
    padding-right: 30px;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-blue);
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}
.faq-item p {
    margin-top: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    border-top: 1px dashed var(--glass-border);
    padding-top: 15px;
    font-size: 1rem;
}

/* Animations Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 400px));
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

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

.pricing-card {
    width: 100%;
    padding: 40px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid var(--glass-border);
    background: rgba(19, 23, 34, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 20px;
}

.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(35, 91, 209, 0.1);
}

.pricing-card.annual {
    border: 1px solid rgba(98, 54, 255, 0.4);
    box-shadow: 0 15px 35px rgba(98, 54, 255, 0.1);
    background: rgba(25, 30, 45, 0.8);
}

.pricing-card.annual::before {
    content: 'Economize R$ 294,00';
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    padding: 6px 40px;
    font-size: 0.75rem;
    font-weight: 800;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.p-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.annual .p-tag {
    color: #a5b4fc;
}

.p-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(to bottom, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    color: #fff;
}

.price span {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.p-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.p-features {
    list-style: none;
    text-align: left;
    margin: 0 0 40px;
    flex-grow: 1;
}

.p-features li {
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.p-features li span {
    color: var(--green, #22c55e);
}

.btn-block {
    display: block;
    width: 100%;
    font-size: 1rem;
    padding: 18px;
    letter-spacing: 0.5px;
}

.annual .btn-primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.guarantee {
    margin-top: 25px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}


/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 5%;
    text-align: center;
    color: var(--text-secondary);
}

.f-logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; padding-top: 100px; }
    .hero-buttons { justify-content: center; }
    .security-badges { justify-content: center; }
    .image-showcase { margin-top: 40px; }
}

/* Demo Section (Video & Galeria) */
.demo {
    padding: 80px 5%;
}

.video-container {
    max-width: 900px;
    margin: 0 auto 50px;
    aspect-ratio: 16 / 9;
    background: #050608;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover; /* Recorta suavemente se for desproporcional para preencher a caixinha */
    object-position: top center;
    border-radius: 8px;
    cursor: zoom-in;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(35, 91, 209, 0.4);
    z-index: 2;
    border-color: rgba(255,255,255,0.3);
}

.gallery-item-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    transition: transform 0.3s;
}

.gallery-item-wrapper:hover {
    transform: translateY(-3px);
}

.gallery-item-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.3px;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 95%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    animation: zoomIn 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;} 
    to {transform: scale(1); opacity: 1;}
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--accent-blue);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-counter {
    color: #f2f2f2;
    font-size: 16px;
    padding: 8px 16px;
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 100000;
    font-weight: 600;
    background: rgba(0,0,0,0.6);
    border-radius: 8px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prev-lightbox, .next-lightbox {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    z-index: 100000;
}

.next-lightbox {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-lightbox {
    left: 0;
}

.prev-lightbox:hover, .next-lightbox:hover {
    background-color: var(--accent-blue);
    color: white;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.whatsapp-float svg {
    margin-top: 1px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}
