:root {
    --bg: #f4f9ff;
    --dark: #061225;
    --text: #12243c;
    --muted: #64748b;
    --line: #d8e6f6;
    --blue: #1666d9;
    --cyan: #27b5d8;
    --green: #2fbf8f;
    --soft: #eaf5ff;
    --radius: 12px;
    --shadow: 0 18px 46px rgba(8, 55, 112, .12);
}

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
body {
    font-family: Inter, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, 92%); margin: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 251, 255, .96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(22, 102, 217, .16);
}
.nav-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo img { width: 238px; height: auto; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
    padding: 10px 12px;
    border-radius: 10px;
    color: #475569;
    font-size: 14px;
    font-weight: 800;
}
.nav a:hover, .nav a.active { background: #edf6ff; color: #0f4ea8; }
.nav .main-site { background: #eef7ff; border: 1px solid #c7ddf7; color: #0b4b93; }
.nav .nav-cta, .btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    box-shadow: 0 14px 28px rgba(22, 102, 217, .24);
}
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
.menu-toggle span { width: 20px; height: 2px; border-radius: 999px; background: var(--blue); }
.language-switch { position: relative; }
.language-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(22, 102, 217, .18);
    border-radius: 10px;
    background: #fff;
    color: #123a70;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}
.language-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    display: grid;
    gap: 6px;
    min-width: 176px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: .18s ease;
}
.language-switch.is-open .language-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.language-menu a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 9px; font-weight: 800; }
.language-menu a:hover, .language-menu a.active { background: var(--soft); color: var(--blue); }

