:root {
    --bg: #fff9f2;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: #ffffff;
    --text: #16243b;
    --muted: #5f6c80;
    --line: rgba(22, 36, 59, 0.09);
    --brand: #ff6b4a;
    --brand-alt: #ff9658;
    --accent: #0ea5e9;
    --accent-soft: #14b8a6;
    --soft-accent: rgba(255, 107, 74, 0.1);
    --shadow: 0 26px 60px rgba(18, 31, 52, 0.12);
}

[data-bs-theme="dark"] {
    --bg: #0b1220;
    --surface: rgba(16, 24, 39, 0.76);
    --surface-strong: #111b2e;
    --text: #f3f7ff;
    --muted: #a8b4c8;
    --line: rgba(255, 255, 255, 0.1);
    --soft-accent: rgba(255, 107, 74, 0.15);
    --shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    font-family: "Manrope", "Segoe UI", sans-serif;
    line-height: 1.7;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 107, 74, 0.2), transparent 20%),
        radial-gradient(circle at 88% 14%, rgba(14, 165, 233, 0.22), transparent 22%),
        linear-gradient(180deg, #fffaf4 0%, #ffffff 36%, #fff4e8 100%);
}

html[data-bs-theme="dark"] body {
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 107, 74, 0.18), transparent 20%),
        radial-gradient(circle at 88% 14%, rgba(14, 165, 233, 0.2), transparent 22%),
        linear-gradient(180deg, #09111d 0%, #0c1626 46%, #0f1b2e 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    z-index: 0;
    pointer-events: none;
    filter: blur(10px);
}

body::before {
    top: 20%;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.26), transparent 65%);
}

body::after {
    bottom: 8%;
    left: -110px;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 66%);
}

main,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-header {
    position: relative;
    z-index: 5000;
    isolation: isolate;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: rgba(255, 107, 74, 0.2);
    color: var(--text);
}

.site-header {
    padding-top: 1rem;
}

.site-nav {
    position: relative;
    z-index: 5010;
    overflow: visible !important;
    padding-right: 1rem;
    padding-left: 1rem;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 40px rgba(20, 33, 54, 0.08);
    backdrop-filter: blur(18px);
}

html[data-bs-theme="dark"] .site-nav {
    background: rgba(10, 18, 31, 0.82);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.site-brand {
    display: flex;
    align-items: center;
    width: 290px;
    max-width: 100%;
    flex: 0 0 290px;
    gap: 1.05rem;
    color: var(--text);
}

.site-brand:hover {
    color: var(--text);
}

.site-brand-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    padding: 0.22rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 28px rgba(20, 33, 54, 0.16);
    flex: 0 0 58px;
}

.site-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.site-brand-title {
    display: block;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.32rem;
    font-weight: 800;
    letter-spacing: 10px;
    line-height: 0.95;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.16);
}

.site-brand-subtitle {
    display: block;
    margin-top: 0.3rem;
    color: color-mix(in srgb, var(--text) 68%, white 32%);
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.navbar-toggler {
    padding: 0.55rem 0.7rem;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: none !important;
}

.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='%2316243b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

html[data-bs-theme="dark"] .navbar-toggler {
    background: rgba(255, 255, 255, 0.08);
}

html[data-bs-theme="dark"] .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='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    padding: 0.72rem 1rem !important;
    color: var(--muted);
    font-weight: 700;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.84);
    transform: translateY(-1px);
}

html[data-bs-theme="dark"] .nav-link:hover,
html[data-bs-theme="dark"] .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.navbar,
.navbar-collapse,
.navbar-nav {
    overflow: visible !important;
}

.service-nav-item {
    position: relative;
    display: block;
    min-width: 0;
}

.nav-service-title {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    min-height: 2.75rem;
    padding: 0.72rem 1rem !important;
    border: 0;
    cursor: pointer;
    background: transparent;
}

.service-nav-item.is-open .nav-service-title {
    color: var(--text);
    background: rgba(255, 255, 255, 0.84);
}

