/**
Theme Name: Divi Child
Author: Masjid Solutions
Author URI: https://masjidsolutions.net/
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: divi-child
Template: Divi
*/

:root {
    --navy: #161235;
    --purple: #4b22ff;
    --blue: #18a7ff;
    --cyan: #53e1ff;
    --green: #00c878;
    --yellow: #ffd84d;
    --orange: #ff6b3d;
    --red: #ff4057;
    --white: #ffffff;
    --soft: #f6f8ff;
    --ink: #20233a;
    --muted: #667085;
    --shadow: 0 24px 60px rgba(21, 18, 52, 0.18);
    --radius: 28px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    --botlab-admin-offset: 0px;
}

body.admin-bar {
    --botlab-admin-offset: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        --botlab-admin-offset: 46px;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.btn-primary {
    background: linear-gradient(135deg, var(--yellow), #ffb800);
    color: #191532;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-blue {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(83, 225, 255, 0.15);
    color: var(--cyan);
    border: 1px solid rgba(83, 225, 255, 0.25);
}

header#main-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: rgba(22, 18, 53, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: -0.03em;
    font-size: 1.35rem;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--cyan), var(--green));
    display: grid;
    place-items: center;
    color: var(--navy);
    box-shadow: 0 12px 30px rgba(83, 225, 255, 0.28);
    font-size: 1.55rem;
}

.brand small {
    display: block;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.68);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: -4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.92rem;
    font-weight: 750;
    color: rgba(255, 255, 255, 0.82);
}

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

.nav-cta {
    padding: 12px 18px;
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    font-weight: 900;
}

/* Divi compatibility + WordPress menu structure (BotLab header) */
#main-header.botlab-site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100002;
    width: 100%;
    max-height: none;
    padding-bottom: 0;
    margin-bottom: 0;
    box-shadow: none;
    transform: none;
    animation: none;
    transition: none;
    background: rgba(22, 18, 53, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#main-header.botlab-site-header .container.nav {
    max-width: none;
    width: min(1180px, calc(100% - 40px));
    padding-top: 0;
    padding-bottom: 0;
}

.botlab-header-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.botlab-header-nav .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.botlab-header-nav .nav-links > li {
    margin: 0;
    padding: 0;
    position: relative;
}

.botlab-header-nav .nav-links a {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.botlab-header-nav .nav-links .sub-menu {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(22, 18, 53, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 20;
}

.botlab-header-nav .nav-links li:hover > .sub-menu,
.botlab-header-nav .nav-links li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.botlab-header-nav .nav-links .sub-menu a {
    display: block;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 650;
}

.botlab-header-nav .nav-links .sub-menu a:hover {
    color: var(--yellow);
}

.botlab-header-nav .nav-links .menu-item.nav-cta > a {
    padding: 12px 18px;
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    font-weight: 900;
}

.botlab-header-nav .nav-links .menu-item.nav-cta > a:hover {
    color: var(--navy);
}

.botlab-header-nav .nav-links .current-menu-item > a,
.botlab-header-nav .nav-links .current-menu-ancestor > a {
    color: var(--yellow);
}

.botlab-menu-toggle {
    display: none;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    z-index: 100006;
}

.botlab-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
}

.botlab-menu-toggle-bars {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 24px;
    pointer-events: none;
}

.botlab-menu-toggle-bars span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.28s ease, opacity 0.2s ease;
    transform-origin: center;
}

.botlab-menu-toggle[aria-expanded="true"] .botlab-menu-toggle-bars span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.botlab-menu-toggle[aria-expanded="true"] .botlab-menu-toggle-bars span:nth-child(2) {
    opacity: 0;
}

