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

:root {
    /* Cores SAEB - Inspiradas na imagem (tons vibrantes) */
    --primary-color: #3700FE;
    --secondary-color: #2BD9E2;
    --accent-orange: #FFA500;
    --accent-purple: #764ba2;
    --accent-yellow: #FFD700;
    --text-primary: #1f1f1f;
    --text-secondary: #666;
    --text-light: #8f9091;
    --background: #ffffff;
    --background-light: #f8f9fa;
    --background-grey: #f0f0f0;
    --background-gradient: linear-gradient(135deg, #FFA500 0%, #FF6B9D 50%, #764ba2 100%);
    --border-light: #e8eaed;
    --border-medium: #dadce0;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 4px 16px rgba(0, 0, 0, 0.12);
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 16px;
    --radius-xl: 24px;

    /* Typography */
    --font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-headings: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 14px;
    --font-size-sm: 16px;
    --font-size-base: 18px;
    --font-size-lg: 20px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 40px;
    --font-size-4xl: 48px;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-family-headings);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-xl);
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-3xl);
    }
    h2 {
        font-size: var(--font-size-2xl);
    }
    h3 {
        font-size: var(--font-size-lg);
    }
}

/* Header */
.main-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafe 100%);
    padding: 30px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 52px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.header-logo:hover img {
    transform: scale(1.05);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 14px 24px;
    background: white;
    border-radius: 30px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all 0.3s ease;
}

.header-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(55, 0, 254, 0.3);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--background-light);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    list-style: none;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: var(--space-xs);
    color: var(--text-light);
}

.breadcrumb-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--text-primary);
    font-weight: 500;
}

/* Hero Section SAEB */
.hero-saeb {
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(43, 217, 226, 0.03) 2px, rgba(43, 217, 226, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 165, 0, 0.03) 2px, rgba(255, 165, 0, 0.03) 4px),
        linear-gradient(135deg, #1a1464 0%, #2d1b69 25%, #0f0b3d 50%, #1e1466 75%, #0d0a33 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

/* Elementos decorativos inspirados na imagem - pixels e formas geométricas */
.hero-saeb::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, rgba(255, 200, 87, 0.12) 0%, rgba(255, 165, 0, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.hero-saeb::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(43, 217, 226, 0.15) 0%, rgba(118, 75, 162, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    animation: pulse 5s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Elementos pixelados decorativos - inspirados nas moedas e confetes da imagem */
.hero-saeb .pixel-decoration {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    opacity: 0.6;
    animation: float-pixel 6s ease-in-out infinite;
}

.hero-saeb .pixel-decoration:nth-child(1) {
    top: 15%;
    left: 10%;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #2BD9E2, #00D4FF);
    animation-delay: 0s;
}

.hero-saeb .pixel-decoration:nth-child(2) {
    top: 25%;
    right: 15%;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    animation-delay: 1s;
}

.hero-saeb .pixel-decoration:nth-child(3) {
    bottom: 20%;
    left: 8%;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    animation-delay: 2s;
}

.hero-saeb .pixel-decoration:nth-child(4) {
    bottom: 30%;
    right: 12%;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #9B59B6, #764ba2);
    animation-delay: 1.5s;
}

@keyframes float-pixel {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-15px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
        opacity: 0.8;
    }
}

/* Raios diagonais de fundo inspirados na arte */
.hero-saeb .diagonal-ray {
    position: absolute;
    width: 200px;
    height: 800px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 200, 87, 0.05) 50%, transparent 100%);
    transform-origin: top center;
    pointer-events: none;
}

.hero-saeb .diagonal-ray:nth-of-type(1) {
    top: -100px;
    left: 20%;
    transform: rotate(15deg);
}

.hero-saeb .diagonal-ray:nth-of-type(2) {
    top: -100px;
    left: 35%;
    transform: rotate(-10deg);
    background: linear-gradient(180deg, transparent 0%, rgba(255, 105, 180, 0.04) 50%, transparent 100%);
}

.hero-saeb .diagonal-ray:nth-of-type(3) {
    top: -100px;
    right: 25%;
    transform: rotate(12deg);
    background: linear-gradient(180deg, transparent 0%, rgba(43, 217, 226, 0.05) 50%, transparent 100%);
}

