html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    /* keep scrollbar always visible — prevents layout shift */
}

/* ── Custom Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #071a20;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #446e79 0%, #1d4752 100%);
    border-radius: 20px;
    box-shadow: 0 0 8px rgba(0, 220, 250, 0.35);
    transition: background 0.11s ease, box-shadow 0.11s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #286b77 0%, #071F25 100%);
    box-shadow: 0 0 16px rgba(0, 220, 250, 0.65);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #446e79 #1d4752;
}

/* Global overflow-x safeguard across all sections */
section {
    position: relative;
    overflow-x: clip;
    max-width: 100%;
}

.site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    margin-bottom: 50px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.header-placeholder {
    display: none;
    width: 100%;
    height: 52px;
    margin-bottom: 50px;
}

.site-header.is-fixed+.header-placeholder {
    display: block;
}

/* 100% full-width fixed header on scroll with beautiful slide-down animation */
@keyframes headerSlideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        opacity: 0.9;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.site-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin-bottom: 0;
    z-index: 1000;
    background: rgba(6, 25, 30, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(22, 63, 75, 0.5);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    animation: headerSlideDown 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    padding: 12px 0;
    border-radius: 0;
}

.site-header.is-fixed .header-container {
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding: 0 40px;
    max-width: 1440px;
    margin: 0 auto;
    outline: none;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #071f25;
    border: 1px solid rgba(0, 220, 250, 0.08);
    border-radius: 14px;
    padding: 10px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    max-width: 1360px;
    margin: 0 auto;
    outline: none;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    height: 28px;
    width: auto;
    display: block;
}

.logo-text {
    height: 20px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    color: var(--color-nav-link);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s ease;
    white-space: nowrap;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

/* ── Language Selector Dropdown ─────────────────────────────── */
.lang-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-selector__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--color-nav-link);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.lang-selector__trigger:hover {
    color: var(--color-text-white);
}

.lang-selector.open .lang-selector__trigger {
    color: var(--color-text-white);
}

.lang-selector__chevron {
    width: 13px;
    height: 13px;
    display: block;
    opacity: 0.7;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), filter 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

.lang-selector__trigger:hover .lang-selector__chevron,
.lang-selector.open .lang-selector__chevron {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.lang-selector.open .lang-selector__chevron {
    transform: rotate(180deg);
}

/* Dropdown panel */
.lang-selector__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 148px;
    list-style: none;
    margin: 0;
    padding: 6px;
    background: rgba(6, 25, 30, 0.96);
    border: 1px solid rgba(0, 220, 250, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.55),
        0 0 0 0.5px rgba(0, 220, 250, 0.08) inset;
    z-index: 2000;

    /* Hidden state */
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top right;
}

.lang-selector.open .lang-selector__dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Individual option */
.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(180, 215, 220, 0.8);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.lang-option:hover {
    background: rgba(0, 220, 250, 0.1);
    color: #00dbf9;
}