.botlab-menu-toggle[aria-expanded="true"] .botlab-menu-toggle-bars span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.botlab-menu-backdrop {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: calc(78px + var(--botlab-admin-offset, 0px));
    z-index: 100003;
    background: rgba(10, 8, 28, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    pointer-events: none;
}

.botlab-menu-backdrop.is-visible {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 1000px) {
    .botlab-menu-toggle {
        display: inline-flex;
    }

    #main-header.botlab-site-header .container.nav {
        position: relative;
        z-index: 100007;
        flex-wrap: nowrap;
    }

    #main-header.botlab-site-header .botlab-header-nav {
        flex: unset;
        position: fixed;
        top: calc(78px + var(--botlab-admin-offset, 0px));
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100005;
        justify-content: flex-start;
        align-items: stretch;
        margin: 0;
        padding: 20px clamp(14px, 4vw, 28px) 40px;
        background: rgba(22, 18, 53, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        transition: transform 0.32s ease;
        box-shadow: -12px 0 48px rgba(0, 0, 0, 0.2);
        pointer-events: none;
        visibility: hidden;
    }

    #main-header.botlab-site-header .botlab-header-nav.is-open {
        transform: translateX(0);
        pointer-events: auto;
        visibility: visible;
    }

    body.botlab-nav-is-open #main-header.botlab-site-header .botlab-menu-toggle {
        position: relative;
        z-index: 100008;
    }

    .botlab-header-nav .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        flex-wrap: nowrap;
        width: 100%;
        max-width: min(1180px, calc(100% - 40px));
        margin: 0 auto;
    }

    .botlab-header-nav .nav-links > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 16px 0;
    }

    .botlab-header-nav .nav-links > li:last-child {
        border-bottom: 0;
    }

    .botlab-header-nav .nav-links > li > a {
        display: block;
        width: 100%;
        font-size: 1.05rem;
        padding: 4px 0;
    }

    .botlab-header-nav .nav-links .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: block;
        margin: 10px 0 0;
        padding: 0 0 0 16px;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .botlab-header-nav .nav-links .sub-menu a {
        padding: 10px 0;
    }

    .botlab-header-nav .nav-links .menu-item.nav-cta > a {
        display: inline-flex;
        margin-top: 6px;
    }
}

#main-header.botlab-site-header ~ #et-main-area {
    /*padding-top: 78px;*/
}

.admin-bar #main-header.botlab-site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar #main-header.botlab-site-header {
        top: 46px;
    }
}

.admin-bar #main-header.botlab-site-header ~ #et-main-area {
    /*padding-top: calc(78px + 32px);*/
}

@media screen and (max-width: 782px) {
    .admin-bar #main-header.botlab-site-header ~ #et-main-area {
        padding-top: calc(78px + 46px);
    }
}

.hero {
    position: relative;
    min-height: 820px;
    padding: 150px 0 90px;
    color: #fff;
    background: radial-gradient(circle at 12% 18%, rgba(83, 225, 255, 0.32), transparent 34%),
    radial-gradient(circle at 80% 15%, rgba(255, 216, 77, 0.35), transparent 30%),
    linear-gradient(135deg, #151236 0%, #22164e 48%, #0e7bd5 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 90%);
}

.hero::after {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -78px;
    height: 160px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 52% 52% 0 0;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: 56px;
    align-items: center;
}

.hero h1 {
    margin: 22px 0 20px;
    font-size: clamp(3.2rem, 7.8vw, 5.9rem);
    line-height: 0.92;
    letter-spacing: -0.075em;
    font-weight: 950;
    color: #fff;
}

.hero h1 span {
    display: block;
    color: var(--yellow);
}

.hero p {
    max-width: 650px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.mini-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 750;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 10px 14px;
    border-radius: 999px;
}

.bot-stage {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
}

.orbit {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.26);
    animation: spin 34s linear infinite;
}

.orbit::before,
.orbit::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 22px;
    background: var(--yellow);
    box-shadow: var(--shadow);
}

.orbit::before {
    top: 24px;
    left: 72px;
}

.orbit::after {
    right: 16px;
    bottom: 96px;
    background: var(--green);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.robot-card {
    position: relative;
    width: min(440px, 92vw);
    padding: 32px;
    border-radius: 42px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    text-align: center;
}

.robot-face {
    width: 230px;
    height: 180px;
    margin: 10px auto 22px;
    background: linear-gradient(145deg, #ffffff, #c9f6ff);
    border-radius: 42px;
    position: relative;
    box-shadow: inset 0 -14px 0 rgba(0, 0, 0, 0.08), 0 26px 50px rgba(0, 0, 0, 0.22);
}

.robot-face::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 12px;
    left: 55px;
    top: -28px;
    background: #fff;
    border-radius: 12px;
}

.antenna {
    position: absolute;
    width: 20px;
    height: 46px;
    top: -64px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cyan);
    border-radius: 999px;
}