/* Skyline decorativo na base - inspirado no cenário da cidade */
.hero-saeb .city-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, rgba(13, 10, 51, 0.8) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-saeb .city-skyline::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: 
        linear-gradient(90deg, transparent 0%, transparent 10%, rgba(43, 217, 226, 0.4) 10%, rgba(43, 217, 226, 0.4) 12%, transparent 12%, transparent 18%, rgba(255, 165, 0, 0.3) 18%, rgba(255, 165, 0, 0.3) 20%, transparent 20%, transparent 30%, rgba(155, 89, 182, 0.4) 30%, rgba(155, 89, 182, 0.4) 34%, transparent 34%, transparent 45%, rgba(255, 215, 0, 0.4) 45%, rgba(255, 215, 0, 0.4) 48%, transparent 48%, transparent 55%, rgba(43, 217, 226, 0.3) 55%, rgba(43, 217, 226, 0.3) 58%, transparent 58%, transparent 70%, rgba(255, 105, 180, 0.4) 70%, rgba(255, 105, 180, 0.4) 73%, transparent 73%, transparent 85%, rgba(255, 165, 0, 0.4) 85%, rgba(255, 165, 0, 0.4) 88%, transparent 88%),
        linear-gradient(to top, rgba(13, 10, 51, 0.6) 0%, transparent 100%);
    clip-path: polygon(
        0% 100%, 0% 60%, 10% 60%, 10% 40%, 12% 40%, 12% 100%,
        18% 100%, 18% 50%, 20% 50%, 20% 100%,
        30% 100%, 30% 30%, 34% 30%, 34% 100%,
        45% 100%, 45% 45%, 48% 45%, 48% 100%,
        55% 100%, 55% 55%, 58% 55%, 58% 100%,
        70% 100%, 70% 35%, 73% 35%, 73% 100%,
        85% 100%, 85% 50%, 88% 50%, 88% 100%,
        100% 100%
    );
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 1;
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, #ffe95d 0%, #ffa908 50%, #fc6e8e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* text-shadow: 0 0 40px rgba(255, 215, 0, 0.3); */
    /* filter: drop-shadow(0 2px 8px rgba(255, 165, 0, 0.4)); */
}

.hero-description {
    font-size: var(--font-size-xl);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.bullet-item {
    display: flex;
    align-items: center;
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
}

/* Link secundário destacado sobre fundo escuro */
.text-link-secondary{
    color: #b9ffff;
    text-decoration: none;
}
.text-link-secondary:hover{
    color: #ffffff;
}

.text-link-secondary {
    color: #b9ffff;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
}

.text-link-secondary:hover {
    color: var(--accent-purple);
    transform: translateX(5px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    width: 100%;
    max-width: 600px;
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgb(83, 255, 249), transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero-image-container img {
    width: 100%;
    height: auto;
    border-radius: 24px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 16px 32px;
    border-radius: var(--radius-medium);
    font-family: var(--font-family-headings);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    color: #1a1464;
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.5), 
                0 0 40px rgba(255, 215, 0, 0.3);
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 165, 0, 0.7),
                0 0 60px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #FFED4E 0%, #FFB300 50%, #FF9500 100%);
}

.btn-primary.large {
    padding: 20px 40px;
    font-size: var(--font-size-lg);
}

.btn-icon {
    font-size: 20px;
    line-height: 1;
}

.btn-badge {
    background: var(--accent-orange);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: var(--space-xs);
    white-space: nowrap;
}

.pulse-animation {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(55, 0, 254, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(55, 0, 254, 0.6);
    }
}

/* Sections */
.why-saeb {
    padding: var(--space-3xl) 0;
    background: white;
    text-align: center;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-description {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Gamified Learning */
.gamified-learning {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #fff9f3 100%);
}

.learning-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    align-items: center;
}

.learning-intro {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.subsection-title {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    margin-top: var(--space-lg);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-medium);
    border-left: 4px solid var(--accent-orange);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: var(--font-size-2xl);
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-text strong {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-base);
}

.feature-text span {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.section-cta {
    margin-top: var(--space-lg);
}

.section-cta.centered {
    text-align: center;
}

/* Game Types Grid */
.game-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.game-type-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-large);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.game-type-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-orange);
}

.game-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.game-type-card span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

/* Live Classes */
.live-classes {
    padding: var(--space-3xl) 0;
    background: white;
}

.live-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--space-3xl);
    align-items: center;
}

.pin-demo {
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    border: 2px solid var(--border-light);
}

.pin-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: var(--space-lg);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pin-header h3 {
    color: white;
    margin: 0;
}

.pin-code-display {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-small);
    font-weight: 600;
}

.pin-code-display strong {
    color: var(--accent-yellow);
    font-size: var(--font-size-lg);
}