html[data-bs-theme="dark"] .service-nav-item.is-open .nav-service-title {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.nav-service-title::after {
    content: "";
    width: 0.52rem;
    height: 0.52rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.service-nav-item.is-open .nav-service-title::after {
    transform: rotate(225deg);
}

.site-submenu {
    display: grid;
    gap: 0.3rem;
    min-width: 19rem;
    width: 21rem;
    max-width: min(21rem, calc(100vw - 2rem));
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 40px rgba(17, 29, 49, 0.12);
    backdrop-filter: blur(18px);
    z-index: 5300;
    transform-origin: top left;
    animation: dropdown-fade 0.18s ease;
}

.service-nav-item:not(.is-open) .site-submenu {
    display: none;
}

html[data-bs-theme="dark"] .site-submenu {
    background: rgba(10, 18, 31, 0.94);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.24);
}

.site-submenu-link {
    display: block;
    padding: 0.8rem 0.95rem;
    border-radius: 16px;
    background: transparent;
    color: var(--text);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: normal;
}

.site-submenu-link:hover,
.site-submenu-link:focus {
    background: rgba(255, 107, 74, 0.1);
    color: var(--text);
}

@keyframes dropdown-fade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

.theme-toggle {
    padding: 0.68rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 800;
}

html[data-bs-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    color: #f6f8ff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    line-height: 1.45;
}

.eyebrow::before {
    content: "";
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 74, 0.16);
}

