:root {
    --ink: #07111f;
    --muted: #526173;
    --line: rgba(10, 30, 55, .12);
    --accent: #00c2ff;
    --accent-2: #19d38a;
    --warn: #ff8a3d;
    --surface: #f5f8fb;
    --white: #fff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff
}

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

a {
    text-decoration: none
}

.siim-nav {
    background: rgba(7, 17, 31, .9);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(16px)
}

.navbar-brand,
.siim-nav .nav-link {
    color: #fff
}

.siim-nav .nav-link:hover,
.navbar-brand:hover {
    color: var(--accent)
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, .25)
}

.navbar-toggler-icon {
    filter: invert(1)
}

.btn {
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 700
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #06111d;
    border: 0;
    box-shadow: 0 12px 30px rgba(0, 194, 255, .22)
}

.btn-accent:hover {
    color: #06111d;
    transform: translateY(-1px)
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 80% 20%, rgba(0, 194, 255, .25), transparent 28%), radial-gradient(circle at 15% 75%, rgba(25, 211, 138, .18), transparent 32%), linear-gradient(135deg, #07111f 0%, #102440 55%, #07111f 100%);
    padding: 110px 0 70px
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent 92%)
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem;
    margin-bottom: 1rem
}

.hero h1 {
    max-width: 850px;
    font-size: clamp(2.4rem, 6vw, 5.8rem);
    line-height: .95;
    font-weight: 900;
    margin-bottom: 1.25rem
}

.hero-copy {
    max-width: 720px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.16rem
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2rem
}

.signal-panel {
    position: relative;
    min-height: 360px;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(9, 23, 42, .76);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
    overflow: hidden
}

.panel-header {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: #fff;
    margin-bottom: 2rem
}

.panel-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent)
}

.panel-header span:nth-child(2) {
    background: var(--accent-2)
}

.panel-header span:nth-child(3) {
    background: var(--warn)
}

.panel-header strong {
    margin-left: auto;
    font-size: .88rem;
    color: rgba(255, 255, 255, .68)
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, .1);
    margin-bottom: .8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .05)
}

.metric-row span {
    color: rgba(255, 255, 255, .68)
}

.metric-row strong {
    color: var(--accent-2)
}

.scanline {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    top: 42%;
    background: var(--accent);
    box-shadow: 0 0 30px var(--accent);
    animation: scan 3.5s linear infinite
}

@keyframes scan {
    0% {
        transform: translateY(-150px)
    }

    100% {
        transform: translateY(260px)
    }
}

.section {
    padding: 86px 0
}

.section-muted {
    background: var(--surface)
}

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

.section-heading h2,
.platform-layout h2,
.contact-box h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1;
    font-weight: 900;
    margin: 0
}

.split-heading {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem
}

.admin-link {
    color: var(--ink);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: .45rem
}

.admin-link:hover {
    color: var(--accent)
}

.service-grid,
.catalog-grid,
.project-grid {
    display: grid;
    gap: 1rem
}

.service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.service-card,
.product-card,
.project-card,
.contact-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(12, 31, 55, .06)
}

.service-card {
    padding: 1.35rem
}

.service-card i {
    color: var(--accent);
    font-size: 2rem
}

.service-card h3,
.product-body h3,
.project-card h3 {
    font-size: 1.15rem;
    margin: 1rem 0 .55rem;
    font-weight: 900
}

.service-card p,
.product-body p,
.project-card p,
.platform-layout p,
.contact-box p {
    color: var(--muted);
    margin-bottom: 0
}

.catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))
}

.product-card {
    overflow: hidden
}

.product-media {
    aspect-ratio: 4/3;
    background: #e8eef5;
    display: grid;
    place-items: center
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.product-body {
    padding: 1rem
}

.product-body span {
    color: var(--accent);
    font-weight: 800;
    font-size: .78rem;
    text-transform: uppercase
}

.product-body strong {
    display: block;
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #0b7f61
}

.empty-state {
    grid-column: 1/-1;
    padding: 2rem;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: #fff
}

.platform-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
    gap: 3rem;
    align-items: center
}

.capability-list {
    display: grid;
    gap: .75rem
}

.capability-list div {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    border-radius: 8px;
    background: #eef7fb;
    border: 1px solid rgba(0, 194, 255, .18);
    font-weight: 700
}

.capability-list i {
    color: #0b8f64
}

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

.project-card {
    overflow: hidden
}

.project-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: #e8eef5
}

.project-card div {
    padding: 1rem
}

.contact-section {
    background: #07111f;
    color: #fff
}

.contact-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
    gap: 2rem;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12)
}

.contact-box p {
    color: rgba(255, 255, 255, .7)
}

.contact-form {
    display: grid;
    gap: .8rem
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    padding: .9rem 1rem;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    outline: 0
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, .58)
}

.honeypot {
    display: none
}

.site-footer {
    background: #050b14;
    color: rgba(255, 255, 255, .72);
    padding: 2rem 0
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem
}

.footer-grid p {
    margin: .2rem 0 0
}

.footer-social {
    display: flex;
    gap: .75rem
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .08)
}

.footer-social a:hover {
    background: var(--accent);
    color: #07111f
}

.admin-body {
    background: #f5f8fb
}

.admin-shell {
    min-height: 100vh;
    padding: 2rem
}

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

.admin-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 18px 50px rgba(12, 31, 55, .06)
}

.admin-grid {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 1rem;
    align-items: start
}

.form-grid {
    display: grid;
    gap: .85rem
}

.form-grid label {
    font-weight: 800;
    font-size: .9rem
}

.form-grid input,
.form-grid textarea,
.form-grid select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .75rem .9rem
}

.table img {
    width: 68px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    background: #e8eef5
}

.action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #07111f, #102440)
}

.login-card {
    width: min(100%, 420px);
    padding: 1.5rem;
    border-radius: 8px;
    background: #fff
}

@media(max-width:1100px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .admin-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:760px) {
    .hero {
        min-height: auto
    }

    .signal-panel {
        min-height: 280px
    }

    .split-heading,
    .footer-grid {
        align-items: flex-start;
        flex-direction: column
    }

    .platform-layout,
    .contact-box {
        grid-template-columns: 1fr
    }

    .service-grid {
        grid-template-columns: 1fr
    }

    .admin-shell {
        padding: 1rem
    }
}

.edit-grid {
    grid-template-columns: minmax(320px, 540px) minmax(280px, 1fr)
}

.product-preview-panel {
    position: sticky;
    top: 1rem
}

.edit-preview-img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 8px;
    background: #e8eef5
}

@media(max-width:1100px) {
    .edit-grid {
        grid-template-columns: 1fr
    }

    .product-preview-panel {
        position: static
    }
}