.lang-option.active {
    color: var(--color-primary, #00dcfa);
    background: rgba(0, 220, 250, 0.07);
}

/* ── Login Selector Dropdown ─────────────────────────────── */
.login-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.login-selector__trigger {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none;
    gap: 6px;
}

.login-selector__chevron {
    width: 14px;
    height: 14px;
    display: block;
    /* Make SVG match the dark text color of btn-primary */
    filter: brightness(0);
    opacity: 1;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.login-selector.open .login-selector__chevron {
    transform: rotate(180deg);
}

.login-selector__dropdown {
    min-width: 180px;
    right: 0;
    left: auto;
}

.login-selector.open .login-selector__dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

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

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #0b3843;
    color: var(--color-primary);
}

.btn-login:hover {
    background-color: rgba(0, 220, 250, 0.2);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-login img {
    width: 14px;
    height: 14px;
    display: block;
}

.btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: #0c262c;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-signup:hover {
    background-color: #00c4e0;
    box-shadow: 0 0 16px rgba(0, 220, 250, 0.4);
    color: #0c262c;
}

@media (max-width: 1024px) {
    .main-nav {
        display: none;
        /* Hide on smaller screens */
    }
}

@media (max-width: 768px) {
    .site-header {
        z-index: 99999;
    }

    .site-header.is-fixed {
        padding: 10px 0;
        z-index: 99999;
    }

    .site-header.is-fixed .header-container {
        padding: 0 16px;
    }

    .hero-wrapper {
        margin: 10px 10px 0;
        padding: 16px 16px 80px;
    }

    .header-container {
        padding: 8px 14px;
    }

    .header-actions {
        gap: 10px;
    }

    .btn-login {
        padding: 6px 12px;
        font-size: 13px;
    }

    .btn-signup {
        padding: 7px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .lang-selector {
        display: none;
    }
}

/* CSS for section section:Hero */
#hero {
    position: relative;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

.hero-wrapper {
    position: relative;
    padding: 24px 32px 0;
    overflow: hidden;
    background-color: #103037;
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
    border-radius: 24px;
    margin: 16px 20px 0;
    min-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    max-width: calc(100% - 40px);
    box-sizing: border-box;
}

/* ── Hero shape: always-on gentle wave ── */
@keyframes heroWaveBase {
    0% {
        transform: translateY(0px) scaleX(1) rotate(0deg);
    }

    33% {
        transform: translateY(-14px) scaleX(1.018) rotate(0.22deg);
    }

    66% {
        transform: translateY(-9px) scaleX(1.008) rotate(-0.16deg);
    }

    100% {
        transform: translateY(0px) scaleX(1) rotate(0deg);
    }
}

.hero-bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
    filter: blur(0.5px);
    z-index: 0;
    pointer-events: none;
    transform-origin: center center;
    animation: heroWaveBase 11s ease-in-out infinite;
    will-change: transform;
}

/* When shape goes fixed on scroll (added via JS) */

.hero-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    z-index: 1;
    flex: 1;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0;
    min-width: 0;
}

.hero-content {
    flex: 1 1 480px;
    max-width: 580px;
    min-width: 0;
    padding-bottom: 80px;
    align-self: center;
}

.hero-eyebrow {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 22px;
    opacity: 0.85;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.12;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 17px;
    color: #e2e8f0;
    margin-bottom: 40px;
    line-height: 1.65;
    opacity: 0.9;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-cta .btn-secondary {
    color: var(--color-primary);
}

.hero-cta .btn-secondary:hover {
    background-color: rgba(0, 220, 250, 0.12);
    border-color: var(--color-primary);
}

.hero-visual {
    flex: 1 1 440px;
    min-width: 0;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    align-self: flex-end;
    height: 100%;
    max-width: 100%;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-main-image {
    width: 106%;
    height: auto;
    max-height: calc(100vh - 60px);
    object-fit: contain;
    object-position: bottom center;
    border-radius: 0;
    display: block;
    filter: url(#hero-teal-duotone);
    opacity: 0.95;
    margin-top: -60px;
    margin-left: -3%;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.45) 8%, black 28%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.45) 8%, black 28%);
}

