:root {
    /* Futuristic Clean Palette */
    --color-bg-light: #F2F5F8;
    --color-bg-white: #FFFFFF;
    --color-primary: #00D2D3;
    /* Neon Teal */
    --color-primary-glow: rgba(0, 210, 211, 0.4);
    --color-secondary: #54A0FF;
    /* Electric Blue Accent */

    /* Derived Colors */
    --color-text-main: #1E272E;
    --color-text-light: #576574;
    --color-white: #FFFFFF;
    --color-dark-teal: #0C2461;
    /* Deep Midnight Blue */
    --color-accent-gradient: linear-gradient(135deg, #00D2D3 0%, #54A0FF 100%);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 90px;
    --border-radius: 24px;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    line-height: 1.7;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 210, 211, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(84, 160, 255, 0.05) 0%, transparent 20%);
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
/* Utilities */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--color-accent-gradient);
    color: var(--color-white);
    border: none;
    box-shadow: 0 10px 30px var(--color-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px var(--color-primary-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-dark-teal);
    border: 2px solid rgba(12, 36, 97, 0.1);
    margin-left: 10px;
    box-shadow: none;
    padding: 14px 28px;
    font-size: 0.95rem;
}

.btn-outline:hover {
    border-color: var(--color-dark-teal);
    background-color: rgba(12, 36, 97, 0.05);
    color: var(--color-dark-teal);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.2rem;
}

.highlight {
    color: var(--color-dark-teal);
    position: relative;
    z-index: 1;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--color-accent-gradient);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
    filter: blur(4px);
}

.gradient-text-animated {
    background: linear-gradient(90deg, var(--color-dark-teal) 0%, var(--color-primary) 50%, var(--color-dark-teal) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-walk 4s linear infinite;
    display: inline-block;
    padding: 10px 0;
    margin: -10px 0;
    vertical-align: middle;
}

/* Header */
/* Header */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    transition: 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 2;
}

.logo img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-weight: 600;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Hero Section */
#hero {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--color-text-main);
    letter-spacing: -2px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.8;
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(0, 210, 211, 0.1);
    color: var(--color-dark-teal);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(0, 210, 211, 0.2);
}

.trust-indicators {
    margin-top: 40px;
    display: flex;
    gap: 25px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.trust-indicators i {
    color: var(--color-primary);
    margin-right: 8px;
    filter: drop-shadow(0 0 5px var(--color-primary));
}

/* Book Mockup */
.book-mockup {
    width: 100%;
    max-width: 380px;
    /* Slightly smaller to look refined */
    margin: 0 auto;
    position: relative;
    perspective: 1500px;
    animation: float 6s ease-in-out infinite;
}

.book-mockup img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
    transform: rotateY(-5deg);
    /* Slight 3D angle default */
}

.book-mockup:hover img {
    transform: rotateY(0deg) scale(1.02);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-down a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.scroll-down a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Specific Positions for Hero */
.c1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-left: 5px solid var(--color-primary);
}

.c2 {
    top: 50%;
    right: -20px;
    animation-delay: 1.5s;
    background: var(--color-dark-teal);
    color: white;
    padding: 18px 35px;
    font-size: 1.1rem;
    box-shadow: 0 20px 50px rgba(12, 36, 97, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.c3 {
    bottom: 0%;
    left: 0;
    animation-delay: 3s;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-left: 5px solid var(--color-secondary);
}

/* Benefits Section */
#beneficios {
    padding: 120px 0;
    position: relative;
    background: transparent;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.2rem;
    font-weight: 300;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 30px;
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.benefit-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 210, 211, 0.15);
    border-color: var(--color-primary);
    background: white;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 210, 211, 0.1) 0%, rgba(84, 160, 255, 0.1) 100%);
    color: var(--color-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.benefit-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.benefit-card p {
    color: var(--color-text-light);
}

/* Content Section */
#conteudo {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fff, var(--color-bg-light));
}

/* Syllabus Styles */
.content-text.full-width {
    width: 100%;
}

.content-text.full-width h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.8rem;
    display: inline-block;
    /* Ensure it behaves for text gradient */
    width: 100%;
    /* Keep centering */

    /* Gradient Text with Animation */
    background: linear-gradient(90deg, var(--color-dark-teal) 0%, var(--color-primary) 50%, var(--color-dark-teal) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-walk 4s linear infinite;
}

