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

:root {
    --bg-dark: #050505;
    --bg-card: rgba(15, 15, 15, 0.7);
    --primary: #05ff3b;
    --primary-rgb: 5, 255, 59;
    --primary-dark: #02d02b;
    --text-white: #ffffff;
    --text-gray: #a3a3a3;
    --text-muted: #525252;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(5, 255, 59, 0.3);
    --glow-color: rgba(5, 255, 59, 0.08);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background canvas and glows */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-color) 0%, rgba(5, 255, 59, 0) 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
}

.bg-glow-1 {
    top: -100px;
    left: -100px;
}

.bg-glow-2 {
    top: 35%;
    right: -200px;
}

.bg-glow-3 {
    bottom: -100px;
    left: 10%;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 80px;
    background-color: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

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

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.03em;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.btn-pill {
    background: rgba(5, 255, 59, 0.05);
    color: var(--primary);
    border: 1px solid rgba(5, 255, 59, 0.3);
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-pill:hover {
    background: var(--primary);
    color: #000000;
    box-shadow: 0 0 20px rgba(5, 255, 59, 0.4);
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 40px 100px;
    position: relative;
    overflow: visible;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 5.5rem;
    color: #ffffff;
    max-width: 950px;
    margin-bottom: 24px;
    line-height: 1.05;
    font-weight: 800;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    opacity: 0.2;
    border-radius: 2px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 680px;
    margin-bottom: 48px;
    font-weight: 400;
}

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

.btn-cta {
    background-color: var(--primary);
    color: #000000;
    padding: 16px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(5, 255, 59, 0.25);
}

.btn-cta:hover {
    background-color: #00ff55;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(5, 255, 59, 0.45);
}

.link-action {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.link-action:hover {
    color: #ffffff;
}

/* Floating Cards Layout */
.floating-card {
    position: absolute;
    width: 280px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(5, 255, 59, 0.02);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 5;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(5, 255, 59, 0.1);
}

.floating-card img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}


/* Features Section */
.features {
    padding: 120px 80px;
    background-color: transparent;
    text-align: center;
    position: relative;
}

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

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

.feature-card {
    padding: 50px 36px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-align: left;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 30px rgba(5, 255, 59, 0.08);
}

.f-icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(5, 255, 59, 0.05);
    border: 1px solid rgba(5, 255, 59, 0.15);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.feature-card:hover .f-icon-box {
    background-color: var(--primary);
    color: #000000;
    box-shadow: 0 0 15px rgba(5, 255, 59, 0.3);
}

.f-icon {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: #ffffff;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Journey Flow Sections */
.teacher-flow {
    padding: 120px 80px;
    background-color: transparent;
}

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

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

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

.flow-content {
    flex: 1;
}

.step-badge {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: inline-block;
    background: rgba(5, 255, 59, 0.08);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(5, 255, 59, 0.15);
}

.flow-content h3 {
    font-size: 2.6rem;
    margin-bottom: 16px;
    font-weight: 800;
    color: #ffffff;
}

.flow-content p {
    font-size: 1.05rem;
    color: var(--text-gray);
}

.flow-image {
    flex: 1.3;
    border-radius: 24px;
    background: #000000;
    border: 1px solid var(--border-color);
    padding: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.flow-image:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(5, 255, 59, 0.05);
}

.flow-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    transition: transform 0.4s ease;
}

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

/* Tech Stack Section */
.tech-stack {
    padding: 100px 40px;
    background: radial-gradient(100% 100% at 50% 0%, rgba(5, 255, 59, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    margin: 40px;
    text-align: center;
}

.tech-stack h2 {
    font-size: 3rem;
    margin-top: 12px;
    margin-bottom: 40px;
    color: #ffffff;
    font-weight: 800;
}

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

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 250px;
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(5, 255, 59, 0.05);
}

.t-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid var(--border-color);
}

.tech-card h4 {
    font-size: 1.1rem;
    margin: 16px 0 8px;
    color: #ffffff;
    font-weight: 700;
}

.tech-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.tech-tag {
    background: rgba(5, 255, 59, 0.1);
    color: var(--primary);
    border: 1px solid rgba(5, 255, 59, 0.2);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 16px;
}

/* Purple (CTA) Section styled as Dark/Green Glow */
.purple-section {
    background: radial-gradient(120% 120% at 50% 50%, rgba(5, 255, 59, 0.08) 0%, rgba(0, 0, 0, 0) 80%);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 100px 80px;
    text-align: center;
    border-radius: 32px;
    margin: 40px;
    position: relative;
    overflow: hidden;
}

.purple-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5, 255, 59, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.purple-section h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: #ffffff;
}

.purple-section p {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 36px;
}

.btn-white {
    background-color: var(--primary);
    color: #000000;
    padding: 16px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(5, 255, 59, 0.25);
}

.btn-white:hover {
    background-color: #00ff55;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(5, 255, 59, 0.45);
}

/* Footer Section */
.main-footer {
    padding: 100px 80px 40px;
    background-color: #050505;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

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

.footer-brand p {
    color: var(--text-gray);
    font-size: 0.95rem;
    max-width: 300px;
    line-height: 1.6;
    margin-top: 16px;
}

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

.footer-links h4 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .navbar {
        padding: 16px 40px;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .floating-card {
        display: none;
    }

    .features,
    .teacher-flow {
        padding: 100px 40px;
    }
}

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

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

    .flow-step {
        gap: 40px;
        margin-bottom: 80px;
    }

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

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

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

@media (max-width: 768px) {
    .navbar .logo-text {
        display: block;
    }

    .navbar {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    /* Prevent the CTA button from overflowing the navbar on mobile */
    .btn-pill {
        padding: 8px 12px;
        font-size: 0.78rem;
        gap: 4px;
        white-space: nowrap;
        max-width: calc(100vw - 160px);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .btn-pill svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

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

    .hero-actions {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 320px;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }

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

    .features h2 {
        font-size: 2.6rem;
        margin-bottom: 40px;
    }

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

    .feature-card {
        padding: 36px 24px;
    }

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

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

    .flow-image {
        width: 100%;
    }

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

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

    .tech-card {
        min-height: auto;
        padding: 24px;
    }

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

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

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

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

    .footer-brand p {
        margin: 16px auto 0;
    }
}