:root {
    --navy-950: #0a2330;
    --navy-900: #10384a;
    --navy-800: #14556d;
    --sky-600: #1b88aa;
    --sky-400: #63c6dd;
    --sand-300: #f0d7b2;
    --sand-200: #f8ead4;
    --orange-500: #f1782f;
    --mint-200: #d8f4ef;
    --ink-950: #13232d;
    --ink-800: #355260;
    --slate-300: #c8d7df;
    --slate-100: #ecf4f6;
    --paper: #f8fbfb;
    --white: #ffffff;
    --shadow-lg: 0 28px 70px rgba(11, 37, 49, 0.16);
    --shadow-md: 0 14px 36px rgba(11, 37, 49, 0.1);
    --radius-xl: 28px;
    --radius-lg: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--ink-800);
    background: var(--paper);
}

h1, h2, h3, .brand-text, .product-kicker, .stat-value {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.03em;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 12%, rgba(99, 198, 221, 0.2), transparent 20%),
        radial-gradient(circle at 84% 14%, rgba(241, 120, 47, 0.18), transparent 18%),
        linear-gradient(180deg, #fbfefd 0%, #edf6f8 100%);
}

.hero-orbit {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-orbit-one {
    width: 620px;
    height: 620px;
    right: -180px;
    top: -120px;
    border: 72px solid rgba(16, 56, 74, 0.08);
}

.hero-orbit-two {
    width: 240px;
    height: 240px;
    right: 16%;
    top: 110px;
    border: 16px solid rgba(241, 120, 47, 0.2);
}

.navbar {
    position: relative;
    z-index: 2;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--navy-800);
    text-decoration: none;
}

.brand-logo {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
}

.brand-text {
    font-size: 1.24rem;
    font-weight: 700;
    line-height: 1;
}

.nav-link {
    font-weight: 700;
    color: rgba(19, 35, 45, 0.76) !important;
}

.nav-link:hover {
    color: var(--navy-800) !important;
}

.btn-accent {
    background: var(--orange-500);
    border: 0;
    color: var(--white);
    font-weight: 800;
    border-radius: 999px;
    padding-inline: 1.25rem;
}

.btn-accent:hover {
    background: #ff8a45;
    color: var(--white);
}

.btn-outline-brand {
    border-color: rgba(16, 56, 74, 0.18);
    color: var(--navy-800);
    border-radius: 999px;
    font-weight: 800;
}

.btn-outline-brand:hover {
    border-color: var(--navy-800);
    background: rgba(20, 85, 109, 0.06);
    color: var(--navy-800);
}

.btn-ghost-brand {
    border-color: transparent;
    color: var(--navy-800);
    border-radius: 999px;
    font-weight: 800;
    background: rgba(20, 85, 109, 0.08);
}

.btn-ghost-brand:hover {
    background: rgba(20, 85, 109, 0.14);
    color: var(--navy-800);
}

.hero-section {
    position: relative;
    z-index: 2;
    padding: 4.3rem 0 5.8rem;
}

.hero-section .col-lg-6:first-child {
    animation: rise-fade 720ms ease both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--navy-800);
    background: rgba(20, 85, 109, 0.08);
}

.eyebrow.dark {
    color: var(--navy-800);
    background: rgba(20, 85, 109, 0.08);
}

.section-heading.light .eyebrow {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.product-kicker {
    margin: 1rem 0 0.55rem;
    font-size: clamp(2.5rem, 6vw, 4.7rem);
    font-weight: 700;
    color: var(--navy-950);
}

.hero-title {
    max-width: 12ch;
    color: var(--ink-950);
    font-weight: 700;
    line-height: 1.03;
}

.hero-copy,
.section-heading p,
.section-copy,
.contact-card p,
.mini-copy {
    color: var(--ink-800);
    font-size: 1.04rem;
    line-height: 1.8;
}

.hero-stats .stat-card {
    height: 100%;
    padding: 1rem;
    border: 1px solid rgba(16, 56, 74, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-800);
}

.stat-label {
    margin-top: 0.35rem;
    color: var(--ink-800);
    font-size: 0.92rem;
    line-height: 1.6;
}

.hero-panel {
    position: relative;
    padding: 1.4rem;
    border: 1px solid rgba(16, 56, 74, 0.08);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 249, 0.98));
    box-shadow: var(--shadow-lg);
    animation: rise-fade 860ms ease both;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 198, 221, 0.22), transparent 66%);
}

.hero-panel-top,
.auth-form-row,
.auth-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.live-pill,
.panel-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.live-pill {
    color: var(--navy-800);
    background: rgba(99, 198, 221, 0.18);
}

.panel-mini {
    color: var(--orange-500);
    background: rgba(241, 120, 47, 0.08);
}

.conversation-board {
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
}

.trust-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.58rem 0.9rem;
    border: 1px solid rgba(16, 56, 74, 0.1);
    border-radius: 999px;
    color: var(--navy-800);
    font-size: 0.88rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-md);
}

