/* ============================================================
   FLIX Medical Robot Tech - style.css
   Dark high-end medical tech design system
   ============================================================ */

:root {
    --bg-0: #070b16;
    --bg-1: #0a101f;
    --bg-2: #0e1628;
    --bg-3: #121b31;
    --line: rgba(120, 160, 255, .14);
    --line-strong: rgba(120, 180, 255, .32);
    --cyan: #38e1ff;
    --blue: #2f7bff;
    --aqua: #4dd8ff;
    --grad: linear-gradient(135deg, #38e1ff 0%, #2f7bff 100%);
    --grad-soft: linear-gradient(135deg, rgba(56,225,255,.14), rgba(47,123,255,.10));
    --txt-1: #f2f6ff;
    --txt-2: #b9c4e0;
    --txt-3: #7c8bb0;
    --glow: 0 0 40px rgba(56, 225, 255, .18);
    --radius: 18px;
    --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
    font-family: var(--font);
    background: var(--bg-0);
    color: var(--txt-1);
    line-height: 1.65;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: rgba(56, 225, 255, .3); color: #fff; }

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: #1d2a4a; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #2a3d6e; }

/* ---------- layout ---------- */
.container { width: min(1240px, 92%); margin-inline: auto; }

/* ---------- headings ---------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }

.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--aqua);
    margin-bottom: 14px;
}
.sec-eyebrow::before {
    content: "";
    width: 34px; height: 2px;
    background: var(--grad);
    border-radius: 2px;
}

.sec-title { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.02em; }

.sec-sub { color: var(--txt-2); font-size: clamp(15px, 1.4vw, 17px); max-width: 640px; }

.section-head { margin-bottom: clamp(20px, 2.6vw, 32px); }
.section-head.center { text-align: center; }
.section-head.center .sec-eyebrow { justify-content: center; }
.section-head.center .sec-sub { margin-inline: auto; }

/* gradient text */
.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, color .3s;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.16);
    transform: translateX(-120%) skewX(-18deg);
    transition: transform .55s var(--ease);
}
.btn:hover::after { transform: translateX(120%) skewX(-18deg); }

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 30px -8px rgba(47, 123, 255, .55);
}
.btn-primary:hover { box-shadow: 0 16px 44px -8px rgba(56, 225, 255, .6); transform: translateY(-2px); }

.btn-outline {
    border: 1.5px solid var(--line-strong);
    color: var(--txt-1);
    background: rgba(56, 225, 255, .04);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

.btn-sm { padding: 10px 22px; font-size: 13.5px; }

.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* magnetic button ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.5), transparent 65%);
    transform: scale(0);
    animation: ripple .7s var(--ease) forwards;
    pointer-events: none;
}
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }

/* ---------- scroll progress ---------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: var(--grad);
    z-index: 2000;
    box-shadow: 0 0 12px rgba(56, 225, 255, .7);
}

/* ---------- cursor glow ---------- */
.cursor-glow {
    position: fixed;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 123, 255, .09) 0%, rgba(56, 225, 255, .045) 38%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity .4s;
    opacity: 0;
}
body.glow-on .cursor-glow { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background .4s, box-shadow .4s, backdrop-filter .4s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(7, 11, 22, .82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 40px -18px rgba(0, 0, 0, .8);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 20px;
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
    display: grid;
    place-items: center;
    filter: drop-shadow(0 0 10px rgba(56, 225, 255, .45));
    animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(56,225,255,.35)); }
    50%      { filter: drop-shadow(0 0 16px rgba(56,225,255,.75)); }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 22px; font-weight: 800; letter-spacing: .14em; }
.brand-text small { font-size: 10px; letter-spacing: .34em; color: var(--txt-3); text-transform: uppercase; }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
    position: relative;
    display: block;
    padding: 10px 15px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--txt-2);
    transition: color .3s;
    overflow: hidden;
}
.main-nav a span { position: relative; z-index: 1; }
.main-nav a::before {
    content: "";
    position: absolute;
    inset: 4px 8px;
    background: var(--grad-soft);
    border-radius: 10px;
    opacity: 0;
    transform: scale(.85);
    transition: opacity .3s, transform .35s var(--ease);
}
.main-nav a:hover::before, .main-nav a.active::before {
    opacity: 1;
    transform: scale(1);
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active span::after {
    content: "";
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%; height: 2px;
    background: var(--grad);
    border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.03);
    transition: border-color .3s;
}
.nav-toggle span {
    width: 20px; height: 2px;
    background: var(--txt-1);
    border-radius: 2px;
    transition: transform .35s var(--ease), opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 14, .7);
    backdrop-filter: blur(4px);
    z-index: 990;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s;
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    position: relative;
    background: var(--bg-1);
    border-top: 1px solid var(--line);
    padding: 70px 0 30px;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: -160px; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 300px;
    background: radial-gradient(ellipse, rgba(47, 123, 255, .12), transparent 65%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 44px;
    position: relative;
}
.footer-col h4 {
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--txt-3);
    margin-bottom: 20px;
    font-weight: 700;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a {
    color: var(--txt-2);
    font-size: 14.5px;
    transition: color .3s, padding-left .3s;
    position: relative;
}
.footer-col ul a::before {
    content: "→";
    position: absolute;
    left: -16px;
    color: var(--cyan);
    opacity: 0;
    transition: opacity .3s, left .3s;
}
.footer-col ul a:hover { color: #fff; padding-left: 6px; }
.footer-col ul a:hover::before { opacity: 1; left: -14px; }

.footer-note { color: var(--txt-3); font-size: 14px; margin: 16px 0 12px; max-width: 300px; }
.footer-mail {
    color: var(--cyan);
    font-weight: 600;
    font-size: 14.5px;
    transition: text-shadow .3s;
}
.footer-mail:hover { text-shadow: 0 0 18px rgba(56, 225, 255, .6); }

.footer-contact p { color: var(--txt-3); font-size: 14px; margin-bottom: 16px; }

.footer-bottom {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--txt-3);
    font-size: 13.5px;
}
.footer-slogan { color: var(--txt-2); font-weight: 600; letter-spacing: .06em; }

