:root {
    --brand-blue: #1D3E97;
    --brand-blue-bright: #3D6BFF;
    --brand-cyan: #38BDF8;
    --brand-violet: #8F7BFF;
    --brand-red: #E10600;
    --brand-red-soft: #FF4D4D;
    --bg-deep: #04060F;
    --bg-section: #080E22;
    --bg-card: rgba(255, 255, 255, 0.028);
    --border-soft: rgba(255, 255, 255, 0.08);
    --text-bright: #F4F7FF;
    --text-body: #9FACCB;
    --text-dim: #5E6A8C;
    --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-body);
    max-width: 100vw;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-display { font-family: 'Sora', sans-serif; color: var(--text-bright); }

::selection { background: var(--brand-red); color: #fff; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--brand-blue), #11225a); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-blue-bright); }

/* ---------- AMBIENT BACKGROUND: aurora + grid ---------- */
.ambient { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.ambient::before, .ambient::after { content: ""; position: absolute; inset: 0; }
/* grid lines */
.ambient::before {
    background-image:
        linear-gradient(rgba(96, 130, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 130, 255, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}
/* fine dots */
.ambient::after {
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.12) 45%, rgba(0,0,0,0.45));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.12) 45%, rgba(0,0,0,0.45));
}
.aurora { position: fixed; inset: -20%; z-index: -3; pointer-events: none; filter: blur(70px); }
.aurora span { position: absolute; border-radius: 50%; opacity: 0.5; }
.aurora .a1 {
    width: 55vw; height: 55vw; top: -18vw; right: -12vw;
    background: radial-gradient(circle, rgba(61, 107, 255, 0.34), transparent 65%);
    animation: drift1 26s ease-in-out infinite alternate;
}
.aurora .a2 {
    width: 44vw; height: 44vw; top: 28%; left: -16vw;
    background: radial-gradient(circle, rgba(143, 123, 255, 0.20), transparent 65%);
    animation: drift2 32s ease-in-out infinite alternate;
}
.aurora .a3 {
    width: 38vw; height: 38vw; bottom: -14vw; right: 8vw;
    background: radial-gradient(circle, rgba(225, 6, 0, 0.14), transparent 65%);
    animation: drift3 38s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(-9vw, 11vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(10vw, -7vw) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-7vw, -9vw) scale(1.2); } }

/* ---------- NAVBAR ---------- */
.navbar { padding: 14px 0; transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease; background: transparent; }
.navbar.scrolled {
    background: rgba(4, 6, 15, 0.72);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 14px 44px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--border-soft);
    padding: 10px 0;
}
.brand-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon {
    height: 46px; width: 46px; border-radius: 14px; object-fit: contain;
    background: linear-gradient(160deg, #ffffff, #dbe4ff); padding: 4px;
    box-shadow: 0 0 0 1px var(--border-soft), 0 8px 28px rgba(61, 107, 255, 0.35);
}
.brand-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-name .v12 { color: var(--text-bright); }
.brand-name .infotech {
    background: linear-gradient(90deg, var(--brand-red-soft), var(--brand-red));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-link {
    color: var(--text-body) !important; font-weight: 600; font-size: 0.92rem;
    padding: 8px 16px !important; border-radius: 50px; transition: 0.25s;
}
.nav-link:hover, .nav-link.active { color: var(--text-bright) !important; background: rgba(255,255,255,0.06); }
.navbar-toggler { border: 1px solid var(--border-soft); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(244,247,255,0.9)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(6, 10, 24, 0.97); border: 1px solid var(--border-soft);
        border-radius: 18px; padding: 18px; margin-top: 14px;
    }
}

.dropdown-menu {
    background: rgba(7, 12, 28, 0.97); border: 1px solid var(--border-soft);
    border-radius: 16px; padding: 10px; min-width: 290px;
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 28px 80px rgba(0, 0, 0, 0.6);
}
.dropdown-item {
    color: var(--text-body); font-weight: 600; font-size: 0.88rem;
    border-radius: 10px; padding: 9px 14px; transition: 0.2s;
}
.dropdown-item i { width: 22px; color: var(--brand-blue-bright); }
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active {
    background: rgba(61, 107, 255, 0.13); color: var(--text-bright);
}
.dropdown-divider { border-color: var(--border-soft); }

/* ---------- BUTTONS ---------- */
.btn-fire {
    position: relative; display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(92deg, #ff3b30, var(--brand-red) 55%, #c20500);
    color: #fff; padding: 14px 34px; border-radius: 50px; font-weight: 700;
    border: none; transition: transform 0.25s, box-shadow 0.25s; text-decoration: none;
    box-shadow: 0 0 0 1px rgba(255, 90, 80, 0.45) inset, 0 12px 36px rgba(225, 6, 0, 0.4);
    overflow: hidden;
}
.btn-fire::after {
    content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg); transition: left 0.55s ease;
}
.btn-fire:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255, 120, 110, 0.6) inset, 0 18px 50px rgba(225, 6, 0, 0.55); }
.btn-fire:hover::after { left: 130%; }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid var(--border-soft); color: var(--text-bright);
    background: rgba(255,255,255,0.04); padding: 14px 34px; border-radius: 50px;
    font-weight: 700; transition: 0.25s; backdrop-filter: blur(6px); text-decoration: none;
}
.btn-ghost:hover { color: var(--text-bright); border-color: var(--brand-blue-bright); background: rgba(61, 107, 255, 0.12); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(61, 107, 255, 0.2); }