.hero-visual .glass-panel {
    background-color: rgba(6, 26, 32, 0.85);
    border: 1px solid rgba(22, 63, 75, 0.9);
    border-radius: 14px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stat-panel {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    max-width: calc(100% - 20px);
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.stat-panel * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.stat-panel-1 {
    top: 20%;
    left: -50px;
}

.stat-panel-2 {
    top: 45%;
    right: 0px;
}

.stat-panel-3 {
    bottom: 50px;
    left: 200px;
    max-width: calc(100% - 40px);
}

.shape-1 {
    bottom: 58%;
    right: 111px;
    z-index: 10;
}

.shape-2 {
    bottom: 24%;
    left: 250px;
    transform: translateY(-50%);
    transform: scaleX(-1);
    z-index: 10;
}

.shape-3 {
    top: 10%;
    left: 65px;
    z-index: 10;
}

@media (max-width: 1200px) {
    .hero-container {
        gap: 24px;
    }

    .hero-content {
        max-width: 460px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .hero-image-wrapper {
        max-width: 460px;
    }

    .stat-panel-1 {
        left: 0;
    }

    .stat-panel-2 {
        right: 0;
    }

    .stat-panel-3 {
        left: 20px;
        bottom: 40px;
    }
}

@media (max-width: 1024px) {
    .hero-wrapper {
        min-height: auto;
        padding-bottom: 60px;
        margin: 12px 12px 0;
        max-width: calc(100% - 24px);
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        padding-bottom: 40px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        padding-bottom: 20px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-visual {
        width: 100%;
        justify-content: center;
        align-self: center;
    }

    .hero-image-wrapper {
        max-width: 460px;
    }

    .stat-panel-1 {
        left: 0;
        bottom: 20px;
        top: auto;
    }

    .stat-panel-2 {
        right: 0;
        top: 20px;
    }

    .stat-panel-3 {
        left: 20px;
        bottom: 20px;
    }
}

/* CSS for section section:Feature360 */
.section-padding {
    padding: 120px 0;
}

.feature-360-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-description {
    font-size: 18px;
    color: var(--color-text-white);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .feature-360-grid {
        grid-template-columns: 1fr;
    }

    .feature-360-visual {
        order: -1;
    }
}

/* CSS for section section:Capabilities */
.bg-darker {
    background-color: var(--color-bg-darker);
}

.capabilities-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.nav-arrows {
    display: flex;
    gap: 12px;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
    user-select: none;
}

.arrow-btn:active {
    transform: scale(0.95);
}

.arrow-btn.prev {
    background-color: var(--color-bg-dark);
    border: 1px solid var(--color-border);
}

.arrow-btn.prev:hover {
    background-color: rgba(0, 220, 250, 0.12);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(0, 220, 250, 0.2);
}

.arrow-btn.next {
    background-color: var(--color-primary-light-3);
    border: 1px solid var(--color-primary);
}

.arrow-btn.next:hover {
    background-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 220, 250, 0.4);
}

.arrow-btn.next:hover img {
    filter: brightness(0) saturate(100%) invert(14%) sepia(21%) saturate(2220%) hue-rotate(152deg) brightness(94%) contrast(92%);
}

.capabilities-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0 20px 0;
}

.capabilities-slider,
.capabilities-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    margin-bottom: 0;
    overflow: visible;
}

.capability-card {
    flex: 0 0 calc((100% - (2 * 24px)) / 3);
    min-width: 0;
    position: relative;
    border-radius: 20px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-4px);
}

.capability-card:not(.active) {
    opacity: 0.9;
}

.capability-card.active {
    opacity: 1;
}

.card-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
    background-color: var(--color-bg-dark);
}

.card-image>img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.capability-card:hover .card-image>img:first-child {
    transform: scale(1.03);
}

.card-overlay-shape {
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    height: calc(100% - 20px);
    width: auto;
    max-width: 80%;
    object-fit: fill;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(4px 0 16px rgba(0, 0, 0, 0.45));
}

.card-content {
    position: absolute;
    top: 30px;
    left: 10px;
    bottom: 10px;
    width: 65%;
    padding: 34px 24px 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 2;
    pointer-events: none;
}

.card-title {
    color: #4cd897;
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 22px;
    line-height: 1.25;
    letter-spacing: -0.3px;
    word-break: break-word;
}

.card-desc {
    color: #f1f5f9;
    font-size: 16px;
    line-height: 1.55;
    opacity: 0.92;
    letter-spacing: -0.1px;
}

.slider-progress {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    align-items: center;
    width: 100%;
}

.progress-bar {
    position: relative;
    height: 6px;
    flex: 1;
    background-color: rgba(0, 220, 250, 0.15);
    border: none;
    border-radius: 20px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.progress-bar:hover {
    background-color: rgba(0, 220, 250, 0.3);
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--color-primary);
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 220, 250, 0.6);
    will-change: width;
}

@keyframes capabilityProgressFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.progress-bar.active .progress-bar-fill {
    animation: capabilityProgressFill 12s linear forwards;
}

.capabilities-slider-container.is-paused .progress-bar.active .progress-bar-fill {
    animation-play-state: paused;
}

