/* Versato - Estilos CSS */

/* Fonte e configurações base */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

/* Paleta de cores profissional */
:root {
    --primary-teal: #14b8a6;
    --primary-teal-dark: #0f766e;
    --primary-teal-light: #5eead4;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-section: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --border-subtle: #2a2a2a;
}

/* Topografia animada de fundo */
.topography-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

#topo-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.01;
}

/* Botões */
.btn-primary {
    display: inline-block;
    background: var(--primary-teal);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--primary-teal);
}

.btn-primary:hover {
    background: var(--primary-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-teal);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--primary-teal);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--primary-teal);
    color: white;
}

/* Cards */
.problem-card {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 0.75rem;
    border: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

.problem-card:hover {
    border-color: var(--primary-teal);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.problem-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    width: 3rem;
    border-radius: 0.5rem;
    margin: 0 auto;
    background: var(--primary-teal);
    color: white;
}

/* Lista de features */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-item p {
    margin: 0;
    color: var(--text-secondary);
}

/* Cards de preços */
.pricing-card {
    position: relative;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 0.75rem;
    border: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

.pricing-card:hover {
    border-color: var(--primary-teal);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured {
    border-color: var(--primary-teal);
    background: linear-gradient(135deg, var(--bg-card), rgba(20, 184, 166, 0.05));
}

.badge {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-teal);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.pricing-feature::before {
    content: "✓";
    color: var(--primary-teal);
    font-weight: bold;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsividade */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
}

/* Scroll suave para âncoras */
html {
    scroll-behavior: smooth;
}

/* Efeitos de hover personalizados */
.hover-glow:hover {
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
}

/* Gradientes personalizados */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-teal), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Melhorias de acessibilidade */
.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animação de partículas no canvas */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--primary-teal);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Estilos específicos para os planos */
.plan-card {
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.plan-card:hover::before {
    left: 100%;
}

.plan-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.plan-premium {
    position: relative;
}

.plan-premium::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #f59e0b, #d97706, #f59e0b, #d97706);
    background-size: 400% 400%;
    border-radius: 1rem;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Animação de ondas topográficas */
@keyframes wave1 {
    0% { transform: translateX(-60px); }
    100% { transform: translateX(60px); }
}

@keyframes wave2 {
    0% { transform: translateX(-40px); }
    100% { transform: translateX(40px); }
}

@keyframes wave3 {
    0% { transform: translateX(-40px); }
    100% { transform: translateX(40px); }
}

.wave-layer {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
}

.wave-layer svg {
    width: 100%;
    height: 100%;
}

.wave-layer path {
    fill: none;
    stroke: #14b8a6;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
    opacity: 0.07;
}

.wave-layer:nth-child(odd) path {
    opacity: 0.08;
}

.wave-layer:nth-child(even) path {
    opacity: 0.06;
}

.line1 { animation: wave1 3s ease-in-out infinite alternate; }
.line2 { animation: wave2 3.5s ease-in-out infinite alternate-reverse; }
.line3 { animation: wave1 4s ease-in-out infinite alternate; }
.line4 { animation: wave3 4.5s ease-in-out infinite alternate-reverse; }
.line5 { animation: wave2 5s ease-in-out infinite alternate; }
.line6 { animation: wave1 5.5s ease-in-out infinite alternate-reverse; }
.line7 { animation: wave3 6s ease-in-out infinite alternate; }
.line8 { animation: wave2 6.5s ease-in-out infinite alternate-reverse; }
.line9 { animation: wave1 7s ease-in-out infinite alternate; }
.line10 { animation: wave3 7.5s ease-in-out infinite alternate-reverse; }
.line11 { animation: wave2 5s ease-in-out infinite alternate; }
.line12 { animation: wave1 5.2s ease-in-out infinite alternate-reverse; }
.line13 { animation: wave3 5.4s ease-in-out infinite alternate; }
.line14 { animation: wave2 5.6s ease-in-out infinite alternate-reverse; }
.line15 { animation: wave1 5.8s ease-in-out infinite alternate; }
.line16 { animation: wave3 6s ease-in-out infinite alternate-reverse; }
.line17 { animation: wave2 6.2s ease-in-out infinite alternate; }
.line18 { animation: wave1 6.4s ease-in-out infinite alternate-reverse; }
.line19 { animation: wave3 6.6s ease-in-out infinite alternate; }
.line20 { animation: wave2 6.8s ease-in-out infinite alternate-reverse; }
.line21 { animation: wave1 7s ease-in-out infinite alternate; }
.line22 { animation: wave3 7.2s ease-in-out infinite alternate-reverse; }