/* ---------- GRADIENT TEXT (animated shimmer) ---------- */
.grad-blue {
    background: linear-gradient(92deg, #7EA2FF, var(--brand-cyan) 30%, var(--brand-blue-bright) 60%, var(--brand-violet));
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: shimmer 7s ease-in-out infinite alternate;
}
.grad-red {
    background: linear-gradient(92deg, #FF7A6E, var(--brand-red-soft) 40%, var(--brand-red) 75%, #FF7A6E);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: shimmer 7s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }

/* ---------- SPOTLIGHT CARD CORE ----------
   site.js sets --mx / --my (pointer position) on .spot elements */
.spot { position: relative; overflow: hidden; }
.spot::after {
    content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(96, 140, 255, 0.13), transparent 65%);
    pointer-events: none;
}
.spot:hover::after { opacity: 1; }

/* ---------- HERO (HOME) ---------- */
.hero { position: relative; padding: 175px 0 80px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    border: 1px solid rgba(255, 77, 77, 0.35);
    background: linear-gradient(90deg, rgba(225, 6, 0, 0.16), rgba(225, 6, 0, 0.05));
    color: var(--brand-red-soft); font-weight: 700; font-size: 0.78rem;
    padding: 8px 18px; border-radius: 50px; letter-spacing: 0.1em; text-transform: uppercase;
    font-family: var(--mono);
}
.hero-badge .dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--brand-red-soft);
    animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,77,77,0.5); } 50% { box-shadow: 0 0 0 7px rgba(255,77,77,0); } }

.hero h1 {
    font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800;
    line-height: 1.08; letter-spacing: -0.035em; margin: 26px 0 0;
}
.type-word {
    opacity: 0; display: inline-block; transform: translateY(24px); filter: blur(10px);
    animation: wordIn 0.85s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
@keyframes wordIn { 100% { opacity: 1; transform: translateY(0); filter: blur(0); } }

.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.75; max-width: 560px; }
.hero-sub strong { color: var(--text-bright); font-weight: 600; }

.hero-product-pill {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
    border: 1px solid rgba(61, 107, 255, 0.4);
    background: linear-gradient(90deg, rgba(61, 107, 255, 0.16), rgba(143, 123, 255, 0.08));
    color: var(--text-bright); font-weight: 600; font-size: 0.88rem;
    padding: 10px 20px; border-radius: 50px; text-decoration: none; transition: 0.25s;
}
.hero-product-pill .tag {
    font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em;
    background: var(--brand-red); color: #fff; padding: 3px 9px; border-radius: 50px;
}
.hero-product-pill i { color: var(--brand-blue-bright); font-size: 0.8rem; transition: transform 0.25s; }
.hero-product-pill:hover { color: var(--text-bright); border-color: var(--brand-blue-bright); background: rgba(61, 107, 255, 0.22); transform: translateY(-2px); }
.hero-product-pill:hover i { transform: translateX(4px); }

