:root {
    --teal-950: #072834;
    --teal-900: #0b5364;
    --teal-800: #0f6f82;
    --teal-700: #11869c;
    --mint-300: #9ce5db;
    --orange-500: #f26b2d;
    --orange-400: #ff8c5f;
    --ink-950: #09202a;
    --ink-900: #163541;
    --slate-600: #506b76;
    --slate-300: #c6d4db;
    --slate-100: #edf5f7;
    --paper: #f8fbfc;
    --white: #ffffff;
    --shadow-lg: 0 26px 70px rgba(8, 35, 46, 0.18);
    --shadow-md: 0 14px 42px rgba(8, 35, 46, 0.12);
    --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-900);
    background: var(--paper);
}

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

.hero-shell {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 18%, rgba(242, 107, 45, 0.17), transparent 20%),
        radial-gradient(circle at 10% 15%, rgba(17, 134, 156, 0.12), transparent 22%),
        linear-gradient(180deg, #fbfeff 0%, #eef7fa 100%);
}

.hero-ribbon {
    position: absolute;
    inset: auto 0 0 auto;
    width: min(46vw, 660px);
    height: min(42vw, 520px);
    border-bottom-left-radius: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 26%),
        linear-gradient(135deg, #0c7083 0%, #0b5364 52%, #083847 100%);
}

.hero-shell::before,
.hero-shell::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-shell::before {
    width: 280px;
    height: 280px;
    top: 82px;
    right: 14%;
    border-top: 4px solid rgba(242, 107, 45, 0.7);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.hero-shell::after {
    width: 160px;
    height: 160px;
    top: 132px;
    right: 11%;
    border-top: 2px solid rgba(17, 134, 156, 0.36);
    border-radius: 50%;
    transform: rotate(-12deg);
}

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

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

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

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

.nav-link {
    font-weight: 700;
    color: rgba(9, 32, 42, 0.76) !important;
}

.nav-link:hover {
    color: var(--teal-900) !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: #ff8354;
    color: var(--white);
}

.btn-outline-brand {
    border-color: rgba(11, 83, 100, 0.22);
    color: var(--teal-900);
    border-radius: 999px;
    font-weight: 800;
}

.btn-outline-brand:hover {
    border-color: var(--teal-900);
    background: rgba(11, 83, 100, 0.06);
    color: var(--teal-900);
}

.btn-ghost-brand {
    border-color: transparent;
    color: var(--teal-900);
    border-radius: 999px;
    font-weight: 800;
    background: rgba(11, 83, 100, 0.08);
}

.btn-ghost-brand:hover {
    background: rgba(11, 83, 100, 0.14);
    color: var(--teal-900);
}

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

.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.12em;
    color: var(--teal-900);
    background: rgba(17, 134, 156, 0.1);
}

.eyebrow.dark {
    color: var(--teal-900);
    background: rgba(17, 134, 156, 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.5rem;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--teal-950);
}

.hero-title {
    max-width: 11ch;
    color: var(--ink-950);
    font-weight: 800;
    line-height: 1.02;
}

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

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

.stat-value {
    font-family: "Sora", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--teal-900);
}

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

.hero-panel {
    position: relative;
    padding: 1.4rem;
    border: 1px solid rgba(11, 83, 100, 0.08);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 251, 0.96));
    box-shadow: var(--shadow-lg);
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -48px -48px auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 107, 45, 0.24), transparent 68%);
}

.hero-panel-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.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(--teal-900);
    background: rgba(17, 134, 156, 0.08);
}

.panel-mini {
    color: var(--orange-500);
    background: rgba(242, 107, 45, 0.08);
}

.hero-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-teal {
    border: 1px solid rgba(17, 134, 156, 0.18);
}

.accent-orange {
    border: 1px solid rgba(242, 107, 45, 0.2);
}

.accent-slate {
    border: 1px solid rgba(10, 32, 42, 0.1);
}

.accent-mint {
    border: 1px solid rgba(156, 229, 219, 0.5);
    background: linear-gradient(180deg, #f7fffd, #effcf8);
}

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

.mini-bars {
    display: grid;
    gap: 0.75rem;
}

.mini-bars span {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal-700), #48b7c8);
}

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

.metric-line strong {
    color: var(--orange-500);
    font-size: 2.6rem;
    line-height: 1;
}

.metric-line small,
.mini-list {
    color: var(--slate-600);
}

.mini-list {
    margin: 0;
    padding-left: 1.1rem;
    line-height: 1.9;
}

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

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

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

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

.bg-light-soft {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(237, 245, 247, 0.95)),
        radial-gradient(circle at 10% 10%, rgba(17, 134, 156, 0.08), transparent 22%);
}

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

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

.section-heading 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(11, 83, 100, 0.08);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.88);
    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(8, 35, 46, 0.16);
}

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

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

