/* Reset e Bases */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --bg-light: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #475569;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header e Navegação */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-main);
}

.logo span {
    color: var(--primary);
}

.nav-tabs {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.tab-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.tab-item:hover {
    color: var(--primary);
}

.tab-item.active {
    color: var(--primary);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* Conteúdo das Abas */
.tab-content {
    display: none;
    padding: 4rem 0;
    animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Botões */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
}

/* Seções e Cards */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.course-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.course-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.course-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.cta-box {
    margin-top: 4rem;
    text-align: center;
}

/* Info Cards */
.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
}

.check-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.check-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.warning {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Pagamento */
.payment-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.price-tag {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}

#qrcode-container {
    background: #f1f5f9;
    width: 250px;
    height: 250px;
    margin: 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
}

#qrcode-container img {
    width: 100%;
    height: 100%;
}

.pix-key-box {
    background: #f8fafc;
    border: 1px dashed var(--border);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

#pix-key {
    font-weight: 700;
    color: var(--text-main);
    font-family: monospace;
    font-size: 1.1rem;
}

.btn-copy {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-copy:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Suporte */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.support-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.support-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.support-item .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-tabs {
        display: none; /* Poderia fazer um menu hamburger, mas para manter vanilla simples e direto vou manter foco mobile nas CTAs e scroll */
    }
    
    header nav {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .tab-content {
        padding: 2rem 0;
    }
}
