/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animação de abertura */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.logo-container {
    text-align: center;
    color: white;
}

.logo-text {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.logo-subtitle {
    display: none;
}

@keyframes logoGlow {
    from {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

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

/* Página de Saudação (idêntica à splash screen) */
.greeting-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8888;
}

.greeting-container {
    text-align: center;
    color: white;
}

.greeting-logo-text {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

/* Animação do cérebro */
.brain-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: fadeIn 0.5s ease;
}

.brain-loader.hidden {
    display: none;
}

.brain-icon {
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.brain-left,
.brain-right {
    animation: drawPath 2s ease forwards;
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
}

.brain-right {
    animation-delay: 0.5s;
}

.brain-dot {
    opacity: 0;
    animation: dotPulse 1s ease infinite;
}

.dot1 { animation-delay: 0.8s; }
.dot2 { animation-delay: 1s; }
.dot3 { animation-delay: 1.2s; }
.dot4 { animation-delay: 1.4s; }
.dot5 { animation-delay: 1.6s; }

.loading-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

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

/* Utilitários */
.hidden {
    display: none !important;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    animation: fadeIn 0.6s ease both;
}

.fade-in-slow {
    animation: fadeInSlow 1.5s ease both;
}

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

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

.pulse {
    animation: pulse 0.6s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Container principal */
.main-container {
    min-height: 100vh;
    position: relative;
}

.step {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.step.active {
    opacity: 1;
}

/* CPF Section */
.cpf-section {
    background: transparent;
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.cpf-content {
    text-align: center;
    width: 100%;
    max-width: 450px;
}

/* Formulário CPF */
.cpf-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 3rem 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: none;
}

.cpf-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #10b981;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.cpf-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 500;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.cpf-input, .whatsapp-input, .student-name-input {
    width: 100%;
    padding: 1.2rem;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    background: rgba(240, 240, 240, 0.8);
    backdrop-filter: blur(5px);
}

.cpf-input:focus, .whatsapp-input:focus, .student-name-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

.cpf-input.error, .whatsapp-input.error, .student-name-input.error {
    background: rgba(239, 68, 68, 0.1);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.error-message {
    color: #ef4444;
    font-size: 0.9rem;
    display: block;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

/* Botões */
.btn-primary, .btn-secondary, .btn-success {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: white;
    color: #10b981;
    border: 2px solid #10b981;
}

.btn-secondary:hover {
    background: #10b981;
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-success:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

.btn-primary:disabled, .btn-success:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Mensagem personalizada */
.personalized-message {
    background: #0d1117;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: left;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 255, 0, 0.1),
        inset 0 1px 0 rgba(0, 255, 0, 0.1);
    max-width: 700px;
    width: 100%;
    border: 1px solid #30363d;
}

.greeting-text {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #00ff00;
    margin-bottom: 2rem;
    min-height: 300px;
    background: #0d1117;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #30363d;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.hacker-line {
    margin: 0.8rem 0;
    font-weight: 500;
    font-size: 1.1rem;
    color: #00ff00;
    text-align: left;
    position: relative;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.message-line {
    margin: 1.5rem 0;
    font-weight: 500;
    font-size: 1.4rem;
    color: #00ff00;
    text-align: left;
    position: relative;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.message-line::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: #00ff00;
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
}

.message-line.completed::after {
    display: none;
}

/* Efeito de cursor piscando */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Efeito de glitch para texto hacker */
.hacker-glitch {
    animation: glitch 0.1s linear infinite;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(1px, 1px); }
    80% { transform: translate(1px, -1px); }
    100% { transform: translate(0); }
}

/* Efeito de brilho para texto final */
.hacker-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
    }
    to {
        text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00;
    }
}

/* Terminal scrollbar */
.greeting-text::-webkit-scrollbar {
    width: 8px;
}

.greeting-text::-webkit-scrollbar-track {
    background: #161b22;
}

.greeting-text::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 4px;
}

.greeting-text::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}

/* Seção de cursos */
.courses-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    border: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.section-title .highlight {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.payment-info {
    text-align: center;
    margin-bottom: 2.5rem;
}

.payment-highlight {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    display: inline-block;
    letter-spacing: 0.5px;
}

/* Grid de cursos */
.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards de curso */
.course-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 85px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}

.course-card.selected {
    background: rgba(16, 185, 129, 0.05);
    border-color: #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
}

.course-card.premium {
    border-color: rgba(245, 158, 11, 0.2);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.08);
}

.course-card.premium:hover {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.15);
}

.course-card.premium.selected {
    background: rgba(245, 158, 11, 0.03);
    border-color: #f59e0b;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.2);
}

.course-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-week {
    background: #059669;
}

.badge-premium {
    background: #f59e0b;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #1f2937;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.course-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 1rem;
}

.course-lessons {
    font-size: 0.9rem;
    color: #374151;
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.lessons-number {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
}

.course-subtitle {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0;
    font-weight: 500;
}

.course-special {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 1rem 0;
    text-align: center;
}

.course-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.75rem;
    border-left: 1px solid rgba(16, 185, 129, 0.1);
    border-right: 1px solid rgba(16, 185, 129, 0.1);
}

.price-label {
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}

.price-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #10b981;
    letter-spacing: -0.02em;
}

/* Checkbox personalizado */
.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
}

.course-checkbox {
    width: 24px;
    height: 24px;
    accent-color: #10b981;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.course-checkbox:hover {
    transform: scale(1.1);
}