.readiness-panel {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 30px;
    background: linear-gradient(180deg, #0c5465, #093745);
    box-shadow: var(--shadow-lg);
}

.readiness-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.readiness-item i {
    color: #ffd2bc;
    font-size: 1.15rem;
}

.demo-section {
    color: var(--white);
    background:
        radial-gradient(circle at 18% 22%, rgba(156, 229, 219, 0.14), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(242, 107, 45, 0.14), transparent 22%),
        linear-gradient(135deg, #082732 0%, #0d5364 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: "Sora", 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 {
    font-weight: 800;
    color: #ffd2bc;
    text-decoration: none;
}

.contact-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 245, 247, 0.96)),
        radial-gradient(circle at top right, rgba(17, 134, 156, 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(--teal-700));
}

.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(11, 83, 100, 0.08);
    border-radius: 18px;
    color: var(--ink-900);
    text-decoration: none;
    background: #f9fdfe;
}

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

.contact-item small {
    color: var(--teal-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(--teal-800);
    font-size: 1.12rem;
}

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

.auth-body,
.portal-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(242, 107, 45, 0.12), transparent 18%),
        radial-gradient(circle at top left, rgba(17, 134, 156, 0.12), transparent 22%),
        linear-gradient(180deg, #f8fbfc 0%, #eef7fa 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(11, 83, 100, 0.08);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.95);
    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(156, 229, 219, 0.18), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(242, 107, 45, 0.14), transparent 22%),
        linear-gradient(145deg, #082732 0%, #0d5364 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(--slate-600);
}

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

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

.auth-input:focus {
    border-color: rgba(11, 83, 100, 0.3);
    box-shadow: 0 0 0 0.2rem rgba(17, 134, 156, 0.12);
}

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

.auth-link {
    color: var(--teal-900);
    font-weight: 700;
    text-decoration: none;
}

.auth-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
    color: var(--slate-600);
}

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

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

.flash-message.success {
    color: #0a5a45;
    background: #e7fbf4;
    border: 1px solid #bfead8;
}

.flash-message.error {
    color: #8b3b23;
    background: #fff1ea;
    border: 1px solid #ffd2bc;
}

.portal-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.portal-sidebar {
    padding: 1.5rem;
    color: var(--white);
    background: linear-gradient(180deg, #082732 0%, #0d5364 100%);
}

.portal-brand {
    color: var(--white);
}

.portal-brand .brand-text {
    color: var(--white);
}

.portal-nav {
    display: grid;
    gap: 0.5rem;
    margin-top: 2rem;
}

.portal-nav-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.portal-nav-item.active,
.portal-nav-item:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.portal-side-card {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
}

.portal-side-card p {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.portal-main {
    padding: 2rem;
}

.portal-topbar {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.portal-topbar h1,
.portal-card h2 {
    color: var(--ink-950);
}

.portal-topline,
.portal-subline,
.portal-label,
.portal-card small {
    color: var(--slate-600);
}

.portal-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.portal-card {
    padding: 1.4rem;
    border: 1px solid rgba(11, 83, 100, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
}

.portal-card.metric strong {
    display: block;
    margin: 0.35rem 0;
    color: var(--teal-900);
    font-family: "Sora", sans-serif;
    font-size: 2rem;
}

.portal-card-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.status-pill {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 800;
    background: var(--orange-500);
}

.status-pill.muted {
    color: var(--teal-900);
    background: rgba(17, 134, 156, 0.1);
}

.portal-list,
.timeline-stack {
    display: grid;
    gap: 0.9rem;
}

.portal-list-item,
.timeline-item {
    padding: 1rem;
    border-radius: 18px;
    background: #f7fbfc;
}

.portal-list-item strong,
.timeline-item strong {
    display: block;
    color: var(--ink-950);
}

.portal-list-item span,
.timeline-item p {
    margin: 0.25rem 0 0;
    color: var(--slate-600);
}

.timeline-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    margin-top: 0.35rem;
    border-radius: 50%;
    background: var(--orange-500);
    flex: 0 0 auto;
}

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

@media (max-width: 991.98px) {
    .hero-ribbon {
        width: 100%;
        height: 240px;
        inset: auto 0 0 0;
        border-bottom-left-radius: 0;
        border-top-left-radius: 70%;
    }

    .hero-shell::before,
    .hero-shell::after {
        right: 4%;
    }

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

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

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

    .portal-topbar,
    .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;
    }

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

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

    .contact-card,
    .hero-panel,
    .readiness-panel,
    .demo-frame,
    .auth-surface,
    .portal-card {
        border-radius: 24px;
    }

    .auth-shell,
    .portal-main,
    .portal-sidebar {
        padding: 1rem;
    }

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