:root {
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --secondary-light: #34d399;
    --accent: #f59e0b;
    --bg-dark: #050505; /* Unificado com o Hero */
    --bg-card: #0a0a0a; /* Cards ligeiramente mais claros que o fundo */
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.05);
    --glass: rgba(10, 10, 10, 0.7);
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo img {
    width: 42px;
    height: 42px;
    background: white;
    padding: 4px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Sections Base */
section {
    padding: 100px 0;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 48px;
}

/* Glass Card */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 48px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-premium);
}

/* Buttons */
.btn {
    padding: 16px 36px;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Badge */
.badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: inline-block;
    border: 1px solid rgba(59, 130, 246, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(30, 41, 59, 0.6);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #fff;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary-light);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-white);
    margin-bottom: 24px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.user-meta h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.user-meta span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing-section {
    background: rgba(15, 23, 42, 0.3);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 60px 48px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card.premium {
    border-color: var(--primary);
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent), var(--bg-card);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(90deg, #7c3aed, #3b82f6);
    color: white;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: #fff;
}

.price span {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-white);
    font-size: 1.1rem;
}

.features-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 800;
}

/* Footer */
footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--border);
    background: #0b1120;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 24px;
    max-width: 320px;
}

.footer-links h4 {
    margin-bottom: 32px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

/* Float Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.float-animation {
    animation: float 5s ease-in-out infinite;
}

/* Showcase Mockups */
.hero-showcase {
    perspective: 1000px;
}

.mock-card {
    min-width: 320px;
    height: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.mock-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: var(--primary-light);
}

.mock-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mock-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 700;
}

.mock-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

.mock-visual {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Flashcard Specific */
.flashcard-container {
    width: 100%;
    height: 100%;
    min-height: 140px;
}

.flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 140px;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flashcard-container.flipped .flashcard-inner {
    transform: rotateY(180deg);
}

.flashcard-front,
.flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.flashcard-front {
    background: var(--bg-card);
    transform: rotateY(0deg);
}

.flashcard-back {
    transform: rotateY(180deg);
    background: linear-gradient(rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.05)), var(--bg-card);
}

.flashcard-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary-light);
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.flashcard-question {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.flashcard-answer {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-light);
    padding: 8px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Question Specific */
.question-mock-item {
    font-size: 0.85rem;
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
}

.question-mock-item.correct {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--secondary);
    position: relative;
}

.question-mock-item.correct::after {
    content: '✓';
    position: absolute;
    right: 12px;
    color: var(--secondary);
}

.pro-tip-box {
    margin-top: 12px;
    background: rgba(245, 158, 11, 0.1);
    border-left: 3px solid var(--accent);
    padding: 8px 12px;
    font-size: 0.8rem;
    color: var(--accent);
}

/* Progress Specific */
.progress-mock-bar {
    margin-bottom: 16px;
}

.progress-mock-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.progress-mock-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-mock-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
}

.progress-mock-stats {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Free Subjects Section */
.free-subjects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.subject-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.subject-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom right, var(--bg-card), rgba(16, 185, 129, 0.05));
}

.subject-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.semester-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.free-access-badge {
    font-size: 0.65rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subject-card h3 {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 24px;
    font-weight: 700;
}

.subject-arrow {
    margin-top: auto;
    align-self: flex-end;
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.subject-card:hover .subject-arrow {
    transform: translateX(5px);
}

/* Decoration 3D */
.decoration-3d {
    position: absolute;
    z-index: -1;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.15;
}

/* Responsive */
@media (max-width: 1024px) {
    .free-subjects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-showcase {
        flex-direction: column;
        align-items: center;
        overflow-x: visible;
        padding: 0;
    }

    .mock-card {
        width: 100%;
        min-width: unset;
        height: auto;
        min-height: 320px;
        margin-bottom: 24px;
        padding: 24px 20px;
        /* Reduced padding for mobile */
    }

    .mock-visual {
        padding: 12px;
        /* reduced from 20px to give content more space */
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.3;
        /* Fix 'cut off' text */
        padding: 0 10px;
        /* Ensure no horizontal cut off */
    }

    .pricing-card.premium {
        transform: none;
        margin: 20px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo {
        justify-content: center;
    }

    .footer-links h4 {
        margin-bottom: 16px;
    }

    .pricing-card {
        padding: 40px 24px;
    }

    .free-subjects-grid {
        grid-template-columns: 1fr;
    }

    .decoration-3d {
        display: none;
        /* Hide on mobile to prevent overflow/distraction */
    }

    .navbar {
        flex-direction: row;
        gap: 16px;
    }
    .nav-links {
        margin-left: auto;
    }
    #nav-login-btn {
        width: auto;
        padding: 8px 16px;
        border-radius: 99px;
        font-size: 0.95rem;
        background: rgba(30, 41, 59, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px);
    }
    #nav-login-btn span {
        display: block;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    #nav-login-btn svg {
        display: none;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .cta-group .btn {
        width: 100%;
    }
}

/* Stats Counter Bar */
.stats-bar {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(16, 185, 129, 0.08));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-block {
    position: relative;
}

.stat-block:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border);
}