@media (max-width: 1200px) {
    .capabilities-slider-track {
        gap: 20px;
    }

    .capability-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    .card-content {
        width: 65%;
    }
}

@media (max-width: 768px) {
    .capabilities-slider-track {
        gap: 16px;
    }

    .capability-card {
        flex: 0 0 100%;
    }

    .card-image {
        height: 320px;
    }

    .card-content {
        width: 72%;
        padding: 22px 18px;
    }

    .card-title {
        font-size: 19px;
        margin-bottom: 14px;
    }

    .card-desc {
        font-size: 13px;
    }

    .capabilities-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 36px;
    }
}

/* CSS for section section:PoweredBy */
#powered-by {
    background-image: url('./images/human-intelligence.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 220px 0;
}

.powered-by-content {
    position: relative;
    z-index: 2;
    max-width: 575px;
    padding: 40px 0;
}

.disciplines-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}

.discipline-tag {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
}

.powered-by-image {
    position: absolute;
    right: -40px;
    /* Extend beyond container */
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.powered-by-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.image-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-bg-dark) 0%, transparent 100%);
}

@media (max-width: 1024px) {
    #powered-by {
        background-image: none;
        padding: 50px 0 !important;
    }

    .powered-by-wrapper {
        flex-direction: column;
    }

    .powered-by-image {
        position: relative;
        width: 100%;
        right: 0;
        height: 400px;
        margin-top: 40px;
    }

    .powered-by-image img {
        clip-path: none;
        border-radius: 20px;
    }

    .image-gradient-overlay {
        display: none;
    }
}

/* CSS for section section:FutureOfSelection */
.text-center {
    text-align: center;
}

.mt-60 {
    margin-top: 60px;
}

.future-grid {
    display: flex;
    align-items: center;
    gap: 20px;
}

.future-visual {
    flex: 1;
}

#future-of-selection {
    position: relative;
}

.future-comparison {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.future-highlight-text-box {
    position: absolute;
    bottom: 65px;
    right: 88px
}

.future-highlight-text {
    color: #03CA9B;
    font-size: 24px;
    font-style: italic;
}

.comparison-card {
    flex: 1;
    padding: 30px;
    border-radius: 20px;
    min-height: 374px;
}

.bt1-card {
    background-color: var(--color-bg-darker);
    border-top: 2px solid var(--color-accent);
}

.human-card {
    background-color: var(--color-bg-darker);
    border-top: 2px solid var(--color-primary);
}

.comparison-title {
    font-size: 24px;
    margin-bottom: 30px;
}

.bt1-card .comparison-title {
    color: var(--color-accent);
}

.human-card .comparison-title {
    color: var(--color-primary);
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comparison-list li {
    position: relative;
    padding-left: 15px;
    color: var(--color-text-white);
}

.comparison-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: inherit;
}

.comparison-plus {
    font-size: 48px;
    color: var(--color-primary);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .future-grid {
        flex-direction: column;
    }

    .future-comparison {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .future-comparison {
        flex-direction: column;
    }

    .comparison-card {
        width: 100%;
        min-height: auto;
    }
}

/* CSS for section section:WhatChanges */
.what-changes-header {
    max-width: 550px;
    margin-bottom: 50px;
}

.changes-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
}

.changes-grid,
.changes-slider-track {
    display: flex;
    gap: 32px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    margin-bottom: 0;
}

.change-item {
    flex: 0 0 calc((100% - (3 * 32px)) / 4);
    min-width: 0;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.3s ease;
}

.change-item:hover {
    opacity: 0.95;
}

.progress-segment {
    position: relative;
    width: 100%;
    height: 3px;
    background-color: rgba(0, 220, 250, 0.18);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 24px;
    transition: background-color 0.3s ease;
}

.progress-segment .progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--color-primary);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 220, 250, 0.5);
    will-change: width;
}

@keyframes changeProgressFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.change-item.active .progress-segment .progress-fill {
    animation: changeProgressFill 12s linear forwards;
}

.changes-slider-container.is-paused .change-item.active .progress-segment .progress-fill {
    animation-play-state: paused;
}