.course-checkbox:checked {
    transform: scale(1.15);
}

/* Resumo do carrinho */
.cart-summary {
    background: rgba(248, 249, 250, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.total-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.total-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
}

.total-value {
    font-size: 2rem;
    font-weight: 900;
    color: #1a1a1a;
}

/* Seção de checkout */
.checkout-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    border: none;
}

.checkout-summary {
    background: rgba(248, 249, 250, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.checkout-summary h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.order-items {
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.whatsapp-form {
    text-align: center;
}

/* Seção de sucesso */
.success-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(16, 185, 129, 0.12);
    max-width: 550px;
    width: 100%;
    border: 1px solid rgba(16, 185, 129, 0.08);
    position: relative;
    overflow: hidden;
}

.success-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.success-brain-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.success-brain {
    color: #10b981;
    animation: gentlePulse 3s ease-in-out infinite;
}

.brain-success-left,
.brain-success-right {
    stroke: #10b981;
    fill: none;
}

.success-dot {
    fill: #10b981;
    opacity: 0.8;
    animation: dotGlow 2s ease-in-out infinite;
}

.success-dot:nth-child(3) { animation-delay: 0.5s; }
.success-dot:nth-child(4) { animation-delay: 1s; }
.success-dot:nth-child(5) { animation-delay: 1.5s; }

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes dotGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    animation: successBounce 1s ease;
}

@keyframes successBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.success-title {
    font-size: 2rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.4rem;
    color: #1f2937;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.success-subtitle {
    font-size: 1rem;
    color: #888;
    margin-bottom: 2rem;
}

.success-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
    position: relative;
    z-index: 2;
}

.brand-message {
    font-size: 1.15rem;
    color: #374151;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.brand-message strong {
    color: #10b981;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.brand-subtitle {
    font-size: 0.9rem;
    color: #10b981;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.03em;
    opacity: 0.9;
}

/* Responsividade */
@media (max-width: 768px) {
    .logo-text {
        font-size: 2.5rem;
    }

    .greeting-logo-text {
        font-size: 2.5rem;
    }

    .cpf-section {
        margin: 1rem;
        min-height: 50vh;
    }

    .cpf-content {
        max-width: calc(100vw - 2rem);
    }

    .cpf-form {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .cpf-title {
        font-size: 2rem;
    }

    .cpf-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .courses-section {
        margin: 1rem;
        padding: 2rem 1.5rem;
        border-radius: 20px;
        max-width: calc(100vw - 2rem);
    }

    .courses-grid {
        gap: 1rem;
        max-width: 100%;
    }

    .course-card {
        padding: 1.25rem 1rem;
        min-height: 80px;
        border-radius: 14px;
        gap: 0.75rem;
    }

    .course-title {
        font-size: 1.15rem;
        margin-bottom: 0.2rem;
    }

    .course-lessons {
        font-size: 0.85rem;
    }

    .lessons-number {
        padding: 0.1rem 0.4rem;
        font-size: 0.9rem;
    }

    .course-subtitle {
        font-size: 0.8rem;
    }

    .payment-highlight {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .course-price {
        padding: 0 0.5rem;
    }

    .price-label {
        font-size: 0.65rem;
    }

    .price-value {
        font-size: 1.05rem;
    }

    .course-checkbox {
        width: 22px;
        height: 22px;
    }

    .cart-summary {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .total-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .checkout-section {
        margin: 1rem;
        padding: 2rem 1.5rem;
        border-radius: 20px;
        max-width: calc(100vw - 2rem);
    }

    .checkout-summary {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .success-section {
        margin: 1rem;
        padding: 2rem 1.5rem;
        border-radius: 20px;
        max-width: calc(100vw - 2rem);
    }

    .success-title {
        font-size: 1.5rem;
    }
}

/* Media query para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .courses-grid {
        max-width: 700px;
        gap: 1.25rem;
    }

    .course-card {
        padding: 2rem 1.75rem;
        min-height: 105px;
    }

    .course-title {
        font-size: 1.45rem;
    }

    .price-value {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .step {
        padding: 1rem 0.5rem;
    }

    .logo-text {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }

    .greeting-logo-text {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .course-details p {
        font-size: 0.9rem;
    }

    .courses-grid {
        gap: 0.75rem;
    }

    .course-card {
        padding: 1rem 0.75rem;
        min-height: 75px;
        border-radius: 12px;
        gap: 0.5rem;
    }

    .course-title {
        font-size: 1.05rem;
        margin-bottom: 0.15rem;
    }

    .course-lessons {
        font-size: 0.8rem;
    }

    .lessons-number {
        padding: 0.05rem 0.35rem;
        font-size: 0.85rem;
    }

    .course-subtitle {
        font-size: 0.75rem;
    }

    .payment-highlight {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .course-price {
        padding: 0 0.4rem;
        border-left: 1px solid rgba(16, 185, 129, 0.08);
        border-right: 1px solid rgba(16, 185, 129, 0.08);
    }

    .price-label {
        font-size: 0.6rem;
    }

    .price-value {
        font-size: 0.95rem;
    }

    .course-checkbox {
        width: 20px;
        height: 20px;
    }

    .btn-primary, .btn-secondary, .btn-success {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .cpf-input, .whatsapp-input, .student-name-input {
        font-size: 1rem;
        padding: 0.8rem;
    }
}

/* Animações adicionais */
.course-card {
    animation: slideInUp 0.6s ease both;
}

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

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

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    position: relative;
    color: transparent !important;
}

.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}