@import url('https://fonts.googleapis.com/css2?family=Climate+Crisis&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #EEF2FF;
    --bg-soft: #F8FAFF;
    --primary: #5865F2;
    --primary-dark: #4338CA;
    --primary-soft: #818CF8;
    --accent: #FACC15;
    --accent-dark: #F59E0B;
    --nav: #0B1020;
    --text-dark: #182235;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --border: rgba(15, 23, 42, 0.10);
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
    --shadow-soft: 0 16px 40px rgba(88, 101, 242, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: 'Climate Crisis', sans-serif;
    line-height: 1.06;
    word-wrap: break-word;
    letter-spacing: 0.03em;
    
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 86px;
    background: rgba(11, 16, 32, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
}

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

.logo img {
    height: 42px;
    width: auto;
    border-radius: 5px;
    filter: drop-shadow(0 6px 14px rgba(250, 204, 21, 0.2));
}

.logo-text {
    font-family: 'Climate Crisis', sans-serif;
    font-size: 1.55rem;
    color: var(--white);
    font-weight: 500;
    line-height: 0.9;
}

.logo-text::after {
    content: "AI";
    color: var(--accent);
    margin-left: 1px;
}

.nav-links {
    display: flex;
    gap: 38px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.25s ease;
}

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

.btn-pill {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #111827;
    padding: 13px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(250, 204, 21, 0.26);
    transition: 0.25s ease;
}

.btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(250, 204, 21, 0.34);
}

/* Hero Section */
.hero {
    min-height: 92vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 130px 40px 110px;
    background:
        radial-gradient(circle at 20% 78%, rgba(88, 101, 242, 0.12), transparent 25%),
        radial-gradient(circle at 82% 42%, rgba(250, 204, 21, 0.15), transparent 22%),
        linear-gradient(180deg, #F4F7FF 0%, #E9EEFF 100%);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(88, 101, 242, 0.18);
    padding: 11px 24px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 34px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6.2rem);
    color: var(--text-dark);
    max-width: 1040px;
    margin-bottom: 26px;
    line-height: 0.98;
}

.hero h1 span {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 20px 45px rgba(88, 101, 242, 0.22);
}

.hero p {
    font-size: 1.26rem;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 44px;
    font-weight: 500;
}

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

.btn-cta {
    background: #050816;
    color: white;
    padding: 20px 48px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22);
    transition: 0.25s ease;
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 22px 55px rgba(88, 101, 242, 0.34);
}

.link-action {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 800;
    transition: 0.25s ease;
}

.link-action:hover {
    color: var(--primary);
}

.hero-metrics {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-metrics div {
    min-width: 150px;
    padding: 12px 18px;
    border: 1px solid rgba(88, 101, 242, 0.14);
    background: rgba(255, 255, 255, 0.70);
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.hero-metrics strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.98rem;
    font-weight: 900;
}

.hero-metrics span {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    width: 330px;
    background: rgba(255, 255, 255, 0.82);
    padding: 14px;
    border-radius: 34px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    overflow: hidden;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    transition: 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-8px) rotate(0deg) !important;
}

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

.card-left {
    left: 52px;
    top: 52%;
    transform: rotate(-4deg);
}

.card-right {
    right: 52px;
    bottom: 16%;
    transform: rotate(4deg);
}

/* Features Section */
.features {
    padding: 120px 80px;
    background: var(--white);
    text-align: center;
}

.features h2 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    margin-bottom: 60px;
}

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

.feature-card {
    padding: 54px 36px;
    border-radius: 36px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
    border: 1px solid var(--border);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
    transition: 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
}

.f-icon-box {
    width: 82px;
    height: 82px;
    background: linear-gradient(135deg, #EEF2FF, #FFFFFF);
    border: 1px solid rgba(88, 101, 242, 0.12);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.4rem;
    box-shadow: 0 14px 30px rgba(88, 101, 242, 0.12);
}

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

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

/* Teacher / Student Flow */
.teacher-flow {
    padding: 120px 80px;
    background: var(--bg-soft);
}

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

.section-tag {
    color: var(--primary);
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

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

.flow-step:nth-child(even) {
    flex-direction: row-reverse;
}

.flow-content {
    flex: 1;
}

.step-badge {
    color: var(--primary);
    font-weight: 900;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: inline-block;
    background: rgba(88, 101, 242, 0.10);
    padding: 7px 14px;
    border-radius: 999px;
}

.flow-content h3 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 22px;
}

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

.flow-image {
    flex: 1.35;
    border-radius: 36px;
    background: white;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.flow-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.35s ease;
}

.flow-image:hover img {
    transform: scale(1.025);
}

/* Tech Stack */
.tech-stack {
    padding: 86px 44px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-soft));
    border-radius: 58px;
    margin: 44px;
    text-align: center;
    box-shadow: 0 24px 70px rgba(88, 101, 242, 0.32);
}

