/**
 * Landing Page - ErgonoCore
 * Design moderno, responsivo e otimizado para conversão
 */

/* ========================================================================
   RESET & BASE
   ======================================================================== */

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

:root {
    /* Cores principais (consistente com o webapp) */
    --primary: #66fcf1;
    --primary-dark: #45a29e;
    --secondary: #1f2833;
    --accent: #66ff66;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #66fcf1 0%, #45a29e 100%);
    --gradient-light: linear-gradient(135deg, rgba(102, 252, 241, 0.05) 0%, rgba(69, 162, 158, 0.05) 100%);
    
    /* Status colors */
    --success: #66ff66;
    --error: #ff4d4d;
    --warning: #f1c40f;
    
    /* Neutros */
    --bg-primary: #0b0c10;
    --bg-secondary: #1f2833;
    --bg-tertiary: #0b0c10;
    --text-primary: #ffffff;
    --text-secondary: #c5c6c7;
    --text-tertiary: #888888;
    --border: rgba(102, 252, 241, 0.2);
    
    /* Spacing */
    --section-padding: 100px;
    --container-max-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* ========================================================================
   NAVBAR
   ======================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition-normal);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 28px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-fast);
}

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

.nav-link-login {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-fast);
}

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

.btn-primary-small {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition-fast);
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.2);
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

    .mobile-menu-toggle span {
        background: var(--primary);
    }

/* ========================================================================
   HERO SECTION
   ======================================================================== */

.hero {
    padding: 140px 24px 100px;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

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

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.btn-cta {
    padding: 16px 32px;
    background: var(--primary);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(102, 252, 241, 0.3);
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(102, 252, 241, 0.4);
}

.btn-secondary {
    padding: 16px 32px;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--primary);
    transition: var(--transition-normal);
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(102, 252, 241, 0.1);
    color: var(--primary);
}

.hero-note {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.visual-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
}

.visual-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.status-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    right: 20px;
    animation: pulse 2s infinite;
}

.status-bad {
    background: var(--error);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

.status-good {
    background: var(--success);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.posture-icon {
    font-size: 72px;
    margin-bottom: 16px;
}

.visual-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.visual-arrow {
    font-size: 40px;
    color: var(--primary);
    font-weight: bold;
}

/* ========================================================================
   SECTIONS
   ======================================================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

/* ========================================================================
   HOW IT WORKS
   ======================================================================== */

.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

.step-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.step-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================================================
   BENEFITS
   ======================================================================== */

.benefits {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.benefit-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.benefit-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================================================
   PRIVACY
   ======================================================================== */

.privacy {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.privacy-card {
    background: var(--bg-secondary);
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 60px 50px;
    text-align: center;
    color: var(--text-primary);
    box-shadow: 0 0 30px rgba(102, 252, 241, 0.1);
}

.privacy-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.privacy-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary);
}

.privacy-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
    opacity: 0.95;
}

.privacy-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.privacy-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
}

.privacy-feature svg {
    color: var(--primary);
}

/* ========================================================================
   PRICING
   ======================================================================== */

.pricing {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.pricing-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border: 3px solid var(--primary);
    box-shadow: 0 20px 40px rgba(102, 252, 241, 0.2);
    background: rgba(102, 252, 241, 0.02);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-primary);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.price-currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
}

.price-period {
    font-size: 16px;
    color: var(--text-secondary);
}

.pricing-description {
    font-size: 14px;
    color: var(--text-tertiary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    color: var(--success);
    flex-shrink: 0;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(102, 252, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(102, 252, 241, 0.4);
}

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

.btn-outline:hover {
    background: rgba(102, 252, 241, 0.1);
    color: var(--primary);
}

/* ========================================================================
   FOOTER
   ======================================================================== */

.footer {
    padding: 60px 0 30px;
    background: #0b0c10;
    color: white;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-contact-item:hover {
    color: var(--primary);
}

.footer-contact-item svg {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 4px;
}

.footer-social a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition-fast);
}

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

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}

.footer-disclaimer p {
    font-size: 13px;
    line-height: 1.7;
    color: #888888;
}

.footer-disclaimer strong {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 14px;
    color: #666666;
}

/* ========================================================================
   RESPONSIVIDADE
   ======================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .steps-grid,
    .benefits-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links {
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        background: #0b0c10;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 24px 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-visual {
        flex-direction: column;
    }
    
    .visual-arrow {
        transform: rotate(90deg);
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .privacy-card {
        padding: 40px 30px;
    }
    
    .privacy-title {
        font-size: 28px;
    }
    
    .privacy-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

