:root {
    /* Cores */
    --bg-primary: #ffffff;
    --bg-card: #f8fafc;
    --bg-card-hover: #f1f5f9;
    
    /* Textos */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    /* Destaques e Acentos */
    --accent: #6A00FF;
    --accent-hover: #5800d6;
    --accent-glow: rgba(106, 0, 255, 0.15);
    --accent-gradient: linear-gradient(135deg, #6A00FF 0%, #008B8B 100%);
    --accent-gradient-hover: linear-gradient(135deg, #5800d6 0%, #007373 100%);
    
    /* Status Colors */
    --status-good: #10b981;
    --status-warning: #f59e0b;
    --status-critical: #ef4444;
    
    /* Bordas e Sombras */
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --border-subtle: 1px solid rgba(0, 0, 0, 0.08);
    --border-highlight: 1px solid rgba(106, 0, 255, 0.15);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px var(--accent-glow);
    
    /* Animações e Espaçamentos */
    --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    --container-max: 1200px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 120px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    color: var(--text-secondary);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 2;
}

/* Utils */
.text-accent { color: var(--accent); }
.text-warning { color: var(--status-warning); }
.text-critical { color: var(--status-critical); }
.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

/* Pattern Backgrounds */
.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

#mouse-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(106, 0, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Floating Orbs */
.hero-glow-1, .hero-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.hero-glow-1 {
    top: -10%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: rgba(106, 0, 255, 0.08);
}

.hero-glow-2 {
    bottom: 20%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(0, 139, 139, 0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
    width: 100%;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-gradient-hover);
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(106, 0, 255, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(106, 0, 255, 0.4);
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--border-subtle);
    background: rgba(255, 255, 255, 0.8);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
}

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

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

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px; /* Offset header */
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(106, 0, 255, 0.05);
    border: var(--border-subtle);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-glow);
}

.subheadline {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Form */
.hero-form-wrapper {
    width: 100%;
    max-width: 560px;
    margin-top: var(--spacing-md);
}

.hero-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hero-input-group {
    display: flex;
    position: relative;
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.hero-input-group:focus-within {
    border-color: rgba(106, 0, 255, 0.4);
    box-shadow: 0 0 0 1px rgba(106, 0, 255, 0.2);
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: var(--text-secondary);
}

.hero-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    padding: 12px 0;
    min-width: 0;
}

.btn-hero {
    margin-left: 8px;
    white-space: nowrap;
}

.credibility-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cred-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cred-item svg {
    color: var(--status-good);
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: var(--bg-primary);
    border: var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft), 0 20px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    margin-top: -60px;
    z-index: 10;
}

.dashboard-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.mockup-header {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: var(--border-subtle);
    background: rgba(0, 0, 0, 0.02);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-url {
    margin: 0 auto;
    background: rgba(0,0,0,0.05);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    border: var(--border-subtle);
}

.mockup-body {
    padding: 32px;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='rgba(0,0,0,0.03)'/%3E%3C/svg%3E");
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.dash-card {
    background: rgba(0,0,0,0.02);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(10px);
}

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

.card-header h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.status {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 100px;
    font-weight: 600;
}

.status-warning { background: rgba(245, 158, 11, 0.1); color: var(--status-warning); border: 1px solid rgba(245, 158, 11, 0.2); }
.status-critical { background: rgba(239, 68, 68, 0.1); color: var(--status-critical); border: 1px solid rgba(239, 68, 68, 0.2); }
.status-good { background: rgba(16, 185, 129, 0.1); color: var(--status-good); border: 1px solid rgba(16, 185, 129, 0.2); }

.score-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: rgba(0,0,0,0.05);
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    animation: progress 2s ease-out forwards;
}

.warning .circle { stroke: var(--status-warning); }

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.score-value span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.dash-microcopy {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: auto;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.bar-label {
    width: 60px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.bar-track {
    flex: 1;
    height: 8px;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
}

.fill-low { background: var(--status-critical); }
.fill-warning { background: var(--status-warning); }

.metric-item {
    margin-bottom: 16px;
}

.metric-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.mini-bar {
    height: 4px;
    background: rgba(0,0,0,0.05);
    border-radius: 2px;
}

.mini-fill {
    height: 100%;
    border-radius: 2px;
}

.conversion-gauge {
    position: relative;
    height: 40px;
    margin-top: 10px;
}

.gauge-bar {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--status-critical) 0%, var(--status-warning) 50%, var(--status-good) 100%);
    width: 100%;
}

.gauge-indicator {
    position: absolute;
    top: -4px;
    width: 4px;
    height: 16px;
    background: #000;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.gauge-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

@keyframes progress {
    0% { stroke-dasharray: 0 100; }
}

/* Sections */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.section-header h2 {
    margin-bottom: 16px;
}

/* Pain Grid */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.pain-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(106, 0, 255, 0.2);
    box-shadow: var(--shadow-soft);
}

.pain-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(106, 0, 255, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.pain-card h3 {
    margin-bottom: 12px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.benefit-item {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.b-icon {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0,0,0,0.03);
    line-height: 1;
    margin-bottom: 20px;
}

.benefit-item h4 {
    margin-bottom: 12px;
    font-size: 1.125rem;
}

/* Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    position: relative;
    z-index: 2;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-card);
    border: var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.step-active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(106, 0, 255, 0.4);
}

.step h4 {
    margin-bottom: 8px;
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border-subtle);
    margin-top: 54px;
    position: relative;
    z-index: 1;
}

.step-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--accent);
    transition: width 1s ease;
}

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

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.form-content {
    text-align: center;
}

.form-content h2 {
    margin-bottom: 12px;
}

.form-content > p {
    margin-bottom: 40px;
}

.lead-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.input-group input {
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    padding: 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(106, 0, 255, 0.2);
    background: #ffffff;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 10px 0;
}

.checkbox-group input {
    margin-top: 4px;
    accent-color: var(--accent);
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.checkbox-group a {
    text-decoration: underline;
}


.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--status-good);
}

/* Footer */
.footer {
    border-top: var(--border-subtle);
    padding: 40px 0;
}

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

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: var(--border-subtle);
    z-index: 100;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
}

.mobile-sticky-cta .btn {
    width: 100%;
}

/* Animations Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animations */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    animation: staggerFadeUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }

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

/* Media Queries */
@media (max-width: 992px) {
    .steps-container {
        flex-direction: column;
        gap: 24px;
    }
    
    .step-line {
        display: none;
    }
    
    .step {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 12px;
    }
    
    .hero-input-group input {
        background: var(--bg-card);
        border: var(--border-subtle);
        padding: 16px;
        border-radius: var(--radius-md);
    }
    
    .input-icon {
        display: none;
    }
    
    .btn-hero {
        margin-left: 0;
        padding: 16px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        padding: 32px 24px;
    }
    
    .dashboard-mockup {
        margin-top: 40px;
    }
    
    .mobile-sticky-cta {
        display: block;
    }
}
