﻿
/* ==================================================
   Kiobio Design System
   Theme: Industrial Premium
   File: Content/kiobio/site.css
   ================================================== */

:root {
    --kb-navy: #123c4b;
    --kb-navy-dark: #0d2d39;
    --kb-teal: #207f78;
    --kb-mint: #a7e1cf;
    --kb-mint-light: #eaf7f2;
    --kb-ink: #203449;
    --kb-muted: #64778a;
    --kb-bg: #f5f8f9;
    --kb-white: #ffffff;
    --kb-border: #e0e9ec;
    --kb-radius: 16px;
    --kb-shadow: 0 12px 36px rgba(18, 60, 75, .07);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body.kiobio-site {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--kb-bg);
    color: var(--kb-ink);
    font-family: "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.kiobio-site a {
    text-decoration: none;
}

    .kiobio-site a:focus-visible,
    .kiobio-site button:focus-visible {
        outline: 3px solid var(--kb-teal);
        outline-offset: 3px;
    }

.kb-main {
    flex: 1;
    min-width: 0;
}

/* Header and navigation */

.kb-header {
    position: relative;
    z-index: 20;
    background: var(--kb-white);
    border-bottom: 1px solid var(--kb-border);
}

.kb-navbar {
    min-height: 82px;
    padding: 12px 0;
}

.kb-nav-container {
    gap: 20px;
}

.kb-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    color: var(--kb-navy);
}

    .kb-brand:hover {
        color: var(--kb-navy);
    }

.kb-brand-mark {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 13px;
    background: var(--kb-navy);
}

    .kb-brand-mark span {
        display: block;
        width: 5px;
        border-radius: 4px;
        background: var(--kb-mint);
    }

        .kb-brand-mark span:nth-child(1) {
            height: 13px;
        }

        .kb-brand-mark span:nth-child(2) {
            height: 23px;
        }

        .kb-brand-mark span:nth-child(3) {
            height: 17px;
        }

.kb-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.kb-brand-name {
    font-size: 27px;
    font-weight: 750;
    letter-spacing: -1.2px;
}

.kb-brand-subtitle {
    margin-top: 3px;
    color: var(--kb-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .6px;
}

.kb-nav-links {
    align-items: center;
    gap: 10px;
}

    .kb-nav-links .nav-link {
        padding: 10px 14px;
        border-radius: 9px;
        color: var(--kb-muted);
        font-size: 14px;
        font-weight: 600;
        transition: background .2s, color .2s;
    }

        .kb-nav-links .nav-link:hover,
        .kb-nav-links .nav-link:focus {
            background: var(--kb-mint-light);
            color: var(--kb-navy);
        }

.kb-nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-left: 18px;
    padding: 11px 17px;
    border-radius: 10px;
    background: var(--kb-navy);
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
    transition: background .2s, transform .2s;
}

    .kb-nav-action:hover {
        background: var(--kb-teal);
        color: #fff;
        transform: translateY(-1px);
    }

.kb-menu-toggle {
    border: 1px solid var(--kb-border);
    border-radius: 10px;
    padding: 9px;
}

    .kb-menu-toggle .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23123c4b' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

/* Buttons */

.kb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 49px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s, transform .2s, border-color .2s;
}

    .kb-button:hover {
        transform: translateY(-2px);
    }

.kb-button-primary {
    background: var(--kb-mint);
    color: var(--kb-navy-dark);
}

    .kb-button-primary:hover {
        background: #c0eddd;
        color: var(--kb-navy-dark);
    }

.kb-button-secondary {
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

    .kb-button-secondary:hover {
        border-color: rgba(255, 255, 255, .6);
        color: #fff;
        background: rgba(255, 255, 255, .13);
    }

.kb-button-light {
    background: #fff;
    color: var(--kb-navy);
}

    .kb-button-light:hover {
        background: var(--kb-mint-light);
        color: var(--kb-navy);
    }

/* Hero */

.kb-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(125deg, #0d2d39 0%, #123c4b 60%, #1b615e 100%);
    color: #fff;
}

    .kb-hero::before {
        content: "";
        position: absolute;
        width: 480px;
        height: 480px;
        right: -160px;
        top: -210px;
        border: 1px solid rgba(167, 225, 207, .15);
        border-radius: 50%;
        pointer-events: none;
    }

.kb-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 60px;
    padding-top: 100px;
    padding-bottom: 110px;
}