.tech-stack h2 {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    margin-bottom: 12px;
    color: white;
}

.tech-stack .section-tag {
    color: var(--accent);
    font-weight: 900;
}

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

.tech-card {
    background: rgba(255, 255, 255, 0.16);
    padding: 32px 22px;
    border-radius: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    transition: 0.25s ease;
}

.tech-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.22);
}

.t-icon {
    width: 62px;
    height: 62px;
    min-width: 62px;
    background: white;
    color: var(--primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

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

.tech-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
}

.tech-tag {
    display: inline-block;
    background: var(--accent);
    color: #111827;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 900;
    margin-top: 8px;
}

/* CTA Section */
.purple-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-soft));
    color: white;
    padding: 104px 80px;
    text-align: center;
    border-radius: 80px;
    margin: 44px;
    box-shadow: 0 24px 70px rgba(88, 101, 242, 0.28);
}

.purple-section h2 {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    margin-bottom: 24px;
    color: white;
}

.purple-section p {
    font-size: 1.2rem;
    max-width: 820px;
    margin: 0 auto 42px;
    font-weight: 600;
    opacity: 0.94;
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 18px 42px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    display: inline-block;
    transition: 0.25s ease;
}

.btn-white:hover {
    transform: translateY(-3px);
    background: var(--accent);
    color: #111827;
}

/* Main Footer */
.main-footer {
    padding: 100px 80px 40px;
    background: #050816;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

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

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    max-width: 330px;
    line-height: 1.65;
}

.footer-brand .logo-text {
    color: #ffffff;
}

.footer-links h4 {
    font-size: 1.08rem;
    color: var(--accent);
    margin-bottom: 30px;
    font-weight: 900;
}

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

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

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.25s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 38px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.92rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1300px) {
    .floating-card {
        width: 270px;
    }

    .card-left {
        left: 28px;
    }

    .card-right {
        right: 28px;
    }
}

@media (max-width: 1200px) {
    .navbar {
        padding: 12px 40px;
    }

    .floating-card {
        display: none;
    }

    .features,
    .teacher-flow,
    .tech-stack,
    .purple-section {
        padding: 80px 40px;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 24px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-step,
    .flow-step:nth-child(even) {
        gap: 44px;
        margin-bottom: 82px;
    }

    .tech-stack {
        padding: 64px 28px;
        border-radius: 44px;
        margin: 24px;
    }
}

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

    .navbar .logo-text {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .btn-pill {
        padding: 11px 18px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 70px 20px;
        min-height: auto;
    }

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

    .hero-actions {
        flex-direction: column;
        gap: 16px;
    }

    .btn-cta {
        padding: 16px 30px;
        width: 100%;
        justify-content: center;
    }

    .hero-metrics {
        flex-direction: column;
        width: 100%;
    }

    .features,
    .teacher-flow {
        padding: 76px 20px;
    }

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

    .feature-card {
        padding: 32px 22px;
        border-radius: 30px;
    }

    .flow-step,
    .flow-step:nth-child(even) {
        flex-direction: column !important;
        gap: 24px;
        margin-bottom: 64px;
    }

    .flow-image {
        width: 100%;
        flex: none;
        border-radius: 24px;
    }

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

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

    .tech-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

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

    .purple-section p {
        font-size: 1rem;
    }

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

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

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

    .footer-brand p {
        max-width: 100%;
    }

    .footer-brand .logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.35rem;
    }

    .badge {
        font-size: 0.78rem;
    }

    .btn-pill {
        font-size: 0;
        padding: 11px 14px;
    }

    .btn-pill::before {
        content: "Start";
        font-size: 0.9rem;
    }
}