.stat-number {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.stat-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Como Funciona Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #fff;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    color: var(--text-white);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: 'Inter', sans-serif;
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--primary-light);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA Final Section */
.cta-final {
    text-align: center;
    padding: 100px 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
    position: relative;
}

.cta-final h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 30%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-final p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 550px;
    margin: 0 auto 40px;
}

.cta-final .btn-primary {
    font-size: 1.2rem;
    padding: 18px 48px;
}

.cta-guarantee {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cta-guarantee svg {
    color: var(--secondary);
}

/* Pricing Improvements */
.price-old {
    font-size: 1.3rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}

.price-discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.premium-guarantee span {
    color: var(--secondary-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.premium-cancel-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 12px;
}

/* Button utilities */
.btn-full-width {
    width: 100%;
}

.btn-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 10px 40px rgba(59, 130, 246, 0.6); }
}

.btn-mt-16 {
    margin-top: 16px;
}

.btn-mt-20 {
    margin-top: 20px;
}

.btn-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Free subjects header */
.badge-mb-32 {
    margin-bottom: 32px;
}

.section-title-mb-24 {
    margin-bottom: 24px;
}

/* Disabled card */
.disabled-card {
    opacity: 0.5;
    cursor: default;
}

.disabled-card:hover {
    transform: none;
    border-color: var(--border);
    box-shadow: none;
    background: var(--bg-card);
}

.coming-soon-badge {
    font-size: 0.65rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: toastIn 0.3s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
}

.toast-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-white);
}

.toast-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.toast-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--secondary-light);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.toast-out {
    animation: toastOut 0.3s ease-in forwards;
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(50px); }
}

/* PIX Success Styles */
.pix-success-container {
    text-align: center;
    padding: 8px 0;
}

.pix-success-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.pix-success-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pix-success-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.pix-qr-container {
    margin: 0 auto 24px;
    max-width: 220px;
}

.pix-qr-image {
    width: 100%;
    border-radius: 12px;
}

.pix-code-group label {
    text-align: left;
}

.pix-code-wrapper {
    position: relative;
}

.pix-code-area {
    width: 100%;
    height: 70px;
    padding: 10px;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-white);
    resize: none;
    font-family: monospace;
}

.pix-copy-btn {
    margin-top: 8px;
}

.pix-success-footer {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Modal login styles */
.modal-checkout-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-checkout-title {
    margin-bottom: 8px;
}

.modal-checkout-subtitle {
    color: var(--text-muted);
}

.modal-login-options {
    margin-bottom: 16px;
}

.modal-login-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.modal-login-divider {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 16px 0;
    position: relative;
}

.form-group-helper {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive additions */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-block:not(:last-child)::after {
        display: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .steps-grid::before {
        display: none;
    }

    .cta-final h2 {
        font-size: 2rem;
    }
}

/* Modal Styles for Checkout */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-card);
    margin: auto;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input:read-only {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Modal Buttons */
.modal .btn {
    width: 100%;
    margin-top: 16px;
}

/* ==========================================
   Utility Classes (replacing inline styles)
   ========================================== */

/* Hero Decoration Blobs */
.decoration-primary {
    top: 10%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: var(--primary);
}

.decoration-secondary {
    bottom: 20%;
    right: 10%;
    width: 350px;
    height: 350px;
    background: var(--secondary);
}

/* CTA Button Group */
.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Showcase Cards Row */
.hero-showcase {
    margin-top: 80px;
    display: flex;
    gap: 24px;
    justify-content: center;
    overflow-x: auto;
    padding: 20px 20px 40px;
}

/* Flashcard Interactivity */
.flashcard-perspective {
    perspective: 1000px;
}

.flashcard-container {
    cursor: pointer;
}

/* Flashcard Flip Hint */
.flashcard-hint {
    margin-top: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Flashcard Back Tag */
.flashcard-tag-answer {
    color: var(--secondary-light);
}

/* Highlighted / Featured Card */
.mock-card-featured {
    transform: scale(1.05);
    z-index: 2;
}

/* Progress Stats Icon */
.progress-stats-icon {
    margin-top: 16px;
    text-align: center;
}

.progress-stats-icon span {
    font-size: 2rem;
}

/* Checkout Modal Layout Utilities */
.checkout-row {
    display: flex;
    gap: 12px;
}

.checkout-full {
    flex: 1;
}

.checkout-half {
    flex: 1;
}

/* Checkout Divider */
.checkout-divider {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 16px 0;
}

/* Payment Result */
.payment-result {
    text-align: center;
    padding: 20px;
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.payment-label {
    font-weight: bold;
    margin-bottom: 12px;
    color: var(--text-muted);
}

/* PIX QR + Copy Textarea */
.pix-qr {
    width: 200px;
    margin: 0 auto;
    border-radius: 12px;
}

.pix-textarea-wrap {
    position: relative;
}

.pix-textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    font-size: 0.8rem;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: none;
}

.pix-copy-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 10px;
    font-size: 0.75rem;
}

.pix-note {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer Logo */
.footer-logo {
    height: 60px;
    width: auto;
}