:root {
    --primary: #2563eb;
    --primary-light: #dbeafe;
    --primary-dark: #1d4ed8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --neutral: #6b7280;
    --dark: #1f2937;
    --light: #f9fafb;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --token-color: #8b5cf6;
    --token-light: #ede9fe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.btn {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn:hover {
    background-color: var(--light);
}

/* Estilos para o menu hambúrguer */
.nav-toggle {
    display: none; /* Escondido por padrão em telas maiores */
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: background 0.2s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark);
    left: 0;
    transition: transform 0.2s ease-in-out;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background-color: white;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--neutral);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--neutral);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-description {
    color: var(--neutral);
    margin-bottom: 20px;
}

/* Token System */
.token-system {
    padding: 100px 0;
    background-color: white;
}

.token-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.token-content {
    flex: 1;
}

.token-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.token-description {
    color: var(--neutral);
    margin-bottom: 30px;
}

.token-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.token-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.token-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--token-light);
    color: var(--token-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.token-feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.token-feature-content p {
    color: var(--neutral);
    font-size: 14px;
}

.token-plans {
    flex: 1;
}

.plan-card {
    background-color: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 30px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.plan-name {
    font-size: 20px;
    font-weight: 600;
}

.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.plan-tokens {
    font-size: 16px;
    color: var(--token-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.plan-features {
    margin-bottom: 20px;
}

.plan-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--neutral);
    font-size: 14px;
}

.plan-feature i {
    color: var(--success);
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background-color: var(--light);
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background-color: var(--border);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-description {
    color: var(--neutral);
    font-size: 14px;
    max-width: 250px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-light {
    background-color: white;
    color: var(--primary);
}

.btn-light:hover {
    background-color: var(--light);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: var(--primary);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 10px;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link a:hover {
    color: white;
}

.footer-bottom {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--border);
}

/* Responsividade */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .token-container, .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        order: 2;
    }
    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }
    .steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .steps::before {
        display: none;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        gap: 0;
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 0.3s ease-in-out;
        box-shadow: var(--shadow);
    }
    
    .nav.active {
        transform: scale(1, 1);
    }

    .nav-link {
        padding: 15px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border);
    }

    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav .btn {
        margin: 15px 0;
    }

    .nav-toggle {
        display: block;
    }
    
    .nav.active + .nav-toggle .hamburger {
        background: transparent;
    }

    .nav.active + .nav-toggle .hamburger::before {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav.active + .nav-toggle .hamburger::after {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid, .token-plans {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Language Selector */
.language-form {
    margin-left: 15px;
    position: relative;
}

.language-form select {
    padding: 8px 12px 8px 36px; /* espaço para a bandeira */
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: white;
    color: var(--dark);
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 20px 20px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* 🇧🇷 Bandeira para Português */
.language-form select option[value="pt"] {
    background-image: url("https://flagcdn.com/w40/br.png");
}

/* 🇺🇸 Bandeira para Inglês */
.language-form select option[value="en"] {
    background-image: url("https://flagcdn.com/w40/us.png");
}

/* 🇪🇸 Bandeira para Espanhol */
.language-form select option[value="es"] {
    background-image: url("https://flagcdn.com/w40/es.png");
}

/* Efeito ao focar */
.language-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    outline: none;
}