.btn {
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.btn-primary {
    border: 0;
    background: linear-gradient(135deg, var(--brand), var(--brand-alt));
    box-shadow: 0 18px 32px rgba(255, 107, 74, 0.26);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #ff5a35, #ff8843);
    transform: translateY(-1px);
}

.btn-outline-light,
.btn-outline-primary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

html[data-bs-theme="light"] .btn-outline-light,
html[data-bs-theme="light"] .btn-outline-primary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-primary:hover,
.btn-outline-primary:focus {
    border-color: rgba(255, 107, 74, 0.34);
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
}

html[data-bs-theme="light"] .btn-outline-light:hover,
html[data-bs-theme="light"] .btn-outline-light:focus,
html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-outline-primary:focus {
    background: rgba(255, 244, 238, 0.98);
}

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

.hero-shell {
    position: relative;
    padding: clamp(1.1rem, 2vw, 1.7rem);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 38px;
    background: linear-gradient(135deg, #0d1b30 0%, #123052 52%, #144564 100%);
    box-shadow: 0 34px 70px rgba(17, 29, 49, 0.3);
    isolation: isolate;
}

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

.hero-shell::before {
    background-image: var(--hero-shell-image);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.18;
    transform: scale(1.02);
    z-index: 0;
}

.hero-shell::after {
    background:
        linear-gradient(180deg, rgba(8, 15, 28, 0.38), rgba(8, 15, 28, 0.72)),
        linear-gradient(135deg, rgba(255, 107, 74, 0.1), rgba(14, 165, 233, 0.1));
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
}

.hero-copy-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.68rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.hero-badge-soft {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(242, 247, 255, 0.86);
}

.hero-title {
    position: relative;
    z-index: 1;
    max-width: 95%;
    margin-top: 0.15rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 95%;
    margin-top: 0.2rem;
    margin-bottom: 0.35rem;
    color: rgba(240, 246, 255, 0.8);
    font-size: 0.98rem;
    line-height: 1.7;
}

.hero-slide-copy {
    width: 100%;
    max-width: 95%;
}

.hero-slide-copy .eyebrow {
    position: relative;
    z-index: 1;
}

.hero-actions,
.metric-grid,
.tag-cloud {
    position: relative;
    z-index: 1;
}

.hero-actions {
    margin-top: 1.2rem;
}

.hero-actions .btn {
    padding: 0.72rem 1.1rem;
    font-size: 0.94rem;
}

.hero-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.75rem;
}

.hero-value-card {
    padding: 1.1rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(14px);
}

.hero-value-card span {
    display: block;
    color: rgba(235, 242, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-value-card strong {
    display: block;
    margin-top: 0.55rem;
    color: #ffffff;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.02rem;
    line-height: 1.28;
}

.hero-value-card p {
    margin: 0.6rem 0 0;
    color: rgba(236, 242, 252, 0.75);
    font-size: 0.92rem;
}

.metric-grid-hero {
    margin-top: 1.75rem;
}

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

.metric-card {
    padding: 1.05rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.metric-card strong {
    display: block;
    color: #ffffff;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.65rem;
    line-height: 1.1;
}

.metric-card span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(235, 242, 255, 0.74);
    font-size: 0.94rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.55rem;
    margin-top: 0.8rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
}

.tag-pill {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0.48rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #f6f9ff;
    font-size: 0.82rem;
    font-weight: 700;
}

.showcase-shell {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100%;
    padding: 1.4rem 0 0;
}

.showcase-card {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 44px rgba(6, 13, 25, 0.24);
    backdrop-filter: blur(18px);
}

.hero-showcase {
    justify-content: flex-end;
}

.hero-showcase-main {
    width: min(100%, 510px);
}

.hero-device-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.showcase-dots {
    display: flex;
    gap: 0.45rem;
}

.showcase-dots span {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.showcase-status {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-spotlight {
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(255, 107, 74, 0.18), rgba(255, 255, 255, 0.07));
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: rgba(238, 244, 255, 0.74);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-spotlight strong {
    display: block;
    color: #ffffff;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.55rem;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.hero-spotlight p {
    margin: 0.9rem 0 0;
    color: rgba(236, 242, 252, 0.78);
}

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

.hero-signal-card {
    padding: 1.1rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(9, 17, 31, 0.28);
}

.hero-signal-card-wide {
    grid-column: 1 / -1;
}

.hero-signal-card.accent {
    background: linear-gradient(160deg, rgba(14, 165, 233, 0.18), rgba(255, 255, 255, 0.08));
}

.hero-signal-card span {
    display: block;
    color: rgba(230, 238, 250, 0.74);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-signal-card strong {
    display: block;
    margin-top: 0.45rem;
    color: #ffffff;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.05rem;
    line-height: 1.25;
}

.hero-signal-card p {
    margin: 0.45rem 0 0;
    color: rgba(231, 238, 249, 0.72);
    font-size: 0.92rem;
}

.showcase-feature,
.stack-card {
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(9, 17, 31, 0.32);
}

.showcase-feature.accent {
    background: linear-gradient(160deg, rgba(255, 107, 74, 0.24), rgba(255, 255, 255, 0.08));
}

.showcase-feature span,
.stack-card span {
    display: block;
    color: rgba(230, 238, 250, 0.74);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.showcase-feature strong,
.stack-card strong {
    display: block;
    margin: 0.45rem 0 0.55rem;
    color: #ffffff;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.2rem;
    line-height: 1.25;
}

.showcase-feature p,
.stack-card p {
    margin: 0;
    color: rgba(231, 238, 249, 0.74);
    font-size: 0.94rem;
}

.showcase-stack {
    display: grid;
    gap: 1rem;
}

.hero-floating-stat {
    position: absolute;
    top: 0;
    right: -0.35rem;
    width: min(240px, 54%);
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.18);
    z-index: 2;
    box-shadow: 0 22px 36px rgba(8, 15, 28, 0.24);
    backdrop-filter: blur(16px);
}

.hero-floating-label {
    display: block;
    margin-bottom: 0.35rem;
    color: rgba(241, 245, 255, 0.72);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-floating-stat strong {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.45;
}

.hero-slider-shell {
    padding: clamp(1rem, 2vw, 1.45rem);
}

.hero-slider-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    align-items: stretch;
}

.hero-slider-copy {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
    max-width: 100%;
}

.hero-slide-copy-stack {
    position: relative;
    min-height: 320px;
}

.hero-slide-copy {
    position: relative;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 1.6rem 1.7rem;
    border-radius: 28px;
    isolation: isolate;
    opacity: 0;
    pointer-events: none;
}

.hero-slide-copy.is-active {
    opacity: 1;
    pointer-events: auto;
    animation: hero-slide-in 0.35s ease;
}

.hero-slider-tabs {
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 190px);
    gap: 0.45rem;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    padding: 0.42rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(14, 165, 233, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.hero-slider-tab {
    padding: 0.52rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(11, 24, 42, 0.22);
    color: rgba(236, 242, 252, 0.82);
    text-align: left;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.hero-slider-tab:hover,
.hero-slider-tab.is-active {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.22), rgba(14, 165, 233, 0.18));
    color: #ffffff;
}

.hero-slider-tab strong,
.hero-slider-tab span {
    display: block;
}

.hero-slider-tab strong {
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 0.74rem;
    line-height: 1.2;
}

.hero-slider-tab span {
    margin-top: 0.16rem;
    font-size: 0.62rem;
    color: rgba(236, 242, 252, 0.68);
}

.hero-slider-footer {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.8rem;
    justify-items: center;
}

.hero-visual-card {
    width: 95%;
    margin: 0.9rem auto 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 46px rgba(11, 21, 37, 0.22);
}

.hero-visual-card img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-slider-stage {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-height: 100%;
}

.hero-stage-stack {
    position: relative;
    min-height: 320px;
}

.hero-stage-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 44px rgba(6, 13, 25, 0.24);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateX(22px) scale(0.98);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.hero-stage-card::before {
    content: "";
    position: absolute;
    inset: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    pointer-events: none;
}

.hero-stage-card.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.hero-stage-topline,
.hero-stage-bottom {
    position: relative;
    z-index: 1;
}

.hero-stage-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.hero-stage-kicker,
.hero-stage-label {
    display: inline-flex;
    align-items: center;
    color: rgba(236, 242, 252, 0.72);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-stage-link {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-stage-display {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.65rem;
    margin-top: auto;
}

.hero-stage-main {
    padding: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255, 107, 74, 0.18), rgba(255, 255, 255, 0.06));
}

.hero-stage-main strong {
    display: block;
    margin-top: 0.55rem;
    color: #ffffff;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.2rem;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.hero-stage-main p {
    margin: 0.5rem 0 0;
    color: rgba(236, 242, 252, 0.78);
    font-size: 0.9rem;
}

.hero-stage-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.hero-stage-stat {
    padding: 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(9, 17, 31, 0.28);
}

.hero-stage-stat span,
.hero-stage-note {
    color: rgba(236, 242, 252, 0.72);
    font-size: 0.75rem;
    font-weight: 700;
}

.hero-stage-stat span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-stage-stat strong {
    display: block;
    margin-top: 0.3rem;
    color: #ffffff;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 0.88rem;
    line-height: 1.25;
}

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

.hero-stage-note {
    padding: 0.62rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-stage-tags {
    margin-top: 0;
}

@keyframes hero-slide-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

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

.home-trust-card,
.home-proof-card,
.home-process-card {
    position: relative;
    padding: 1.45rem;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.home-trust-card h3,
.home-proof-card h3 {
    margin: 0;
    color: var(--text);
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.25rem;
    line-height: 1.2;
}

.home-trust-card p,
.home-proof-card p {
    margin: 0.75rem 0 0;
}

.home-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 1.25rem;
    align-items: stretch;
}

.home-value-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 1.25rem;
    align-items: stretch;
}

.home-story-panel {
    padding: clamp(1.6rem, 4vw, 2.3rem);
}

.home-wide-title {
    max-width: 18ch;
}

.home-story-copy {
    max-width: 58ch;
    margin-top: 1rem;
}

.home-story-list {
    display: grid;
    gap: 0.8rem;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.home-story-list li {
    position: relative;
    padding-left: 1.4rem;
}

.home-story-list li::before {
    content: "";
    position: absolute;
    top: 0.62rem;
    left: 0;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 74, 0.12);
}

.home-story-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.2rem;
    margin-top: 1.5rem;
}

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

.section-heading-block {
    padding: clamp(1.2rem, 2vw, 1.8rem) 0;
}

.section-heading-block .section-title {
    max-width: 15ch;
}

.home-trust-card::before,
.home-proof-card::before,
.home-process-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    opacity: 0.9;
}

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

.home-process-card p {
    margin: 1rem 0 0;
}

.home-final-cta {
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.14), rgba(14, 165, 233, 0.14));
}

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

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-title {
    max-width: 13ch;
    margin: 0;
    color: var(--text);
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.section-copy {
    max-width: 33rem;
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
}

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

.benefit-card,
.service-card,
.product-card,
.glass-panel,
.page-banner,
.info-card,
.spotlight-panel,
.consulting-strip,
.footer-cta {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.benefit-card {
    padding: 1.75rem;
}

.card-badge,
.mini-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 0.85rem;
    border-radius: 999px;
    background: var(--soft-accent);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 800;
}

.benefit-card h3 {
    margin: 1rem 0 0.75rem;
    color: var(--text);
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.32rem;
}

.benefit-card p {
    margin: 0;
}

.benefit-accent {
    position: absolute;
    right: -2rem;
    bottom: -2.6rem;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 107, 74, 0.18), transparent 68%);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.service-grid-featured {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card,
.product-card {
    padding: 1.6rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-media,
.banner-media {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(16, 32, 57, 0.08), rgba(14, 165, 233, 0.08));
}

.card-media {
    margin: -0.35rem -0.35rem 1.25rem;
}

.card-media img,
.banner-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-media-product img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.banner-media {
    margin-bottom: 1.2rem;
    height: 100%;
}

.service-card:hover,
.product-card:hover,
.benefit-card:hover,
.info-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 74, 0.24);
    box-shadow: 0 22px 44px rgba(16, 32, 58, 0.16);
}

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

.card-index {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.16), rgba(14, 165, 233, 0.16));
    color: var(--text);
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.service-card h2,
.service-card h3,
.product-card h2,
.page-banner h1,
.page-banner h2,
.glass-panel h2,
.glass-panel h3,
.info-card h2,
.info-card h3 {
    color: var(--text);
    font-family: "Sora", "Segoe UI", sans-serif;
    letter-spacing: -0.04em;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.feature-pill,
.type-pill,
.stack-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.58rem 0.88rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
}

