/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0B0F1A;
    --color-blue: #1F6FEB;
    --color-accent: #00FFA3;
    --color-white: #FFFFFF;
    --color-gray: #8B949E;
    /* Cores extraídas do logo DevScale */
    --color-logo-primary: #4A90E2;  /* Azul mais claro do logo */
    --color-logo-secondary: #2E5C8A; /* Azul mais escuro do logo */
    --color-logo-accent: #5CB85C;   /* Verde do logo */
    --color-logo-dark: #1A3A52;     /* Azul escuro de fundo */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Logo no HERO */
.hero-logo {
    margin-bottom: 40px;
    text-align: center;
}

.logo-image {
    max-width: 200px;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.logo-image:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Seção HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-logo-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--color-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(135deg, var(--color-logo-primary) 0%, var(--color-logo-secondary) 100%);
    color: var(--color-white);
    border: none;
    padding: 20px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    margin-bottom: 20px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
}

.hero-details {
    font-size: 0.9rem;
    color: var(--color-gray);
    opacity: 0.8;
}

/* Seções Genéricas */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-logo-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Seção Problema */
.problem {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #1a2332 100%);
}

.problem-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.problem-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 20px;
    color: var(--color-logo-primary);
}

.problem-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--color-gray);
    line-height: 1.6;
}

/* Seção Solução */
.solution {
    background: linear-gradient(180deg, #1a2332 0%, var(--bg-primary) 100%);
}

.solution-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.solution-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 20px;
    color: var(--color-logo-accent);
}

.solution-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--color-white);
    line-height: 1.6;
}

/* Seção Benefícios */
.benefits {
    background: var(--bg-primary);
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-logo-primary);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-white);
}

.benefit-card p {
    color: var(--color-gray);
    line-height: 1.6;
}

/* Seção Como Funciona */
.how-it-works {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #1a2332 100%);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-logo-primary) 0%, var(--color-logo-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    color: var(--color-white);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-white);
}

.step p {
    color: var(--color-gray);
    line-height: 1.6;
}

/* Seção Contato */
.contact {
    background: linear-gradient(180deg, #1a2332 0%, var(--bg-primary) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    text-align: left;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-logo-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: 30px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--color-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--color-white);
}

.form-group input::placeholder {
    color: var(--color-gray);
}

.form-label {
    display: block;
    margin-bottom: 12px;
    color: var(--color-white);
    font-weight: 500;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.radio-option:hover {
    color: var(--color-logo-primary);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--color-logo-primary);
    background: var(--color-logo-primary);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--bg-primary);
    border-radius: 50%;
}

.automation-message {
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid var(--color-logo-primary);
    color: var(--color-logo-primary);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-logo-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--color-logo-primary) 0%, var(--color-logo-secondary) 100%);
    color: var(--color-white);
    border: none;
    padding: 20px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    color: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* Rodapé */
.footer {
    background: #0a0d14;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo-image {
    max-width: 120px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-logo-image:hover {
    opacity: 1;
}

.footer-content p {
    color: var(--color-gray);
    font-size: 1rem;
}

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

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 18px 32px;
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .benefits-grid,
    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    
    .logo-image {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .benefit-card,
    .step {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 25px 16px;
    }
    
    .form-group input {
        padding: 16px 16px;
    }
    
    .footer-logo-image {
        max-width: 80px;
    }
}
