:root {
    --max-width: 1440px;
    --bg: #f7f6f1;
    --surface: rgba(255, 255, 255, 0.82);
    --line: rgba(18, 27, 42, 0.1);
    --text: #111b2b;
    --muted: #60708a;
    --primary: #ff7a18;
    --primary-strong: #ff5722;
    --secondary: #0ea5e9;
    --secondary-strong: #0f6fcb;
    --accent: #ffd166;
    --success: #1ab67a;
    --shadow-lg: 0 30px 80px rgba(17, 27, 43, 0.12);
    --shadow-md: 0 20px 44px rgba(17, 27, 43, 0.1);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 122, 24, 0.18), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(14, 165, 233, 0.16), transparent 22%),
        linear-gradient(180deg, #fffdf8 0%, #f8f6f1 50%, #f4f7fb 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 27, 43, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 27, 43, 0.03) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.16));
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    width: 420px;
    height: 420px;
    right: -120px;
    bottom: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.22), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.shell {
    width: min(var(--max-width), calc(100% - 24px));
    margin: 0 auto;
}

main {
    padding-bottom: 96px;
}

.section {
    padding-top: 28px;
}

.section-heading {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.section-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-strong);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-label::before,
.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.section-heading h2 {
    margin: 0;
    max-width: 14ch;
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    line-height: 0.97;
    letter-spacing: -0.05em;
}

.section-heading p {
    margin: 0;
    max-width: 64ch;
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.02rem;
}

.surface-panel {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 248, 241, 0.9));
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    isolation: isolate;
}

.surface-panel::before {
    content: "";
    position: absolute;
    inset: auto -80px -100px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 72%);
    z-index: -1;
    pointer-events: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    cursor: pointer;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button.primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-strong), var(--primary));
    box-shadow: 0 18px 30px rgba(255, 87, 34, 0.22);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(17, 27, 43, 0.12);
    color: var(--text);
}

.pos-feature {
    padding-top: 28px;
}

.pos-feature-panel {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 2vw, 24px);
}

.pos-feature-panel img {
    display: block;
    width: min(100%, 1120px);
    height: auto;
    max-height: clamp(240px, 42vw, 520px);
    object-fit: contain;
}

.hero {
    padding: 52px 0 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.hero-copy {
    min-width: 0;
    padding: clamp(28px, 4vw, 42px);
}

.eyebrow {
    margin-bottom: 18px;
}

.hero-copy h1 {
    margin: 0;
    max-width: 11.6ch;
    font-size: clamp(3rem, 6.2vw, 5.4rem);
    line-height: 0.93;
    letter-spacing: -0.06em;
}

.hero-highlight {
    color: transparent;
    background: linear-gradient(135deg, var(--primary-strong) 0%, var(--primary) 55%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-intro {
    margin: 22px 0 0;
    max-width: 62ch;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.hero-metric {
    padding: 18px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(17, 27, 43, 0.08);
    box-shadow: 0 14px 30px rgba(17, 27, 43, 0.06);
}

.hero-metric strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.hero-metric span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.hero-carousel {
    display: grid;
    gap: 16px;
    height: 100%;
}

.hero-carousel-stage {
    position: relative;
    min-height: clamp(340px, 38vw, 500px);
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(180deg, #152235 0%, #101b2c 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 28px 54px rgba(16, 27, 44, 0.16);
}

.hero-carousel-stage:focus-visible {
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 28px 54px rgba(16, 27, 44, 0.16),
        0 0 0 3px rgba(14, 165, 233, 0.2);
}

.hero-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.04);
    transition: opacity 0.45s ease, transform 0.6s ease;
}

.hero-carousel-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.hero-carousel-media {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
}

.hero-carousel-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 18, 31, 0.08) 0%, rgba(10, 18, 31, 0.28) 46%, rgba(10, 18, 31, 0.82) 100%),
        linear-gradient(90deg, rgba(10, 18, 31, 0.34) 0%, rgba(10, 18, 31, 0.08) 48%, rgba(10, 18, 31, 0.42) 100%);
    pointer-events: none;
}