.hero-visual { position: relative; max-width: 560px; margin: 0 auto; }
.hero-frame {
    position: relative; border-radius: 24px; overflow: hidden;
    border: 1px solid rgba(125, 155, 255, 0.22);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 90px rgba(61, 107, 255, 0.16);
    animation: float 7s ease-in-out infinite;
}
.hero-frame img { width: 100%; display: block; }
.hero-frame::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(200deg, rgba(61,107,255,0.20), transparent 45%, rgba(4,6,15,0.6));
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero-frame-sm {
    position: absolute; bottom: -36px; left: -44px; width: 46%;
    border-radius: 18px; overflow: hidden; z-index: 3;
    border: 1px solid rgba(125, 155, 255, 0.3);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 50px rgba(61, 107, 255, 0.14);
    animation: float 8s 0.8s ease-in-out infinite;
}
.hero-frame-sm img { width: 100%; display: block; }
.hero-frame-sm::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(200deg, rgba(61,107,255,0.12), transparent 50%, rgba(4,6,15,0.4));
}

.about-photo {
    border-radius: 22px; overflow: hidden; position: relative;
    border: 1px solid rgba(125, 155, 255, 0.22);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.about-photo img { width: 100%; height: 240px; object-fit: cover; display: block; }
.about-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(200deg, rgba(61,107,255,0.16), transparent 45%, rgba(4,6,15,0.45));
}

.glass-chip {
    position: absolute; display: flex; align-items: center; gap: 12px;
    background: rgba(7, 12, 28, 0.8); border: 1px solid rgba(125, 155, 255, 0.22);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-radius: 16px; padding: 13px 18px;
    box-shadow: 0 1px 0 rgba(255,255,255,0.07) inset, 0 18px 50px rgba(0, 0, 0, 0.55); z-index: 2;
}
.glass-chip .chip-ico {
    width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
    font-size: 1rem; color: #fff; flex-shrink: 0;
}
.glass-chip small { display: block; color: var(--text-dim); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--mono); }
.glass-chip span { color: var(--text-bright); font-weight: 700; font-size: 0.92rem; }
.chip-uptime { top: 8%; right: -28px; animation: float 6s 0.6s ease-in-out infinite; }
.chip-shield { bottom: -20px; right: -16px; animation: float 6.5s 1.1s ease-in-out infinite; }
.hero-visual { margin-bottom: 40px; }

.stat-row { border-top: 1px solid var(--border-soft); margin-top: 70px; padding-top: 40px; }
.stat-num {
    font-family: 'Sora', sans-serif; font-weight: 800; letter-spacing: -0.02em;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    background: linear-gradient(180deg, #fff, #93a6d8);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-num .accent { background: linear-gradient(180deg, var(--brand-red-soft), var(--brand-red)); -webkit-background-clip: text; background-clip: text; }
.stat-label { color: var(--text-dim); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); margin-top: 4px; }

/* ---------- SECTION HEADINGS ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; font-weight: 700;
    color: var(--brand-red-soft); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.74rem;
    font-family: var(--mono);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--brand-red)); }
.eyebrow.centered::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--brand-red), transparent); }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.18; }

/* ---------- MARQUEE ---------- */
.marquee-section { padding: 50px 0 10px; }
.marquee-container {
    overflow: hidden; width: 100%; position: relative; padding: 26px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: inline-flex; align-items: center; gap: 2.2rem; animation: scrollX 36s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(-50%); } }
.logo-tile {
    background: linear-gradient(170deg, #ffffff, #eef2ff); border-radius: 18px; padding: 18px 30px; flex-shrink: 0;
    display: grid; place-items: center; height: 104px; min-width: 200px;
    border: 1px solid rgba(255,255,255,0.6);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s;
}
.logo-tile:hover { transform: translateY(-8px) scale(1.05); box-shadow: 0 24px 55px rgba(61, 107, 255, 0.3); }
.logo-tile img { max-height: 64px; max-width: 170px; object-fit: contain; }

/* ---------- GRADIENT-BORDER GLASS CARDS (shared core) ---------- */
.value-card, .service-card, .step-card, .glance-card, .story-card, .contact-card, .flag-board {
    position: relative;
    background:
        linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        linear-gradient(155deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03) 40%, rgba(96, 140, 255, 0.16)) border-box;
    border: 1px solid transparent;
}

/* ---------- ABOUT ---------- */
.story-card { border-radius: 22px; padding: 30px; overflow: hidden; }
.story-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(var(--brand-red), var(--brand-blue-bright));
}
.value-card {
    border-radius: 20px; padding: 28px 24px; height: 100%;
    transition: transform 0.35s, box-shadow 0.35s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45), 0 0 40px rgba(61, 107, 255, 0.08); }