.kb-eyebrow,
.kb-section-kicker,
.kb-cta-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.6px;
}

.kb-eyebrow {
    color: var(--kb-mint);
}

.kb-status-dot {
    display: inline-block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7cddbd;
    box-shadow: 0 0 0 4px rgba(124, 221, 189, .12);
}

.kb-hero h1 {
    margin: 24px 0;
    font-size: clamp(40px, 4.4vw, 68px);
    font-weight: 750;
    line-height: 1.09;
    letter-spacing: -2.4px;
}

    .kb-hero h1 span {
        display: block;
        color: var(--kb-mint);
    }

.kb-hero-description {
    max-width: 530px;
    margin: 0;
    color: #c6d9dc;
    font-size: 17px;
    line-height: 1.8;
}

.kb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
}

.kb-hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    color: #b2ced1;
    font-size: 12px;
}

.kb-trust-line {
    width: 30px;
    height: 1px;
    background: var(--kb-mint);
}

/* Hero visual */

.kb-hero-visual {
    min-width: 0;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 22px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 24px 65px rgba(0, 0, 0, .13);
}

.kb-visual-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

    .kb-visual-top > div {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

.kb-visual-overline {
    color: var(--kb-mint);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.kb-visual-top strong {
    font-size: 17px;
}

.kb-visual-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid rgba(167, 225, 207, .22);
    border-radius: 20px;
    color: #d4eee4;
    font-size: 11px;
}

.kb-process-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 38px 0;
}

.kb-process-node {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    min-height: 134px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 6px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 13px;
    background: rgba(255, 255, 255, .07);
    text-align: center;
}

.kb-process-node-main {
    border-color: rgba(167, 225, 207, .5);
    background: rgba(167, 225, 207, .13);
}

.kb-node-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 11px;
    background: rgba(167, 225, 207, .15);
    color: var(--kb-mint);
    font-size: 23px;
}

.kb-process-node strong {
    font-size: 11px;
    overflow-wrap: anywhere;
}

.kb-process-node small {
    color: #b5d1d3;
    font-size: 10px;
    line-height: 1.4;
}

.kb-process-connector {
    flex: 0 0 15px;
    height: 1px;
    background: var(--kb-mint);
}

.kb-visual-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.kb-visual-metric {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 15px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 11px;
    background: rgba(0, 0, 0, .1);
}

    .kb-visual-metric span {
        color: #bcd4d6;
        font-size: 10px;
    }

    .kb-visual-metric strong {
        color: #fff;
        font-size: 25px;
        font-weight: 750;
    }

.kb-visual-footnote {
    margin-top: 15px;
    color: #b1cdd0;
    font-size: 10px;
    text-align: right;
}

/* Shared sections */

.kb-section {
    padding: 88px 0;
}

.kb-section-kicker {
    color: var(--kb-teal);
}

.kb-section-heading {
    margin-bottom: 34px;
}

    .kb-section-heading h2,
    .kb-workflow-copy h2,
    .kb-cta h2 {
        margin: 13px 0 12px;
        font-size: clamp(28px, 3vw, 40px);
        font-weight: 750;
        letter-spacing: -1.1px;
        line-height: 1.2;
    }

    .kb-section-heading p,
    .kb-workflow-copy p {
        max-width: 650px;
        color: var(--kb-muted);
        font-size: 16px;
        line-height: 1.75;
    }

/* Feature cards */

.kb-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.kb-feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--kb-border);
    border-radius: var(--kb-radius);
    background: var(--kb-white);
    box-shadow: var(--kb-shadow);
    transition: transform .2s, box-shadow .2s;
}

    .kb-feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 42px rgba(18, 60, 75, .1);
    }

.kb-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 51px;
    margin-bottom: 24px;
    border-radius: 13px;
    background: var(--kb-mint-light);
    color: var(--kb-teal);
    font-size: 27px;
}

.kb-feature-card h3 {
    margin: 0 0 12px;
    color: var(--kb-navy);
    font-size: 20px;
    font-weight: 750;
}