.antenna::before {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    left: -7px;
    top: -22px;
    background: var(--yellow);
    border-radius: 50%;
}

.eye {
    position: absolute;
    top: 68px;
    width: 42px;
    height: 42px;
    background: var(--purple);
    border-radius: 50%;
    box-shadow: inset 0 0 0 12px #fff;
}

.eye.left {
    left: 52px;
}

.eye.right {
    right: 52px;
}

.smile {
    position: absolute;
    width: 78px;
    height: 36px;
    border-bottom: 9px solid var(--orange);
    border-radius: 0 0 80px 80px;
    left: 76px;
    top: 112px;
}

.robot-card h3 {
    font-size: 1.55rem;
    line-height: 1.1;
    margin-bottom: 10px;
    color: #fff;
}

.robot-card p {
    font-size: 0.95rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.floating-chip {
    position: absolute;
    z-index: 3;
    background: #fff;
    color: var(--navy);
    border-radius: 20px;
    padding: 14px 16px;
    font-weight: 900;
    box-shadow: var(--shadow);
}

.chip-1 {
    top: 70px;
    left: 0;
}

.chip-2 {
    bottom: 92px;
    right: 10px;
}

.chip-3 {
    bottom: 12px;
    left: 38px;
}

section {
    padding: 92px 0;
}

.section-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 50px;
}

.eyebrow {
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    font-weight: 950;
    margin-bottom: 12px;
}

.section-head h2 {
    font-size: clamp(2.2rem, 4.2vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: var(--navy);
    margin-bottom: 18px;
}

.section-head p {
    color: var(--muted);
    font-size: 1.08rem;
}

.audience {
    padding-top: 40px;
    background: #fff;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.audience-card {
    padding: 34px;
    border-radius: var(--radius);
    background: var(--soft);
    border: 1px solid #e7ebff;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.25s ease;
}

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

.icon-bubble {
    width: 84px;
    height: 84px;
    border-radius: 27px;
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    margin-bottom: 22px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(21, 18, 52, 0.1);
}

.audience-card h3 {
    font-size: 1.75rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--navy);
    margin-bottom: 12px;
}

.audience-card p {
    color: var(--muted);
    margin-bottom: 24px;
}

.feature-band {
    background: radial-gradient(circle at 90% 18%, rgba(255, 216, 77, 0.22), transparent 26%),
    linear-gradient(135deg, var(--green), #02a5d6);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.feature-band::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    bottom: -220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.feature-layout {
    position: relative;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 38px;
    align-items: center;
}

.lab-photo {
    min-height: 440px;
    border-radius: 38px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.12)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #203a8f, #27d7ff);
    box-shadow: var(--shadow);
    position: relative;
    padding: 34px;
}

.lab-photo::before {
    content: "BOTLAB";
    position: absolute;
    left: 32px;
    top: 28px;
    font-size: clamp(3rem, 8vw, 7.2rem);
    line-height: 0.8;
    font-weight: 950;
    color: rgba(255, 255, 255, 0.12);
    letter-spacing: -0.08em;
}

.bot-building {
    position: absolute;
    left: 48px;
    bottom: 46px;
    width: 76%;
    height: 210px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 26px 55px rgba(0, 0, 0, 0.22);
    padding: 28px;
}

.bot-building .track {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 34px;
    height: 46px;
    background: var(--navy);
    border-radius: 999px;
}

.bot-building .body {
    position: absolute;
    width: 190px;
    height: 100px;
    left: 72px;
    bottom: 74px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.bot-building .tower {
    position: absolute;
    width: 70px;
    height: 128px;
    left: 260px;
    bottom: 74px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.bot-building .wheel {
    position: absolute;
    width: 64px;
    height: 64px;
    bottom: 26px;
    background: #fff;
    border: 13px solid var(--purple);
    border-radius: 50%;
}

.bot-building .w1 {
    left: 75px;
}

.bot-building .w2 {
    left: 235px;
}

.feature-card {
    background: #fff;
    color: var(--navy);
    padding: 48px;
    border-radius: 38px;
    box-shadow: var(--shadow);
}

.feature-card h2 {
    font-size: clamp(2.2rem, 4vw, 4.6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin-bottom: 20px;
}

.check-list {
    display: grid;
    gap: 14px;
    margin: 26px 0 30px;
}

.check-list li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #45495c;
    font-weight: 650;
}

.check-list li::before {
    content: "✓";
    flex: 0 0 24px;
    height: 24px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 900;
    margin-top: 2px;
}

.programs {
    background: var(--soft);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.program-card {
    min-height: 420px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    color: #fff;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 18px 45px rgba(21, 18, 52, 0.13);
    transition: 0.25s ease;
}

.program-card:hover {
    transform: translateY(-7px) rotate(-1deg);
}

.program-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 18, 53, 0.9), rgba(22, 18, 53, 0.18)),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.2), transparent 35%);
    z-index: 1;
}

