:root {
    /* Premium Dark Mode Palette */
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 30, 0.6);
    --text-primary: #f8f9fa;
    --text-secondary: #a0aab2;
    --accent-blue: #00e5ff;
    --accent-purple: #7000ff;
    --accent-gradient: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    --success: #00e676;
    
    font-family: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Typography elements */
strong {
    color: var(--accent-blue);
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(112, 0, 255, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-blue);
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

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

nav a {
    margin: 0 15px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transform: scale(1.05); /* slightly zoom to give depth */
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 100%);
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(112, 0, 255, 0.2);
    border: 1px solid rgba(112, 0, 255, 0.5);
    color: var(--accent-blue);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sub-cta {
    font-size: 0.85rem !important;
    color: var(--text-secondary);
    margin-top: 10px;
    margin-bottom: 0 !important;
}

/* Glass Card Global */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.3);
}

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

/* Problem Section */
.problem .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.problem h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

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

/* Solution flex layout */
.flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.solution .content {
    flex: 1;
}

.solution h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

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

.benefits-list {
    list-style: none;
    margin-bottom: 30px;
}

.benefits-list li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    position: relative;
    padding-left: 30px;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.mt-4 {
    margin-top: 20px;
}

/* Code block / Visual showcase */
.image-showcase {
    flex: 1;
    perspective: 1000px;
}

.glow-box {
    background: #0d0d14;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 40px rgba(112, 0, 255, 0.2);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glow-box:hover {
    transform: rotateY(0) rotateX(0);
}

.code-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}

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

.glow-box pre {
    color: #a0aab2;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.glow-box code {
    color: var(--accent-blue);
}

/* Timeline Method */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-step {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    background: var(--accent-gradient);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.timeline-step h3 {
    margin-bottom: 10px;
}

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

/* CTA Final */
.cta-final {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(112, 0, 255, 0.1) 100%);
    position: relative;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), transparent);
}

.cta-final h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-final p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background: #25D366; /* WhatsApp brand color overriden here for trust */
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1EBE5D;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.safe-note {
    font-size: 0.8rem !important;
    margin-top: 20px !important;
    opacity: 0.7;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-content {
    justify-content: space-between !important;
}

.footer-links a {
    margin: 0 10px;
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

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

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; transition-delay: 0.6s; }

.pulse {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3rem; }
    .flex-row { flex-direction: column; }
    .image-showcase { width: 100%; }
}

@media (max-width: 768px) {
    .grid-3 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    nav { display: none; } /* Simples para demo, idealmente teria um menu hambúrguer */
    .cta-final h2 { font-size: 2rem; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}