.feature-pill {
    background: rgba(20, 184, 166, 0.1);
    color: var(--text);
}

.type-pill {
    background: rgba(255, 107, 74, 0.12);
    color: #bc4b2c;
}

.stack-pill {
    background: rgba(14, 165, 233, 0.12);
    color: #0b6e99;
}

html[data-bs-theme="dark"] .type-pill {
    color: #ffd8cd;
}

html[data-bs-theme="dark"] .stack-pill {
    color: #c2eafd;
}

.feature-list {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.45rem;
    color: var(--muted);
}

.feature-list li::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    box-shadow: 0 0 0 0.22rem rgba(255, 107, 74, 0.12);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.3rem;
    color: var(--text);
    font-weight: 800;
}

.text-link span {
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(3px);
}

.spotlight-panel {
    margin-top: 1.1rem;
    padding: clamp(1.6rem, 4vw, 2.6rem);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 238, 0.96));
}

.spotlight-panel.is-visible {
    margin-top: 1.4rem;
}

html[data-bs-theme="dark"] .spotlight-panel {
    background: linear-gradient(135deg, rgba(18, 28, 46, 0.92), rgba(11, 21, 37, 0.94));
}

.consulting-strip {
    padding: 1.6rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(255, 107, 74, 0.12));
}

.consulting-strip p {
    max-width: 42rem;
    margin: 0;
}