/* ---------- back to top ---------- */
.back-to-top {
    position: fixed;
    right: 26px; bottom: 30px;
    width: 46px; height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bg-3);
    border: 1px solid var(--line-strong);
    color: var(--txt-1);
    z-index: 900;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity .35s, transform .35s var(--ease), background .3s, color .3s;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--grad); border-color: transparent; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 90px) 0 80px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 55% at 75% 30%, rgba(47, 123, 255, .16), transparent 60%),
        radial-gradient(ellipse 45% 45% at 12% 85%, rgba(56, 225, 255, .10), transparent 60%),
        var(--bg-1);
    border-bottom: 1px solid var(--line);
}
.page-hero .grid-bg { position: absolute; inset: 0; opacity: .5; }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(34px, 5.2vw, 64px); font-weight: 800; margin: 12px 0 16px; }
.page-hero p { color: var(--txt-2); max-width: 640px; font-size: 16.5px; }

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--txt-3);
    letter-spacing: .08em;
}
.breadcrumb a { color: var(--aqua); transition: color .3s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: var(--txt-3); opacity: .6; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
}
.reveal.fade-left { transform: translateX(-48px); }
.reveal.fade-right { transform: translateX(48px); }
.reveal.zoom-in { transform: scale(.88); }
.reveal.in-view { opacity: 1; transform: none; }

/* stagger helper */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.stagger > *:nth-child(1) { transition-delay: .05s; }
.stagger > *:nth-child(2) { transition-delay: .15s; }
.stagger > *:nth-child(3) { transition-delay: .25s; }
.stagger > *:nth-child(4) { transition-delay: .35s; }
.stagger > *:nth-child(5) { transition-delay: .45s; }
.stagger > *:nth-child(6) { transition-delay: .55s; }
.stagger.in-view > * { opacity: 1; transform: none; }

/* ============================================================
   TILT CARDS & EFFECTS
   ============================================================ */
.tilt {
    transform-style: preserve-3d;
    transition: transform .35s var(--ease);
}

.glow-card {
    position: relative;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.glow-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(56,225,255,.65), transparent 40%, transparent 60%, rgba(47,123,255,.6));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .45s;
    pointer-events: none;
}
.glow-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-6px);
    box-shadow: var(--glow), 0 24px 60px -30px rgba(47, 123, 255, .5);
}
.glow-card:hover::before { opacity: 1; }

/* spotlight hover for media */
.spotlight {
    position: relative;
    overflow: hidden;
}
.spotlight::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 225, 255, .16), transparent 45%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
    mix-blend-mode: screen;
}
.spotlight:hover::after { opacity: 1; }

/* image zoom on hover */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform .8s var(--ease); }
.img-zoom:hover img { transform: scale(1.07); }

/* ============================================================
   HOME HERO (single-page scrolling home)
   ============================================================ */
.home-hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 56px) 0 90px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 60% at 78% 30%, rgba(47, 123, 255, .14), transparent 60%),
        var(--bg-1);
    border-bottom: 1px solid var(--line);
}
.home-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.home-hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.home-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(7, 11, 22, .97) 8%, rgba(7, 11, 22, .82) 45%, rgba(7, 11, 22, .5) 100%),
        linear-gradient(0deg, rgba(7, 11, 22, .55), transparent 40%);
}
.home-hero .container { position: relative; z-index: 2; }

/* ============================================================
   FULLPAGE (Home one-screen-per-page) — retained for legacy
   ============================================================ */
body.fullpage-mode { overflow: hidden; height: 100vh; }
.fp-wrap { height: 100vh; overflow: hidden; position: relative; }
.fp-viewport { height: 100%; transition: transform .9s var(--ease); will-change: transform; }
.fp-section {
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-h) + 16px) 0 32px;
}
.fp-dots {
    position: fixed;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 950;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.fp-dots button {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: rgba(150, 180, 240, .35);
    position: relative;
    transition: background .3s, transform .3s;
}
.fp-dots button::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    transition: border-color .3s;
}
.fp-dots button.active { background: var(--cyan); transform: scale(1.25); box-shadow: 0 0 12px rgba(56,225,255,.8); }
.fp-dots button.active::after { border-color: rgba(56, 225, 255, .5); }

