:root {
    /* Color Palette */
    --bg-dark: #0a0e17;
    --bg-darker: #05070a;
    --card-bg: rgba(20, 25, 40, 0.4);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #4ade80; /* Neo Green */
    --primary-hover: #22c55e;
    --secondary: #60a5fa; /* Neo Blue */
    --accent: #f43f5e; /* Neo Rose */
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4ade80 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #f43f5e 0%, #a855f7 100%);
    
    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Shadows & Blur */
    --glass-blur: blur(12px);
    --shadow-glow: 0 0 20px rgba(74, 222, 128, 0.15);
}

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

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

/* Background Blobs for Modern Aesthetic */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s ease-in-out infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, rgba(10,14,23,0) 70%);
}

.blob-2 {
    top: 40%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(74,222,128,0.15) 0%, rgba(10,14,23,0) 70%);
    animation-delay: -5s;
}

.blob-3 {
    bottom: -10%;
    left: 10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(244,63,94,0.15) 0%, rgba(10,14,23,0) 70%);
    animation-duration: 15s;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

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

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.mt-xl {
    margin-top: 5rem;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-darker);
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.4);
    filter: brightness(1.1);
}

.btn-primary-sm {
    background: var(--gradient-primary);
    color: var(--bg-darker);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-primary-sm:hover {
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--card-border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid var(--card-border);
}

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

.logo-main {
    height: 80px;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* Mockup Animation inside Hero */
.mockup-card {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    transform: rotateY(-10deg) rotateX(5deg);
    animation: floatingMockup 6s ease-in-out infinite alternate;
}

@keyframes floatingMockup {
    0% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
    100% { transform: rotateY(-5deg) rotateX(2deg) translateY(-20px); }
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    animation: growBar 2s ease-out forwards;
    transform-origin: bottom;
}

.bar-1 { height: 40%; animation-delay: 0.1s; }
.bar-2 { height: 60%; animation-delay: 0.2s; }
.bar-3 { height: 30%; animation-delay: 0.3s; }
.bar-4 { height: 80%; animation-delay: 0.4s; }
.bar-5 { height: 100%; animation-delay: 0.5s; }

@keyframes growBar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.mockup-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    flex: 1;
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-item strong {
    font-size: 1.2rem;
}

/* Sections Common */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Soluções Section */
.solucoes {
    padding: 100px 0;
}

.solucoes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.solucao-img-container {
    height: 80px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.solucao-logo {
    max-height: 100%;
    max-width: 200px;
    object-fit: contain;
}

.solucao-logo.grayscale {
    filter: grayscale(100%) opacity(0.5);
}

.solucao-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.solucao-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.card-em-breve {
    position: relative;
    overflow: hidden;
}

.badge-em-breve {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent);
    color: white;
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Planos Section */
.planos {
    padding: 100px 0;
}

.planos-categoria {
    margin-bottom: 60px;
}

.categoria-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.categoria-icon {
    height: 40px;
}

.categoria-header h3 {
    font-size: 1.8rem;
}

.free-trial-banner {
    background: rgba(74, 222, 128, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(74, 222, 128, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.plano-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.plano-card.destaque {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.1);
    transform: scale(1.05);
}

.plano-card.destaque:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge-popular, .badge-economia {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--bg-darker);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.plano-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
}

.plano-header h4 {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.plano-preco {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 10px;
}

.moeda {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 5px;
    margin-right: 4px;
}

.valor {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
}

.valor small {
    font-size: 1.5rem;
}

.periodo {
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 8px;
}

.plano-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plano-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plano-body ul {
    flex-grow: 1;
    margin-bottom: 30px;
}

.plano-body li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.plano-body li i {
    color: var(--primary);
    margin-top: 4px;
}

.plano-body li.disabled {
    color: var(--text-muted);
    opacity: 0.6;
}

.plano-body li.disabled i {
    color: var(--text-muted);
}

.plano-body .btn {
    width: 100%;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(20, 25, 40, 0.6) 0%, rgba(74, 222, 128, 0.05) 100%);
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-card p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Como Funciona Section */
.como-funciona {
    padding: 100px 0;
    background: rgba(20, 25, 40, 0.2);
}

.passos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.passo-card {
    text-align: center;
}

.passo-numero {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--bg-darker);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.passo-card p {
    color: var(--text-muted);
    margin-top: 10px;
}

.categoria-header.centralizado {
    justify-content: center;
}

/* Footer */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 80px 0 20px;
    background: var(--bg-darker);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

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

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.social-icons a:hover {
    background: var(--primary);
    color: var(--bg-darker);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .solucoes-grid, .passos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .planos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plano-card.destaque {
        transform: scale(1);
    }
    
    .plano-card.destaque:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-subtitle {
        margin: 0 auto 40px;
    }
    
    .solucoes-grid, .planos-grid, .passos-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto 20px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .free-trial-banner {
        margin: 10px auto 0;
        width: 100%;
        justify-content: center;
    }
    
    .categoria-header {
        justify-content: center;
        text-align: center;
    }
}