.pin-stats {
    display: flex;
    justify-content: space-around;
    padding: var(--space-xl);
    background: var(--background-light);
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat span {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.pin-live-indicator {
    padding: var(--space-md) var(--space-lg);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-weight: 600;
    color: var(--text-primary);
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.live-description {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* Reports Section */
.reports-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #fff9f3 0%, #f0f9ff 100%);
}

.reports-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.reports-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.reports-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.report-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-medium);
    border-left: 4px solid var(--secondary-color);
}

.report-icon {
    font-size: var(--font-size-2xl);
    flex-shrink: 0;
}

.report-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.report-text strong {
    font-weight: 600;
    color: var(--text-primary);
}

.report-text span {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.reports-highlight {
    font-size: var(--font-size-base);
    color: var(--primary-color);
    font-weight: 600;
}

/* Report Preview */
.report-preview {
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.report-header {
    background: var(--primary-color);
    color: white;
    padding: var(--space-md);
    font-weight: 600;
    text-align: center;
}

.report-chart {
    padding: var(--space-xl);
}

.chart-bar {
    margin-bottom: var(--space-lg);
    position: relative;
}

.chart-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.chart-bar::after {
    content: '';
    display: block;
    height: 30px;
    background: linear-gradient(90deg, #3700fe, #00dbdf);
    border-radius: var(--radius-small);
    width: var(--percentage);
    margin-top: var(--space-xs);
    transition: width 1s ease;
}

.chart-value {
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 700;
    color: var(--primary-color);
}

/* For Teachers */
.for-teachers {
    padding: var(--space-3xl) 0;
    background: white;
    text-align: center;
}

.for-teachers h2 {
    margin-bottom: var(--space-2xl);
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.teacher-benefit {
    background: var(--background-light);
    padding: var(--space-xl);
    border-radius: var(--radius-large);
    transition: all 0.3s ease;
}

.teacher-benefit:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    background: white;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.teacher-benefit h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.teacher-benefit p {
    color: var(--text-secondary);
    margin: 0;
}

/* Why Use */
.why-use {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff9f3 100%);
    text-align: center;
}

.why-use h2 {
    margin-bottom: var(--space-2xl);
}

.why-use-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
}

.why-item {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.why-item h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-lg);
}

.why-item p {
    margin: 0;
    font-size: var(--font-size-sm);
}

/* Final CTA SAEB */
.final-cta-saeb {
    padding: var(--space-3xl) 0;
    background: var(--background-gradient);
    position: relative;
    overflow: hidden;
}

.cta-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cta-box h2 {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.cta-box p {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.cta-actions {
    margin: var(--space-xl) 0;
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

.cta-trust span {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--space-xl) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-xs);
    margin: 0;
}

/* Responsividade */
@media (max-width: 1024px) {
    .hero-main,
    .learning-content,
    .live-content,
    .reports-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .learning-content {
        grid-template-columns: 1fr;
    }

    .live-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-saeb {
        padding: var(--space-2xl) 0;
        overflow: visible; /* evita corte de sombras/elementos absolutos */
        padding-bottom: calc(var(--space-2xl) + 80px); /* espaço para skyline */
    }

    /* Simplifica decorações pesadas no mobile */
    .hero-saeb::before,
    .hero-saeb::after {
        opacity: 0.35;
        filter: blur(2px);
        animation: none;
        width: 320px;
        height: 320px;
        top: -60px;
        right: -60px;
        bottom: auto;
        left: auto;
        display: none;
    }

    .hero-saeb .pixel-decoration { display: none; }
    .hero-saeb .diagonal-ray { opacity: 0.25; }
    .hero-saeb .city-skyline { height: 80px; }

    .hero-main {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero-content { word-break: break-word; }
    .hero-visual { overflow: visible; }
    .hero-image-container { max-width: 520px; margin: 0 auto; }

    .header-container {
        flex-direction: column;
        gap: var(--space-md);
    }

    .header-nav {
        gap: var(--space-xs);
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .hero-description {
        font-size: var(--font-size-sm);
        margin-bottom: var(--space-md);
    }

    .hero-actions {
        width: 100%;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        /* max-width: 300px; */
        /* flex-wrap: wrap; */
        white-space: normal;
        text-align: center;
        font-size: 18px;
        
        .btn-icon{
            display: none;
        }
    }

    .game-types-grid {
        grid-template-columns: 1fr;
    }

    .teachers-grid,
    .why-use-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .cta-box {
        padding: var(--space-xl) var(--space-md);
    }

    .cta-trust {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-saeb { 
        padding: var(--space-xl) 0; 
        padding-bottom: calc(var(--space-xl) + 70px);
        overflow: visible;
    }

    .hero-image-container { max-width: 460px; }
    .hero-image-container::before { display: none; }
    .hero-image-container img { border-radius: 16px; display: block; max-width: 100%; height: auto; }

    .hero-title { font-size: 1.9rem; }
    .hero-description { font-size: 15px; }
    .hero-bullets { gap: 8px; }
    .bullet-item { font-size: 15px; }

    .btn-primary.large { padding: 16px 22px; font-size: 16px; }

    /* Evita cortes nas barras e cartões */
    .chart-bar::after { height: 24px; }
    .card, .cta-box, .teacher-benefit, .why-item { overflow: visible; }
}

/* Animações de entrada */
@media (prefers-reduced-motion: no-preference) {
    .hero-content,
    .hero-visual,
    .feature-item,
    .game-type-card,
    .teacher-benefit,
    .why-item {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }

    .hero-content {
        animation-delay: 0.1s;
    }

    .hero-visual {
        animation-delay: 0.3s;
    }

    .feature-item:nth-child(1) { animation-delay: 0.1s; }
    .feature-item:nth-child(2) { animation-delay: 0.2s; }
    .feature-item:nth-child(3) { animation-delay: 0.3s; }
}

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

/* Acessibilidade: Foco visível */
a:focus,
button:focus,
.btn:focus {
    outline: 3px solid var(--accent-orange);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header-nav,
    .breadcrumb,
    .hero-actions,
    .section-cta,
    .cta-actions,
    .footer {
        display: none;
    }
}


