@import url('https://fonts.googleapis.com/css2?family=Climate+Crisis:YEAR@1979&family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&display=swap');

:root{
    --bg-main: #F0F4FF;
    --primary: #5865F2;
    --text-muted: #64748b;
}

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

body{
    background-color: var(--bg-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
    word-break: break-word;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 80px;
    background-color: black;
    position: sticky;
    top: 0px;
    z-index: 999;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 38px;
    width: auto;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    color: white;
    line-height: 0.8;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-pill {
    background-color: white;
    color: black;
    padding: 13px 32px;
    border-radius: 100px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-pill:hover {
    background-color: #f0f0f0;
}

.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px;
    background-color: #f0f0ff;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    color: black;
    max-width: 1000px;
    margin-bottom: 24px;
    line-height: 1;
    margin-top: 0;
}

.hero h1 span{
    color: var(--primary);
    font-style: italic;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 56px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 60px;
}

.badge {
    display: inline-flex;
    align-items: center;
    background-color: white;
    border: 1px solid rgb(225, 198, 225);
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.btn-cta {
    background-color: black;
    color: white;
    border-radius: 100px;
    text-decoration: none;
    padding: 20px 48px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    font-weight: 700;
    gap: 12px;
}

.btn-cta:hover {
    background-color: #333333;
}

.link-action {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
}

.floating-card {
    position: absolute;
    width: 320px;
    background-color: white;
    padding: 14px;
    border-radius: 36px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.floating-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 24px;
    background-color: gray;
}

.card-left {
    width: 320px;
    left: 40px;
    top: 55%;
}

.card-right {
    width: 320px;
    right: 40px;
    top: 45%;
}

.features {
    padding: 120px 80px;
    background-color: white;
    text-align: center;
}

.features h2 {
    font-size: 3.5rem;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 60px 40px;
    border-radius: 40px;
    background-color: white;
    border: 1px solid #e5e7eb;
}

.f-icon-box {
    width: 80px;
    height: 80px;
    background-color: #f8faff;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.tech-stack {
    padding: 80px 40px;
    background-color: #7c4dff;
    border-radius: 60px;
    margin: 40px;
    text-align: center;
}

.tech-stack h2 {
    font-size: 3.3rem;
    margin-bottom: 12px;
    color: white;
}

.tech-stack .section-tag {
    color: white;
    font-weight: 700;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.tech-card {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px 20px;
    border-radius: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.t-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: white;
    min-width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
}

.tech-card h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.tech-tag {
    display: inline-block;
    background-color: #4BB786;
    color: white;
    border-radius: 8px;
    font-size: 0.65rem;
    margin-top: 10px;
    padding: 2px 10px;
    font-weight: 800;
}

.tech-card p {
    font-size: 0.85rem;
    color: white;
    line-height: 1.4;
}

.purple-section {
    background-color: var(--primary);
    color: white;
    padding: 100px 80px;
    text-align: center;
    border-radius: 80px;
    margin: 40px;
}

.purple-section h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: white;
}

.purple-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.btn-white {
    background-color: white;
    color: var(--primary);
    padding: 18px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-block;
}

.main-footer {
    padding: 100px 80px 40px;
    background-color: black;
    color: white;
    border-top: 1px solid #333333;
}

.main-footer .footer-grid {
    display: grid;
    gap: 80px;
    margin: 0 auto 80px;
    max-width: 1200px;
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

.footer-brand .logo {
    margin-bottom: 24px;
}

.footer-brand p {
    color: #cccccc;
    font-size: 1rem;
    max-width: 320px;
    line-height: 1.6;
}

.footer-brand .logo-text {
    color: white;
}

.footer-links h4 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 32px;
    font-family: 800;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    text-decoration: none;
    color: #cccccc;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #333333;
    text-align: center;
}

.footer-bottom p {
    color: #999999;
    font-size: 0.9rem;
    font-weight: 500;
}

.teacher-flow {
    padding: 120px 80px;
}

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

.flow-step {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.flow-content {
    flex: 1;
}

.step-badge {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    display: block;
    text-transform: uppercase;
}

.flow-content h3 {
    font-size: 3.2rem;
    margin-bottom: 24px;
}

.flow-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.flow-image {
    flex: 1.4;
    border-radius: 40px;
    background-color: white;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.flow-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media(max-width: 768px){
    .navbar {
        padding: 8px 16px;
    }

    .logo img {
        height: 28px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    .btn-pill {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .hero {
        padding: 60px 16px;
    }

    .hero h1 {
        font-size: 2.4rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
        padding: 16px;
        font-size: 1rem;
    }

    .link-action {
        font-size: 0.9rem;
    }

    .floating-card {
        display: none;
    }

    .features {
        padding: 60px 16px;
    }

    .features h2 {
        font-size: 2.1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 24px;
        border-radius: 24px;
    }

    .tech-stack {
        padding: 60px 16px;
        margin: 20px;
        border-radius: 30px;
    }

    .tech-stack h2 {
        font-size: 2rem;
    }

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

    .tech-card {
        padding: 20px;
    }

    .teacher-flow {
        padding: 60px 16px;
    }

    .flow-step {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 60px;
    }

    .flow-content h3 {
        font-size: 1.8rem;
    }

    .flow-content p {
        font-size: 1rem;
    }

    .flow-image {
        width: 100%;
        border-radius: 20px;
    }

    .purple-section {
        padding: 60px 16px;
        margin: 20px;
        border-radius: 30px;
    }

    .purple-section h2 {
        font-size: 2rem;
    }

    .btn-white {
        width: 100%;
        padding: 16px;
    }

    .main-footer {
        padding: 60px 16px 30px;
    }

    .main-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .main-footer .footer-brand .logo-text {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 2.2rem;
        font-weight: 700;
    }

    .main-footer .footer-brand p {
        margin-top: 16px;
        font-size: 1.05rem;
    }

    .footer-links h4 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
}