.hero-carousel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-carousel-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(18px, 2.2vw, 26px);
    color: #ffffff;
}

.hero-carousel-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.hero-carousel-copy {
    min-width: 0;
}

.hero-carousel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: rgba(240, 246, 255, 0.72);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-carousel-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 0 6px rgba(255, 122, 24, 0.12);
}

.hero-carousel-topline h3 {
    margin: 0;
    max-width: 14ch;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.05;
}

.hero-carousel-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-carousel-meta {
    display: grid;
    justify-items: end;
    gap: 10px;
    min-width: 0;
}

.hero-carousel-overlay p {
    margin: 0;
    max-width: min(100%, 30rem);
    color: rgba(240, 246, 255, 0.82);
    font-size: 0.98rem;
    line-height: 1.65;
}

.hero-carousel-actions {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
}

.hero-carousel-nav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-carousel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(17, 27, 43, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: #182537;
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 16px 28px rgba(17, 27, 43, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-carousel-button:hover,
.hero-carousel-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, 0.22);
    box-shadow: 0 20px 32px rgba(17, 27, 43, 0.12);
    outline: none;
}

.hero-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-carousel-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 27, 43, 0.16);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-carousel-dot.is-active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scale(1.15);
}

.hero-carousel-dot:hover,
.hero-carousel-dot:focus-visible {
    background: rgba(14, 165, 233, 0.46);
    outline: none;
}

.hero-carousel-status {
    justify-self: end;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.screen-panel {
    position: relative;
    border-radius: 28px;
    padding: 18px;
    min-height: 100%;
    background: linear-gradient(180deg, #152235 0%, #101b2c 100%);
    color: #edf5ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.screen-panel::before {
    content: "";
    position: absolute;
    inset: -30% auto auto -20%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 24, 0.22), transparent 70%);
    pointer-events: none;
}

.screen-panel::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.22), transparent 70%);
    pointer-events: none;
}

.screen-topbar,
.screen-body,
.screen-footer {
    position: relative;
    z-index: 1;
}

.screen-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.screen-kicker {
    display: block;
    margin-bottom: 6px;
    color: rgba(237, 245, 255, 0.65);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.screen-title {
    display: block;
    font-size: 1.08rem;
    font-weight: 800;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #f8fbff;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 6px rgba(26, 182, 122, 0.16);
}

.screen-body {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 16px;
}

.screen-card {
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.screen-card h3 {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 800;
}

.tile-grid,
.tender-grid,
.ops-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.product-tile {
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-tile strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.product-tile span {
    color: rgba(237, 245, 255, 0.72);
    font-size: 0.82rem;
}

.order-list {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.order-row,
.summary-row,
.ops-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.order-row span:first-child,
.summary-row span:first-child {
    color: rgba(237, 245, 255, 0.72);
}

.summary {
    display: grid;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-row.total {
    font-size: 1rem;
    font-weight: 800;
}

.tender-grid {
    margin-top: 14px;
}

.tender-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    font-weight: 700;
}

.tender-button.primary {
    background: linear-gradient(135deg, var(--primary-strong), var(--primary));
    border-color: transparent;
    color: #ffffff;
}

.screen-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.screen-chip,
.industry-pill,
.pos-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 700;
}

.screen-chip {
    min-height: 36px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(237, 245, 255, 0.82);
    font-size: 0.82rem;
}

.industry-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 8px;
}

.industry-pill {
    min-height: 44px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(17, 27, 43, 0.08);
    color: #27354a;
    font-size: 0.9rem;
    box-shadow: 0 14px 24px rgba(17, 27, 43, 0.05);
}

.showcase {
    padding-top: 28px;
}

.carousel-shell {
    padding: clamp(18px, 2.6vw, 22px);
}

.carousel-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(17, 27, 43, 0.04);
    color: #405167;
    font-size: 0.88rem;
    line-height: 1.4;
}

.carousel-note::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 0 6px rgba(255, 122, 24, 0.14);
}