.fp-arrows {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 950;
    display: flex;
    gap: 10px;
}
.fp-arrows button {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(10, 16, 31, .7);
    display: grid;
    place-items: center;
    color: var(--txt-1);
    transition: background .3s, border-color .3s, transform .3s;
}
.fp-arrows button:hover { background: var(--grad); border-color: transparent; transform: translateY(-2px); }
.fp-arrows button:disabled { opacity: .35; pointer-events: none; }

/* section active animations */
.fp-section .fp-anim {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fp-section.active .fp-anim { opacity: 1; transform: none; }
.fp-section.active .fp-anim.d1 { transition-delay: .12s; }
.fp-section.active .fp-anim.d2 { transition-delay: .24s; }
.fp-section.active .fp-anim.d3 { transition-delay: .36s; }
.fp-section.active .fp-anim.d4 { transition-delay: .48s; }
.fp-section.active .fp-anim.d5 { transition-delay: .6s; }

.fp-section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.fp-section-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 1.6s var(--ease);
}
.fp-section.active .fp-section-bg img { transform: scale(1); }
.fp-section-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(7, 11, 22, .96) 8%, rgba(7, 11, 22, .78) 45%, rgba(7, 11, 22, .45) 100%),
        linear-gradient(0deg, rgba(7, 11, 22, .55), transparent 40%);
}
.fp-section-bg.dim::after {
    background: linear-gradient(0deg, rgba(7, 11, 22, .88) 4%, rgba(7, 11, 22, .5) 50%, rgba(7, 11, 22, .72) 100%);
}

.fp-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-height: calc(100vh - var(--header-h) - 64px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.fp-inner::-webkit-scrollbar { display: none; }

/* ---------- Home: section 1 hero ---------- */
.hero-canvas { position: absolute; inset: 0; z-index: 1; }
.hero-content { position: relative; z-index: 3; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(56, 225, 255, .07);
    color: var(--aqua);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.hero-badge .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.hero-title {
    font-size: clamp(34px, 4.6vw, 60px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.03em;
    margin: 18px 0 6px;
}
.hero-type {
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 600;
    color: var(--txt-2);
    min-height: 1.6em;
    margin-bottom: 20px;
}
.hero-type .caret {
    display: inline-block;
    width: 2.5px;
    height: 1em;
    background: var(--cyan);
    vertical-align: -2px;
    margin-left: 4px;
    animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-desc { color: var(--txt-2); max-width: 560px; font-size: 16px; margin-bottom: 26px; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 30px; margin-top: 28px; flex-wrap: wrap; }
.hero-stat .num {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.hero-stat .lbl { font-size: 12.5px; color: var(--txt-3); letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }

.hero-visual { position: relative; }
.hero-visual-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(10, 16, 31, .72);
    backdrop-filter: blur(8px);
    color: var(--txt-2);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.hero-visual-tag::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}
.hero-visual .img-frame {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 100px -40px rgba(47, 123, 255, .55);
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
    transition: transform .7s var(--ease);
}
.hero-visual .img-frame img { width: 100%; height: auto; display: block; }
.hero-visual:hover .img-frame { transform: perspective(1200px) rotateY(0) rotateX(0); }
.hero-visual .img-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, transparent 40%, rgba(56, 225, 255, .14) 100%);
}
.hero-orb {
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 225, 255, .28), transparent 65%);
    top: -50px; right: -40px;
    filter: blur(10px);
    animation: float 7s ease-in-out infinite;
    z-index: -1;
}
.hero-orb.b { width: 150px; height: 150px; bottom: -30px; left: -40px; top: auto; right: auto; background: radial-gradient(circle, rgba(47, 123, 255, .3), transparent 65%); animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }

