:root {
    --canvas: #07110b;
    --canvas-soft: #0a1710;
    --surface: rgba(15, 33, 22, 0.78);
    --surface-strong: rgba(11, 27, 17, 0.94);
    --line: rgba(180, 226, 194, 0.16);
    --text: #f3f8f4;
    --muted: #aabcb0;
    --green: #19cf46;
    --rainbow: linear-gradient(135deg, #38bd65 0%, #328cec 27%, #8057e8 52%, #eb63a5 75%, #f2a340 100%);
    --rainbow-soft: linear-gradient(135deg, rgba(56, 189, 101, 0.14), rgba(50, 140, 236, 0.13), rgba(128, 87, 232, 0.13), rgba(235, 99, 165, 0.12), rgba(242, 163, 64, 0.13));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--canvas);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(ellipse 72% 44% at 7% 0%, rgba(42, 155, 83, 0.14), transparent 68%),
        radial-gradient(ellipse 62% 40% at 100% 8%, rgba(72, 97, 205, 0.11), transparent 70%),
        linear-gradient(180deg, #09140d 0%, #07110b 46%, #050c08 100%);
    font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

.enterprise-ambient {
    position: fixed;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.enterprise-ambient span {
    position: absolute;
    width: 42vw;
    height: 42vw;
    border-radius: 50%;
    filter: blur(95px);
    opacity: 0.12;
    animation: ambient-drift 22s ease-in-out infinite alternate;
}

.enterprise-ambient span:nth-child(1) {
    top: 12%;
    left: -20%;
    background: #38bd65;
}

.enterprise-ambient span:nth-child(2) {
    top: 38%;
    right: -24%;
    background: #8057e8;
    animation-delay: -7s;
}

.enterprise-ambient span:nth-child(3) {
    bottom: -24%;
    left: 32%;
    background: #328cec;
    animation-delay: -13s;
}

.enterprise-nav {
    position: sticky;
    z-index: 20;
    top: 16px;
    display: flex;
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    min-height: 68px;
    margin: 16px auto 0;
    padding: 9px 12px;
    border: 1px solid rgba(188, 229, 200, 0.17);
    border-radius: 22px;
    background: rgba(7, 22, 13, 0.88);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px) saturate(118%);
    -webkit-backdrop-filter: blur(20px) saturate(118%);
}

.enterprise-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    color: #f4faf6;
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.enterprise-brand img {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(181, 242, 199, 0.34);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(25, 207, 70, 0.2);
}

.enterprise-brand em {
    padding: 5px 8px;
    color: #bcd2c2;
    border: 1px solid rgba(188, 228, 199, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    font-family: "Lato", sans-serif;
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.enterprise-nav nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
}

.enterprise-nav nav a {
    padding: 10px 11px;
    color: #afc2b5;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease;
}

.enterprise-nav nav a:hover,
.enterprise-nav nav a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.nav-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    color: #fff;
    border: 1px solid rgba(106, 221, 141, 0.4);
    border-radius: 13px;
    background: linear-gradient(135deg, #127c3d, #159850);
    box-shadow: 0 10px 24px rgba(11, 112, 50, 0.2);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.enterprise-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(460px, 1.02fr);
    gap: clamp(40px, 7vw, 92px);
    align-items: center;
    min-height: 650px;
    padding: 108px 0 64px;
}

.hero-copy {
    animation: enterprise-rise 700ms cubic-bezier(0.16, 0.8, 0.25, 1) both;
}

.eyebrow {
    margin: 0 0 18px;
    color: #83dba0;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow span {
    margin-right: 6px;
    color: #9b84ee;
    text-shadow: 0 0 18px rgba(153, 126, 239, 0.68);
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: "Poppins", "Lato", sans-serif;
}

h1 {
    max-width: 700px;
    margin-bottom: 24px;
    overflow-wrap: normal;
    font-size: clamp(3.25rem, 6.2vw, 5.9rem);
    line-height: 0.97;
    letter-spacing: -0.062em;
    word-break: normal;
}

h1 span {
    color: #8da9f2;
    background: linear-gradient(112deg, #5add82 0%, #4c9eea 48%, #9672e7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    max-width: 650px;
    margin: 0 0 30px;
    color: #b8c9be;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 19px;
    border-radius: 14px;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

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

.button-rainbow {
    position: relative;
    isolation: isolate;
    padding: 14px 21px;
    color: #fff;
    border: 0;
    background: var(--rainbow);
    box-shadow: 0 16px 38px rgba(67, 76, 173, 0.22), 0 0 28px rgba(87, 101, 220, 0.12);
}

.button-rainbow::before {
    position: absolute;
    z-index: -1;
    inset: 2px;
    content: "";
    border-radius: 12px;
    background: linear-gradient(145deg, #194d36, #0c3324);
}

.button-rainbow:hover {
    box-shadow: 0 20px 46px rgba(67, 76, 173, 0.3), 0 0 34px rgba(106, 89, 225, 0.2);
}

.button-quiet {
    color: #e7f1ea;
    border: 1px solid rgba(189, 226, 199, 0.18);
    background: rgba(255, 255, 255, 0.045);
}

.button:focus-visible,
.text-link:focus-visible,
.enterprise-footer a:focus-visible {
    outline: 3px solid rgba(104, 150, 234, 0.48);
    outline-offset: 3px;
}

.enterprise-console {
    position: relative;
    overflow: hidden;
    padding: 1px;
    border-radius: 28px;
    background: var(--rainbow);
    box-shadow: 0 38px 110px rgba(0, 0, 0, 0.38), 0 0 54px rgba(72, 84, 196, 0.14);
    animation: enterprise-rise 760ms 90ms cubic-bezier(0.16, 0.8, 0.25, 1) both;
}

.enterprise-console::before {
    position: absolute;
    z-index: 0;
    inset: 1px;
    content: "";
    border-radius: 27px;
    background:
        radial-gradient(circle at 82% 8%, rgba(87, 105, 220, 0.15), transparent 35%),
        linear-gradient(150deg, rgba(16, 39, 25, 0.985), rgba(6, 18, 11, 0.99));
}

.enterprise-console > * {
    position: relative;
    z-index: 1;
}

.console-rainbow {
    height: 3px;
    background: var(--rainbow);
}

.console-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-bottom: 1px solid rgba(183, 226, 196, 0.12);
}

.ai-mark {
    position: relative;
    width: 42px;
    height: 40px;
    flex: 0 0 auto;
}

.ai-mark i {
    position: absolute;
    color: #fff;
    font-style: normal;
    line-height: 1;
    text-shadow: 0 0 13px rgba(178, 149, 250, 0.92);
}

.ai-mark i:nth-child(1) {
    top: 3px;
    left: 0;
    font-size: 28px;
}

.ai-mark i:nth-child(2) {
    top: 1px;
    left: 24px;
    font-size: 14px;
}

.ai-mark i:nth-child(3) {
    top: 22px;
    left: 27px;
    font-size: 10px;
}

.console-header p {
    margin: 0 0 3px;
    color: #8e79dc;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.console-header strong {
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
}

.private-pill {
    margin-left: auto;
    padding: 7px 9px;
    color: #a9d8b7;
    border: 1px solid rgba(125, 207, 150, 0.2);
    border-radius: 999px;
    background: rgba(81, 170, 109, 0.08);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.flow-grid {
    display: grid;
    gap: 0;
    padding: 20px;
}

.flow-grid article {
    position: relative;
    padding: 16px;
    border: 1px solid rgba(183, 226, 196, 0.11);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
}

.flow-grid article > span,
.value-card > span,
.institution-types span,
.process-grid li > span {
    color: #826cd1;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.flow-grid strong {
    display: block;
    margin: 5px 0 4px;
    font-family: "Poppins", sans-serif;
    font-size: 0.88rem;
}

.flow-grid p {
    margin: 0;
    color: #94a79b;
    font-size: 0.7rem;
    line-height: 1.55;
}

.flow-line {
    width: 1px;
    height: 17px;
    margin: 0 0 0 31px;
    background: linear-gradient(#38bd65, #8057e8);
    box-shadow: 0 0 12px rgba(90, 96, 220, 0.28);
}

.console-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 20px 20px;
}

.console-metrics span {
    padding: 11px 7px;
    color: #82968a;
    border: 1px solid rgba(183, 226, 196, 0.09);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.86rem;
    text-align: center;
}

.console-metrics b {
    display: block;
    margin-bottom: 3px;
    color: #ddecdf;
    font-size: 1.2rem;
}

.enterprise-statement {
    margin: 0 0 88px;
    padding: 22px;
    border-block: 1px solid rgba(187, 229, 199, 0.12);
    color: #9fb2a6;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025), transparent);
    text-align: center;
}

.enterprise-statement p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 0.92rem;
    line-height: 1.65;
}

.content-section {
    padding: 92px 0;
}

.section-heading {
    max-width: 730px;
    margin-bottom: 38px;
}

.section-heading h2,
.institution-copy h2,
.api-band h2,
.ai-enterprise-section h2,
.enterprise-contact h2 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 3.55rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.section-heading > p:last-child,
.institution-copy > p,
.api-band p,
.ai-enterprise-section p,
.enterprise-contact > p {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.72;
}

.value-grid,
.capability-grid,
.security-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.value-card,
.capability-grid article,
.security-grid article,
.process-grid li {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(18, 40, 26, 0.72), rgba(7, 21, 13, 0.82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.value-card::before {
    position: absolute;
    right: -50px;
    bottom: -55px;
    width: 115px;
    height: 115px;
    content: "";
    border-radius: 50%;
    background: var(--rainbow-soft);
    filter: blur(16px);
}

.value-card h3,
.capability-grid h3,
.security-grid h3,
.process-grid h3 {
    margin: 13px 0 8px;
    font-size: 0.98rem;
    letter-spacing: -0.025em;
}

.value-card p,
.capability-grid p,
.security-grid p,
.process-grid p {
    margin: 0;
    color: #91a399;
    font-size: 0.78rem;
    line-height: 1.62;
}

.institution-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
    gap: clamp(40px, 8vw, 100px);
    align-items: center;
    padding-inline: clamp(24px, 4vw, 58px);
    border: 1px solid rgba(187, 226, 198, 0.13);
    border-radius: 30px;
    background:
        radial-gradient(circle at 90% 18%, rgba(80, 93, 210, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(17, 38, 25, 0.78), rgba(7, 19, 12, 0.88));
}

.institution-copy ul {
    display: grid;
    gap: 10px;
    margin: 26px 0;
    padding: 0;
    list-style: none;
}

.institution-copy li {
    position: relative;
    padding-left: 22px;
    color: #c1d0c6;
    font-size: 0.82rem;
    line-height: 1.5;
}

.institution-copy li::before {
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 8px;
    height: 8px;
    content: "";
    border-radius: 50%;
    background: linear-gradient(135deg, #38bd65, #8057e8);
    box-shadow: 0 0 12px rgba(94, 94, 220, 0.36);
}

.institution-types {
    display: grid;
    gap: 9px;
}

.institution-types article {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 58px;
    padding: 12px 15px;
    border: 1px solid rgba(184, 226, 196, 0.11);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.034);
}

.institution-types strong {
    font-family: "Poppins", sans-serif;
    font-size: 0.82rem;
}

.text-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #94dba9;
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
}

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

.capability-grid article > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    border-radius: 11px;
    background: var(--rainbow-soft);
    box-shadow: inset 0 0 0 1px rgba(149, 131, 227, 0.14);
}

.api-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
    margin: 70px 0;
    padding: clamp(28px, 5vw, 55px);
    border: 1px solid transparent;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(14, 34, 22, 0.97), rgba(7, 18, 12, 0.98)) padding-box,
        var(--rainbow) border-box;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.27), 0 0 38px rgba(94, 88, 209, 0.09);
}

.api-band > div:first-child {
    max-width: 730px;
}

.api-band p {
    margin-bottom: 0;
}

.api-actions {
    display: grid;
    gap: 10px;
    min-width: 205px;
}

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

.security-note {
    margin: 18px 0 0;
    padding: 15px 17px;
    color: #7f9287;
    border: 1px solid rgba(184, 226, 196, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.7rem;
    line-height: 1.55;
}

.ai-enterprise-section {
    display: grid;
    grid-template-columns: 150px minmax(0, 780px);
    gap: 34px;
    align-items: center;
    padding-inline: clamp(25px, 5vw, 62px);
    border: 1px solid transparent;
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(18, 38, 27, 0.96), rgba(9, 21, 15, 0.97)) padding-box,
        var(--rainbow) border-box;
}

.ai-enterprise-mark {
    position: relative;
    width: 130px;
    height: 110px;
}

.ai-enterprise-mark span {
    position: absolute;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 24px rgba(164, 137, 246, 0.96);
}

.ai-enterprise-mark span:nth-child(1) {
    top: 4px;
    left: 3px;
    font-size: 80px;
}

.ai-enterprise-mark span:nth-child(2) {
    top: 5px;
    left: 82px;
    font-size: 36px;
}

.ai-enterprise-mark span:nth-child(3) {
    top: 57px;
    left: 91px;
    font-size: 25px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.enterprise-contact {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 80px 0 100px;
    padding: clamp(42px, 8vw, 90px) clamp(24px, 8vw, 92px);
    border: 1px solid rgba(188, 226, 199, 0.14);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(17, 40, 26, 0.92), rgba(6, 18, 11, 0.96));
    text-align: center;
}

.enterprise-contact > *:not(.contact-glow) {
    position: relative;
    z-index: 1;
}

.contact-glow {
    position: absolute;
    z-index: 0;
    top: -260px;
    left: 50%;
    width: 620px;
    height: 480px;
    border-radius: 50%;
    background: var(--rainbow);
    filter: blur(130px);
    opacity: 0.16;
    transform: translateX(-50%);
}

.enterprise-contact > p {
    max-width: 680px;
    margin-inline: auto;
}

.enterprise-contact .hero-actions {
    justify-content: center;
    margin-top: 28px;
}

.enterprise-footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 30px 0 40px;
    border-top: 1px solid rgba(187, 226, 198, 0.11);
}

.enterprise-footer .enterprise-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.enterprise-footer > div {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.enterprise-footer > div a,
.enterprise-footer > p {
    margin: 0;
    color: #82948a;
    font-size: 0.7rem;
    text-decoration: none;
}

.enterprise-footer > div a:hover {
    color: #d9e8dd;
}

.enterprise-page .footer {
    margin-top: 0;
    font-family: "Poppins", "Lato", "Helvetica Neue", Arial, sans-serif;
}

@keyframes enterprise-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ambient-drift {
    to {
        transform: translate3d(4vw, 3vh, 0) scale(1.04);
    }
}

@media (max-width: 980px) {
    .enterprise-nav nav {
        display: none;
    }

    .nav-contact {
        margin-left: auto;
    }

    .enterprise-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-top: 104px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .enterprise-console {
        width: min(650px, 100%);
        margin: 0 auto;
    }

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

    .institution-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .enterprise-nav {
        top: 10px;
        width: calc(100% - 20px);
        margin-top: 10px;
        padding: 8px 9px;
        border-radius: 18px;
    }

    .enterprise-brand {
        gap: 8px;
        font-size: 0.98rem;
    }

    .enterprise-brand img {
        width: 40px;
        height: 40px;
    }

    .enterprise-brand em {
        display: none;
    }

    .nav-contact {
        min-height: 40px;
        padding: 9px 12px;
        font-size: 0.7rem;
    }

    main {
        width: min(100% - 20px, 1180px);
    }

    .enterprise-hero {
        gap: 48px;
        padding: 96px 4px 52px;
    }

    h1 {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    .hero-actions,
    .enterprise-contact .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .console-header {
        padding: 15px;
    }

    .private-pill {
        display: none;
    }

    .flow-grid {
        padding: 15px;
    }

    .console-metrics {
        grid-template-columns: 1fr;
        padding: 0 15px 15px;
    }

    .enterprise-statement {
        margin-bottom: 55px;
    }

    .content-section {
        padding: 66px 4px;
    }

    .value-grid,
    .capability-grid,
    .security-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .institution-section,
    .ai-enterprise-section {
        padding: 38px 22px;
        border-radius: 24px;
    }

    .ai-enterprise-section {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ai-enterprise-mark {
        transform: scale(0.68);
        transform-origin: left center;
    }

    .api-band {
        grid-template-columns: 1fr;
        margin: 48px 0;
        padding: 30px 22px;
        border-radius: 24px;
    }

    .api-actions {
        width: 100%;
    }

    .enterprise-contact {
        margin: 52px 0 70px;
        border-radius: 25px;
    }

    .enterprise-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
}

@media (max-width: 390px) {
    .nav-contact {
        padding-inline: 9px;
    }

    .enterprise-nav .enterprise-brand span {
        font-size: 0.9rem;
    }

    .institution-section,
    .ai-enterprise-section {
        padding-inline: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