.pos-carousel {
    position: relative;
    width: min(100%, 920px);
    margin: 0 auto;
    padding: clamp(12px, 1.6vw, 16px);
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(192, 237, 240, 0.3), transparent 34%),
        linear-gradient(135deg, #42bbc0 0%, #1aa0a8 52%, #0f7e87 100%);
    box-shadow:
        0 28px 60px rgba(6, 67, 72, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.pos-carousel::before {
    content: "";
    position: absolute;
    inset: auto auto -90px -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
    pointer-events: none;
}

.pos-carousel::after {
    display: none;
}

.pos-carousel-stage {
    position: relative;
    height: clamp(320px, 38vw, 450px);
    border-radius: 30px;
    overflow: hidden;
    outline: none;
}

.pos-carousel-stage:focus-visible {
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.24);
}

.pos-carousel-track {
    position: relative;
    height: 100%;
}

.pos-slide {
    position: absolute;
    inset: 0 auto 0 0;
    width: 100%;
    height: 100%;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(18%, 0, 0) scale(0.84);
    transition:
        transform 0.68s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease,
        filter 0.45s ease;
    filter: saturate(0.84) brightness(0.92);
}

.pos-slide.is-active,
.pos-slide.is-next,
.pos-slide.is-next-2,
.pos-slide.is-prev {
    opacity: 1;
    pointer-events: auto;
}

.pos-slide.is-active {
    left: 0;
    width: 68%;
    z-index: 5;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
}

.pos-slide.is-next {
    left: 72%;
    width: 24%;
    z-index: 4;
    transform: translate3d(0, 0, 0) scale(0.97);
    filter: saturate(0.92) brightness(0.98);
}

.pos-slide.is-next-2 {
    left: 95%;
    width: 14%;
    z-index: 3;
    transform: translate3d(0, 0, 0) scale(0.92);
    filter: saturate(0.78) brightness(0.95);
}

.pos-slide.is-prev {
    left: -9%;
    width: 14%;
    z-index: 2;
    transform: translate3d(0, 0, 0) scale(0.9);
    filter: saturate(0.72) brightness(0.88);
}

.pos-slide.is-next,
.pos-slide.is-next-2,
.pos-slide.is-prev {
    cursor: pointer;
}

.pos-media {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: #d9eef3;
    box-shadow: 0 24px 48px rgba(6, 67, 72, 0.24);
}

.pos-slide.is-active .pos-media {
    cursor: zoom-in;
}

.pos-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 36, 40, 0.06) 0%, rgba(6, 36, 40, 0.16) 40%, rgba(6, 36, 40, 0.62) 100%),
        linear-gradient(90deg, rgba(6, 36, 40, 0.36) 0%, rgba(6, 36, 40, 0.02) 58%);
    pointer-events: none;
}

.pos-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.55s ease;
}

.pos-slide.is-active .pos-media img {
    transform: scale(1.04);
}

.pos-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(16px, 2vw, 22px);
    color: #ffffff;
}

.pos-slide-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.slide-chip,
.feature-card span,
.ops-pill {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
}

.slide-chip,
.feature-card span {
    background: rgba(255, 122, 24, 0.12);
    color: var(--primary-strong);
}

.slide-chip {
    min-height: 28px;
    padding: 0 10px;
    background: #ff5f33;
    color: #ffffff;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.carousel-admin-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: min(58%, 260px);
}

.carousel-admin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(7, 15, 28, 0.34);
    color: #ffffff;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(9, 16, 31, 0.2);
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.carousel-admin-button.is-danger {
    border-color: rgba(255, 120, 120, 0.28);
    background: rgba(123, 24, 44, 0.44);
    color: #fff0f3;
}

.carousel-admin-button:hover,
.carousel-admin-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(7, 15, 28, 0.46);
    box-shadow: 0 16px 30px rgba(9, 16, 31, 0.26);
}

.carousel-admin-button.is-danger:hover,
.carousel-admin-button.is-danger:focus-visible {
    border-color: rgba(255, 153, 153, 0.38);
    background: rgba(147, 26, 51, 0.58);
}