.hero-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--txt-3);
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
}
.hero-scroll-hint .mouse {
    width: 24px; height: 38px;
    border: 1.6px solid var(--line-strong);
    border-radius: 14px;
    position: relative;
}
.hero-scroll-hint .mouse::before {
    content: "";
    position: absolute;
    top: 7px; left: 50%;
    width: 3.5px; height: 8px;
    margin-left: -1.75px;
    border-radius: 3px;
    background: var(--cyan);
    animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------- Home: product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-card {
    padding: 26px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}
.prod-card .pc-img {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
    transform: translateZ(28px);
}
.prod-card .pc-img img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.prod-card:hover .pc-img img { transform: scale(1.05); }
.prod-card .pc-tag {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: rgba(56, 225, 255, .1);
    color: var(--aqua);
    border: 1px solid rgba(56, 225, 255, .3);
    margin-bottom: 14px;
    align-self: flex-start;
}
.prod-card h3 { font-size: 20px; margin-bottom: 8px; transform: translateZ(20px); }
.prod-card p {
    color: var(--txt-2);
    font-size: 13.5px;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.prod-card .link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-weight: 700;
    font-size: 14.5px;
}
.prod-card .link-more .arr { transition: transform .35s var(--ease); }
.prod-card:hover .link-more .arr { transform: translateX(5px); }

/* ---------- Home: services mini ---------- */
.svc-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.svc-mini-card { padding: 16px 14px; height: 100%; }
.svc-mini-card .icon-wrap {
    width: 42px; height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--grad-soft);
    border: 1px solid var(--line-strong);
    color: var(--cyan);
    margin-bottom: 12px;
    transition: background .4s, color .4s, transform .4s var(--ease);
}
.svc-mini-card:hover .icon-wrap { background: var(--grad); color: #fff; transform: rotate(-8deg) scale(1.08); box-shadow: 0 10px 26px -10px rgba(56,225,255,.6); }
.svc-mini-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.svc-mini-card p {
    color: var(--txt-2);
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Home: product demo stage ---------- */
.demo-stage-link {
    display: block;
    position: relative;
}
.demo-stage-link:hover .demo-stage { border-color: var(--cyan); box-shadow: 0 44px 110px -45px rgba(56, 225, 255, .65); }
.demo-stage {
    position: relative;
    width: min(960px, 100%);
    margin-inline: auto;
    aspect-ratio: 21 / 9;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 100px -45px rgba(47, 123, 255, .55);
    transition: border-color .4s, box-shadow .5s;
}
.demo-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px auto 0;
    color: var(--cyan);
    font-size: 14.5px;
    font-weight: 700;
}
.demo-more .arr { transition: transform .35s var(--ease); }
.demo-stage-link:hover .demo-more .arr { transform: translateX(5px); }
.demo-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(7, 11, 22, .72) 0%, transparent 40%),
        linear-gradient(180deg, rgba(7, 11, 22, .35) 0%, transparent 30%);
}
.demo-badge {
    position: absolute;
    top: 18px; left: 18px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(7, 11, 22, .68);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line-strong);
    color: var(--txt-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.demo-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 76px; height: 76px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 0 0 10px rgba(56, 225, 255, .14), 0 18px 44px -12px rgba(56, 225, 255, .7);
    transition: transform .4s var(--ease), box-shadow .4s;
}
.demo-play svg { margin-left: 4px; }
.demo-play:hover { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 16px rgba(56, 225, 255, .18), 0 22px 54px -12px rgba(56, 225, 255, .85); }
.demo-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0 20px 18px;
}
.demo-caption .dc-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 22px;
    font-size: 13.5px;
    color: var(--txt-2);
    background: rgba(7, 11, 22, .6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-right: none;
    white-space: nowrap;
}
.demo-caption .dc-item:first-child { border-radius: 999px 0 0 999px; padding-left: 26px; }
.demo-caption .dc-item:last-child { border-radius: 0 999px 999px 0; border-right: 1px solid var(--line); padding-right: 26px; }
.demo-caption .dc-item b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Home: about strip ---------- */
.about-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}
.about-strip .img-frame {
    position: relative;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: 0 34px 80px -40px rgba(47, 123, 255, .5);
}
.about-strip .img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-strip .img-frame .exp-chip {
    position: absolute;
    left: 20px; bottom: 20px;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(10, 16, 31, .85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    gap: 12px;
}
.about-strip .img-frame .exp-chip .n { font-size: 26px; font-weight: 800; color: var(--cyan); font-variant-numeric: tabular-nums; }
.about-strip .img-frame .exp-chip .t { font-size: 12px; color: var(--txt-2); line-height: 1.3; }
.about-points { margin: 18px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.about-points li { display: flex; gap: 11px; align-items: flex-start; color: var(--txt-2); font-size: 14.5px; }
.about-points li svg { flex-shrink: 0; margin-top: 3px; filter: drop-shadow(0 0 6px rgba(56,225,255,.6)); }

/* ---------- Home: goal mini ---------- */
.goal-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.goal-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 205px;
    display: flex;
    align-items: flex-end;
    border: 1px solid var(--line);
    transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.goal-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.goal-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,11,22,.94) 8%, rgba(7,11,22,.25) 55%, rgba(7,11,22,.4) 100%); }
.goal-card .gc-body { position: relative; z-index: 2; padding: 28px; transform: translateY(8px); transition: transform .5s var(--ease); }
.goal-card .gc-tag {
    font-size: 11px; font-weight: 800; letter-spacing: .26em;
    text-transform: uppercase; color: var(--cyan);
}
.goal-card h3 { font-size: 22px; margin: 8px 0 8px; }
.goal-card p { color: var(--txt-2); font-size: 14px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .5s; }
.goal-card:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: var(--glow); }
.goal-card:hover img { transform: scale(1.09); }
.goal-card:hover p { max-height: 130px; opacity: 1; }
.goal-card:hover .gc-body { transform: translateY(0); }

