:root {
    /* "Brilliant" Style Palette */
    --bg-color: #FFFFFF;
    --bg-alt: #F9FAFB;
    /* Very light gray for sections */
    --text-main: #101828;
    /* Strong, high-contrast dark */
    --text-muted: #667085;

    /* Vibrant Accents */
    --accent-blue: #2563EB;
    /* Action Blue */
    --accent-yellow: #F59E0B;
    /* Warm Warning/Highlight */
    --accent-green: #10B981;
    /* Success/Growth */
    --accent-purple: #8B5CF6;
    /* Creative/Discovery */

    /* Footer specific */
    --footer-bg: #101828;
    --footer-text: #FFFFFF;
    --footer-text-muted: #9CA3AF;

    /* Components */
    --border-color: #E5E7EB;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Typography */
    --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
    --radius-pill: 50px;
    --radius-card: 24px;
    /* More rounded */
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    /* Bolder */
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.nav-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

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

.nav-link:hover {
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--text-main);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    background-color: #000;
}

.badge-free {
    background-color: #EFF6FF;
    color: var(--accent-blue);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid #DBEAFE;
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

/* Hero Gradient Mesh */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 60%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.hero-visual img:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Interactive Learning Section (Side by Side) */
.section-interactive {
    padding: 6rem 0;
    background-color: var(--bg-alt);
}

.interactive-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.interactive-content h2 {
    font-size: 2.75rem;
    margin-bottom: 2rem;
}

/* Stylized List for Interactive Section */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-list-icon {
    background: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.feature-list-item:nth-child(2) .feature-list-icon {
    color: var(--accent-yellow);
}

.feature-list-item:nth-child(3) .feature-list-icon {
    color: var(--accent-green);
}

.feature-list-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.feature-list-text p {
    color: var(--text-muted);
}

/* Benefits Grid Section (4 Columns) */
.section-benefits {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.card-benefit {
    background-color: var(--bg-alt);
    padding: 2rem;
    border-radius: var(--radius-card);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-align: left;
}

.card-benefit:hover {
    background-color: white;
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--border-color);
}

.card-benefit i {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    display: block;
}

/* Mailing List Section (Bottom) */
.section-mailing {
    padding: 6rem 0;
    background: linear-gradient(135deg, #101828 0%, #1F2937 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mailing-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.section-mailing h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-mailing p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.email-form-bottom {
    display: flex;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.email-form-bottom input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1.1rem;
    font-family: var(--font-sans);
    outline: none;
}

.email-form-bottom input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.email-form-bottom button {
    background-color: white;
    color: var(--text-main);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.email-form-bottom button:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #000;
    color: var(--footer-text);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
    color: #888;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-layout,
    .interactive-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .feature-list-item {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .email-form-bottom {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }

    .email-form-bottom input {
        background: rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-pill);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .email-form-bottom button {
        width: 100%;
    }
}

/* About Page Styles */
.about-page {
    background-color: var(--bg-color);
}

.about-mission {
    padding: 8rem 0 6rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-mission h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.mission-text {
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 4rem;
}

.mission-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.mission-card {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: var(--radius-card);
    max-width: 500px;
    border: 1px solid var(--border-color);
}

.mission-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.mission-card h3 {
    margin-bottom: 0.5rem;
}

/* Team Section */
.about-team {
    padding: 6rem 0;
    background-color: var(--bg-alt);
    text-align: center;
}

.about-team h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.team-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #FEF3C7;
    /* Light Yellow */
    color: #D97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.team-role {
    display: block;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Funding Section */
.about-funding {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.funding-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.funding-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .about-mission h1 {
        font-size: 2.5rem;
    }

    .mission-text {
        font-size: 1.25rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}