.chat-bubble {
    max-width: 88%;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    box-shadow: var(--shadow-md);
}

.chat-bubble small {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.chat-bubble span {
    color: var(--ink-950);
    font-weight: 600;
    line-height: 1.6;
}

.chat-bubble.inbound {
    background: #f5efe5;
    border-top-left-radius: 8px;
}

.chat-bubble.inbound small {
    color: #8a5c20;
}

.chat-bubble.outbound {
    margin-left: auto;
    background: #e7f7fb;
    border-top-right-radius: 8px;
}

.chat-bubble.outbound small {
    color: var(--navy-800);
}

.chat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mini-surface {
    min-height: 164px;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: var(--white);
}

.mini-surface.wide {
    grid-column: span 2;
}

.accent-blue {
    border: 1px solid rgba(99, 198, 221, 0.3);
}

.accent-sand {
    border: 1px solid rgba(241, 120, 47, 0.2);
    background: linear-gradient(180deg, #fff7f0, #fffdf8);
}

.accent-ice {
    border: 1px solid rgba(20, 85, 109, 0.12);
    background: linear-gradient(180deg, #f7fdff, #f1f8fa);
}

.mini-title {
    margin-bottom: 0.9rem;
    font-weight: 800;
    color: var(--ink-950);
}

.mini-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--ink-800);
    line-height: 1.9;
}

.metric-line {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.metric-line strong {
    color: var(--orange-500);
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.15rem;
    line-height: 1;
}

.metric-line small {
    color: var(--ink-800);
}

.timeline-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
    margin: 1rem 0 0.8rem;
}

.timeline-row span {
    display: block;
    height: 14px;
    border-radius: 999px;
    background: #d8e7ec;
}

.timeline-row .active {
    background: linear-gradient(90deg, var(--orange-500), var(--sky-600));
}

.section-pad {
    padding: 5.5rem 0;
}

.bg-light-soft {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(236, 244, 246, 0.96)),
        radial-gradient(circle at 10% 10%, rgba(99, 198, 221, 0.08), transparent 24%);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 1.2rem;
}

.section-heading h2,
.scope-panel h2,
.contact-card h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.12;
    color: var(--ink-950);
}

.feature-card {
    padding: 1.6rem;
    border: 1px solid rgba(16, 56, 74, 0.08);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 54px rgba(11, 37, 49, 0.14);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    border-radius: 18px;
    font-size: 1.25rem;
    color: var(--navy-800);
    background: rgba(99, 198, 221, 0.16);
}

.feature-card h3 {
    font-size: 1.16rem;
    margin: 0 0 0.7rem;
    color: var(--ink-950);
}

.feature-card p {
    margin: 0;
    color: var(--ink-800);
    line-height: 1.75;
}

.split-section {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
}

.usecase-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 251, 0.98)),
        radial-gradient(circle at 90% 10%, rgba(241, 120, 47, 0.08), transparent 24%);
}

.usecase-card {
    padding: 1.6rem;
    border: 1px solid rgba(16, 56, 74, 0.08);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 251, 0.98));
    box-shadow: var(--shadow-md);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 54px rgba(11, 37, 49, 0.14);
}

.usecase-tag {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    color: var(--navy-800);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(99, 198, 221, 0.16);
}

.usecase-card h3 {
    margin: 0 0 0.7rem;
    color: var(--ink-950);
    font-size: 1.18rem;
}

.usecase-card p {
    margin: 0;
    color: var(--ink-800);
    line-height: 1.75;
}

.scope-panel {
    padding: 1.6rem;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

.coverage-panel {
    background: linear-gradient(180deg, #f9fcfd, #eef8fa);
    border: 1px solid rgba(20, 85, 109, 0.09);
}

.extend-panel {
    background: linear-gradient(180deg, #fffaf4, #fff3e7);
    border: 1px solid rgba(241, 120, 47, 0.1);
}

.scope-list {
    display: grid;
    gap: 0.95rem;
    margin-top: 1.35rem;
}

.scope-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.scope-item i {
    color: var(--navy-800);
    font-size: 1.1rem;
}

.extend-panel .scope-item i {
    color: var(--orange-500);
}

.integration-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 244, 246, 0.98)),
        radial-gradient(circle at top right, rgba(99, 198, 221, 0.1), transparent 24%);
}

.integration-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    padding: 1.2rem;
    border-radius: 30px;
    background: linear-gradient(145deg, #0d3546 0%, #14556d 100%);
    box-shadow: var(--shadow-lg);
}

.integration-chip {
    padding: 0.9rem 1rem;
    border-radius: 18px;
    color: var(--white);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
}