/* home goal stats strip */
.goal-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 18px;
    padding: 14px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(14, 22, 40, .55);
    backdrop-filter: blur(8px);
}
.goal-stats .gs-item { text-align: center; position: relative; }
.goal-stats .gs-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -8px; top: 12%;
    height: 76%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}
.goal-stats .gs-num { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; font-variant-numeric: tabular-nums; }
.goal-stats .gs-lbl { font-size: 12px; color: var(--txt-3); letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }

/* ---------- Home: news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card { padding: 26px 24px; height: 100%; display: flex; flex-direction: column; }
.news-card .nc-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.news-card .nc-date {
    width: 56px; height: 60px;
    border-radius: 12px;
    background: var(--grad-soft);
    border: 1px solid var(--line-strong);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.05;
    flex-shrink: 0;
}
.news-card .nc-date .d { font-size: 21px; font-weight: 800; color: var(--cyan); }
.news-card .nc-date .m { font-size: 10px; letter-spacing: .14em; color: var(--txt-3); text-transform: uppercase; }
.news-card .nc-cat {
    font-size: 11px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--txt-3);
    border: 1px solid var(--line);
    padding: 4px 10px;
    border-radius: 999px;
}
.news-card h3 { font-size: 16.5px; line-height: 1.4; margin-bottom: 10px; }
.news-card h3 a { transition: color .3s; }
.news-card h3 a:hover { color: var(--cyan); }
.news-card p { color: var(--txt-2); font-size: 13.5px; flex: 1; }

/* ============================================================
   INNER PAGE SECTIONS
   ============================================================ */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section.alt { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.alt-2 { background: radial-gradient(ellipse 55% 50% at 85% 10%, rgba(47,123,255,.12), transparent 60%), var(--bg-0); }

/* product detail blocks */
.prod-block { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; margin-bottom: 30px; }
.prod-block.reverse { direction: rtl; }
.prod-block > * { direction: ltr; }
.prod-block .pb-visual { position: relative; }
.prod-block .pb-visual .frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -45px rgba(47,123,255,.55); }
.prod-block .pb-visual .frame img { width: 100%; }
.prod-block .pb-model {
    position: absolute;
    top: 20px; left: 20px;
    font-size: 13px; font-weight: 800;
    letter-spacing: .2em;
    color: #fff;
    background: rgba(7, 11, 22, .72);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
}
.prod-block h2 { font-size: clamp(26px, 3vw, 38px); margin: 10px 0 14px; }
.prod-block .pb-lead { color: var(--txt-2); font-size: 15.5px; margin-bottom: 22px; }

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 11px 4px; font-size: 14px; vertical-align: top; }
.spec-table td:first-child { color: var(--txt-3); width: 42%; font-weight: 600; }
.spec-table td:last-child { color: var(--txt-1); font-weight: 500; }

.feature-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 6px; }
.feature-tags span {
    font-size: 12.5px;
    color: var(--txt-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
    background: rgba(255,255,255,.02);
    transition: border-color .3s, color .3s, box-shadow .3s;
}
.feature-tags span:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 14px rgba(56,225,255,.25); }

/* workflow steps - timeline flow (no cards) */
.workflow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px 0;
    counter-reset: wf;
}
.workflow .wf-item {
    position: relative;
    padding: 10px 30px;
    text-align: center;
}
.workflow .wf-num {
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: .9;
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 40px rgba(56, 225, 255, .25);
}
.workflow .wf-item h3 { font-size: 16px; margin-bottom: 7px; }
.workflow .wf-item p { color: var(--txt-2); font-size: 13px; max-width: 300px; margin-inline: auto; }
/* horizontal connector between steps in a row */
.workflow .wf-item:not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    top: 34px; right: -14px;
    width: 28px; height: 2px;
    background: linear-gradient(90deg, rgba(56, 225, 255, .65), rgba(47, 123, 255, .2));
    border-radius: 2px;
}
.workflow .wf-item:not(:nth-child(3n))::before {
    content: "";
    position: absolute;
    top: 29px; right: -20px;
    width: 8px; height: 8px;
    border-top: 2px solid var(--cyan);
    border-right: 2px solid var(--cyan);
    transform: rotate(45deg);
    opacity: .8;
}
/* vertical connector between rows */
.workflow .wf-item:nth-child(3n):not(:last-child)::after {
    content: "";
    position: absolute;
    top: auto; right: auto;
    left: 50%; bottom: -28px;
    width: 2px; height: 26px;
    background: linear-gradient(180deg, rgba(56, 225, 255, .5), transparent);
}
.workflow .wf-item:nth-child(3n):not(:last-child)::before {
    content: "";
    position: absolute;
    top: auto; right: auto;
    left: calc(50% - 4px); bottom: -34px;
    width: 8px; height: 8px;
    border-left: 2px solid var(--cyan);
    border-bottom: 2px solid var(--cyan);
    transform: rotate(-45deg);
    opacity: .8;
}