.program-card > * {
    position: relative;
    z-index: 2;
}

.program-card:nth-child(1) {
    background: linear-gradient(135deg, #26c6ff, #4b22ff);
}

.program-card:nth-child(2) {
    background: linear-gradient(135deg, #00c878, #0e7bd5);
}

.program-card:nth-child(3) {
    background: linear-gradient(135deg, #ff4057, #ff9f1c);
}

.program-card:nth-child(4) {
    background: linear-gradient(135deg, #3a1c71, #18a7ff);
}

.program-emoji {
    position: absolute;
    top: 28px;
    left: 26px;
    font-size: 4rem;
    z-index: 2;
}

.program-card h3 {
    font-size: 1.65rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.program-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
}

.levels {
    background: #fff;
}

.level-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.level {
    padding: 24px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid #e6eaff;
    box-shadow: 0 15px 30px rgba(21, 18, 52, 0.08);
}

.level-number {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--yellow);
    font-weight: 950;
    margin-bottom: 18px;
}

.level h3 {
    color: var(--navy);
    font-size: 1.12rem;
    margin-bottom: 8px;
}

.level p {
    color: var(--muted);
    font-size: 0.92rem;
}

.competition {
    color: #fff;
    background: radial-gradient(circle at 20% 20%, rgba(255, 216, 77, 0.26), transparent 32%),
    linear-gradient(135deg, #21173f 0%, #110b2a 100%);
    position: relative;
    overflow: hidden;
}

.competition .section-head h2,
.competition .section-head p {
    color: #fff;
}

.competition .section-head p {
    color: rgba(255, 255, 255, 0.75);
}

.competition-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.tournament-card {
    border-radius: 38px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    padding: 44px;
    box-shadow: var(--shadow);
    min-height: 360px;
    position: relative;
    overflow: hidden;
}

.tournament-card::after {
    content: "🏆";
    position: absolute;
    right: 30px;
    bottom: 18px;
    font-size: 9rem;
    opacity: 0.22;
}

.tournament-card h3 {
    font-size: 2.3rem;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.tournament-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
    font-weight: 800;
}

.tournament-list span {
    display: flex;
    gap: 10px;
    align-items: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.gallery-tile {
    border-radius: 28px;
    padding: 28px;
    min-height: 171px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.gallery-tile b {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--yellow);
}


.video-section {
    background: radial-gradient(circle at 10% 20%, rgba(83, 225, 255, 0.18), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(255, 216, 77, 0.22), transparent 28%),
    #ffffff;
}

.video-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: center;
}

.video-frame {
    position: relative;
    min-height: 430px;
    border-radius: 38px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(22, 18, 53, 0.78), rgba(75, 34, 255, 0.55)),
    radial-gradient(circle at 50% 35%, rgba(83, 225, 255, 0.45), transparent 38%);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
    padding: 34px;
}

.video-frame::before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 2px dashed rgba(255, 255, 255, 0.24);
    border-radius: 28px;
    pointer-events: none;
}

.play-button {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26);
    margin: 0 auto 22px;
}

.video-frame h3 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.video-frame p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.78);
    position: relative;
    z-index: 1;
}

.video-content {
    padding: 42px;
    border-radius: 38px;
    background: var(--soft);
    border: 1px solid #e7ebff;
}