.page-banner {
    padding: clamp(1.8rem, 4vw, 2.6rem);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 1.5rem;
}

.page-copy {
    max-width: 58ch;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.page-banner-card {
    align-self: stretch;
    display: flex;
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.12), rgba(14, 165, 233, 0.12));
}

.page-banner-card .banner-media {
    flex: 1 1 auto;
    min-height: 100%;
    margin-bottom: 0;
}

.mini-label {
    display: block;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.mini-stat-list {
    display: grid;
    gap: 0.9rem;
}

.mini-stat-list strong {
    display: block;
    color: var(--text);
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.18rem;
    line-height: 1.3;
}

.mini-stat-list span {
    color: var(--muted);
    font-size: 0.95rem;
}

.info-stack {
    display: grid;
    gap: 1rem;
}

.info-card {
    padding: 1.5rem;
}

.detail-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.detail-process-card {
    position: relative;
    padding: 1.55rem;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.detail-process-card p {
    margin: 1rem 0 0;
}

.contact-list {
    display: grid;
    gap: 0.9rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    color: var(--muted);
}

.contact-list a {
    color: var(--text);
    font-weight: 700;
}

.contact-list a:hover {
    color: var(--brand);
}

.contact-list strong {
    display: block;
    margin-bottom: 0.18rem;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 800;
}

.contact-cta-stack {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.form-shell {
    padding: clamp(1.5rem, 4vw, 2.4rem);
}

.form-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-heading p {
    max-width: 33rem;
    margin-bottom: 0;
}

.form-label {
    margin-bottom: 0.45rem;
    color: var(--text);
    font-weight: 800;
}

.form-control,
.form-select {
    min-height: 3.4rem;
    padding: 0.88rem 1rem;
    border: 1px solid rgba(18, 31, 52, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    box-shadow: none !important;
}

textarea.form-control {
    min-height: 9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(255, 107, 74, 0.62);
    background: #ffffff;
    box-shadow: 0 0 0 0.24rem rgba(255, 107, 74, 0.12) !important;
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(9, 17, 31, 0.88);
    color: #eff4ff;
}

html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus {
    background: rgba(9, 17, 31, 0.98);
}

.alert {
    padding: 1rem 1.2rem;
    border: 0;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.footer-cta {
    padding: clamp(1.6rem, 4vw, 2.5rem);
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.12), rgba(14, 165, 233, 0.12));
}

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

.cta-stat {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.48);
}

html[data-bs-theme="dark"] .cta-stat {
    background: rgba(255, 255, 255, 0.06);
}

.cta-stat strong {
    display: block;
    color: var(--text);
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 1.2rem;
    line-height: 1.2;
}

.cta-stat span {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
}

.site-footer {
    margin-top: 4rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 1.2rem;
}

.footer-card {
    padding: 0.3rem 0;
}

.footer-card p:last-child {
    margin-bottom: 0;
}

.footer-links {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: var(--muted);
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-note {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.94rem;
}

.text-secondary {
    color: var(--muted) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.04em;
}

p,
li {
    color: var(--muted);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-top: 1rem;
    }

    .service-nav-item {
        width: 100%;
    }

    .nav-service-title {
        width: 100%;
        justify-content: space-between;
    }

    .site-submenu {
        position: static;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin-top: 0.45rem;
        box-shadow: none;
        backdrop-filter: none;
        animation: none;
    }

    .section-heading,
    .form-heading {
        align-items: start;
        flex-direction: column;
    }

    .page-banner,
    .showcase-layout,
    .footer-grid,
    .consulting-strip {
        grid-template-columns: 1fr;
        display: grid;
    }

    .home-trust-grid,
    .home-value-layout {
        grid-template-columns: 1fr;
    }

    .home-proof-stack {
        grid-template-columns: 1fr;
    }

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

    .hero-slider-tabs {
        display: grid;
        grid-auto-flow: row;
        grid-auto-columns: auto;
        grid-template-columns: 1fr;
        width: 100%;
        margin-inline: 0;
    }

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

    .hero-floating-stat {
        position: static;
        width: auto;
        margin-top: 1rem;
    }

    .showcase-shell {
        padding-top: 1rem;
        display: block;
    }

    .hero-visual-card {
        width: 100%;
    }

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

    .hero-showcase-main {
        width: 100%;
    }

    .footer-note {
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .site-submenu {
        position: absolute;
        top: calc(100% + 0.55rem);
        left: 0;
    }
}

@media (max-width: 767.98px) {
    .site-nav {
        border-radius: 22px;
    }

    .hero-shell,
    .page-banner,
    .footer-cta,
    .spotlight-panel {
        border-radius: 28px;
    }

    .hero-title {
        font-size: clamp(2.4rem, 12vw, 3.4rem);
    }

    .metric-grid,
    .benefit-grid,
    .cta-stat-grid,
    .hero-value-grid,
    .detail-process-grid,
    .home-process-grid,
    .home-trust-grid,
    .home-proof-stack {
        grid-template-columns: 1fr;
    }

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

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

    .tag-cloud {
        flex-wrap: wrap;
        overflow: visible;
    }

    .showcase-card,
    .service-card,
    .product-card,
    .benefit-card,
    .info-card {
        border-radius: 24px;
    }

    .card-media,
    .banner-media {
        border-radius: 18px;
    }

    .hero-shell {
        padding: 1.6rem;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