/* equipment features - split layout: visual + list */
.equip-wrap {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 54px;
    align-items: center;
}
.equip-visual { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 36px 80px -45px rgba(47, 123, 255, .55); }
.equip-visual img { width: 100%; display: block; }
.equip-list { display: flex; flex-direction: column; gap: 0; }
.el-item {
    display: flex;
    gap: 18px;
    padding: 17px 4px;
    border-bottom: 1px solid var(--line);
    transition: padding-left .35s var(--ease), border-color .3s;
}
.el-item:last-child { border-bottom: none; }
.el-item:hover { padding-left: 10px; border-color: var(--line-strong); }
.el-item .eq-icon {
    width: 44px; height: 44px;
    border-radius: 13px;
    flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--grad-soft);
    border: 1px solid var(--line-strong);
    color: var(--cyan);
    transition: transform .35s var(--ease), background .35s, color .35s;
}
.el-item:hover .eq-icon { transform: translateY(-3px) scale(1.05); background: var(--grad); color: #fff; }
.el-item h3 { font-size: 15.5px; margin-bottom: 4px; }
.el-item p { color: var(--txt-2); font-size: 13px; }

/* solutions - horizontal progress track */
.sol-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    padding-top: 14px;
}
.sol-line {
    position: absolute;
    top: 45px; left: 8%; right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(56, 225, 255, .55) 12%, rgba(56, 225, 255, .55) 88%, transparent);
}
.sol-node { text-align: center; position: relative; padding: 0 8px; }
.sol-node .sn-dot {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 18px; font-weight: 800;
    color: var(--cyan);
    border: 2px solid var(--line-strong);
    background: var(--bg-1);
    position: relative;
    z-index: 2;
    font-variant-numeric: tabular-nums;
    transition: background .4s, color .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.sol-node:hover .sn-dot { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-4px); box-shadow: 0 14px 34px -10px rgba(56, 225, 255, .6); }
.sol-node h3 { font-size: 15.5px; margin-bottom: 8px; line-height: 1.35; }
.sol-node p { color: var(--txt-2); font-size: 13px; }

/* features 2x2 grid with big numbers */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feat-card { padding: 34px 32px; height: 100%; text-align: left; position: relative; }
.feat-card .fc-num {
    position: absolute;
    top: 26px; right: 30px;
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, rgba(56, 225, 255, .35), rgba(47, 123, 255, .12));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}
.feat-card .fc-icon {
    width: 58px; height: 58px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--grad-soft);
    border: 1px solid var(--line-strong);
    color: var(--cyan);
    margin-bottom: 20px;
    transition: transform .4s var(--ease), background .4s, color .4s, box-shadow .4s;
}
.feat-card:hover .fc-icon { transform: scale(1.1) rotate(6deg); background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(56,225,255,.6); }
.feat-card h3 { font-size: 18px; margin-bottom: 9px; padding-right: 60px; }
.feat-card p { color: var(--txt-2); font-size: 14px; }

/* services page: 6-grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { padding: 32px 28px; height: 100%; }
.svc-card .sc-icon {
    width: 62px; height: 62px;
    border-radius: 18px;
    display: grid; place-items: center;
    background: var(--grad-soft);
    border: 1px solid var(--line-strong);
    color: var(--cyan);
    margin-bottom: 22px;
    transition: transform .45s var(--ease), background .45s, color .45s, box-shadow .45s;
}
.svc-card:hover .sc-icon { transform: rotate(-8deg) scale(1.1); background: var(--grad); color: #fff; box-shadow: 0 14px 34px -12px rgba(56,225,255,.6); }
.svc-card h3 { font-size: 18px; margin-bottom: 10px; }
.svc-card p { color: var(--txt-2); font-size: 14px; }

/* quality services (image cards) */
.quality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quality-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; }
.quality-card img.qc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.quality-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,11,22,.95) 5%, rgba(7,11,22,.3) 60%, rgba(7,11,22,.45)); }
.quality-card .qc-body { position: relative; z-index: 2; padding: 28px; }
.quality-card .qc-badge {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: rgba(10,16,31,.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line-strong);
    display: grid; place-items: center;
    padding: 8px;
    margin-bottom: 18px;
    transition: transform .45s var(--ease);
}
.quality-card .qc-badge img { width: 100%; }
.quality-card h3 { font-size: 19px; margin-bottom: 10px; }
.quality-card p { color: var(--txt-2); font-size: 13.5px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .5s; }
.quality-card:hover { transform: translateY(-8px); box-shadow: var(--glow); border-color: var(--line-strong); }
.quality-card:hover img.qc-bg { transform: scale(1.09); }
.quality-card:hover .qc-badge { transform: rotate(-8deg) scale(1.08); }
.quality-card:hover p { max-height: 90px; opacity: 1; }