.change-number {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 22px;
    line-height: 1;
    letter-spacing: 0.5px;
}

.change-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text-white);
    margin-bottom: 12px;
    line-height: 1.35;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.change-item:not(.active) .change-title {
    color: rgba(255, 255, 255, 0.88);
}

.change-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    transition: color 0.3s ease;
}

.change-item.active .change-desc {
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1024px) {
    .changes-slider-track {
        gap: 24px;
    }

    .change-item {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .what-changes-header {
        margin-bottom: 36px;
    }
}

@media (max-width: 600px) {
    .changes-slider-track {
        gap: 16px;
    }

    .change-item {
        flex: 0 0 100%;
    }

    .what-changes-header {
        margin-bottom: 28px;
    }
}

/* CSS for section section:NewStandard */
#new-standard {
    background-image: url('./images/new-standard.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 220px 0;
}

.new-standard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-blocks {
    display: flex;
    flex-direction: column;
    gap: 32px;
    font-size: 18px;
    color: var(--color-text-white);
    line-height: 1.6;
}

.text-highlight {
    font-weight: 700;
}

@media (max-width: 768px) {
    .new-standard-grid {
        grid-template-columns: 1fr;
    }

    .new-standard-visual {
        order: -1;
    }
}

/* CSS for section section:Organizations */
#organizations {
    padding-bottom: 70px !important;
}

.org-content {
    max-width: 900px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.org-desc {
    font-size: 16px;
    color: var(--color-text-white);
    line-height: 1.6;
}

.org-highlight {
    font-size: 18px;
    color: var(--color-text-white);
}

/* ── Logos Marquee (infinite smooth scroll) ──────── */
@keyframes logos-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logos-viewport {
    overflow: hidden;
    height: 160px;
    /* fixed height — section bottom spacing never shifts */
    padding: 0;
    display: flex;
    align-items: center;
    margin-top: 40px;
    /* fade edges with mask */
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 8%,
            black 92%,
            transparent 100%);
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 8%,
            black 92%,
            transparent 100%);
}

.logos-track {
    display: flex;
    align-items: center;
    width: max-content;
    /* natural width of all 20 slides */
    animation: logos-scroll 40s linear infinite;
    /* slow & smooth */
    will-change: transform;
}

.logos-track:hover {
    animation-play-state: paused;
    /* pause on hover */
}

.logo-slide {
    flex: 0 0 auto;
    width: 180px;
    /* fixed width per logo slot */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    box-sizing: border-box;
}

.logo-slide img {
    height: 50px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.55;
    filter: grayscale(20%);
    transition: opacity 0.35s ease, filter 0.35s ease;
    pointer-events: none;
    /* no clicks on duplicates */
}

.logo-slide:not([aria-hidden]) img {
    pointer-events: auto;
}

.logo-slide img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .logo-slide {
        width: 130px;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .logo-slide {
        width: 100px;
        padding: 0 10px;
    }

    .logos-track {
        animation-duration: 28s;
    }
}


/* CSS for section section:Transform */
#transform {
    background-image: url('./images/transform-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 280px 0;
    position: relative;
}


.transform-content {
    flex: 1;
    max-width: 500px;
    z-index: 2;
    position: relative;
    top: 200px;
}

.transform-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 1024px) {
    .transform-wrapper {
        flex-direction: column;
    }

    .transform-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }
}

/* CSS for section section:Footer */
#footer {
    position: relative;
}