.value-card i { font-size: 1.7rem; margin-bottom: 16px; display: block; }
.value-card h6 { font-weight: 700; color: var(--text-bright); margin-bottom: 8px; }
.value-card p { font-size: 0.87rem; line-height: 1.6; margin: 0; }
.ico-red { color: var(--brand-red-soft); filter: drop-shadow(0 0 14px rgba(255, 77, 77, 0.45)); }
.ico-blue { color: var(--brand-blue-bright); filter: drop-shadow(0 0 14px rgba(61, 107, 255, 0.5)); }

/* ---------- SERVICE CARDS ---------- */
.service-card {
    border-radius: 22px; padding: 34px 28px; height: 100%; overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
}
.service-card:hover { transform: translateY(-9px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 60px rgba(61, 107, 255, 0.1); }
.svc-icon {
    position: relative; width: 58px; height: 58px; border-radius: 16px;
    display: grid; place-items: center; font-size: 1.45rem; color: var(--text-bright);
    background: linear-gradient(145deg, rgba(61,107,255,0.3), rgba(29,62,151,0.4));
    border: 1px solid rgba(61, 107, 255, 0.35); margin-bottom: 22px;
    box-shadow: 0 0 26px rgba(61, 107, 255, 0.22);
    transition: 0.35s;
}
.service-card:hover .svc-icon {
    background: linear-gradient(145deg, var(--brand-red), #b30500);
    border-color: rgba(255, 77, 77, 0.5); transform: rotate(-8deg) scale(1.06);
    box-shadow: 0 12px 34px rgba(225, 6, 0, 0.45);
}
.service-card h5 { position: relative; font-size: 1.08rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.service-card p { position: relative; font-size: 0.9rem; line-height: 1.65; margin: 0 0 4px; }
.card-link {
    position: relative; display: inline-flex; align-items: center; gap: 7px;
    color: var(--brand-blue-bright); font-weight: 700; font-size: 0.85rem;
    text-decoration: none; margin-top: 14px; transition: 0.25s;
}
.card-link i { font-size: 0.72rem; transition: transform 0.25s; }
.service-card:hover .card-link { color: var(--brand-red-soft); }
.service-card:hover .card-link i { transform: translateX(4px); }

/* Featured (flagship) service card on home grid */
.service-card.featured {
    background:
        linear-gradient(rgba(20, 34, 90, 0.45), rgba(10, 16, 40, 0.55)) padding-box,
        linear-gradient(120deg, rgba(255, 90, 80, 0.55), rgba(61, 107, 255, 0.55), rgba(143, 123, 255, 0.45)) border-box;
}
.service-card.featured .badge-flag {
    position: absolute; top: 22px; right: 22px;
    font-family: var(--mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em;
    color: #fff; background: linear-gradient(90deg, var(--brand-red), #ff3b30);
    padding: 5px 12px; border-radius: 50px; text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(225, 6, 0, 0.4);
}

/* ---------- FLAGSHIP PRODUCT SECTION ---------- */
.flag-section { position: relative; padding: 40px 0; }
.flag-board {
    border-radius: 30px; padding: 60px;
    background:
        linear-gradient(rgba(13, 22, 56, 0.55), rgba(6, 10, 26, 0.65)) padding-box,
        linear-gradient(130deg, rgba(255, 90, 80, 0.4), rgba(96, 140, 255, 0.45) 50%, rgba(143, 123, 255, 0.4)) border-box;
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55), 0 0 100px rgba(61, 107, 255, 0.1);
    overflow: hidden;
}
.flag-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--brand-cyan);
    border: 1px solid rgba(56, 189, 248, 0.35); background: rgba(56, 189, 248, 0.08);
    padding: 7px 16px; border-radius: 50px; margin-bottom: 22px;
}
.flag-feat { display: flex; gap: 14px; align-items: flex-start; }
.flag-feat .f-ico {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
    background: rgba(61, 107, 255, 0.16); border: 1px solid rgba(61, 107, 255, 0.32);
    color: var(--brand-blue-bright); font-size: 0.95rem;
}
.flag-feat h6 { font-weight: 700; font-size: 0.95rem; margin-bottom: 3px; }
.flag-feat p { font-size: 0.84rem; line-height: 1.55; margin: 0; }

/* CSS-built product mock window */
.mock-window {
    background: rgba(5, 8, 20, 0.92); border: 1px solid rgba(125, 155, 255, 0.25);
    border-radius: 18px; overflow: hidden;
    box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 40px 90px rgba(0, 0, 0, 0.6);
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
    transition: transform 0.5s ease;
}
.mock-window:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border-soft); }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-bar .t { margin-left: 10px; font-family: var(--mono); font-size: 0.68rem; color: var(--text-dim); letter-spacing: 0.08em; }
.mock-body { padding: 18px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.mock-row {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-soft);
    border-radius: 12px; padding: 12px 14px;
}
.mock-row .avatar {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center; font-family: var(--mono); font-size: 0.62rem; font-weight: 700; color: #fff;
}
.mock-row .lines { flex: 1; min-width: 0; }
.mock-row .l1 { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.22); width: 62%; margin-bottom: 6px; }
.mock-row .l2 { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.09); width: 84%; }
.mock-pill {
    font-family: var(--mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em;
    padding: 4px 11px; border-radius: 50px; flex-shrink: 0;
}
.pill-open { color: #FBBF24; background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.35); }
.pill-resolved { color: #4ADE80; background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.32); }
.pill-deal { color: #38BDF8; background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.32); }
.mock-stats { display: flex; gap: 10px; }
.mock-stat {
    flex: 1; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-soft);
    border-radius: 12px; padding: 12px 14px;
}
.mock-stat .v { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--text-bright); }
.mock-stat .k { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em; color: var(--text-dim); text-transform: uppercase; }
.mock-stat .v.up { color: #4ADE80; }

/* ---------- PAGE HERO (SERVICE DETAIL) ---------- */
.page-hero { position: relative; padding: 165px 0 60px; }
.crumbs { font-size: 0.8rem; font-weight: 600; color: var(--text-dim); margin-bottom: 22px; font-family: var(--mono); }
.crumbs a { color: var(--text-dim); text-decoration: none; transition: 0.2s; }
.crumbs a:hover { color: var(--brand-blue-bright); }
.crumbs .sep { margin: 0 9px; opacity: 0.5; }
.crumbs .here { color: var(--text-bright); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; }
.page-hero .lead-text { font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.8; max-width: 640px; }
.hero-svc-icon {
    width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center;
    font-size: 2.4rem; color: var(--text-bright);
    background: linear-gradient(145deg, rgba(61,107,255,0.32), rgba(29,62,151,0.45));
    border: 1px solid rgba(96, 140, 255, 0.4);
    box-shadow: 0 24px 60px rgba(29, 62, 151, 0.5), 0 0 60px rgba(61, 107, 255, 0.22);
    margin-bottom: 30px;
}

.svc-photo {
    position: relative; border-radius: 26px; overflow: hidden;
    border: 1px solid rgba(125, 155, 255, 0.22);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(61, 107, 255, 0.08);
}
.svc-photo img { width: 100%; height: clamp(240px, 36vw, 430px); object-fit: cover; display: block; }
.svc-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(200deg, rgba(61, 107, 255, 0.15), transparent 45%, rgba(4, 6, 15, 0.5));
}

.glance-card { border-radius: 24px; padding: 34px; }
.glance-item { display: flex; align-items: flex-start; gap: 15px; }
.glance-item + .glance-item { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border-soft); }
.glance-item .g-ico {
    width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
    background: rgba(61, 107, 255, 0.16); border: 1px solid rgba(61, 107, 255, 0.32);
    color: var(--brand-blue-bright); font-size: 1rem;
}
.glance-item h6 { font-weight: 700; margin-bottom: 3px; font-size: 0.95rem; }
.glance-item p { font-size: 0.85rem; margin: 0; line-height: 1.55; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
    position: relative; padding-left: 36px; margin-bottom: 16px;
    line-height: 1.65; color: var(--text-body);
}
.check-list li strong { color: var(--text-bright); }
.check-list li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 2px;
    width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
    font-size: 0.7rem; color: #4ade80; background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    box-shadow: 0 0 14px rgba(74, 222, 128, 0.18);
}