/* support strip */
.support-strip {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    padding: clamp(34px, 5vw, 60px);
    background:
        radial-gradient(ellipse 60% 90% at 85% 0%, rgba(56, 225, 255, .14), transparent 60%),
        radial-gradient(ellipse 50% 80% at 10% 100%, rgba(47, 123, 255, .16), transparent 60%),
        var(--bg-2);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
}
.support-strip .ss-365 {
    font-size: clamp(44px, 5.5vw, 72px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
}
.support-strip p { color: var(--txt-2); max-width: 560px; }
.support-strip .ss-365 small { display: block; font-size: 13px; letter-spacing: .3em; color: var(--cyan); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }

/* benefits */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-card { padding: 30px 24px; height: 100%; }
.benefit-card .b-num {
    font-size: 30px; font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
    margin-bottom: 12px;
}
.benefit-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.benefit-card p { color: var(--txt-2); font-size: 13.5px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-main { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.about-main .am-img { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -45px rgba(47,123,255,.5); }
.about-main .am-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(7,11,22,.5)); }
.about-points { margin: 24px 0 30px; }

/* goal section */
.goal-section { position: relative; overflow: hidden; }
.goal-heading { text-align: center; max-width: 800px; margin: 0 auto 50px; font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; line-height: 1.3; }
.goal-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 56px; }
.goal-tags span {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.025);
    color: var(--txt-2);
    font-size: 13.5px;
    font-weight: 600;
    transition: border-color .3s, color .3s, transform .3s, box-shadow .3s;
}
.goal-tags span:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-3px); box-shadow: 0 8px 24px -10px rgba(56,225,255,.4); }

/* core values */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value-card { padding: 28px 20px; text-align: center; height: 100%; }
.value-card .v-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--grad-soft);
    border: 1px solid var(--line-strong);
    color: var(--cyan);
    transition: transform .4s var(--ease), background .4s, color .4s, box-shadow .4s;
}
.value-card:hover .v-icon { transform: translateY(-5px) scale(1.08); background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(56,225,255,.6); }
.value-card h3 { font-size: 15.5px; }

/* jobs */
.job-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.job-card { padding: 0; display: flex; flex-direction: column; }
.job-card .jc-head { padding: 28px 28px 22px; display: flex; gap: 18px; align-items: flex-start; }
.job-card .jc-icon {
    width: 54px; height: 54px;
    border-radius: 15px;
    flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--grad-soft);
    border: 1px solid var(--line-strong);
    color: var(--cyan);
}
.job-card h3 { font-size: 19px; margin-bottom: 6px; }
.job-card .jc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--txt-3); }
.job-card .jc-meta b { color: var(--txt-2); font-weight: 600; }
.job-card .jc-toggle {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 28px;
    border-top: 1px solid var(--line);
    color: var(--cyan);
    font-weight: 700;
    font-size: 14px;
    transition: background .3s;
}
.job-card .jc-toggle:hover { background: rgba(56,225,255,.05); }
.job-card .jc-toggle .plus { font-size: 20px; transition: transform .4s var(--ease); font-weight: 400; }
.job-card.open .jc-toggle .plus { transform: rotate(45deg); }
.job-card .jc-detail { max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.job-card.open .jc-detail { max-height: 1400px; }
.job-card .jc-body { padding: 0 28px 26px; }
.job-card .jc-body h4 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); margin: 18px 0 10px; }
.job-card .jc-body ol { list-style: decimal; padding-left: 20px; }
.job-card .jc-body li { color: var(--txt-2); font-size: 13.5px; margin-bottom: 8px; padding-left: 4px; }

/* contact */
.contact-wrap {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 50px;
    align-items: center;
}
.contact-wrap .cw-visual { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -45px rgba(47,123,255,.55); min-height: 380px; }
.contact-wrap .cw-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.contact-wrap .cw-visual:hover img { transform: scale(1.06); }
.contact-wrap .cw-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,11,22,.6), transparent 55%); }
.contact-mail-card {
    padding: 40px 36px;
    text-align: center;
}
.contact-mail-card .cm-icon {
    width: 74px; height: 74px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 16px 44px -12px rgba(56,225,255,.6);
    animation: breathe 4s ease-in-out infinite;
}
.contact-mail-card h2 { font-size: 26px; margin-bottom: 10px; }
.contact-mail-card p { color: var(--txt-2); font-size: 14.5px; margin-bottom: 24px; }
.contact-mail-card .mail-big {
    display: inline-block;
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 26px;
    transition: text-shadow .3s;
    letter-spacing: .01em;
}
.contact-mail-card .mail-big:hover { text-shadow: 0 0 24px rgba(56,225,255,.7); }
.contact-mail-card .cm-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.025);
    color: var(--txt-3);
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-height: 820px) and (min-width: 901px) {
    /* short viewports: compress home screens so each fits one screen
       (prevents fp-inner inner-scroll that swallows first wheel) */
    .fp-section { padding: calc(var(--header-h) + 10px) 0 20px; }
    .fp-inner { max-height: calc(100vh - var(--header-h) - 40px); }
    .fp-section .section-head { margin-bottom: 22px; }

    /* screen 1 hero */
    #screen-hero .hero-title { font-size: clamp(30px, 4vw, 48px); }
    #screen-hero .hero-stats { margin-top: 18px; }
    #screen-hero .hero-desc { margin-bottom: 18px; }
    #screen-hero .hero-visual { max-width: 430px; }

    /* screen 2 products */
    #screen-product .pc-img img { max-height: 185px; }
    #screen-product .prod-card { padding: 18px 16px; }

    /* screen 3 demo stage */
    #screen-demo .demo-stage { width: min(860px, 100%); }
    #screen-demo .sec-title { font-size: clamp(26px, 3vw, 38px); }

    /* screen 4 services */
    #screen-services .svc-mini-card { padding: 12px 10px; }
    #screen-services .svc-mini-card .icon-wrap { width: 36px; height: 36px; margin-bottom: 8px; }
    #screen-services .svc-mini-card h3 { font-size: 14px; }
    #screen-services .svc-mini-card p { font-size: 12px; }

    /* screen 5 about */
    #screen-about .about-strip .img-frame { height: 370px; }

    /* screen 6 goal */
    #screen-goal .goal-card { min-height: 185px; }
    #screen-goal .goal-stats { padding: 10px 16px; }
    #screen-goal .goal-stats .gs-num { font-size: clamp(20px, 2.4vw, 28px); }
}