.kb-feature-card p {
    flex: 1;
    margin: 0 0 25px;
    color: var(--kb-muted);
    font-size: 14px;
    line-height: 1.8;
}

.kb-feature-card a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--kb-teal);
    font-size: 13px;
    font-weight: 750;
}

    .kb-feature-card a:hover {
        color: var(--kb-navy);
    }

/* Workflow */

.kb-workflow {
    background: #eaf1f1;
}

.kb-workflow-inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.kb-workflow-copy h2 {
    max-width: 450px;
    color: var(--kb-navy);
}

.kb-workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.kb-workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 23px;
    border: 1px solid var(--kb-border);
    border-radius: 13px;
    background: var(--kb-white);
}

    .kb-workflow-step > span {
        color: var(--kb-teal);
        font-size: 16px;
        font-weight: 800;
    }

    .kb-workflow-step strong {
        color: var(--kb-navy);
        font-size: 16px;
    }

    .kb-workflow-step p {
        margin: 6px 0 0;
        color: var(--kb-muted);
        font-size: 13px;
        line-height: 1.65;
    }

/* CTA */

.kb-cta-section {
    padding-top: 65px;
    padding-bottom: 85px;
}

.kb-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 45px 52px;
    border-radius: 19px;
    background: var(--kb-navy);
    color: #fff;
}

.kb-cta-kicker {
    color: var(--kb-mint);
}

.kb-cta h2 {
    margin-bottom: 9px;
    color: #fff;
}

.kb-cta p {
    margin: 0;
    color: #c6d9dc;
    font-size: 14px;
    line-height: 1.7;
}

/* Footer */

.kb-footer {
    padding: 28px 0;
    border-top: 1px solid var(--kb-border);
    background: var(--kb-white);
}

.kb-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.kb-footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .kb-footer-brand strong {
        color: var(--kb-navy);
        font-size: 20px;
        letter-spacing: -.7px;
    }

    .kb-footer-brand span,
    .kb-footer-meta {
        color: var(--kb-muted);
        font-size: 12px;
    }

.kb-footer-meta {
    display: flex;
    align-items: center;
    gap: 9px;
}

.kb-footer-separator {
    color: var(--kb-teal);
}

/* Responsive */

@media (max-width: 991.98px) {
    .kb-navbar .navbar-collapse {
        padding-top: 18px;
    }

    .kb-nav-links {
        align-items: stretch;
        gap: 4px;
    }

    .kb-nav-action {
        margin: 15px 0 5px;
    }

    .kb-hero-inner {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .kb-hero-content {
        max-width: 680px;
    }

    .kb-workflow-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 767.98px) {
    .kb-section {
        padding: 60px 0;
    }

    .kb-feature-grid {
        grid-template-columns: 1fr;
    }

    .kb-hero h1 {
        letter-spacing: -1.4px;
    }

    .kb-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 25px;
    }

    .kb-footer-inner,
    .kb-footer-brand,
    .kb-footer-meta {
        flex-wrap: wrap;
    }
}

@media (max-width: 479.98px) {
    .kb-hero-inner {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .kb-hero-visual {
        padding: 15px;
    }

    .kb-process-diagram {
        gap: 3px;
    }

    .kb-process-connector {
        flex-basis: 7px;
    }

    .kb-process-node {
        min-height: 115px;
        padding: 9px 4px;
    }

        .kb-process-node strong {
            font-size: 10px;
        }

        .kb-process-node small {
            font-size: 9px;
        }

    .kb-visual-metric {
        padding: 12px 8px;
    }

        .kb-visual-metric strong {
            font-size: 21px;
        }

    .kb-brand-subtitle {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kb-button,
    .kb-feature-card,
    .kb-nav-action,
    .kb-nav-links .nav-link {
        transition: none;
    }
}


/* Active navigation */

.kb-nav-links .nav-link.kb-active {
    background: var(--kb-mint-light);
    color: var(--kb-navy);
    font-weight: 750;
}

.kb-nav-links .nav-link.kb-active:hover {
    background: #dcefe8;
}


.kb-logout-form {
    margin: 0;
}

.kb-logout-button {
    background: transparent;
    border: none;
    font: inherit;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.kb-logout-button:hover {
    text-decoration: none;
}