.step-card { border-radius: 20px; padding: 30px 26px; height: 100%; transition: transform 0.35s, box-shadow 0.35s; }
.step-card:hover { transform: translateY(-6px); box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45); }
.step-num {
    font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2.6rem; line-height: 1;
    background: linear-gradient(180deg, var(--brand-blue-bright), rgba(61, 107, 255, 0.1));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}
.step-card h6 { font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 0.88rem; line-height: 1.65; margin: 0; }

.accordion-item {
    background: var(--bg-card); border: 1px solid var(--border-soft);
    border-radius: 16px !important; overflow: hidden; margin-bottom: 14px;
}
.accordion-button {
    background: transparent; color: var(--text-bright); font-weight: 700;
    font-family: 'Sora', sans-serif; font-size: 0.98rem; padding: 20px 24px;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) { background: rgba(61, 107, 255, 0.08); color: var(--text-bright); }
.accordion-button::after { filter: invert(0.8) brightness(1.6); }
.accordion-body { color: var(--text-body); line-height: 1.75; font-size: 0.93rem; padding: 4px 24px 22px; }

.cta-banner, .os-banner {
    position: relative; border-radius: 26px; padding: 52px; overflow: hidden;
    background: linear-gradient(120deg, #10204f 0%, var(--brand-blue) 50%, #0a1840 100%);
    border: 1px solid rgba(126, 162, 255, 0.35);
    box-shadow: 0 30px 90px rgba(8, 18, 50, 0.7), 0 0 80px rgba(61, 107, 255, 0.12);
}
.cta-banner::before, .os-banner::before {
    content: ""; position: absolute; top: -90px; right: -60px; width: 320px; height: 320px;
    border-radius: 50%; background: radial-gradient(circle, rgba(255,77,77,0.4), transparent 70%);
}
.os-banner::after {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 26px 26px; opacity: 0.3;
}
.cta-banner { text-align: center; }
.cta-banner h2, .os-banner h3 { font-weight: 800; letter-spacing: -0.02em; }
.cta-banner p, .os-banner p { color: rgba(244, 247, 255, 0.82); position: relative; }
.os-banner .btn-light, .cta-banner .btn-light {
    position: relative; z-index: 1; border-radius: 50px; font-weight: 700;
    padding: 13px 32px; color: var(--brand-blue); transition: 0.25s;
}
.os-banner .btn-light:hover, .cta-banner .btn-light:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(0,0,0,0.3); }

