:root {
    /* Color Palette */
    --bg-base: #020603;
    /* Extremely deep forest green/black */
    --bg-surface: #040A05;
    --text-primary: #FFFFFF;
    --text-secondary: #8E9BAE;
    /* Soft blueish grey */
    --accent-glow: #5BE22F;
    /* Vibrant Lime */
    --accent-deep: #2C6B18;
    /* Emerald */

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Layout */
    --container: 1440px;
    --padding-x: 5%;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Typography Base */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--padding-x);
}

/* Ambient Background Blobs */
.ambient {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

.ambient-1 {
    width: 60vw;
    height: 60vw;
    background: var(--accent-glow);
    top: -20vh;
    right: -10vw;
    animation: drift 20s infinite alternate ease-in-out;
}

.ambient-2 {
    width: 50vw;
    height: 50vw;
    background: var(--accent-deep);
    bottom: -10vh;
    left: -20vw;
    animation: drift 25s infinite alternate-reverse ease-in-out;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-5vw, 10vh) scale(1.1);
    }
}

/* Minimal Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(2, 6, 3, 0.9) 0%, rgba(2, 6, 3, 0) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo__img {
    height: 48px;
    width: auto;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav__link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 18px 48px;
    background: var(--accent-glow);
    color: #000;
    font-weight: 800;
    font-size: 16px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 30px rgba(91, 226, 47, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(91, 226, 47, 0.5);
    background: #fff;
}

.nav-btn {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Hero Section */
.hero-flow {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-flow__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-flow__content {
    position: relative;
    z-index: 2;
}

.hero-flow__badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(91, 226, 47, 0.1);
    border: 1px solid rgba(91, 226, 47, 0.2);
    color: var(--accent-glow);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.hero-flow__title {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 900;
    margin-bottom: 32px;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-flow__desc {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 500px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-flow__art {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.art-layer {
    position: absolute;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.8));
}

.art-strut {
    height: 70%;
    top: 5%;
    left: 20%;
    animation: float 8s ease-in-out infinite;
}

.art-gear {
    height: 40%;
    bottom: 10%;
    right: 15%;
    animation: float 10s ease-in-out infinite reverse;
}

.art-spark {
    height: 30%;
    top: 20%;
    right: 5%;
    mix-blend-mode: screen;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0) rotate(0);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

/* Ecosystem Section (Fluid Features) */
.ecosystem-flow {
    padding: 160px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.section-heading {
    margin-bottom: 100px;
}

.section-heading__title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    max-width: 800px;
}

.ecosystem-flow__clusters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 100px;
}

.cluster {
    position: relative;
    padding-top: 40px;
}

.cluster::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-glow);
}

.cluster__num {
    font-size: 80px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -20px;
    left: -10px;
    z-index: -1;
    pointer-events: none;
    letter-spacing: -0.05em;
}

.cluster__title {
    font-size: 28px;
    margin-bottom: 20px;
}

.cluster__text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* Engine Section */
.engine-flow {
    padding: 160px 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
    position: relative;
}

.engine-flow__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.engine-flow__visual {
    position: relative;
}

.engine-flow__core-img {
    width: 100%;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.9));
}

.engine-flow__float-img {
    position: absolute;
    width: 40%;
    bottom: -10%;
    right: -10%;
    animation: float 12s infinite;
}

.engine-flow__title {
    font-size: clamp(40px, 4vw, 56px);
    margin-bottom: 32px;
}

.engine-flow__desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 64px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric__val {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent-glow);
    line-height: 1;
    margin-bottom: 12px;
}

.metric__label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Academy Section */
.academy-flow {
    padding: 160px 0;
}

.academy-flow__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.academy-flow__title {
    font-size: clamp(40px, 4vw, 56px);
    margin-bottom: 24px;
}

.academy-flow__lead {
    font-size: 24px;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 40px;
}

.academy-flow__body {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.academy-flow__art {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.academy-art-main {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(91, 226, 47, 0.1));
}

/* CTA Block */
.cta-flow {
    padding: 0 0 160px;
}

.cta-flow__wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.cta-flow__wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(91, 226, 47, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-flow__info h2 {
    font-size: clamp(32px, 3.5vw, 48px);
    margin-bottom: 24px;
}

.cta-flow__info p {
    font-size: 18px;
    color: var(--text-secondary);
}

.cta-flow__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 32px;
    border-radius: 100px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-glow);
    background: rgba(0, 0, 0, 0.5);
}

.btn-submit {
    background: #fff;
    color: #000;
    border: none;
    padding: 24px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 16px;
}

.btn-submit:hover {
    background: var(--accent-glow);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(91, 226, 47, 0.3);
}

.form-disclaimer {
    color: var(--text-secondary);
    font-size: 12px;
    text-align: center;
}

/* Footer Semantic Block */
.footer-flow {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-flow__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.footer-logo {
    height: 40px;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-nav a:hover {
    color: var(--text-primary);
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 40px;
}

.phone {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}

.phone:hover {
    color: var(--accent-glow);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links img {
    height: 24px;
    filter: invert(1);
    opacity: 0.6;
    transition: var(--transition);
}

.social-links img:hover {
    opacity: 1;
}

.footer-flow__bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    color: var(--text-secondary);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-flow__container,
    .engine-flow__container,
    .academy-flow__container,
    .cta-flow__wrapper {
        grid-template-columns: 1fr;
    }

    .hero-flow {
        padding-top: 150px;
    }

    .hero-flow__art {
        height: 400px;
    }

    .ecosystem-flow__clusters {
        grid-template-columns: 1fr;
    }

    .cta-flow__wrapper {
        padding: 40px;
        gap: 40px;
    }

    .footer-flow__top {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .header__container {
        flex-direction: column;
        gap: 16px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero-flow__title {
        font-size: 40px;
    }

    .hero-flow__desc {
        font-size: 16px;
    }

    .hero-flow__art {
        height: 300px;
    }

    .section-heading__title {
        font-size: 32px;
    }

    .ecosystem-flow,
    .engine-flow,
    .academy-flow {
        padding: 80px 0;
    }

    .cluster__num {
        font-size: 60px;
    }

    .engine-flow__title {
        font-size: 32px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .metric__val {
        font-size: 36px;
    }

    .academy-flow__title {
        font-size: 32px;
    }

    .cta-flow__wrapper {
        padding: 24px;
        gap: 24px;
        border-radius: 24px;
    }

    .cta-flow__info h2 {
        font-size: 28px;
    }

    .footer-flow__top {
        gap: 24px;
    }

    .footer-contact {
        flex-direction: column;
        gap: 16px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .footer-flow__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Animations and Utilities */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.is-visible {
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Interactive Elements Polish */
.btn-primary:active,
.btn-submit:active {
    transform: translateY(2px);
    box-shadow: 0 5px 15px rgba(91, 226, 47, 0.4);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Image Polish */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo__img {
    display: inline-block;
}