@keyframes gradient-walk {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.syllabus {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.syllabus-block {
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(15px);
}

/* Floating Cards - Hero Integration */
.hero-image {
    position: relative;
    z-index: 5;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    font-weight: 700;
    color: var(--color-dark-teal);
    animation: float 6s infinite ease-in-out;
    z-index: 10;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Hide floats on mobile to prevent overflow/clutter */
@media (max-width: 968px) {
    .hero-float {
        display: flex;
        padding: 10px 20px;
        font-size: 0.8rem;
        z-index: 20;
    }

    .c1 {
        top: 0%;
        left: 0;
    }

    .c2 {
        right: 0;
        padding: 12px 25px;
    }

    .c3 {
        bottom: -10%;
        left: 0;
    }
}

.syllabus-block h3 {
    color: var(--color-dark-teal);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.syllabus-block h3 i {
    color: var(--color-primary);
}

.syllabus-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--color-bg-light);
    border-radius: 8px;
    font-size: 1.1rem;
}

.chapter-range {
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.syllabus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.syllabus-card {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.syllabus-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.syllabus-card h4 {
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.syllabus-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.final-align {
    background: var(--color-dark-teal);
    color: white;
    text-align: center;
}

.final-align h3 {
    color: white;
    justify-content: center;
}

.final-align h3 i {
    color: var(--color-primary);
}

.final-align p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Diagnostico Promo */
#diagnostico-promo {
    padding: 100px 0;
    background: transparent;
}

.promo-card {
    background: var(--color-bg-white);
    border-radius: var(--border-radius);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.promo-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-circle {
    width: 200px;
    height: 200px;
    background: var(--color-accent-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: white;
    box-shadow: 0 0 40px var(--color-primary-glow);
    animation: pulse-subtle 3s infinite;
}

@media (max-width: 968px) {
    .promo-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 20px;
    }

    .promo-visual {
        order: -1;
    }
}

/* Diagnostico Page Styles */
.diag-container {
    padding-top: 150px;
    padding-bottom: 100px;
    max-width: 1000px;
    /* Increased from 800px */
    margin: 0 auto;
}

.diag-step {
    background: white;
    padding: 60px;
    /* Increased from 40px */
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(12, 36, 97, 0.08);
    margin-bottom: 30px;
    text-align: center;
}

.search-container {
    position: relative;
    margin: 40px auto;
    max-width: 600px;
}

#concurso-search {
    width: 100%;
    padding: 22px 30px;
    border-radius: 50px;
    border: 2px solid #eef2f6;
    font-size: 1.2rem;
    font-family: inherit;
    transition: 0.3s;
    outline: none;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

#concurso-search:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px var(--color-primary-glow);
}

.exam-list {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.exam-list.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.option-btn {
    padding: 30px 20px;
    background: #fff;
    border: 2px solid #eef2f6;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-family: inherit;
}

.option-btn i {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.option-btn span {
    font-weight: 700;
    color: var(--color-dark-teal);
    font-size: 1rem;
}

.option-btn:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--color-primary-glow);
}

@media (max-width: 768px) {
    .option-btn:hover {
        transform: none;
    }
}

.option-btn.selected {
    background: var(--color-accent-gradient);
    border-color: transparent;
}

.option-btn.selected i,
.option-btn.selected span {
    color: white;
}

.btn-loader {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.exam-list::-webkit-scrollbar {
    width: 8px;
}

.exam-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.exam-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.exam-list::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

.exam-btn {
    padding: 15px 20px;
    background: white;
    border: none;
    border-bottom: 1px solid #f8fafc;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-dark-teal);
    width: 100%;
}

.exam-btn:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.exam-btn:last-child {
    border-bottom: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.exam-btn i {
    color: var(--color-primary);
    background: rgba(0, 210, 211, 0.05);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1rem;
}

.exam-btn:hover {
    background: #f8fafc;
    color: var(--color-primary);
    padding-left: 25px;
}

/* Redirect Overlay */
.redirect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 36, 97, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.redirect-box h3 {
    font-size: 2rem;
    margin-top: 30px;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.redirect-box p {
    opacity: 0.7;
    margin-top: 10px;
}

.loader-ring {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.diag-result {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.result-card {
    background: var(--dark-teal);
    /* Fix if variable changed, but using var(--color-dark-teal) usually */
    background: var(--color-dark-teal);
    color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.result-card h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.focus-list {
    list-style: none;
    margin: 20px 0;
}

.focus-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.focus-list i {
    color: var(--color-primary);
    margin-top: 5px;
}

.progress-container {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--color-accent-gradient);
    transition: width 1s ease-in-out;
}

.visual-circle {
    width: 250px;
    /* Increased from 200px */
    height: 250px;
    /* Increased from 200px */
    background: var(--color-accent-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6rem;
    /* Increased size */
    color: white;
    box-shadow: 0 0 40px var(--color-primary-glow);
    animation: pulse-subtle 3s infinite;
    margin: 0 auto 30px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accordion Styles */
.accordion-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
    user-select: none;
    /* Prevent text selection on double click */
}

.accordion-header:hover {
    color: var(--color-primary);
}

.accordion-header span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.arrow-icon {
    font-size: 1.2rem;
    transition: transform 0.4s ease;
    color: var(--color-text-light);
}

.accordion-header.active .arrow-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, margin-top 0.3s ease;
    opacity: 0;
}

.accordion-content.active {
    opacity: 1;
    margin-top: 20px;
    /* Only add margin when open */
}

/* CTA Section */
/* About Section */
#sobre {
    padding: 100px 0;
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--color-text-main);
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-features {
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--color-dark-teal);
    font-weight: 500;
}

.about-features i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-card {
    background: var(--color-bg-light);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.stat-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--color-dark-teal);
    margin-bottom: 15px;
    display: block;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.stat-card p {
    color: var(--color-text-light);
    font-weight: 600;
}

/* Mobile Responsive Adjustments for About */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-features li {
        justify-content: center;
    }

    .about-features {
        display: inline-block;
        text-align: left;
    }
}

/* Enhanced CTA Section */
.cta-section {
    padding: 100px 0 140px;
    background: radial-gradient(circle at 50% 50%, rgba(0, 210, 211, 0.05) 0%, transparent 70%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.cta-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 70px 50px;
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(12, 36, 97, 0.08);
    max-width: 800px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px);
}

.offer-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-dark-teal);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-card h2 {
    color: var(--color-text-main);
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.cta-card p {
    color: var(--color-text-light);
    margin-bottom: 30px;
}

/* New Price Styling */
.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

.old-price-wrapper {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 5px;
    font-weight: 500;
}

.strikethrough {
    text-decoration: line-through;
    color: #999;
}

.hero-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: var(--color-dark-teal);
    line-height: 1;
    margin-top: 10px;
}

.hero-price .term {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 5px;
}

.hero-price .value {
    font-size: 5.5rem;
    font-weight: 800;
    letter-spacing: -3px;
    background: linear-gradient(135deg, var(--color-dark-teal) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(143, 201, 203, 0.3);
    line-height: 0.9;
}

.sub-price {
    font-size: 1.1rem;
    color: var(--color-dark-teal);
    margin-top: 15px;
    font-weight: 600;
    background: rgba(143, 201, 203, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-pulse {
    animation: pulse-shadow 2s infinite;
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 0 0 0 rgba(143, 201, 203, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(143, 201, 203, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(143, 201, 203, 0);
    }
}

.guarantee {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--color-bg-light);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-logo img {
    height: 45px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-text-light);
    font-size: 1.5rem;
}

.payment-icons i {
    opacity: 0.7;
    transition: 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.payment-icons i span {
    font-size: 0.7rem;
    font-weight: 800;
    font-family: var(--font-body);
}

.payment-icons i:hover {
    opacity: 1;
    color: var(--color-primary);
}

.secure-badge {
    background: rgba(0, 210, 211, 0.1);
    padding: 8px 15px;
    border-radius: 50px;
    color: var(--color-primary) !important;
    opacity: 1 !important;
    font-size: 0.9rem !important;
    border: 1px solid rgba(0, 210, 211, 0.2);
}

.secure-badge span {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-disclaimer {
    max-width: 800px;
    margin: 40px auto 0;
    padding-top: 20px;
}

.footer-disclaimer p {
    font-size: 0.75rem;
    color: #999;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 20px;
    }
}

/* Bonus Section */
#bonus {
    padding: 100px 0;
    background-color: #f0f7f7;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.bonus-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    position: relative;
    text-align: center;
    border: 2px dashed var(--color-primary);
    transition: 0.3s;
}

.bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bonus-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FF6B6B;
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
}

.bonus-card i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.bonus-card h3 {
    margin-bottom: 15px;
    color: var(--color-dark-teal);
}

.bonus-card .value {
    display: block;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}



/* Responsive */
/* Mobile & Responsive Enhancements */
.hamburger-menu {
    display: none;
    font-size: 1.5rem;
    color: var(--color-dark-teal);
    cursor: pointer;
}

.mobile-cta {
    display: none;
}

@media (max-width: 968px) {

    /* Layout Adjustments */
    .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .hero-text {
        display: contents;
    }

    .badge {
        order: 1;
        margin-bottom: 15px;
    }

    .hero-text h1 {
        order: 2;
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .hero-text p {
        order: 3;
        margin: 0 auto 30px;
    }

    .hero-image {
        order: 4;
        margin-bottom: 40px;
        width: 100%;
        margin-top: 30px;
    }

    .trust-indicators {
        order: 6;
        justify-content: center;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .btn-outline {
        margin-left: 0;
    }

    /* Mobile Navigation */
    .hamburger-menu {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        /* Reset left centering */
        transform: none;
        /* Reset transform */
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: 0.4s ease;
        z-index: 1000;
        padding: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .desktop-cta {
        display: none;
    }

    .mobile-cta {
        display: block;
        width: 100%;
    }

    .mobile-cta .btn {
        width: 100%;
    }

    /* General Spacing Reduction */
    section {
        padding: 60px 0 !important;
    }

    #hero {
        padding-top: 120px !important;
        padding-bottom: 80px !important;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .book-mockup {
        max-width: 280px;
    }

    /* Syllabus Adjustments */
    .syllabus-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .chapter-range {
        align-self: flex-end;
    }

    /* Price Responsive */
    .hero-price .value {
        font-size: 4rem;
    }

    .scroll-down {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .cta-card {
        padding: 30px 20px;
    }

    /* Fix Price on Small Screens */
    .hero-price {
        gap: 5px;
    }

    .hero-price .term {
        font-size: 1.5rem;
    }

    .hero-price .value {
        font-size: 3rem;
    }

    .sub-price {
        font-size: 0.95rem;
        padding: 6px 15px;
    }

    .syllabus-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .option-btn {
        animation: none !important;
        transform: none !important;
    }

    footer {
        padding: 40px 0 20px;
    }
}

/* Float Help Button */
.help-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: block;
    text-decoration: none;
    animation: float-entrance 1s ease-out 1s backwards, pulse-subtle 3s infinite;
}

.help-content {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--color-accent-gradient);
    color: white;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 8px 25px var(--color-primary-glow);
    border: 2px solid white;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.help-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
}

.help-text {
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    max-width: 200px;
    opacity: 1;
    margin-left: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.help-popup.minimized .help-text {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
}

.help-popup.minimized .help-content {
    border-radius: 50%;
    /* Optional: make it fully round when minimized for standard FAB look, or keep 16px. 
       User said "square with rounded corners", but often "only icon" implies a button shape.
       Let's stick to 16px as explicitly requested for the main shape, maybe 50% for minimized?
       "deixe ele quadrado com cantos arredondados" applies to the general shape. 
       I will keep 16px for minimized too to be consistent. */
    border-radius: 16px;
    padding: 12px;
}

.help-popup:hover .help-content {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px var(--color-primary-glow);
}

@keyframes float-entrance {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse-subtle {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

@media (max-width: 768px) {
    .help-popup {
        bottom: 20px;
        right: 20px;
    }

    .help-content {
        padding: 10px 20px;
    }

    .help-icon {
        font-size: 1.4rem;
    }

    .help-text {
        font-size: 0.9rem;
    }
}