.hardware-console {
    position: relative;
    overflow: hidden;
    padding: 34px 0 42px;
    background:
        linear-gradient(90deg, rgba(22,102,217,.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(22,102,217,.05) 1px, transparent 1px),
        radial-gradient(circle at 76% 18%, rgba(39,181,216,.24), transparent 32%),
        radial-gradient(circle at 18% 18%, rgba(47,191,143,.13), transparent 28%),
        linear-gradient(180deg, #fbfdff 0%, #eaf5ff 100%);
    background-size: 42px 42px, 42px 42px, auto, auto, auto;
    border-bottom: 1px solid var(--line);
}
.hero-lab {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
    align-items: center;
    gap: 38px;
}
.hero-lab-copy {
    min-width: 0;
    padding: 8px 0;
}
.eyebrow {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.dark-section .eyebrow, .category-hero .eyebrow { color: #8fdfff; }
.hero-lab-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(32px, 4.2vw, 56px);
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--dark);
}
.hero-lab-copy p:not(.eyebrow) { max-width: 650px; margin: 0; color: #4d6380; font-size: 17px; line-height: 1.55; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 19px;
    border: 0;
    border-radius: 10px;
    font-weight: 900;
    cursor: pointer;
}
.btn-secondary { background: #fff; border: 1px solid var(--line); color: var(--dark); }
.hero-lab-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.hero-lab-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #cfe0f2;
    border-radius: 10px;
    background: rgba(255,255,255,.76);
    color: #4d6380;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(8,55,112,.07);
}
.hero-lab-points b { color: var(--blue); }
.hero-device-stage {
    position: relative;
    min-height: 430px;
    border: 1px solid rgba(22,102,217,.20);
    border-radius: 24px;
    background:
        radial-gradient(circle at 32% 24%, rgba(39,181,216,.25), transparent 24%),
        linear-gradient(145deg, rgba(255,255,255,.92), rgba(234,245,255,.72));
    box-shadow: 0 32px 90px rgba(8,55,112,.18);
    overflow: hidden;
}
.stage-grid {
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(22,102,217,.12);
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(22,102,217,.07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(22,102,217,.07) 1px, transparent 1px);
    background-size: 32px 32px;
}
.device-card {
    position: absolute;
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(207,224,242,.96);
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 24px 64px rgba(8,55,112,.16);
    backdrop-filter: blur(10px);
}
.device-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.device-card span {
    display: inline-flex;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 9px;
    background: #eef7ff;
    color: #143f74;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.device-card-main {
    z-index: 3;
    left: 12%;
    top: 46px;
    width: 58%;
    min-height: 230px;
}
.device-card-video {
    z-index: 4;
    right: 7%;
    top: 168px;
    width: 34%;
    min-height: 170px;
}
.device-card-sensor {
    z-index: 5;
    left: 8%;
    bottom: 54px;
    width: 30%;
    min-height: 142px;
}
.stage-panel {
    position: absolute;
    z-index: 6;
    right: 8%;
    bottom: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    width: min(420px, 72%);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    background: #061225;
    color: #fff;
    box-shadow: 0 18px 48px rgba(6,18,37,.26);
}
.stage-panel div { padding: 16px; background: rgba(255,255,255,.06); }
.stage-panel b, .stage-panel span { display: block; }
.stage-panel b { font-size: 20px; line-height: 1; }
.stage-panel span { margin-top: 7px; color: #a9c9e9; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.section { padding: 78px 0; }
.muted { background: #eef7ff; }
.section-head { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-head h2, .split h2, .contact-grid h2, .cta-wide h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -.04em;
    color: var(--dark);
}
.section-head p, .split p, .contact-grid p, .legal p, .result-card p, .hero-text { font-size: 18px; color: var(--muted); }
.cards { display: grid; gap: 16px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card, .info-panel, .result-card, .legal, .cta-wide {
    background: #fff;
    border: 1px solid #cfe0f2;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.product-card {
    display: flex;
    flex-direction: column;
    padding: 18px;
    min-width: 0;
    box-shadow: none;
}
.product-card:hover { border-color: rgba(22,102,217,.45); box-shadow: 0 16px 38px rgba(22,102,217,.12); }
.product-card>img { width: 100%; height: 136px; object-fit: contain; border-radius: 8px; background: linear-gradient(180deg,#fff,#f3f8ff); border: 1px solid var(--line); padding: 10px; }
.mini-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-top: 18px; border-radius: 10px; background: linear-gradient(135deg,#e7f3ff,#ddfff4); color: var(--blue); }
.product-card h3 { margin: 12px 0 8px; font-size: 21px; line-height: 1.15; color: var(--dark); }
.product-card p { margin: 0; color: var(--muted); }
.text-link { display: inline-flex; margin-top: auto; padding-top: 18px; color: var(--blue); font-weight: 900; }
.split, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; min-width: 0; }
.info-panel { padding: 28px; }
.list-check { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.list-check li { position: relative; padding-left: 31px; font-weight: 800; color: #263f61; }
.list-check li:before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.dark-section { background: linear-gradient(135deg,#061225,#071f3e 56%,#0d4f88); color: #fff; }
.dark-section h2 { color: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process-grid article { padding: 26px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; }
.process-grid span, .result-icon { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg,var(--cyan),var(--green)); color: #fff; font-weight: 900; }
.process-grid h3 { margin: 18px 0 8px; color: #fff; font-size: 23px; }
.process-grid p { margin: 0; color: #d7e6f8; }

.category-hero { padding: 58px 0; background: #061225; color: #fff; }
.category-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.85fr); gap: 42px; align-items: center; }
.breadcrumbs { margin: 0 0 16px; color: #a9c9e9; font-weight: 800; }
.breadcrumbs a { color: #fff; }
.category-hero h1 { margin: 0 0 20px; font-size: clamp(38px,5vw,66px); line-height: .96; letter-spacing: -.04em; }
.category-hero .hero-text { color: #d5e8fb; }
.category-visual { display: flex; align-items: center; justify-content: center; min-height: 330px; padding: 28px; border: 1px solid rgba(255,255,255,.15); background: linear-gradient(135deg,rgba(255,255,255,.10),rgba(39,181,216,.06)); }
.category-visual img { max-height: 280px; object-fit: contain; }
.video-terms-section { background: #fff; }
.video-term-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.video-term-grid article { padding: 22px; border: 1px solid #cfe0f2; border-radius: 10px; background: linear-gradient(180deg,#fff,#f7fbff); box-shadow: 0 14px 34px rgba(8,55,112,.08); }
.video-term-grid span { display: inline-flex; margin-bottom: 12px; padding: 7px 10px; border-radius: 999px; background: #eaf5ff; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.video-term-grid h3 { margin: 0 0 10px; color: var(--dark); font-size: 21px; line-height: 1.16; letter-spacing: 0; }
.video-term-grid p { margin: 0; color: var(--muted); font-weight: 700; line-height: 1.55; }
.device-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.device-detail-card { display: grid; grid-template-columns: 140px minmax(0,1fr); align-items: start; background: #fff; border: 1px solid #cfe0f2; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 34px rgba(8,55,112,.08); }
.device-detail-card-no-image { grid-template-columns: 1fr; }
.device-detail-card>img { width: 100%; height: 100%; min-height: 170px; object-fit: contain; padding: 14px; background: #f7fbff; border-right: 1px solid var(--line); }
.device-detail-copy { min-width: 0; padding: 20px 22px 16px; }
.device-detail-copy span { display: inline-flex; margin-bottom: 9px; padding-bottom: 6px; color: var(--blue); border-bottom: 2px solid rgba(0,102,255,.18); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.device-detail-copy h3 { max-width: 34rem; margin: 0 0 9px; color: var(--dark); font-size: clamp(18px,1.7vw,21px); line-height: 1.16; letter-spacing: 0; overflow-wrap: anywhere; text-wrap: balance; }
.device-detail-copy p { max-width: 42rem; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; font-weight: 700; }
.device-detail-card dl { grid-column: 1/-1; display: grid; margin: 0; border-top: 1px solid var(--line); }
.device-detail-card dl div { display: grid; grid-template-columns: minmax(150px,.34fr) minmax(0,1fr); gap: 16px; padding: 13px 18px; border-top: 1px solid #edf4fc; }
.device-detail-card dl div:first-child { border-top: 0; }
.device-detail-card dt { margin: 0; color: #5d718b; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.device-detail-card dd { margin: 0; color: #18314f; font-weight: 800; }
.spec-group-grid { display: grid; gap: 18px; }
.spec-table-card { padding: 24px; background: #fff; border: 1px solid #cfe0f2; border-radius: 10px; box-shadow: 0 14px 34px rgba(8,55,112,.08); }
.spec-table-card h2 { margin: 0 0 16px; font-size: 26px; color: var(--dark); }
.spec-table { display: grid; border: 1px solid var(--line); }
.spec-table div { display: grid; grid-template-columns: minmax(190px,.34fr) minmax(0,1fr); gap: 16px; padding: 13px 16px; border-top: 1px solid var(--line); }
.spec-table div:first-child { border-top: 0; }
.spec-table div:nth-child(even) { background: #f8fbff; }
.spec-table b { color: #263f61; }
.spec-table span { color: var(--muted); font-weight: 800; }
.feature-list { display: grid; gap: 12px; }
.feature-list div { padding: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; }
.feature-list b, .feature-list span { display: block; }
.feature-list span, .dark-section p { color: #d5e8fb; }

.contact-section { background: #fff; }
.contact-lines { display: grid; gap: 10px; margin-top: 22px; }
.contact-lines a { font-weight: 900; color: var(--blue); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: #334155; font-size: 13px; font-weight: 900; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 14px 15px; font: inherit; background: #f8fbff; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .wide { grid-column: 1/-1; }
.form-honey { position: absolute!important; left: -10000px!important; width: 1px!important; height: 1px!important; opacity: 0!important; }
.footer { padding: 52px 0 22px; background: linear-gradient(135deg,#061225,#071a35); color: #cbd5e1; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 32px; }
.footer-logo img { width: 260px; }
.footer h2 { margin: 0 0 14px; color: #fff; font-size: 16px; }
.footer a, .footer span { display: block; margin: 8px 0; color: #cbd5e1; }
.footer p { color: #9fb0c7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.page-hero { padding: 76px 0; background: linear-gradient(135deg,#fff,#f7fbff 52%,#e9f6ff); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 0 0 22px; font-size: clamp(38px,5.6vw,72px); line-height: .98; letter-spacing: -.05em; color: var(--dark); }
.legal, .result-card { max-width: 860px; padding: 38px; }
.legal h2 { margin: 30px 0 10px; color: var(--dark); font-size: 26px; line-height: 1.16; }
.legal h2:first-child { margin-top: 0; }
.result-card { margin: auto; }
.result-icon { margin-bottom: 20px; }
.cta-wide { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px; }
.cta-wide>div { min-width: 0; }
.legal-hero { min-height: 58vh; }
.legal-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 48px;
    align-items: center;
}
.legal-hero-copy { min-width: 0; }
.legal-hero-card {
    padding: 28px;
    background: #fff;
    border: 1px solid #cfe0f2;
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.legal-hero-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-size: 22px;
}
.legal-hero-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.legal-hero-card strong { display: block; margin-bottom: 18px; color: var(--dark); font-size: 22px; line-height: 1.2; }
.legal-hero-card ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.legal-hero-card li { position: relative; padding: 12px 12px 12px 36px; border: 1px solid var(--line); border-radius: 10px; background: #f8fbff; color: #263f61; font-weight: 800; }
.legal-hero-card li:before { content: "✓"; position: absolute; left: 13px; color: var(--green); font-weight: 900; }

@media (max-width: 1020px) {
    .hero-lab, .category-hero-grid { grid-template-columns: 1fr; }
    .hero-device-stage { min-height: 420px; }
    .cards.four, .device-detail-grid, .video-term-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .nav-wrap { align-items: flex-start; padding: 15px 0; }
    .menu-toggle { display: flex; }
    .nav {
        position: absolute;
        left: 4%;
        right: 4%;
        top: 74px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        padding: 14px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: var(--shadow);
    }
    .nav.is-open { display: flex; }
    .nav a, .language-current { justify-content: center; }
    .language-menu { left: 0; right: 0; }
}
@media (max-width: 820px) {
    .split, .contact-grid { grid-template-columns: 1fr; }
    .section, .page-hero { padding: 56px 0; }
    .process-grid, .footer-grid { grid-template-columns: 1fr; }
    .contact-form { grid-template-columns: 1fr; }
    .logo img { width: 220px; }
    .cta-wide { display: grid; }
    .cta-wide .btn { width: 100%; }
    .device-card-main { left: 8%; top: 42px; width: 66%; }
    .device-card-video { right: 6%; top: 205px; width: 38%; }
    .device-card-sensor { left: 7%; bottom: 78px; width: 34%; }
}
@media (max-width: 720px) {
    .hardware-console { padding: 34px 0 40px; }
    .hero-device-stage { min-height: auto; padding: 18px; display: grid; gap: 14px; }
    .stage-grid { display: none; }
    .device-card, .device-card-main, .device-card-video, .device-card-sensor, .stage-panel {
        position: relative;
        inset: auto;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        min-height: 0;
    }
    .device-card { grid-template-columns: 96px 1fr; align-items: center; }
    .device-card img { height: 96px; }
    .stage-panel { grid-template-columns: 1fr; }
    .cards.four, .device-detail-grid, .video-term-grid { grid-template-columns: 1fr; }
    .device-detail-card { grid-template-columns: 1fr; }
    .device-detail-card>img { border-right: 0; border-bottom: 1px solid var(--line); }
    .device-detail-card dl div, .spec-table div { grid-template-columns: 1fr; gap: 6px; }
    .category-visual { min-height: 240px; }
    .legal-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .footer-logo img { width: 220px; }
    .hero-lab-copy h1, .page-hero h1, .category-hero h1 { font-size: 34px; }
    .legal, .result-card { padding: 26px; }
}