@media (max-width: 1100px) {
    .hero-content { grid-template-columns: 1fr; gap: 34px; }
    .hero-visual { max-width: 560px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .feat-grid { grid-template-columns: 1fr; }
    .equip-wrap { grid-template-columns: 1fr; gap: 40px; }
    .sol-track { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .sol-line { display: none; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .about-strip { grid-template-columns: 1fr; gap: 40px; }
    .prod-block { grid-template-columns: 1fr; gap: 36px; }
    .contact-wrap { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .support-strip { grid-template-columns: 1fr; }
    .goal-cards, .svc-mini, .quality-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    /* ---- fullpage degrades to natural scrolling on touch devices ---- */
    body.fullpage-mode { overflow: auto; height: auto; }
    .fp-wrap { height: auto; overflow: visible; }
    .fp-viewport { height: auto; transform: none !important; transition: none; }
    .fp-section { height: auto; min-height: 100svh; overflow: visible; padding: calc(var(--header-h) + 30px) 0 50px; }
    .fp-section .fp-anim { opacity: 1; transform: none; }
    .fp-section-bg img { transform: scale(1); }
    .fp-inner { max-height: none; overflow: visible; }
    .hero-orb { display: none; }
    .hero-visual .img-frame { transform: none; }
    .reveal.fade-left, .reveal.fade-right { transform: translateY(24px); }
    .fp-dots, .fp-arrows, .hero-scroll-hint { display: none; }
    .main-nav {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: min(340px, 84vw);
        background: rgba(8, 13, 26, .97);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--line);
        transform: translateX(105%);
        transition: transform .5s var(--ease);
        z-index: 999;
        padding: 110px 30px 40px;
        overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); box-shadow: -30px 0 80px rgba(0,0,0,.6); }
    .main-nav ul { flex-direction: column; gap: 6px; }
    .main-nav a { font-size: 17px; padding: 13px 16px; }
    .nav-toggle { display: flex; }
    .header-actions .btn { display: none; }
    .fp-dots { right: 14px; }
    .hero-title { font-size: clamp(34px, 9vw, 52px); }
    .hero-stats { gap: 24px; }
    .workflow { grid-template-columns: 1fr; gap: 26px 0; }
    .workflow .wf-item::before, .workflow .wf-item::after { display: none !important; }
    .prod-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

@media (max-width: 640px) {
    :root { --header-h: 66px; }
    .home-hero { min-height: auto; padding: calc(var(--header-h) + 40px) 0 64px; }
    .hero-visual .img-frame img { max-height: none; }
    .fp-section { min-height: 0; height: auto; padding: calc(var(--header-h) + 24px) 0 44px; }
    .svc-grid, .feat-grid, .benefit-grid,
    .news-grid, .goal-cards, .svc-mini, .quality-grid,
    .sol-track, .job-list, .values-grid, .workflow, .prod-grid, .equip-wrap { grid-template-columns: 1fr; }
    .demo-caption { flex-direction: column; align-items: center; gap: 8px; }
    .demo-caption .dc-item { border-radius: 999px !important; border: 1px solid var(--line) !important; padding: 8px 20px !important; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .page-hero { padding: calc(var(--header-h) + 64px) 0 56px; }
    .section { padding: 64px 0; }
    .hero-ctas .btn { width: 100%; }
    .fp-arrows { display: none; }
    .support-strip { text-align: center; }
    .goal-stats { grid-template-columns: repeat(2, 1fr); row-gap: 26px; padding: 24px 18px; }
    .goal-stats .gs-item:nth-child(2)::after { display: none; }
    .back-to-top { right: 16px; bottom: 18px; width: 42px; height: 42px; }
    .prod-block .pb-visual { margin-bottom: 0; }
    .about-strip .img-frame .exp-chip { left: 12px; bottom: 12px; padding: 10px 14px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal, .stagger > * { opacity: 1; transform: none; }
    .fp-section .fp-anim { opacity: 1; transform: none; }
}
