/* CSS Custom variables representing the design tokens */
:root {
    --primary: #FFC500;
    --primary-hover: #E5B100;
    --primary-light: rgba(255, 197, 0, 0.1);
    --slate-dark: #334155;
    --slate-text: #475569;
    --slate-light: #f8fafc;
    --slate-border: #e2e8f0;
    --slate-darker: #1e293b;
    --slate-deep: #0f172a;
    --white: #ffffff;
    --blue-accent: #3b82f6;
    --blue-accent-light: rgba(59, 130, 246, 0.08);
    --green-accent: #22c55e;
    --green-accent-light: rgba(34, 197, 94, 0.15);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', var(--font-sans);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-text);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--slate-dark);
    font-weight: 800;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Base button layouts */
.btn-primary-large, .nav-btn-primary, .card-btn, .btn-primary-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    background-color: var(--primary);
    color: var(--slate-darker);
    border-radius: 12px;
    border: 2px solid var(--primary);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    box-shadow: var(--shadow-xl);
}

.btn-primary-large:hover, .nav-btn-primary:hover, .card-btn:hover, .btn-primary-small:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary-large, .nav-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    background-color: var(--primary-light);
    color: var(--slate-darker);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary-large:hover, .nav-btn-secondary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-large, .btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    background-color: var(--white);
    color: var(--slate-text);
    border: 2px solid var(--slate-border);
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-outline-large:hover {
    border-color: var(--slate-dark);
    background-color: var(--slate-light);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.2);
}

.btn-outline-white:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
}
.icon-small {
    width: 1rem;
    height: 1rem;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-b: 1px solid var(--slate-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    height: 3rem;
    width: auto;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--slate-dark);
    letter-spacing: -0.025em;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--slate-dark);
    cursor: pointer;
}

.hamburger {
    width: 2rem;
    height: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    color: var(--slate-text);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--slate-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn-link {
    font-weight: 700;
    color: var(--slate-text);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.nav-btn-link:hover {
    color: var(--slate-dark);
}

.nav-btn-secondary {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 10px;
}

.nav-btn-primary {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    border-radius: 10px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 2rem 10rem 2rem;
    overflow: hidden;
    background-color: var(--slate-light);
}

.hero-bg-blur-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 45%;
    height: 55%;
    background-color: rgba(255, 197, 0, 0.12);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.hero-bg-blur-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 45%;
    height: 55%;
    background-color: rgba(59, 130, 246, 0.06);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--white);
    border: 1px solid var(--slate-border);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-text);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--green-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

@media(min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--slate-text);
    max-width: 650px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Sections */
.section {
    padding: 7rem 2rem;
}

.section-white {
    background-color: var(--white);
}

.section-grey {
    background-color: var(--slate-light);
}

.section-slate {
    background-color: var(--slate-darker);
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media(min-width: 992px) {
    .grid-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Content blocks */
.icon-box {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.icon-blue {
    background-color: var(--blue-accent-light);
    color: var(--blue-accent);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.icon-yellow {
    background-color: rgba(255, 197, 0, 0.1);
    color: var(--primary);
    border: 1px solid rgba(255, 197, 0, 0.2);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--slate-text);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.list-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: var(--blue-accent-light);
    color: var(--blue-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.list-icon.icon-yellow {
    background-color: rgba(255, 197, 0, 0.2);
    color: var(--primary);
}

.feature-list h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-list p {
    font-size: 0.95rem;
    color: var(--slate-text);
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--blue-accent);
}

.arrow-link svg {
    width: 1rem;
    height: 1rem;
    transition: var(--transition);
}

.arrow-link:hover {
    color: #1d4ed8;
}

.arrow-link:hover svg {
    transform: translateX(4px);
}

/* Graphics/Card elements */
.graphic-right, .graphic-left {
    position: relative;
    display: flex;
    justify-content: center;
}

.graphic-bg-decorator {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 400px;
    border-radius: 24px;
    z-index: 1;
}

.decorator-blue {
    background-color: rgba(59, 130, 246, 0.05);
    transform: rotate(3deg);
}

.decorator-yellow {
    background-color: rgba(255, 197, 0, 0.08);
    transform: rotate(-3deg);
}

.app-card {
    position: relative;
    z-index: 2;
    background-color: var(--white);
    border: 1px solid var(--slate-border);
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
}

.dark-card {
    background-color: var(--slate-deep);
    border-color: rgba(255,255,255,0.08);
}

.card-header {
    height: 2.5rem;
    background-color: var(--slate-light);
    border-bottom: 1px solid var(--slate-border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.5rem;
}

.card-header.border-dark {
    background-color: rgba(255,255,255,0.02);
    border-bottom-color: rgba(255,255,255,0.08);
}

.dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #eab308; }
.dot-green { background-color: #22c55e; }
.dot-slate { background-color: rgba(255,255,255,0.15); }

.card-body {
    padding: 2rem;
}

.badge-status-yellow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: var(--primary-light);
    color: var(--slate-darker);
    border: 1px solid rgba(255, 197, 0, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.badge-status-green {
    display: inline-flex;
    align-items: center;
    background-color: var(--green-accent-light);
    color: var(--green-accent);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-details {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--slate-text);
}

.detail-icon {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--slate-text);
}

.card-btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 0.95rem;
}

.card-body-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.card-inner-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.accuracy-indicator {
    text-align: right;
}

.accuracy-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
}

.accuracy-lbl {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.05em;
}

.student-live-feed {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feed-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar {
    width: 2rem;
    height: 2rem;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.student-info span {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
}

.status-lbl {
    font-size: 0.75rem;
    font-weight: 700;
}

.status-lbl.text-green { color: var(--green-accent); }
.status-lbl.text-yellow { color: var(--primary); }

.formador-ctas {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Features Grid */
.text-center-header {
    text-align: center;
}

.text-center-header .section-title {
    margin-left: auto;
    margin-right: auto;
}

.text-center-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

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

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media(min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: var(--white);
    border: 1px solid var(--slate-border);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--slate-text);
}

/* Footer */
.footer {
    background-color: var(--slate-deep);
    padding: 3.5rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.4);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

@media(min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    height: 2rem;
    filter: opacity(0.6) grayscale(100%);
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: rgba(255,255,255,0.6);
}

.footer-copyright {
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.footer-link-btn:hover {
    color: var(--white);
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 10;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--slate-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--slate-text);
}

.modal-close:hover {
    color: var(--slate-dark);
}

.modal-body {
    padding: 2rem;
}

.modal-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.modal-body h4:first-of-type {
    margin-top: 0;
}

.modal-body p {
    font-size: 0.95rem;
    color: var(--slate-text);
    margin-bottom: 1rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--slate-border);
    display: flex;
    justify-content: flex-end;
}

.btn-primary-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

/* Mobile responsive menu */
@media(max-width: 991px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--slate-border);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .nav-actions a {
        width: 100%;
        text-align: center;
    }
    
    .order-2-mobile {
        order: 2;
    }
    
    .order-1-mobile {
        order: 1;
    }
}

/* Override text colors in the slate section for high visibility */
.section-slate .section-title {
    color: var(--white);
}

.section-slate .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.section-slate .feature-list h4 {
    color: var(--white);
}

.section-slate .feature-list p {
    color: rgba(255, 255, 255, 0.7);
}