.video-content h2 {
    font-size: clamp(2.2rem, 4vw, 4.5rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    color: var(--navy);
    margin-bottom: 18px;
}

.video-content p {
    color: var(--muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.video-points {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}

.video-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 750;
    color: #394056;
}

.video-point span {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: #fff;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    box-shadow: 0 10px 24px rgba(21, 18, 52, 0.08);
}

.testimonials {
    background: linear-gradient(180deg, #fff 0%, #fff9dc 100%);
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.quote {
    background: #fff;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 16px 40px rgba(21, 18, 52, 0.1);
    border: 1px solid #f0e7bd;
}

.quote p {
    color: #3e4254;
    margin-bottom: 24px;
    font-weight: 650;
}

.quote-user {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    color: var(--navy);
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--soft);
    font-size: 1.4rem;
}

.cta {
    padding: 0;
    background: var(--navy);
}

.cta-card {
    transform: translateY(70px);
    border-radius: 42px;
    padding: 58px;
    background: radial-gradient(circle at 85% 20%, rgba(255, 216, 77, 0.4), transparent 28%),
    linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.cta-card h2 {
    font-size: clamp(2.3rem, 5vw, 4.7rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin-bottom: 18px;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.08rem;
    margin-bottom: 26px;
}

.form-card {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 30px;
    padding: 24px;
    backdrop-filter: blur(15px);
}

.form-grid {
    display: grid;
    gap: 12px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    padding: 0 16px;
    color: var(--navy);
    font: inherit;
    outline: none;
}

textarea {
    min-height: 96px;
    padding-top: 14px;
    resize: vertical;
}

/* BotLab site footer (#main-footer overlaps Divi footer styles) */
#main-footer.botlab-site-footer {
    float: none;
    background-color: var(--navy);
    background-image: none;
    box-shadow: none;
    border-top: none;
    margin-top: 0;
    padding: 150px 0 44px;
    color: #fff;
}

#main-footer.botlab-site-footer .botlab-footer-inner.container {
    max-width: none;
    width: min(1180px, calc(100% - 40px));
    padding-top: 0;
    padding-bottom: 0;
}

#main-footer.botlab-site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 36px;
}

#main-footer.botlab-site-footer .footer-grid h4 {
    color: var(--yellow);
    margin-bottom: 14px;
}

#main-footer.botlab-site-footer .footer-grid p,
#main-footer.botlab-site-footer .footer-grid .footer-social {
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 9px;
    font-size: 0.95rem;
}

#main-footer.botlab-site-footer .footer-col:not(.footer-col-brand) > a {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 9px;
    font-size: 0.95rem;
}

#main-footer.botlab-site-footer .footer-col:not(.footer-col-brand) > a:hover {
    color: rgba(255, 255, 255, 0.95);
}

#main-footer.botlab-site-footer .footer-grid p a {
    display: inline;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

#main-footer.botlab-site-footer .footer-grid p a:hover {
    color: var(--yellow);
}

#main-footer.botlab-site-footer .footer-tagline {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.68);
}

#main-footer.botlab-site-footer .footer-bottom {
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

#main-footer.botlab-site-footer .brand {
    color: #fff;
}

#main-footer.botlab-site-footer .brand small {
    color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1000px) {
    .hero-grid,
    .feature-layout,
    .competition-layout,
    .video-layout,
    .cta-card {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 130px;
    }

    .bot-stage {
        min-height: 480px;
    }

    .audience-grid,
    .quote-grid {
        grid-template-columns: 1fr;
    }

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

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

    #main-footer.botlab-site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .brand {
        font-size: 1.04rem;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .hero {
        min-height: auto;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .floating-chip {
        display: none;
    }

    .orbit {
        width: 340px;
        height: 340px;
    }

    .robot-card {
        padding: 22px;
    }

    .robot-face {
        width: 190px;
        height: 152px;
    }

    .eye.left {
        left: 40px;
    }

    .eye.right {
        right: 40px;
    }

    .smile {
        left: 57px;
    }

    section {
        padding: 70px 0;
    }

    .program-grid,
    .level-track,
    .gallery-grid,
    #main-footer.botlab-site-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .program-card {
        min-height: 330px;
    }

    .feature-card,
    .tournament-card,
    .cta-card {
        padding: 30px;
    }

    .lab-photo {
        min-height: 360px;
    }

    .bot-building {
        left: 24px;
        right: 24px;
        width: auto;
        transform: scale(0.82);
        transform-origin: bottom left;
    }

    #main-footer.botlab-site-footer .footer-bottom {
        display: block;
    }
}