.site-footer {
    background-color: var(--color-bg-dark);
    padding: 80px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand {
    max-width: 389px;
}

.brand-desc {
    color: var(--color-text-white);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links-group {
    display: flex;
    gap: 120px;
}

.footer-heading {
    color: var(--color-text-light);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links a {
    color: var(--color-text-gray);
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-divider {
    height: 1px;
    background-color: var(--color-text-white);
    opacity: 0.1;
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links {
    display: flex;
    gap: 33px;
}

.legal-links a,
.copyright {
    color: var(--color-text-gray);
    font-size: 14px;
}

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

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-links-group {
        gap: 50px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: absolute;
    bottom: 130px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #375966;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transform: translateY(20px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}


/* ═══════════════════════════════════════════════════════
   MOBILE RESPONSIVE — All breakpoints
   Desktop (>1024px) is UNTOUCHED.
═══════════════════════════════════════════════════════ */

/* ── Hamburger Button (hidden on desktop) ─────────────────── */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(0, 220, 250, 0.2);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.mobile-menu-btn:hover {
    border-color: rgba(0, 220, 250, 0.5);
    background: rgba(0, 220, 250, 0.06);
}

.hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.is-open .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-open .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.is-open .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Navigation Panel ─────────────────────────────── */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(6, 25, 30, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 220, 250, 0.12);
    border-radius: 0 0 20px 20px;
    z-index: 1500;
    padding: 80px 24px 32px;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
}

.mobile-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(0, 220, 250, 0.1);
    padding-bottom: 28px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 16px;
    color: var(--color-nav-link);
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    transition: color 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    color: var(--color-text-white);
    background: rgba(0, 220, 250, 0.07);
}

.mobile-nav-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.mobile-nav-cta {
    flex: 1;
    justify-content: center;
    min-width: 120px;
    font-size: 14px;
    padding: 12px 16px;
}

.mobile-nav-lang {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mobile-lang-btn {
    flex: 1;
    min-width: 90px;
    padding: 10px 14px;
    background: rgba(0, 220, 250, 0.05);
    border: 1px solid rgba(0, 220, 250, 0.15);
    border-radius: 8px;
    color: var(--color-nav-link);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.mobile-lang-btn:hover {
    background: rgba(0, 220, 250, 0.12);
    color: var(--color-text-white);
    border-color: rgba(0, 220, 250, 0.4);
}

.mobile-lang-btn.active {
    background: rgba(0, 220, 250, 0.15);
    color: var(--color-primary);
    border-color: rgba(0, 220, 250, 0.4);
}

/* ── Breakpoint: Tablet & Mobile (≤ 1024px) ──────────────── */
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex;
    }

    .lang-selector {
        display: none;
    }

    .auth-buttons {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .future-highlight-text-box {
        position: relative;
        top: 20px;
        right: 0;
    }

    .decorative-shape {
        display: none;
    }

    .decorative-shape.hero-bg-shape {
        display: block;
    }
}

/* ── Breakpoint: Mobile (≤ 768px) ────────────────────────── */
@media (max-width: 768px) {

    /* ── Global ──────────────── */
    .section-padding {
        padding: 72px 0;
    }

    .container {
        padding: 0 20px;
    }

    /* ── Hero ────────────────── */
    .hero-wrapper {
        margin: 8px 8px 0;
        padding: 16px 0 60px;
        border-radius: 18px;
        min-height: auto;
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        padding: 32px 20px 0;
        gap: 0;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        padding-bottom: 48px;
        align-self: auto;
    }

    .hero-title {
        font-size: 34px;
        letter-spacing: -0.3px;
    }

    .hero-eyebrow {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 15px;
        max-width: 100%;
        margin-bottom: 32px;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Hide hero image on mobile */
    .hero-visual {
        display: none;
    }

    /* Hide floating stat panels */
    .stat-panel {
        display: none;
    }

    /* Hide decorative shapes */
    .shape-1,
    .shape-2,
    .shape-3 {
        display: none;
    }

    /* ── Feature 360 ──────────── */
    .feature-360-grid {
        gap: 32px;
    }

    .feature-360-visual {
        max-width: 80%;
        margin: 0 auto;
    }

    .section-description {
        font-size: 15px;
    }

    /* ── Powered By ───────────── */
    #powered-by {
        padding: 80px 0;
        background-position: right center;
    }

    .powered-by-content {
        max-width: 100%;
        padding: 0;
    }

    .disciplines-grid {
        margin-top: 28px;
    }

    /* ── Future of Selection ──── */
    #future-of-selection .future-of-selectioneader {
        margin-bottom: 0 !important;
    }

    #future-of-selection .future-of-selectioneader h2 {
        text-align: left !important;
    }

    .future-grid {
        flex-direction: column;
        gap: 40px;
    }

    .future-visual {
        max-width: 75%;
        margin: 0 auto;
    }

    .future-comparison {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .comparison-card {
        width: 100%;
        min-height: auto;
        padding: 24px;
    }

    .comparison-plus {
        font-size: 36px;
        text-align: center;
    }

    /* Fix absolutely positioned highlight text on mobile */
    .future-highlight-text-box {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 40px;
        text-align: left;
        padding: 0 20px;
    }

    .future-highlight-text {
        font-size: 18px;
    }

    #future-of-selection .decorative-shape {
        display: none;
    }

    /* ── What Changes ─────────── */
    .what-changes-header {
        max-width: 100%;
    }

    /* ── New Standard ─────────── */
    #new-standard {
        padding: 80px 0;
        background-image: none;
    }

    .new-standard-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .new-standard-visual {
        display: none;
    }

    .content-blocks {
        font-size: 16px;
        gap: 24px;
    }

    /* ── Transform ────────────── */
    #transform {
        padding: 80px 0 30px;
        background-image: none;
    }

    .transform-content {
        max-width: 100%;
        top: 0;
        text-align: left;
        padding: 0;
    }

    .transform-content .hero-cta {
        justify-content: flex-start;
        flex-wrap: wrap;
        align-items: flex-start !important;
    }

    /* ── Organizations ────────── */
    #organizations {
        padding-bottom: 20px !important;
    }

    .org-content {
        margin-bottom: 40px;
        text-align: left !important;
    }

    .org-desc,
    .org-highlight {
        font-size: 15px;
    }

    #organizations .decorative-shape {
        display: none;
    }

    /* ── Footer ───────────────── */
    .site-footer {
        padding: 60px 0 32px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 48px;
    }

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

    .footer-links-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-links-group .footer-col:last-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .legal-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* ── Breakpoint: Small Mobile (≤ 480px) ─────────────────── */