.demo-section {
    color: var(--white);
    background:
        radial-gradient(circle at 18% 22%, rgba(99, 198, 221, 0.14), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(241, 120, 47, 0.16), transparent 22%),
        linear-gradient(135deg, #0a2330 0%, #14556d 100%);
}

.section-heading.light h2,
.section-heading.light p,
.demo-copy,
.demo-copy p {
    color: var(--white);
}

.demo-frame {
    padding: 1rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

.demo-copy {
    padding: 1.2rem 0.5rem;
}

.demo-step {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 50%;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: var(--white);
    background: var(--orange-500);
}

.demo-copy h3 {
    font-size: 2rem;
    margin-bottom: 0.85rem;
}

.demo-link,
.footer-link,
.auth-link {
    font-weight: 800;
    color: var(--sand-200);
    text-decoration: none;
}

.contact-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 244, 246, 0.96)),
        radial-gradient(circle at top right, rgba(99, 198, 221, 0.08), transparent 25%);
}

.contact-card {
    position: relative;
    padding: 2rem;
    border-radius: 32px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 12px;
    background: linear-gradient(180deg, var(--orange-500), var(--sky-600));
}

.contact-stack {
    display: grid;
    gap: 0.9rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(16, 56, 74, 0.08);
    border-radius: 18px;
    color: var(--ink-800);
    text-decoration: none;
    background: #f8fcfd;
}

.contact-item div {
    display: grid;
    gap: 0.1rem;
}

.contact-item small {
    color: var(--navy-800);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-item span {
    color: var(--ink-950);
    font-weight: 700;
}

.contact-item.static {
    background: #fffaf6;
}

.contact-item i {
    color: var(--navy-800);
    font-size: 1.12rem;
}

.footer-shell {
    padding: 1.4rem 0 2rem;
    color: #dceff4;
    background: #0a2330;
}

.auth-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(241, 120, 47, 0.12), transparent 18%),
        radial-gradient(circle at top left, rgba(99, 198, 221, 0.14), transparent 22%),
        linear-gradient(180deg, #f8fbfb 0%, #eef6f8 100%);
}

.auth-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-shell-narrow {
    max-width: 760px;
    margin: 0 auto;
}

.auth-surface {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    width: min(1120px, 100%);
    overflow: hidden;
    border: 1px solid rgba(16, 56, 74, 0.08);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
}

.auth-surface.single-panel {
    grid-template-columns: 1fr;
}

.auth-brand-panel {
    padding: 3rem;
    color: var(--white);
    background:
        radial-gradient(circle at 20% 20%, rgba(99, 198, 221, 0.2), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(241, 120, 47, 0.16), transparent 22%),
        linear-gradient(145deg, #0a2330 0%, #14556d 100%);
}

.auth-brand-panel h1,
.auth-form-header h1,
.auth-form-header h2 {
    margin-top: 1rem;
    color: inherit;
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.auth-brand-panel p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.auth-note {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-top: 2rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-form-panel {
    padding: 3rem;
}

.auth-form-panel.full-width {
    max-width: 560px;
    margin: 0 auto;
}

.auth-form-header p {
    color: var(--ink-800);
}

.auth-form .form-label {
    font-weight: 700;
    color: var(--ink-950);
}

.auth-input {
    min-height: 54px;
    border-color: rgba(16, 56, 74, 0.14);
    border-radius: 16px;
}

.auth-input:focus {
    border-color: rgba(16, 56, 74, 0.3);
    box-shadow: 0 0 0 0.2rem rgba(99, 198, 221, 0.12);
}

.auth-link {
    color: var(--navy-800);
}

.auth-footer {
    margin-top: 1.5rem;
    color: var(--ink-800);
}

.flash-stack {
    display: grid;
    gap: 0.75rem;
}

.flash-message {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    font-weight: 600;
}

.flash-message.success {
    color: #0f5b4b;
    background: #e7fbf5;
    border: 1px solid #bfe9dd;
}

.flash-message.error {
    color: #8c421c;
    background: #fff2e9;
    border: 1px solid #ffd7bf;
}

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

.carousel-control-next,
.carousel-control-prev {
    width: 4rem;
}

@media (max-width: 991.98px) {
    .hero-orbit-one {
        width: 360px;
        height: 360px;
        right: -120px;
        top: -40px;
        border-width: 42px;
    }

    .hero-orbit-two {
        right: 5%;
        top: 90px;
    }

    .hero-title {
        max-width: none;
    }

    .hero-section {
        padding-top: 2rem;
    }

    .auth-surface,
    .chat-grid {
        grid-template-columns: 1fr;
    }

    .auth-form-row,
    .auth-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .section-pad {
        padding: 4rem 0;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .mini-surface.wide {
        grid-column: auto;
    }

    .contact-card,
    .hero-panel,
    .scope-panel,
    .integration-panel,
    .demo-frame,
    .auth-surface,
    .feature-card {
        border-radius: 24px;
    }

    .auth-shell {
        padding: 1rem;
    }

    .auth-brand-panel,
    .auth-form-panel {
        padding: 1.5rem;
    }
}