.carousel-admin-button:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.carousel-admin-button[hidden] {
    display: none !important;
}

.carousel-admin-file {
    display: none !important;
}

.hero-carousel-admin-actions {
    justify-content: flex-end;
    max-width: min(100%, 260px);
}

.pos-slide-content {
    display: grid;
    gap: 8px;
    max-width: 23ch;
    align-self: end;
}

.pos-slide-content h3 {
    margin: 0;
    font-size: clamp(1.7rem, 2.8vw, 2.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.pos-slide-content p,
.slide-note span,
.feature-card p,
.workflow-step p,
.ops-board-head p,
.ops-stat span {
    margin: 0;
    line-height: 1.8;
}

.pos-slide-content p {
    max-width: 28ch;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.96rem;
    line-height: 1.55;
}

.slide-note span,
.feature-card p,
.workflow-step p,
.ops-board-head p,
.ops-stat span {
    color: var(--muted);
}

.slide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    font-weight: 700;
}

.slide-link::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.78);
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
}

.image-modal[hidden] {
    display: none;
}

.image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 29, 0.82);
    backdrop-filter: blur(10px);
}

.image-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1120px);
    max-height: calc(100vh - 48px);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background: rgba(14, 26, 38, 0.92);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
    overflow: auto;
}

.image-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.image-modal-close:hover,
.image-modal-close:focus-visible {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
}

.image-modal-body h3 {
    margin: 0 0 16px;
    padding-right: 44px;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.image-modal-figure {
    margin: 0;
    display: grid;
    gap: 14px;
}

.image-modal-figure img {
    display: block;
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    background: #e5eff5;
}

.image-modal-figure figcaption {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.96rem;
    line-height: 1.6;
}

.carousel-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 24px;
}

.carousel-detail-modal[hidden] {
    display: none;
}

.carousel-detail-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 29, 0.72);
    backdrop-filter: blur(10px);
}

.carousel-detail-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 720px);
    max-height: calc(100vh - 48px);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(235, 247, 255, 0.96));
    box-shadow: 0 28px 60px rgba(8, 16, 29, 0.24);
    overflow: auto;
}

.carousel-detail-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(13, 26, 43, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.84);
    color: var(--text);
    font: inherit;
    font-size: 1.15rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.carousel-detail-modal-close:hover,
.carousel-detail-modal-close:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, 0.24);
    box-shadow: 0 12px 24px rgba(13, 26, 43, 0.08);
}

.carousel-detail-modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-strong);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.carousel-detail-modal-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 0 6px rgba(255, 122, 24, 0.12);
}

.carousel-detail-modal-dialog h3 {
    margin: 14px 0 8px;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    letter-spacing: -0.04em;
}

.carousel-detail-modal-copy {
    margin: 0 0 20px;
    padding-right: 48px;
    color: var(--muted);
    line-height: 1.7;
}

.carousel-detail-form {
    display: grid;
    gap: 16px;
}

.carousel-detail-field {
    display: grid;
    gap: 8px;
}

