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

:root {
    --bg-dark: #0b0f14;
    --bg-card: #111827;
    --primary: #22c55e;
    --primary-glow: rgba(34, 197, 94, 0.3);
    --secondary: #3b82f6;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border: #1f2937;
    --glass: rgba(11, 15, 20, 0.85);
}

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

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

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
}

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

/* --- Navbar --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.9rem;
}

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

.nav-auth {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-login {
    color: #fff;
    border: 1px solid var(--border);
}

.btn-login:hover {
    background: var(--bg-card);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

/* --- Hero --- */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary), #ff9e00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-preview {
    margin-top: 80px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 10px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 80px rgba(0,0,0,0.5);
    position: relative;
}

.hero-preview img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* Patch para esconder o ícone de modo claro/escuro da imagem original */
.preview-wrapper {
    position: relative;
    width: 100%;
}

.icon-patch {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: #111827; /* Cor exata do cabeçalho do dashboard */
    border-radius: 50%;
    z-index: 10;
}

/* Placeholder for when image fails */
.hero-preview-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #111 0%, #050505 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

/* --- Stats --- */
.stats-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 30px 0;
    text-align: center;
}

.stats-bar p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.stats-bar span {
    color: var(--primary);
    font-weight: 700;
}

/* --- Features --- */
.section-padding {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header h2 span {
    color: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 20px;
    transition: 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    background: rgba(34, 197, 94, 0.05);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 15px;
}

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

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card.popular {
    border-color: var(--primary);
    background: rgba(34, 197, 94, 0.03);
    transform: scale(1.05);
    position: relative;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.price {
    font-size: 2.8rem; /* Reduzido para caber melhor */
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    color: #fff;
    position: relative;
}

.price span:not(.discount-badge):not(.price-suffix) {
    font-size: 2.8rem;
    color: #fff;
    font-weight: 800;
}

.price-suffix {
    font-size: 1rem !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

.discount-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(34, 197, 94, 0.2);
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.pricing-list {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.pricing-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.pricing-list li i {
    color: var(--primary);
}

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

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease-out;
    background: rgba(255,255,255, 0.02);
}

.faq-item.active .faq-answer {
    padding: 20px 30px;
    max-height: 200px;
}

/* --- Pricing Toggle --- */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-muted);
    transition: 0.3s;
}

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

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

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 3px;
    background-color: var(--primary);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.discount-badge {
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 10px;
}

.premium-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--primary);
    color: #0b0f14;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 50px;
    box-shadow: 0 4px 10px var(--primary-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 4px 10px var(--primary-glow); }
    50% { transform: scale(1.1); box-shadow: 0 4px 20px var(--primary-glow); }
    100% { transform: scale(1); box-shadow: 0 4px 10px var(--primary-glow); }
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--primary);
    z-index: 10;
}

@media (max-width: 1100px) {
    .pricing-card.popular {
        transform: scale(1);
    }
}

/* --- Guarantee Section --- */
.guarantee-section {
    background: linear-gradient(to bottom, transparent, rgba(34, 197, 94, 0.05));
}

.guarantee-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 60px;
    border-radius: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.guarantee-image img {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(34, 197, 94, 0.3));
}

.guarantee-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.guarantee-content h2 span {
    color: var(--primary);
}

.guarantee-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
}

.guarantee-content .highlight {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.2rem;
}

@media (max-width: 850px) {
    .guarantee-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
}

/* --- Footer --- */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
}

/* --- About Bento Grid --- */
.about-section {
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.03) 0%, transparent 70%);
}

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

.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.bento-item i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.bento-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.bento-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Specific Bento Areas */
.bento-main {
    grid-column: span 2;
    grid-row: span 2;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(11, 24, 39, 0.5) 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.bento-main i {
    font-size: 3rem;
}

.bento-main h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.bento-main p {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 400px;
}

.bento-scanner {
    grid-column: span 1;
}

.bento-calc {
    grid-column: span 1;
}

.bento-data {
    grid-column: span 1;
}

.bento-support {
    grid-column: span 1;
}

.bento-bg-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.1;
    z-index: 0;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .bento-main {
        grid-column: span 2;
        grid-row: span 1;
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-main, .bento-scanner, .bento-calc, .bento-data, .bento-support {
        grid-column: span 1;
    }
}

/* --- Responsiveness --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.2rem; }
    .hero p { font-size: 1.1rem; padding: 0 10px; }
}

@media (max-width: 768px) {
    .hero { padding: 140px 0 60px; }
    .hero h1 { font-size: 2.2rem; word-break: break-word; }
    .hero p { font-size: 1rem; margin-bottom: 30px; }
    
    .nav-links { display: none; }
    .nav-auth { gap: 8px; }
    .btn { padding: 8px 16px; font-size: 0.85rem; }
    
    .section-header h2 { font-size: 1.8rem; }
    .section-padding { padding: 60px 0; }
    
    .pricing-card.popular { transform: none; margin: 0; }
    .pricing-grid { gap: 20px; }
    
    .guarantee-wrapper { padding: 30px 15px; border-radius: 24px; }
    .guarantee-content h2 { font-size: 1.6rem; }
    .guarantee-content p { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; }
    
    .logo { font-size: 1.2rem; }
    .btn-login { display: none; } /* Ocultar login em telas minúsculas para priorizar CTA */
}