@media (max-width: 480px) {

    .section-padding {
        padding: 56px 0;
    }

    .container {
        padding: 0 16px;
    }

    .hero-wrapper {
        margin: 6px 6px 0;
        border-radius: 14px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .section-title {
        font-size: 22px !important;
    }

    .mobile-nav {
        padding: 72px 16px 28px;
    }

    .mobile-nav-actions {
        flex-direction: column;
    }

    .mobile-nav-cta {
        width: 100%;
    }

    .footer-links-group {
        grid-template-columns: 1fr;
    }

    .footer-links-group .footer-col:last-child {
        grid-column: auto;
    }

    .card-image {
        height: 260px;
    }

    .comparison-card {
        padding: 20px 16px;
    }
}

/* ============================================================
   Decorative Shape Animations — slow, smooth, professional
   ============================================================ */

@keyframes floatDrift1 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(6px, -10px) rotate(2deg);
    }

    50% {
        transform: translate(12px, -4px) rotate(4deg);
    }

    75% {
        transform: translate(4px, -14px) rotate(1deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes floatDrift2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    30% {
        transform: translate(-8px, -8px) rotate(-3deg);
    }

    60% {
        transform: translate(-14px, 4px) rotate(-5deg);
    }

    80% {
        transform: translate(-6px, 10px) rotate(-2deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes floatDrift3 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    20% {
        transform: translate(8px, 10px) rotate(3deg);
    }

    50% {
        transform: translate(-4px, 16px) rotate(5deg);
    }

    75% {
        transform: translate(6px, 8px) rotate(2deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Base style for all decorative shapes */
.decorative-shape {
    will-change: transform;
    pointer-events: none;
    user-select: none;
}

/* Each shape gets its own drift animation with a staggered, slow duration */
.decorative-shape.shape-1 {
    animation: floatDrift1 8s ease-in-out infinite;
}

.decorative-shape.shape-2 {
    animation: floatDrift2 11s ease-in-out infinite;
    animation-delay: -3.5s;
    /* offset so they don't move in sync */
}

.decorative-shape.shape-3 {
    animation: floatDrift3 9s ease-in-out infinite;
    animation-delay: -6s;
}