.carousel-detail-field span {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.carousel-detail-field input,
.carousel-detail-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid rgba(13, 26, 43, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    font: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.carousel-detail-field textarea {
    min-height: 120px;
    resize: vertical;
}

.carousel-detail-field input:focus,
.carousel-detail-field textarea:focus {
    outline: none;
    border-color: rgba(14, 165, 233, 0.42);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.carousel-detail-field input[readonly] {
    background: rgba(17, 27, 43, 0.05);
    color: var(--muted);
}

.carousel-detail-status {
    min-height: 1.4em;
    margin: 0;
    color: #16547c;
    font-size: 0.92rem;
    line-height: 1.5;
}

.carousel-detail-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.carousel-detail-actions .button {
    min-width: 150px;
}

.pos-slide.is-next .carousel-admin-actions,
.pos-slide.is-next-2 .carousel-admin-actions,
.pos-slide.is-prev .carousel-admin-actions {
    display: none !important;
}

.pos-slide.is-next .pos-slide-overlay {
    padding: 16px 14px;
}

.pos-slide.is-next .pos-slide-content {
    max-width: 10ch;
}

.pos-slide.is-next .pos-slide-content h3 {
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    line-height: 1.05;
}

.pos-slide.is-next .pos-slide-content p,
.pos-slide.is-next-2 .pos-slide-content,
.pos-slide.is-next-2 .slide-link,
.pos-slide.is-prev .pos-slide-content,
.pos-slide.is-prev .slide-link {
    display: none;
}

.pos-slide.is-next-2 .pos-slide-overlay,
.pos-slide.is-prev .pos-slide-overlay {
    padding: 14px 10px;
}

.pos-slide.is-next-2 .slide-chip,
.pos-slide.is-prev .slide-chip {
    transform: scale(0.88);
    transform-origin: top left;
}

.slide-note {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(17, 27, 43, 0.04);
    border: 1px solid rgba(17, 27, 43, 0.08);
}

.slide-note strong,
.ops-stat strong,
.ops-row strong {
    display: block;
}

.slide-note strong {
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.pos-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pos-tag {
    min-height: 38px;
    padding: 0 14px;
    background: rgba(14, 165, 233, 0.08);
    color: #16547c;
    font-size: 0.84rem;
}

.carousel-actions {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    margin-top: 16px;
}

.carousel-nav {
    display: inline-flex;
    gap: 10px;
}

.carousel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(11, 54, 58, 0.2);
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(6, 67, 72, 0.16);
    border-color: rgba(255, 255, 255, 0.52);
}

.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.carousel-dot {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
    transition: width 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.carousel-dot.is-active {
    width: 34px;
    background: rgba(255, 255, 255, 0.96);
}

.carousel-dot:hover,
.carousel-dot:focus-visible {
    transform: scale(1.08);
}

.carousel-status {
    justify-self: end;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.workflow-step {
    border: 1px solid rgba(17, 27, 43, 0.08);
    box-shadow: 0 18px 34px rgba(17, 27, 43, 0.06);
}

.feature-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 253, 0.88));
}

.feature-card h3 {
    margin: 16px 0 12px;
    font-size: 1.28rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.workflow-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: 22px;
    align-items: start;
}

.workflow-list,
.ops-list {
    display: grid;
    gap: 16px;
}

.workflow-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.84);
}

.workflow-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-strong), var(--primary));
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 14px 26px rgba(255, 87, 34, 0.22);
}

.workflow-step h3,
.ops-board-head h3 {
    margin: 0;
}

.workflow-step h3 {
    margin-bottom: 10px;
    font-size: 1.12rem;
}

.ops-board {
    padding: 24px;
}

.ops-board-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
    margin-bottom: 18px;
}

.ops-board-head h3 {
    margin-bottom: 10px;
    font-size: 1.45rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.ops-pill {
    gap: 8px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--secondary-strong);
    white-space: nowrap;
}

.ops-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

.ops-grid {
    gap: 14px;
    margin-bottom: 18px;
}

.ops-stat {
    padding: 18px;
    border-radius: 20px;
    background: rgba(17, 27, 43, 0.04);
    border: 1px solid rgba(17, 27, 43, 0.08);
}

