:root {
    --bg: #05070d;
    --bg-soft: #0c111d;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.1);
    --line: rgba(255, 255, 255, 0.12);
    --text: #f3f6ff;
    --text-dim: #acb4cc;
    --primary: #2d7dff;
    --primary-soft: rgba(45, 125, 255, 0.18);
    --teal: #ffa413;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", sans-serif;
    color: var(--text);
    /* Gradient background backup
    background: radial-gradient(circle at 82% 10%, rgba(45, 125, 255, 0.2), transparent 44%),
        radial-gradient(circle at 15% 22%, rgba(0, 208, 196, 0.12), transparent 40%),
        var(--bg);
    */
    background: #141A24;
    line-height: 1.5;
    overflow-x: hidden;
}

.bg-grid {
    display: none;
}

.bg-orb {
    display: none;
}

.orb-1 {
    top: -120px;
    right: -100px;
    background: #1956ff;
}

.orb-2 {
    left: -140px;
    bottom: -130px;
    background: #00b3b0;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

main > .section:nth-of-type(even) {
    background: #0b0d12;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    transition: 0.35s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(5, 7, 13, 0.75);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}

.nav-wrap {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand img {
    height: 30px;
    filter: brightness(0) invert(1);
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-dim);
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s ease;
}

nav a:hover {
    color: var(--text);
}

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

.btn-main,
.btn-sub {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-main {
    background: linear-gradient(135deg, #3f8cff, #1d64f2);
    color: #fff;
    box-shadow: 0 16px 38px rgba(45, 125, 255, 0.34);
}

.btn-main:hover {
    transform: translateY(-2px);
}

.btn-nav-outline {
    background: transparent;
    border: 2px solid #2d7dff;
    border-radius: 999px;
    font-size: 13px;
    box-shadow: none;
    color: #7fb2ff;
    padding: 8px 22px;
}

.btn-nav-outline:hover {
    background: rgba(45, 125, 255, 0.18);
    border-color: #4e94ff;
    color: #dce9ff;
    transform: none;
}

.btn-nav-subtle {
    border-color: #2d7dff;
    color: #7fb2ff;
}

.btn-nav-subtle:hover {
    background: rgba(45, 125, 255, 0.18);
    border-color: #4e94ff;
    color: #dce9ff;
}

.label-mobile {
    display: none;
}

.btn-sub {
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.btn-sub:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero {
    padding-top: 150px;
}

.hero-container {
    text-align: center;
}

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

h1 {
    font-size: clamp(2rem, 4.7vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

h1 span {
    font-weight: 400;
    background: linear-gradient(135deg, #7fb2ff 10%, #3f8cff 55%, #1763f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-desc {
    max-width: 760px;
    color: var(--text-dim);
    font-size: 1.05rem;
    margin: 0 auto;
}

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

.hero-cta.is-hidden {
    display: none;
}

.hero-metrics {
    margin-top: 80px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-metrics li {
    padding: 8px 34px 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-metrics li:last-child {
    border-right: 0;
}

.hero-metrics strong {
    display: block;
    font-size: clamp(2rem, 3.2vw, 3.1rem);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.hero-metrics span {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.35;
}

.hero-full-image {
    width: min(1200px, 92vw);
    margin-top: 44px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.hero-slider {
    width: 100%;
    max-width: 1200px;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
}

.hero-slider-track {
    position: relative;
    min-height: clamp(320px, 42vw, 680px);
    user-select: none;
    touch-action: pan-y;
    cursor: grab;
}

.hero-slider-track:active {
    cursor: grabbing;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.hero-slide-label {
    position: absolute;
    left: 42px;
    bottom: 34px;
    color: #000000;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    z-index: 2;
    /* text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55); */
}

.hero-slide-topnote {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.96);
    font-size: 1.72rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.28;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-slide-emphasis {
    font-size: 2.22rem;
    font-weight: 700;
    letter-spacing: 0;
}

.hero-slide-note-left {
    position: absolute;
    left: 100px;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    max-width: 460px;
    color: #000000;
    font-size: 1.22rem;
    font-weight: 300;
    line-height: 1.45;
    z-index: 2;
}

.mobile-only-break {
    display: none;
}

.hero-dots {
    position: static;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
}

.hero-dot {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
    cursor: pointer;
    padding: 0;
    transition: width 0.25s ease, border-radius 0.25s ease, background-color 0.25s ease;
}

.hero-dot.active {
    background: #0b73ff;
    width: 48px;
    height: 16px;
    border-radius: 999px;
}

.section-head {
    max-width: 760px;
    margin-bottom: 36px;
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.8rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.core-head {
    max-width: 980px;
    margin: 0 auto 80px;
    text-align: center;
}

.main-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.main-title-wrap > span:first-child {
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.title-sub {
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 500;
    line-height: 1.5;
}

.core-lead {
    letter-spacing: 0;
    text-transform: none;
}

#core-platform .pillar-card {
    align-items: center;
    text-align: center;
    justify-content: flex-start;
}

#core-platform .pillar-icon {
    width: 94px;
    height: 94px;
    margin-bottom: 22px;
}

#core-platform .pillar-title {
    margin-bottom: 14px;
}

#core-platform .pillar-info {
    max-width: 290px;
    margin-bottom: 0;
}

#access-solution {
    padding-top: 74px;
    padding-bottom: 110px;
}

.solution-headline {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    text-align: center;
    margin-bottom: 40px;
}

.solution-headline h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

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

.solution-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(45, 125, 255, 0.14), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card > * {
    position: relative;
    z-index: 1;
}

.solution-media {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-body {
    padding: 28px 28px 30px;
}

.solution-card .solution-kicker {
    color: rgba(208, 213, 228, 0.6);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    line-height: 1.28;
}

.solution-card h3 {
    font-size: clamp(1.25rem, 1.9vw, 1.875rem);
    line-height: 1.13;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.solution-card p {
    color: rgba(241, 246, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.62;
}

.solution-note {
    margin-top: 22px;
    padding-top: 0;
    font-size: 1.08rem;
    color: rgba(241, 246, 255, 0.88);
    font-style: normal;
    font-weight: 400;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.pillar-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-radius: 30px;
    padding: 42px 30px 34px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(45, 125, 255, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-card > * {
    position: relative;
    z-index: 1;
}

.pillar-card.is-featured {
    border-color: rgba(45, 125, 255, 0.9);
    background: linear-gradient(170deg, rgba(23, 73, 163, 0.5), rgba(17, 21, 34, 0.92));
    box-shadow: inset 0 0 80px rgba(45, 125, 255, 0.1);
}

.pillar-icon {
    width: 42px;
    height: 42px;
    color: #0b73ff;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
}

.pillar-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

#core-platform .pillar-icon img {
    border-radius: 14px;
}

.pillar-tag {
    font-size: 0.76rem;
    line-height: 1.28;
    letter-spacing: 0.08em;
    text-transform: none;
    color: rgba(208, 213, 228, 0.6);
    font-weight: 600;
    margin-bottom: 24px;
}

.pillar-title {
    font-size: clamp(1.25rem, 1.9vw, 1.875rem);
    line-height: 1.13;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
    font-weight: 700;
}

.pillar-info {
    font-size: 1.08rem;
    line-height: 1.62;
    color: rgba(241, 246, 255, 0.88);
    margin-bottom: 30px;
}

.pillar-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(188, 196, 217, 0.9);
    font-size: 0.9rem;
    line-height: 1.45;
}

.dot {
    color: #0b73ff;
    font-size: 11px;
    margin-top: 3px;
    flex: 0 0 auto;
}

.pillar-card .pillar-item span:last-child {
    color: rgba(204, 210, 225, 0.88);
}

.architecture {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.arch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.arch-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    background: rgba(255, 255, 255, 0.02);
}

.arch-box h4 {
    margin-bottom: 9px;
    font-size: 1.02rem;
}

.arch-box p {
    color: var(--text-dim);
    font-size: 0.92rem;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.case-card {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    overflow: hidden;
}

.case-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.case-card div {
    padding: 18px;
}

.case-card h3 {
    margin-bottom: 8px;
}

.case-card p {
    color: var(--text-dim);
    font-size: 0.92rem;
}

#cases .section-head {
    margin-bottom: 24px;
}

.spec-wrap {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    overflow: auto;
    background: rgba(255, 255, 255, 0.02);
}

.spec-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    color: #d9deea;
}

.spec-table thead th {
    font-size: 1.02rem;
    font-weight: 700;
    color: #f2f5ff;
    background: rgba(255, 255, 255, 0.03);
}

.spec-table th,
.spec-table td {
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 11px 10px;
    text-align: center;
    vertical-align: middle;
    line-height: 1.35;
}

.spec-table th:first-child,
.spec-table td:first-child {
    text-align: left;
    width: 27%;
    font-weight: 600;
    color: #f2f5ff;
}

.spec-table th:nth-child(2),
.spec-table td:nth-child(2),
.spec-table th:nth-child(3),
.spec-table td:nth-child(3) {
    width: 36.5%;
}

.spec-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.cta {
    background: #e9e9ea;
    padding-top: 86px;
    padding-bottom: 86px;
}

main > .section.cta {
    background: #e9e9ea;
}

.site-footer {
    background: #0b0d12;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0 26px;
}

.site-footer p {
    margin: 0;
    text-align: center;
    color: rgba(207, 216, 236, 0.72);
    font-size: 0.86rem;
    line-height: 1.5;
}

.back-to-top {
    position: fixed;
    right: max(14px, calc((100vw - min(1200px, 92vw)) / 2 - 64px));
    bottom: 100px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(45, 125, 255, 0.85);
    background: rgba(13, 20, 36, 0.85);
    color: #7fb2ff;
    font-size: 0;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
    z-index: 50;
}

.back-to-top-icon {
    width: 12px;
    height: 12px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
    display: inline-block;
    margin-top: 4px;
}

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

.back-to-top:hover {
    background: rgba(45, 125, 255, 0.85);
    color: #dce9ff;
}

.cta-box {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    text-align: center;
}

.cta-box h2 {
    max-width: 980px;
    margin: 0 auto 18px;
    color: #1a67ec;
    font-size: clamp(1.9rem, 3.2vw, 3.4rem);
    line-height: 1.12;
}

.cta-lead {
    max-width: 820px;
    margin: 0 auto 16px;
    color: #3f4450;
    font-size: clamp(1.02rem, 1.45vw, 1.45rem);
    line-height: 1.5;
    font-weight: 400;
}

.cta-subline {
    margin: 0 auto 30px;
    color: #6f7582;
    font-size: clamp(0.95rem, 1.05vw, 1.18rem);
    font-weight: 600;
    line-height: 1.35;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
}

.tally-wrap {
    margin-top: 24px;
    width: 100%;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    overflow: hidden;
}

.tally-wrap iframe {
    display: block;
}

.btn-cta-primary,
.btn-cta-outline {
    min-width: 240px;
    height: 58px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn-cta-primary {
    background: #0d0f14;
    color: #ffffff;
}

.btn-cta-outline {
    background: transparent;
    color: #111318;
    border: 2px solid #111318;
}

.btn-cta-primary:hover,
.btn-cta-outline:hover {
    transform: translateY(-2px);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    nav {
        display: none;
    }

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

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

    .solution-card {
        min-height: auto;
    }

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

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

@media (max-width: 720px) {
    .section {
        padding: 84px 0;
    }

    .nav-wrap {
        height: 74px;
    }

    .nav-actions {
        gap: 8px;
    }

    .btn-nav-outline {
        padding: 8px 12px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .btn-nav-subtle {
        border-color: #2d7dff;
        color: #7fb2ff;
    }

    .label-desktop {
        display: none;
    }

    .label-mobile {
        display: inline;
    }

    .btn-main,
    .btn-sub {
        width: 100%;
    }

    .nav-actions .btn-main {
        width: auto;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 520px;
        margin-top: 12px;
    }

    .hero-metrics li {
        border-right: 0;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.02);
        padding: 16px 20px;
    }

    .hero-slider {
        border-radius: 18px;
    }

    .hero-full-image {
        margin-top: 24px;
    }

    .hero-slide img {
        border-radius: 18px;
    }

    .hero-slide-label {
        left: 50%;
        bottom: 18px;
        transform: translateX(-50%);
        text-align: center;
        font-size: 0.95rem;
    }

    .hero-slide-topnote {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 28px);
        font-size: 1rem;
        line-height: 1.32;
    }

    .hero-slide-emphasis {
        font-size: 1.2rem;
    }

    .hero-slide-note-left {
        left: 16px;
        right: 16px;
        max-width: none;
        font-size: 1rem;
        line-height: 1.4;
    }

    .mobile-only-break {
        display: block;
    }

    .core-head {
        margin-bottom: 42px;
    }

    #core .core-head {
        max-width: 640px;
        margin-bottom: 32px;
    }

    #core .main-title-wrap > span:first-child {
        font-size: clamp(1.62rem, 8vw, 2.15rem);
        line-height: 1.2;
        letter-spacing: -0.015em;
    }

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

    .cta-box {
        padding: 0 2px;
    }

    .cta-actions {
        gap: 12px;
    }

    .btn-cta-primary,
    .btn-cta-outline {
        min-width: 100%;
        height: 58px;
        border-radius: 14px;
        font-size: 1.08rem;
    }

    .btn-cta-outline {
        border-width: 2px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }

    .back-to-top-icon {
        width: 10px;
        height: 10px;
    }
}