.related-pill {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--bg-card); border: 1px solid var(--border-soft);
    color: var(--text-body); font-weight: 600; font-size: 0.88rem;
    padding: 11px 20px; border-radius: 50px; text-decoration: none; transition: 0.25s;
}
.related-pill i { color: var(--brand-blue-bright); font-size: 0.85rem; }
.related-pill:hover { color: var(--text-bright); border-color: var(--brand-blue-bright); background: rgba(61, 107, 255, 0.1); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(61, 107, 255, 0.18); }

/* ---------- CONTACT ---------- */
.contact-card {
    border-radius: 28px; padding: 56px;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}
.form-label { color: var(--text-dim); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); }
.form-control, .form-select {
    background: rgba(255, 255, 255, 0.045); border: 1px solid var(--border-soft);
    color: var(--text-bright); padding: 14px 18px; border-radius: 14px; transition: 0.25s;
}
.form-control::placeholder { color: var(--text-dim); }
.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.07); border-color: var(--brand-blue-bright);
    box-shadow: 0 0 0 4px rgba(61, 107, 255, 0.18); color: var(--text-bright);
}
.form-select option { background: var(--bg-section); color: var(--text-bright); }
.contact-side-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-side-item .ico {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center;
    background: rgba(61, 107, 255, 0.14); border: 1px solid rgba(61, 107, 255, 0.3);
    color: var(--brand-blue-bright); font-size: 1.05rem;
}