.ops-stat strong {
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.ops-stat span {
    font-size: 0.9rem;
}

.ops-row {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(17, 27, 43, 0.08);
}

.ops-row span {
    color: var(--muted);
    font-size: 0.84rem;
    white-space: nowrap;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.62s ease, transform 0.62s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    .hero-grid,
    .workflow-wrap {
        grid-template-columns: 1fr;
    }

    .hero-metrics,
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .screen-body,
    .ops-grid {
        grid-template-columns: 1fr;
    }

    .hero-carousel-stage {
        min-height: 360px;
    }

    .hero-carousel-actions {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .hero-carousel-status {
        justify-self: center;
    }

    .carousel-actions {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .carousel-status {
        justify-self: center;
    }

    .pos-carousel {
        width: min(100%, 760px);
    }

    .pos-carousel::after {
        left: 70%;
    }

    .pos-carousel-stage {
        height: 360px;
    }

    .pos-slide.is-active {
        width: 68%;
    }

    .pos-slide.is-next {
        left: 74%;
        width: 22%;
    }

    .pos-slide.is-next-2 {
        left: 96%;
        width: 12%;
    }

    .pos-slide.is-prev {
        left: -9%;
        width: 12%;
    }
}

@media (max-width: 680px) {
    .hero-copy h1 {
        max-width: 100%;
    }

    .hero-metrics,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .carousel-shell,
    .ops-board {
        padding: 20px;
    }

    .hero-carousel-stage {
        min-height: 320px;
    }

    .hero-carousel-overlay {
        gap: 14px;
        padding: 18px;
    }

    .hero-carousel-topline {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-carousel-meta,
    .hero-carousel-admin-actions {
        width: 100%;
        justify-items: start;
        justify-content: flex-start;
    }

    .hero-carousel-topline h3 {
        max-width: 100%;
        font-size: 1.4rem;
    }

    .hero-carousel-overlay p {
        max-width: 100%;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .hero-carousel-button {
        width: 44px;
        height: 44px;
    }

    .pos-carousel {
        padding: 14px;
    }

    .pos-carousel::after {
        display: none;
    }

    .pos-carousel-stage {
        height: 310px;
    }

    .pos-slide.is-active {
        left: 0;
        width: 88%;
    }

    .pos-slide.is-next {
        left: 82%;
        width: 18%;
    }

    .pos-slide.is-next-2,
    .pos-slide.is-prev {
        opacity: 0;
        pointer-events: none;
    }

    .carousel-admin-actions {
        gap: 6px;
        max-width: 72%;
    }

    .carousel-admin-button {
        min-height: 32px;
        padding: 0 10px;
        font-size: 0.64rem;
    }

    .carousel-detail-modal {
        padding: 14px;
    }

    .carousel-detail-modal-dialog {
        max-height: calc(100vh - 28px);
        padding: 20px;
        border-radius: 24px;
    }

    .carousel-detail-actions {
        flex-direction: column-reverse;
    }

    .carousel-detail-actions .button {
        width: 100%;
        min-width: 0;
    }

    .workflow-step {
        grid-template-columns: 1fr;
    }

    .workflow-index {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 520px) {
    .button {
        width: 100%;
    }

    .hero-actions {
        width: 100%;
    }

    .industry-strip,
    .screen-footer,
    .pos-tags {
        gap: 8px;
    }

    .carousel-nav {
        width: 100%;
        justify-content: center;
    }

    .carousel-dots {
        max-width: 100%;
    }

    .hero-carousel-stage {
        min-height: 280px;
    }

    .hero-carousel-overlay {
        padding: 16px;
    }

    .hero-carousel-actions {
        gap: 12px;
    }

    .hero-carousel-admin-actions,
    .carousel-admin-actions {
        max-width: 100%;
    }

    .pos-carousel-stage {
        height: 250px;
    }

    .pos-slide.is-active,
    .pos-slide.is-next {
        left: 0;
        width: 100%;
    }

    .pos-slide.is-next {
        opacity: 0;
        pointer-events: none;
    }

    .pos-slide-content {
        max-width: 18ch;
    }

    .pos-slide-content h3 {
        font-size: 1.45rem;
    }

    .pos-slide-content p {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .pos-slide-topline {
        flex-direction: column;
        align-items: flex-start;
    }

    .carousel-admin-actions {
        max-width: 100%;
        justify-content: flex-start;
    }

    .image-modal {
        padding: 12px;
    }

    .image-modal-dialog {
        max-height: calc(100vh - 24px);
        padding: 16px;
        border-radius: 22px;
    }

    .image-modal-figure img {
        max-height: 62vh;
    }

    .carousel-detail-modal {
        padding: 12px;
    }

    .carousel-detail-modal-dialog {
        max-height: calc(100vh - 24px);
        padding: 18px;
        border-radius: 22px;
    }

    .carousel-detail-modal-copy {
        padding-right: 0;
    }
}
