/* ==========================================================
   Telphatech LLP – index.css  (Primary: black · Secondary: blue)
   ========================================================== */

@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bg: #05070d;
  --bg2: #080d1a;
  --panel: #0c1326;
  --line: rgba(70, 140, 255, .2);
  --blue: #2f80ff;
  --cyan: #19c3ff;
  --deep: #1b3fd8;
  --text: #eaf1ff;
  --muted: #9aa9c9;
  --grad: linear-gradient(90deg, #3a54e0 0%, #2f80ff 50%, #19c3ff 100%);
  --radius: 20px;
  --glow: 0 0 40px -6px rgba(47, 128, 255, .55);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); background: var(--bg); }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--deep), var(--cyan)); border-radius: 10px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: 120px 0; position: relative; }
.section--alt { background: var(--bg2); }
.section--alt::before, .section--alt::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); opacity: .6; }
.section--alt::before { top: 0; } .section--alt::after { bottom: 0; }
.section__head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.section__head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

.h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.18; letter-spacing: -.02em; color: #fff; }
.h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #fff; }
.neon { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 4s ease-in-out infinite alternate; filter: drop-shadow(0 0 18px rgba(47, 128, 255, .55)); }

/* Rotating gradient border */
.glow-border {
  border: 3px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, conic-gradient(from var(--a), transparent 0 55%, var(--deep), var(--cyan), #fff 98%, transparent) border-box;
  animation: rotateA 5s linear infinite;
}

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 999px; border: 1.5px solid transparent; font: 600 .98rem var(--font-body); cursor: pointer; transition: transform .25s, box-shadow .3s, background .3s, color .3s, border-color .3s; }
.btn--sm { padding: 10px 22px; font-size: .9rem; }
.btn--primary { background: var(--grad); background-size: 200% 100%; color: #fff; box-shadow: 0 0 0 0 rgba(47, 128, 255, .6), 0 12px 30px -10px rgba(47, 128, 255, .8); animation: btnPulse 2.8s infinite; }
.btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-130%); animation: shine 3.6s infinite; }
.btn--primary:hover { color: #fff; background-position: 100% 0; }
.btn--ghost { background: transparent; color: #fff; border-color: var(--line); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: var(--glow); }
.btn--light { background: #fff; color: #05070d; }
.btn--light:hover { color: var(--deep); box-shadow: 0 0 30px rgba(255, 255, 255, .35); }
.ripple-wave { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .65s ease-out forwards; pointer-events: none; }

/* ---------- Preloader, progress, cursor ---------- */
.preloader { position: fixed; inset: 0; z-index: 999; background: var(--bg); display: grid; place-content: center; justify-items: center; gap: 22px; transition: opacity .7s, visibility .7s, transform .7s; }
.preloader.done { opacity: 0; visibility: hidden; transform: scale(1.08); }
.preloader__hex { position: relative; width: 100px; height: 114px; display: grid; place-items: center; color: #fff; font: italic 700 2.2rem var(--font-head); background: var(--grad); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); animation: hexPulse 1.4s ease-in-out infinite; }
.preloader__text { font: 700 1.4rem var(--font-head); letter-spacing: .3em; color: #fff; animation: fadeIn 1s both; }
.preloader__bar { width: 170px; height: 3px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 40%; background: var(--grad); animation: loadSlide 1.1s ease-in-out infinite; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 120; background: var(--grad); box-shadow: 0 0 14px var(--cyan); }
.cursor-glow { position: fixed; z-index: 1; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 128, 255, .16), transparent 62%); pointer-events: none; opacity: 0; transition: opacity .4s; will-change: transform; }
.cursor-glow.on { opacity: 1; }
main, .footer { position: relative; z-index: 2; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; animation: dropIn .9s .2s both; }
.header.scrolled { background: rgba(5, 7, 13, .82); backdrop-filter: blur(16px); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: block; transition: transform .3s, filter .3s; }
.brand:hover { transform: scale(1.05); filter: drop-shadow(0 0 14px rgba(25, 195, 255, .7)); }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; padding: 8px 14px; color: #cfdcf5; font-weight: 600; font-size: .95rem; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--grad); box-shadow: 0 0 10px var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav__link:hover, .nav__link.active { color: #fff; }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; margin: 6px 0; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 80px) 0 100px; overflow: hidden; background: radial-gradient(1000px 520px at 50% 0, #0b1a40 0%, var(--bg) 70%); }
#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(70, 140, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(70, 140, 255, .12) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse at 50% 25%, #000 5%, transparent 65%); animation: gridDrift 14s linear infinite; }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen; }
.aurora--1 { width: 480px; height: 480px; background: #1b3fd8; top: -140px; left: -120px; animation: drift1 14s ease-in-out infinite alternate; }
.aurora--2 { width: 420px; height: 420px; background: #0aa9e4; top: 80px; right: -120px; opacity: .4; animation: drift2 17s ease-in-out infinite alternate; }
.aurora--3 { width: 340px; height: 340px; background: #5b3bff; bottom: 60px; left: 35%; opacity: .3; animation: drift1 19s ease-in-out -5s infinite alternate-reverse; }
.hero__content { position: relative; z-index: 3; text-align: center; max-width: 880px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px; border-radius: 999px; background: rgba(47, 128, 255, .1); border: 1px solid var(--line); color: #cfe0ff; font-weight: 600; font-size: .88rem; backdrop-filter: blur(8px); animation: dropIn .8s .5s both cubic-bezier(.2, .8, .2, 1); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: pulseDot 1.8s infinite; }
.hero__title { margin: 28px 0 24px; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.3rem, 6.2vw, 4.5rem); line-height: 1.08; letter-spacing: -.03em; color: #fff; }
.hero__title .line { display: block; padding-bottom: .08em; min-height: 1.1em; }
.split .ch { display: inline-block; opacity: 0; transform: translateY(60px) rotateX(-80deg); animation: charIn .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.caret { display: inline-block; width: 4px; height: .9em; margin-left: 6px; vertical-align: -.08em; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: blink .9s steps(1) infinite; }
.hero__lead { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 1.12rem; animation: fadeIn 1s 1.5s both; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; animation: fadeIn 1s 1.8s both; }

.hero__visual { position: relative; z-index: 3; margin-top: 80px; perspective: 1200px; }
.frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(47, 128, 255, .6); transform: rotateX(5deg); transition: transform .6s; }
.hero__visual:hover .frame { transform: rotateX(0) scale(1.01); }
.frame img { width: 100%; height: auto; }
.frame__shine { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-120%); animation: shine 5s 2s infinite; }
.chip { position: absolute; z-index: 4; padding: 12px 18px; border-radius: 14px; background: rgba(12, 19, 38, .85); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: var(--glow); font-size: .9rem; color: var(--muted); }
.chip b { font: 800 1.3rem var(--font-head); color: var(--cyan); margin-right: 4px; }
.chip--a { left: -16px; top: 12%; animation: float 6s ease-in-out infinite; }
.chip--b { right: -16px; bottom: 16%; animation: float 7s ease-in-out -2s infinite; }
.chip--c { right: 8%; top: -22px; animation: float 8s ease-in-out -4s infinite; }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 20px 0; background: linear-gradient(90deg, #0a1a55, #0b3a8f, #0a1a55); border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; gap: 46px; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { position: relative; color: #dbe9ff; font: 600 1.05rem var(--font-head); white-space: nowrap; }
.marquee__track span::after { content: ""; position: absolute; right: -26px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); transform: translateY(-50%); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__img { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(47, 128, 255, .6); }
.about__img img { width: 100%; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.about__media:hover .about__img img { transform: scale(1.07); }
.about__badge { position: absolute; right: -14px; bottom: -22px; display: grid; padding: 18px 26px; border-radius: 18px; background: rgba(12, 19, 38, .9); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: var(--glow); animation: float 6s ease-in-out infinite; }
.about__badge b { font: 800 2.3rem/1 var(--font-head); color: var(--cyan); }
.about__badge span { font-size: .85rem; color: var(--muted); max-width: 120px; }
.about__text p { margin-top: 18px; color: var(--muted); }
.facts { margin-top: 30px; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: #d6e3fb; transition: padding-left .3s, background .3s; }
.facts li:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(47, 128, 255, .12), transparent); }
.facts span { color: var(--cyan); font-weight: 700; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; padding: 90px 0; background: #060a18; overflow: hidden; border-block: 1px solid var(--line); }
.stats__bg { position: absolute; inset: -60%; background: conic-gradient(from 0deg, rgba(25, 195, 255, .22), transparent 22%, rgba(47, 128, 255, .28) 50%, transparent 72%, rgba(25, 195, 255, .22)); animation: spin 26s linear infinite; }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { padding: 10px; }
.stat b { display: block; font: 800 clamp(2.6rem, 5.5vw, 4rem)/1.1 var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 16px rgba(47, 128, 255, .6)); }
.stat span { color: #bcd0f2; font-weight: 500; }
.stat + .stat { border-left: 1px solid var(--line); }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; padding: 36px 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color .35s, box-shadow .35s; transform-style: preserve-3d; }
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 128, 255, .22), transparent 60%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.card:hover { border-color: rgba(25, 195, 255, .6); box-shadow: var(--glow); }
.card:hover::after { opacity: 1; }
.card__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: rgba(47, 128, 255, .12); border: 1px solid var(--line); margin-bottom: 22px; transition: background .35s, transform .5s; animation: iconBob 4s ease-in-out infinite; }
.card__icon svg, .info__icon svg, .apply__row svg, .to-top svg, .chat-fab svg, .chat__x svg, .chat__form svg { width: 26px; height: 26px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card__icon { background: var(--grad); transform: rotate(-10deg) scale(1.12); }
.card:hover .card__icon svg { stroke: #fff; }
.card h3 { font: 700 1.2rem var(--font-head); color: #fff; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card--cta { background: var(--grad); background-size: 200% 200%; animation: gradShift 6s ease-in-out infinite alternate; border: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.card--cta h3, .card--cta p { color: #fff; }
.card--cta .btn { margin-top: 12px; }

.process { margin-top: 100px; text-align: center; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 42px; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 26px; height: 3px; background: rgba(255, 255, 255, .08); }
.steps::after { content: ""; position: absolute; left: 10%; top: 26px; height: 3px; width: 80%; background: var(--grad); box-shadow: 0 0 14px var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 2s .3s cubic-bezier(.2, .8, .2, 1); }
.process.in .steps::after { transform: scaleX(1); }
.steps li { position: relative; display: grid; gap: 4px; justify-items: center; counter-increment: s; }
.steps li::before { content: counter(s); z-index: 1; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 2px solid var(--blue); color: #fff; font: 700 1.1rem var(--font-head); margin-bottom: 10px; transition: background .3s, transform .3s, box-shadow .3s; animation: stepGlow 3s ease-in-out infinite; }
.steps li:nth-child(2)::before { animation-delay: .4s; } .steps li:nth-child(3)::before { animation-delay: .8s; } .steps li:nth-child(4)::before { animation-delay: 1.2s; } .steps li:nth-child(5)::before { animation-delay: 1.6s; }
.steps li:hover::before { background: var(--blue); transform: scale(1.15); }
.steps b { font: 700 1.05rem var(--font-head); color: #fff; }
.steps span { font-size: .88rem; color: var(--muted); }

/* ---------- Industries ---------- */
.industries { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.ind { padding: 14px 30px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; color: #dbe7ff; transition: transform .3s, background .3s, box-shadow .3s, border-color .3s; cursor: default; }
.ind:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-6px) scale(1.06); box-shadow: var(--glow); }

/* ---------- AI ---------- */
.ai { position: relative; z-index: 2; padding: 120px 0; background: radial-gradient(900px 500px at 80% 50%, #0d2a78 0%, var(--bg) 70%); overflow: hidden; }
.ai__bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(25, 195, 255, .3) 1.5px, transparent 1.5px); background-size: 36px 36px; mask-image: radial-gradient(ellipse at 70% 50%, #000, transparent 70%); animation: gridDrift 12s linear infinite; }
.ai__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.ai__text p { color: var(--muted); margin: 18px 0 22px; }
.ticks li { position: relative; padding: 8px 0 8px 34px; color: #dbe7ff; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px rgba(25, 195, 255, .7); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 17px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ai .btn { margin-top: 26px; }

.orbit { position: relative; width: min(430px, 100%); aspect-ratio: 1; margin-inline: auto; }
.orbit__core { position: absolute; inset: 34%; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #5fd8ff, var(--blue) 60%, var(--deep)); color: #fff; font: 800 2.6rem var(--font-head); box-shadow: 0 0 0 14px rgba(47, 128, 255, .15), 0 0 90px 14px rgba(25, 195, 255, .55); animation: corePulse 3s ease-in-out infinite; }
.orbit__ring { position: absolute; border: 1.5px dashed rgba(120, 190, 255, .4); border-radius: 50%; }
.orbit__ring--1 { inset: 20%; animation: spin 14s linear infinite; }
.orbit__ring--2 { inset: 8%; animation: spin 22s linear infinite reverse; }
.orbit__ring--3 { inset: 0; animation: spin 32s linear infinite; }
.orbit__ring--4 { inset: 27%; animation: spin 9s linear infinite reverse; border-style: dotted; }
.orbit__ring i { position: absolute; top: -17px; left: 50%; margin-left: -34px; width: 68px; padding: 6px 0; text-align: center; border-radius: 999px; background: var(--cyan); color: #04101f; font: 700 .8rem var(--font-body); box-shadow: 0 0 18px var(--cyan); }
.orbit__ring--1 i { animation: spin 14s linear infinite reverse; }
.orbit__ring--2 i { animation: spin 22s linear infinite; background: #fff; }
.orbit__ring--3 i { animation: spin 32s linear infinite reverse; background: #6b7dff; color: #fff; box-shadow: 0 0 18px #6b7dff; }
.orbit__ring--4 i { animation: spin 9s linear infinite; background: #8be6ff; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tile { margin: 0; aspect-ratio: 768 / 341; border-radius: var(--radius); background: url("images/insideoffice.png") var(--x) var(--y) / 200% 300% no-repeat; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .45s, box-shadow .45s, border-color .45s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(25, 195, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s; }
.tile:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--glow); border-color: var(--cyan); }
.tile:hover::after { transform: translateX(120%); }

/* ---------- Careers ---------- */
.career__banner { margin-bottom: 80px; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 90px -30px rgba(47, 128, 255, .6); }
.career__banner img { width: 100%; height: auto; transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.career__banner:hover img { transform: scale(1.04); }
.careers { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.job { padding: 40px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.job__top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.job h3 { font: 700 1.55rem var(--font-head); color: #fff; margin-top: 12px; }
.job__meta { display: flex; gap: 8px; align-items: flex-start; }
.job p { color: var(--muted); margin-bottom: 14px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(47, 128, 255, .14); border: 1px solid var(--line); color: #a9ceff; font-weight: 600; font-size: .82rem; }
.tag--live { background: rgba(30, 194, 122, .12); border-color: rgba(30, 194, 122, .4); color: #4ee4a3; }
.tag--live i { width: 8px; height: 8px; border-radius: 50%; background: #1ec27a; animation: pulseGreen 1.6s infinite; }

.apply { padding: 36px; border-radius: var(--radius); background: var(--grad); background-size: 200% 200%; animation: gradShift 7s ease-in-out infinite alternate; color: #fff; box-shadow: var(--glow); }
.apply h3 { font: 700 1.4rem var(--font-head); margin-bottom: 8px; }
.apply p { color: #e4eeff; margin-bottom: 20px; font-size: .96rem; }
.apply__row { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-top: 12px; border-radius: 14px; background: #05070d; color: #fff; font-weight: 600; font-size: .95rem; word-break: break-all; transition: transform .3s, box-shadow .3s; }
.apply__row:hover { transform: translateX(8px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7); color: var(--cyan); }
.apply__row svg { flex: none; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.info { display: flex; gap: 18px; margin-bottom: 26px; }
.info__icon { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: rgba(47, 128, 255, .12); border: 1px solid var(--line); transition: transform .4s, background .3s; }
.info:hover .info__icon { transform: rotate(-10deg) scale(1.12); background: rgba(47, 128, 255, .3); }
.info h4 { font: 700 1rem var(--font-head); color: #fff; }
.info p { color: var(--muted); font-size: .96rem; }
.map { margin-top: 10px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 240px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(185deg) saturate(.8); }

.form { padding: 40px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(47, 128, 255, .7); display: grid; gap: 22px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; padding: 22px 16px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #070c1b; font: 500 1rem var(--font-body); color: #fff; resize: vertical; transition: border-color .25s, box-shadow .25s; }
.field label { position: absolute; left: 16px; top: 17px; color: var(--muted); font-size: 1rem; pointer-events: none; transition: all .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(25, 195, 255, .15), 0 0 24px -6px var(--cyan); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { top: 6px; font-size: .74rem; color: var(--cyan); font-weight: 600; }
.field.invalid input, .field.invalid textarea { border-color: #ff5a6a; animation: shake .4s; }
.form__note { min-height: 1.4em; font-size: .92rem; color: #4ee4a3; }
.form__note.error { color: #ff7a88; }

/* ---------- Footer ---------- */
.footer { background: #03050a; color: #9fb2d6; padding: 70px 0 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 38px; }
.footer__logo { display: inline-block; }
.footer__logo img { height: 46px; width: auto; }
.footer__brand p { margin-top: 14px; font-size: .92rem; max-width: 380px; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a { color: #cfe0fb; font-weight: 500; }
.footer__nav a:hover { color: var(--cyan); }
.footer__bottom { padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }

.to-top { position: fixed; left: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--glow); cursor: pointer; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; animation: bob 2.4s ease-in-out infinite; }
.to-top svg { stroke-width: 2.4; }

/* ---------- Chatbot ---------- */
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 130; width: 64px; height: 64px; border: 0; border-radius: 50%; background: var(--grad); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 34px -4px rgba(47, 128, 255, .9); transition: transform .3s; animation: fabFloat 3.5s ease-in-out infinite; }
.chat-fab:hover { transform: scale(1.1) rotate(-6deg); }
.chat-fab svg { width: 28px; height: 28px; stroke: #fff; grid-area: 1 / 1; transition: transform .35s, opacity .35s; }
.chat-fab__close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.chat-fab.open .chat-fab__open { opacity: 0; transform: rotate(90deg) scale(.5); }
.chat-fab.open .chat-fab__close { opacity: 1; transform: none; }
.chat-fab.open { animation: none; }
.chat-fab__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cyan); animation: ringOut 2.2s ease-out infinite; }
.chat-fab.open .chat-fab__ring { display: none; }
.chat-fab__hint { position: absolute; right: 78px; top: 50%; transform: translateY(-50%) translateX(10px); white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: #fff; color: #05070d; font: 600 .86rem var(--font-body); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s; }
.chat-fab__hint.show { opacity: 1; transform: translateY(-50%); }
.chat-fab.open .chat-fab__hint { display: none; }

.chat { position: fixed; right: 24px; bottom: 102px; z-index: 130; width: min(390px, calc(100vw - 32px)); height: min(590px, calc(100vh - 130px)); display: flex; flex-direction: column; border-radius: 22px; background: #070c1b; border: 1px solid var(--line); box-shadow: 0 30px 80px -10px rgba(0, 0, 0, .8), 0 0 60px -10px rgba(47, 128, 255, .6); overflow: hidden; transform-origin: bottom right; opacity: 0; visibility: hidden; transform: scale(.7) translateY(30px); transition: opacity .35s, transform .45s cubic-bezier(.2, 1.2, .3, 1), visibility .35s; }
.chat.open { opacity: 1; visibility: visible; transform: none; }
.chat__head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--grad); background-size: 200% 100%; animation: gradShift 6s ease-in-out infinite alternate; color: #fff; }
.chat__head h3 { font: 700 1.02rem var(--font-head); }
.chat__head p { font-size: .78rem; opacity: .9; }
.chat__avatar { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #05070d; font: italic 700 1rem var(--font-head); }
.chat__avatar i { position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #1ec27a; border: 2px solid #05070d; animation: pulseGreen 1.6s infinite; }
.chat__x { margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .3s; }
.chat__x:hover { background: rgba(255, 255, 255, .32); transform: rotate(90deg); }
.chat__x svg { width: 18px; height: 18px; stroke: #fff; }
.chat__body { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; background: radial-gradient(400px 200px at 50% 0, rgba(47, 128, 255, .1), transparent); }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: .92rem; line-height: 1.5; animation: msgIn .4s cubic-bezier(.2, .9, .3, 1.2) both; word-wrap: break-word; }
.msg--bot { align-self: flex-start; background: var(--panel); border: 1px solid var(--line); color: #e3ecff; border-bottom-left-radius: 4px; }
.msg--user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.msg a { color: var(--cyan); text-decoration: underline; word-break: break-all; }
.msg b { color: #fff; }
.msg ul { margin: 6px 0 0 18px; list-style: disc; }
.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: typingDot 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.chat__chips { display: flex; gap: 8px; padding: 8px 14px 12px; overflow-x: auto; scrollbar-width: none; }
.chat__chips::-webkit-scrollbar { display: none; }
.chat__chips button { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(47, 128, 255, .1); color: #cfe0ff; font: 600 .82rem var(--font-body); cursor: pointer; transition: background .25s, transform .25s, border-color .25s; animation: msgIn .4s both; }
.chat__chips button:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }
.chat__form { display: flex; gap: 10px; padding: 12px 14px 14px; border-top: 1px solid var(--line); background: #060a17; }
.chat__form input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #0a1124; color: #fff; font: 500 .94rem var(--font-body); transition: border-color .25s, box-shadow .25s; }
.chat__form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 18px -6px var(--cyan); }
.chat__form button { flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--grad); cursor: pointer; display: grid; place-items: center; transition: transform .25s; }
.chat__form button:hover { transform: scale(1.1) rotate(8deg); }
.chat__form svg { width: 20px; height: 20px; stroke: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(50px) scale(.97); filter: blur(6px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), transform .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), filter .9s var(--d, 0s); }
.reveal.from-left { transform: translateX(-70px); }
.reveal.from-right { transform: translateX(70px); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.tilt.in { transition: opacity .9s var(--d, 0s), transform .15s ease-out, box-shadow .3s, border-color .3s; }

/* ---------- Keyframes ---------- */
@keyframes rotateA { to { --a: 360deg; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes fabFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes gradShift { to { background-position: 100% 50%; } }
@keyframes gridDrift { to { background-position: 60px 60px; } }
@keyframes drift1 { to { transform: translate(140px, 90px) scale(1.2); } }
@keyframes drift2 { to { transform: translate(-160px, 80px) scale(.85); } }
@keyframes charIn { to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(25, 195, 255, .7); } 100% { box-shadow: 0 0 0 11px rgba(25, 195, 255, 0); } }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(30, 194, 122, .7); } 100% { box-shadow: 0 0 0 9px rgba(30, 194, 122, 0); } }
@keyframes btnPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 128, 255, .55), 0 12px 30px -10px rgba(47, 128, 255, .8); } 50% { box-shadow: 0 0 0 12px rgba(47, 128, 255, 0), 0 12px 30px -10px rgba(47, 128, 255, .8); } }
@keyframes shine { 0%, 55% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes hexPulse { 0%, 100% { transform: scale(1) rotate(0); filter: drop-shadow(0 0 20px rgba(47, 128, 255, .7)); } 50% { transform: scale(1.14) rotate(8deg); filter: drop-shadow(0 0 40px rgba(25, 195, 255, 1)); } }
@keyframes loadSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
@keyframes corePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes iconBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes stepGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 128, 255, .6); } 50% { box-shadow: 0 0 22px 4px rgba(25, 195, 255, .55); } }
@keyframes ringOut { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes typingDot { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-6px); opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about, .ai__inner, .contact, .careers { grid-template-columns: 1fr; gap: 54px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: rgba(5, 7, 13, .97); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 16px 0 0; }
  .header { background: rgba(5, 7, 13, .9); backdrop-filter: blur(12px); }
  .section, .ai { padding: 80px 0; }
}
@media (max-width: 640px) {
  .cards, .gallery { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; justify-items: start; }
  .steps::before, .steps::after { left: 26px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
  .steps::after { height: 100%; transform: scaleY(0); transform-origin: top; }
  .process.in .steps::after { transform: scaleY(1); }
  .steps li { grid-template-columns: 54px 1fr; justify-items: start; column-gap: 16px; text-align: left; align-items: center; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .chip { display: none; }
  .frame { transform: none; }
  .job, .form, .apply { padding: 26px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .about__badge { right: 10px; }
  .chat { right: 16px; bottom: 96px; }
  .chat-fab { right: 16px; bottom: 16px; }
  .chat-fab__hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .split .ch { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