/* ---------- FOOTER ---------- */
footer { position: relative; border-top: 1px solid var(--border-soft); padding: 60px 0 36px; background: rgba(2, 4, 10, 0.75); }
footer::before {
    content: ""; position: absolute; top: -1px; left: 12%; right: 12%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 140, 255, 0.5), rgba(255, 77, 77, 0.4), transparent);
}
.footer-logo { background: linear-gradient(160deg, #ffffff, #dbe4ff); border-radius: 14px; padding: 6px; height: 52px; width: 52px; object-fit: contain; }
.footer-head { font-family: 'Sora', sans-serif; color: var(--text-bright); font-weight: 700; font-size: 0.95rem; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: 0.2s; }
.footer-links a:hover { color: var(--brand-blue-bright); }
.footer-bottom { border-top: 1px solid var(--border-soft); margin-top: 44px; padding-top: 26px; }

/* ---------- MOBILE ---------- */
@media (max-width: 991px) {
    .hero { padding: 140px 0 60px; text-align: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-visual { margin-top: 56px; }
    .chip-uptime { right: 0; }
    .chip-shield { right: 0; bottom: -24px; }
    .hero-frame-sm { left: 0; bottom: -30px; }
    .os-banner { padding: 38px 26px; text-align: center; }
    .contact-card { padding: 36px 22px; }
    .page-hero { padding: 135px 0 40px; }
    .cta-banner { padding: 40px 24px; }
    .flag-board { padding: 38px 24px; }
    .mock-window { transform: none; margin-top: 36px; }
}
@media (max-width: 576px) {
    .glass-chip { padding: 10px 14px; }
    .glass-chip .chip-ico { width: 32px; height: 32px; font-size: 0.85rem; }
    .logo-tile { height: 82px; min-width: 150px; padding: 14px 20px; }
    .logo-tile img { max-height: 48px; max-width: 120px; }
    .hero-svc-icon { width: 72px; height: 72px; font-size: 1.8rem; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-frame, .glass-chip, .marquee-track, .aurora span, .grad-blue, .grad-red { animation: none !important; }
    .mock-window { transform: none; }
}

/* ============================================================
   LIGHT (BEIGE) THEME OVERRIDE  — appended 2026-06-15
   Revert: restore v12.css.dark-backup (delete everything from
   this banner down). Kept as an additive block on purpose.
   ============================================================ */
:root {
    --brand-blue: #1D3E97;
    --brand-blue-bright: #2F5BD8;
    --brand-cyan: #1E9BD7;
    --brand-violet: #6D4BD0;
    --brand-red: #E10600;
    --brand-red-soft: #D8392E;
    --bg-deep: #F1EADC;
    --bg-section: #FAF6EE;
    --bg-card: #FFFFFF;
    --border-soft: rgba(28, 31, 42, 0.10);
    --text-bright: #1C1F2A;
    --text-body: #565B6B;
    --text-dim: #948C7A;
}

body { background-color: var(--bg-deep); color: var(--text-body); }
::selection { background: var(--brand-red); color: #fff; }
::-webkit-scrollbar-track { background: #EAE2D2; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--brand-blue-bright), var(--brand-blue)); }

/* Ambient grid + dots: faint warm ink on beige */
.ambient::before {
    background-image:
        linear-gradient(rgba(29, 62, 151, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 62, 151, 0.055) 1px, transparent 1px);
}
.ambient::after { background-image: radial-gradient(rgba(28, 31, 42, 0.05) 1px, transparent 1px); }

/* Aurora: soften so it tints the beige instead of glowing */
.aurora { filter: blur(95px); opacity: 0.55; }
.aurora .a1 { background: radial-gradient(circle, rgba(61, 107, 255, 0.20), transparent 65%); }
.aurora .a2 { background: radial-gradient(circle, rgba(143, 123, 255, 0.14), transparent 65%); }
.aurora .a3 { background: radial-gradient(circle, rgba(225, 6, 0, 0.09), transparent 65%); }

/* Gradient headline text — deepen for contrast on light (re-apply text clip
   because the `background` shorthand resets background-clip to border-box) */
.grad-blue {
    background: linear-gradient(92deg, #3D6BFF, #1D3E97 55%, #6D4BD0);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.grad-red {
    background: linear-gradient(92deg, #F0473A, #E10600 60%, #B30500);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Navbar scrolled: light frosted glass */
.navbar.scrolled {
    background: rgba(250, 246, 238, 0.85);
    border-bottom: 1px solid rgba(28, 31, 42, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px rgba(28, 31, 42, 0.07);
}
.nav-link:hover, .nav-link.active { background: rgba(28, 31, 42, 0.05); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(28,31,42,0.85)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
@media (max-width: 991px) {
    .navbar-collapse { background: rgba(255, 255, 255, 0.97); border-color: rgba(28, 31, 42, 0.08); }
}

/* Dropdown: light */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.98); border-color: rgba(28, 31, 42, 0.08);
    box-shadow: 0 24px 60px rgba(28, 31, 42, 0.14);
}
.dropdown-item { color: var(--text-body); }
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active { background: rgba(61, 107, 255, 0.10); color: var(--text-bright); }

/* Glass / gradient-border cards: white with soft ink shadow */
.value-card, .service-card, .step-card, .glance-card, .story-card, .contact-card, .flag-board {
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(155deg, rgba(28,31,42,0.07), rgba(28,31,42,0.03) 40%, rgba(61,107,255,0.14)) border-box;
    box-shadow: 0 12px 30px rgba(28, 31, 42, 0.06);
}
.value-card:hover { box-shadow: 0 20px 45px rgba(28, 31, 42, 0.10); }
.service-card:hover { box-shadow: 0 26px 55px rgba(28, 31, 42, 0.12); }
.step-card:hover { box-shadow: 0 20px 45px rgba(28, 31, 42, 0.10); }
.story-card { background: linear-gradient(#fff,#fff) padding-box, linear-gradient(155deg, rgba(28,31,42,0.07), rgba(61,107,255,0.14)) border-box; }

/* Featured flagship card tint on light */
.service-card.featured {
    background:
        linear-gradient(165deg, rgba(61,107,255,0.06), rgba(255,255,255,0.95)) padding-box,
        linear-gradient(120deg, rgba(225,90,80,0.45), rgba(61,107,255,0.5), rgba(109,75,208,0.4)) border-box;
}
.flag-board {
    background:
        linear-gradient(160deg, rgba(61,107,255,0.06), #ffffff) padding-box,
        linear-gradient(130deg, rgba(225,90,80,0.4), rgba(96,140,255,0.5) 50%, rgba(109,75,208,0.4)) border-box;
    box-shadow: 0 30px 70px rgba(28, 31, 42, 0.10);
}

/* Spotlight glow softer on light */
.spot::after { background: radial-gradient(380px circle at var(--mx,50%) var(--my,0%), rgba(61,107,255,0.10), transparent 65%); }

/* Stat numbers: dark metallic gradient (was white→blue) */
.stat-num { background: linear-gradient(180deg, #1C1F2A, #2F5BD8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Glass info chips sit on the dark hero photo — keep them light & readable */
.glass-chip {
    background: rgba(255, 255, 255, 0.92); border-color: rgba(28, 31, 42, 0.10);
    box-shadow: 0 18px 50px rgba(28, 31, 42, 0.20);
}

/* Form fields: white with dark text */
.form-control, .form-select {
    background: #ffffff; border-color: rgba(28, 31, 42, 0.14); color: var(--text-bright);
}
.form-control::placeholder { color: var(--text-dim); }
.form-control:focus, .form-select:focus { background: #fff; border-color: var(--brand-blue-bright); box-shadow: 0 0 0 4px rgba(61, 107, 255, 0.15); }
.form-select option { background: #fff; color: var(--text-bright); }

/* Accordion chevron dark on light */
.accordion-button::after { filter: none; }
.accordion-button:not(.collapsed) { background: rgba(61, 107, 255, 0.07); }
.accordion-item { background: #ffffff; }

/* Footer: light */
footer { background: rgba(244, 238, 227, 0.9); border-top-color: rgba(28, 31, 42, 0.08); }
footer::before { background: linear-gradient(90deg, transparent, rgba(61,107,255,0.5), rgba(225,77,77,0.4), transparent); }

/* Ghost button: dark ink on light */
.btn-ghost { color: var(--text-bright); border-color: rgba(28, 31, 42, 0.14); background: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { background: rgba(61, 107, 255, 0.10); border-color: var(--brand-blue-bright); }

/* Services section: kill the dark inline band (override inline style) */
section#services { background: linear-gradient(180deg, transparent, rgba(61,107,255,0.05) 12%, rgba(61,107,255,0.05) 88%, transparent) !important; }

/* Page-hero service icon glow softer */
.hero-svc-icon { box-shadow: 0 24px 50px rgba(29, 62, 151, 0.22), 0 0 40px rgba(61, 107, 255, 0.12); }

/* Marquee mask edges match beige (handled by mask, logos stay white tiles) */

/* Dark-blue banners keep WHITE headings even in light theme (else invisible) */
.os-banner h3, .cta-banner h2, .cta-banner h3 { color: #ffffff; }
.os-banner p, .cta-banner p { color: rgba(244, 247, 255, 0.88); }
