﻿/* ============================================
   VARIÁVEIS E RESET GLOBAL
   ============================================ */

:root {
    --primary: #4a9c17;
    --primary-dark: #51a81a;
    --secondary: #6ec737;
    --secondary-dark: #51a81a;
    --accent: #ec4899;
    --success: #10b981;
    
    --bg-light: #f8fafc;
    --bg-light-alt: #f1f5f9;
    --text-light: #0f172a;
    --text-light-secondary: #475569;
    --border-light: #e2e8f0;
    --card-light: #ffffff;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark {
    --bg-light: #0f172a;
    --bg-light-alt: #1e293b;
    --text-light: #f1f5f9;
    --text-light-secondary: #cbd5e1;
    --border-light: #334155;
    --card-light: #1e293b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text-light);
    line-height: 1.6;
    transition: var(--transition);
}

/* ============================================
   HEADER PREMIUM
   ============================================ */

.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 20px 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
}

body.dark .header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 32px;
    animation: float 3s ease-in-out infinite;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-light-alt) 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

body.dark .hero {
    background: linear-gradient(135deg, #1a1f3a 0%, #0f172a 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 156, 23, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(110, 199, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

body.dark .hero-title {
    background: linear-gradient(135deg, #a5b4fc 0%, #d8b4fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light-secondary);
    margin-bottom: 20px;
}

body.dark .hero-subtitle {
    color: #cbd5e1;
}

.hero-description {
    font-size: 16px;
    color: var(--text-light-secondary);
    line-height: 1.8;
    opacity: 0.9;
}

body.dark .hero-description {
    color: #a0aec0;
}

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

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */

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

/* ============================================
   SEÇÃO DE OPÇÕES
   ============================================ */

.options-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light);
}

body.dark .section-header h2 {
    color: #f1f5f9;
}

.section-header p {
    font-size: 16px;
    color: var(--text-light-secondary);
    max-width: 500px;
    margin: 0 auto;
}

body.dark .section-header p {
    color: #cbd5e1;
}

.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .cards-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   CARDS PRINCIPAIS
   ============================================ */

.card {
    background: var(--card-light);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card.card-individual::before {
    background: linear-gradient(90deg, #4a9c17, #6ec737);
}

.card.card-team::before {
    background: linear-gradient(90deg, #6ec737, #ec4899);
}

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

.card:hover::before {
    opacity: 1;
}

body.dark .card {
    background: #1e293b;
    border-color: #334155;
}

body.dark .card:hover {
    border-color: var(--primary);
    background: #1e293b;
}

.card-header {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 40px;
    transition: var(--transition);
}

.card.card-individual .card-icon {
    background: linear-gradient(135deg, rgba(74, 156, 23, 0.1), rgba(110, 199, 55, 0.1));
    color: var(--primary);
}

.card.card-team .card-icon {
    background: linear-gradient(135deg, rgba(110, 199, 55, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--secondary);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.card-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

body.dark .card h3 {
    color: #f1f5f9;
}

.card-body {
    flex-grow: 1;
    margin-bottom: 24px;
}

.card-description {
    font-size: 15px;
    color: var(--text-light-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

body.dark .card-description {
    color: #cbd5e1;
}

.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light-secondary);
}

body.dark .card-features li {
    color: #cbd5e1;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--success);
    color: white;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

/* ============================================
   BOTÕES
   ============================================ */

.btn {
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-family: 'Inter', sans-serif;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(74, 156, 23, 0.3);
}

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

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(110, 199, 55, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(110, 199, 55, 0.4);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* ============================================
   SEÇÃO DE RECURSOS
   ============================================ */

.features-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-light);
}

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

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--card-light);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

body.dark .feature-card {
    background: #1e293b;
    border-color: #334155;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(74, 156, 23, 0.1), rgba(110, 199, 55, 0.1));
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: scale(1.1);
}

.feature-icon-box svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.feature-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light);
}

body.dark .feature-card h4 {
    color: #f1f5f9;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light-secondary);
    line-height: 1.6;
    margin: 0;
}

body.dark .feature-card p {
    color: #cbd5e1;
}

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

.footer {
    background: var(--bg-light-alt);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-light);
    margin-top: 40px;
}

body.dark .footer {
    background: #0f172a;
}

.footer p {
    color: var(--text-light-secondary);
    font-size: 14px;
    margin: 0;
}

body.dark .footer p {
    color: #cbd5e1;
}

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .options-section {
        padding: 60px 0;
    }

    .features-section {
        padding: 60px 0;
    }

    .card {
        padding: 30px;
    }

    .feature-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 16px 0;
    }

    .logo-text {
        font-size: 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero {
        padding: 40px 20px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ============================================
   ANIMAÇÕES ADICIONAIS
   ============================================ */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Suporte a prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}