:root {
  --bg: #050a12;
  --bg-deep: #02060b;
  --surface: #0b1421;
  --surface-2: #0f1c2c;
  --surface-3: #13243a;
  --line: rgba(142, 188, 238, 0.14);
  --line-strong: rgba(99, 179, 255, 0.34);
  --text: #f5f9ff;
  --muted: #91a5bd;
  --muted-2: #6e8299;
  --blue: #42a5ff;
  --blue-2: #126bff;
  --blue-soft: rgba(66, 165, 255, 0.14);
  --orange: #ff8a3d;
  --orange-soft: rgba(255, 138, 61, 0.14);
  --green: #53dfae;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 22px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 0%, rgba(33, 130, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #07101c 0%, var(--bg) 26%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: rgba(66, 165, 255, .35); color: #fff; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding: 104px 0; }
.section--panel {
  border-block: 1px solid rgba(133, 178, 223, 0.08);
  background: linear-gradient(180deg, rgba(10, 20, 33, .72), rgba(5, 10, 18, .56));
}

.page-glow { position: fixed; inset: auto; pointer-events: none; filter: blur(90px); opacity: .22; z-index: -1; }
.page-glow--one { width: 300px; height: 300px; background: #126bff; right: -80px; top: 18vh; }
.page-glow--two { width: 240px; height: 240px; background: #ff7a2f; left: -110px; bottom: 12vh; opacity: .1; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 1px solid rgba(158, 197, 236, 0.1);
  background: rgba(4, 9, 16, .78);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { filter: drop-shadow(0 8px 18px rgba(37, 132, 255, .24)); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 15px; letter-spacing: .02em; }
.brand-copy small { margin-top: 4px; color: var(--muted-2); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 10px 10px;
  color: #a8b9cc;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.04); }
.nav-link.is-active { color: #fff; background: var(--blue-soft); }
.nav-link.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--blue); }

.mobile-menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.03); cursor: pointer; }
.mobile-menu-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; border-radius: 2px; background: #dcecff; transition: transform .2s ease, opacity .2s ease; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero { min-height: 780px; display: grid; align-items: center; padding-top: 148px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -210px; top: 80px; border: 1px solid rgba(64, 162, 255, .09); border-radius: 50%; box-shadow: 0 0 0 100px rgba(64,162,255,.02), 0 0 0 210px rgba(64,162,255,.015); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(400px, .9fr); gap: 70px; align-items: center; }
.eyebrow, .section-kicker { color: #83c4ff; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid rgba(86, 170, 255, .18); border-radius: 999px; background: rgba(24, 82, 143, .14); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(83,223,174,.8); }
.hero h1 { margin: 20px 0 5px; font-size: clamp(64px, 8vw, 118px); line-height: .88; letter-spacing: -.065em; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(161, 209, 255, .58); text-shadow: 0 0 40px rgba(54, 142, 255, .12); }
.hero-subtitle { margin: 24px 0 0; color: #dcecff; font-size: clamp(22px, 2.4vw, 31px); font-weight: 700; letter-spacing: -.02em; }
.hero-lead { max-width: 660px; margin: 17px 0 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; font-size: 13px; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: 0 10px 30px rgba(18, 107, 255, .24); }
.button--primary:hover { box-shadow: 0 15px 36px rgba(18,107,255,.34); }
.button--ghost { color: #d9eaff; border-color: rgba(133, 188, 244, .2); background: rgba(255,255,255,.035); }
.button--ghost:hover { border-color: rgba(93, 173, 255, .45); background: rgba(66,165,255,.08); }
.button--full { width: 100%; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 700px; margin-top: 52px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); }
.hero-stats div { min-height: 86px; padding: 18px; background: rgba(8, 16, 27, .82); }
.hero-stats strong, .hero-stats span { display: block; }
.hero-stats strong { color: #eaf5ff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hero-stats span { margin-top: 5px; color: var(--muted-2); font-size: 11px; }

.hero-console { position: relative; border: 1px solid rgba(99,179,255,.24); border-radius: 24px; overflow: hidden; background: linear-gradient(150deg, rgba(17,34,55,.94), rgba(4,10,18,.98)); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04); transform: perspective(1000px) rotateY(-3deg) rotateX(1deg); }
.hero-console::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(72,165,255,.05) 48%, transparent 65%); }
.console-topbar, .console-footer { height: 46px; display: flex; align-items: center; gap: 14px; padding: 0 17px; border-bottom: 1px solid var(--line); color: #657b92; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.console-footer { height: 40px; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 0; }
.traffic { display: flex; gap: 5px; }
.traffic i { width: 7px; height: 7px; border-radius: 50%; background: #2e4053; }
.traffic i:first-child { background: #ff8354; }.traffic i:nth-child(2) { background: #ffc45e; }.traffic i:last-child { background: #58dca9; }
.console-live { margin-left: auto; color: var(--green); }
.console-screen { min-height: 410px; display: grid; align-content: center; justify-items: center; padding: 42px; }
.console-logo-wrap { position: relative; width: 180px; height: 180px; display: grid; place-items: center; margin-bottom: 38px; }
.console-logo-wrap img { position: relative; z-index: 2; filter: drop-shadow(0 16px 34px rgba(20,117,255,.35)); }
.console-logo-wrap--mascot { width: 270px; height: 240px; margin-bottom: 24px; }
.console-mascot { width: 245px; height: 235px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 18px 34px rgba(0,0,0,.4)) !important; }
.orbit { position: absolute; border: 1px solid rgba(72,165,255,.2); border-radius: 50%; }
.orbit--one { inset: 8px; }.orbit--two { inset: -12px; border-style: dashed; opacity: .5; }
.console-lines { width: 100%; display: grid; gap: 8px; }
.console-lines span { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid rgba(135,179,220,.1); border-radius: 9px; background: rgba(255,255,255,.018); color: #9fb2c6; font: 600 10px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.console-lines b { color: var(--blue); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-heading h2, .about-grid h2, .brand-section h2 { margin: 5px 0 0; font-size: clamp(36px, 5vw, 58px); line-height: 1; letter-spacing: -.045em; }
.section-heading > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 15px; }
.cards { display: grid; gap: 20px; }
.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.project-card, .translation-card, .about-card, .mini-panel { border: 1px solid var(--line); background: linear-gradient(160deg, rgba(16,31,49,.88), rgba(8,16,27,.9)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.project-card { position: relative; min-height: 430px; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); overflow: hidden; }
.project-card::before { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: rgba(66,165,255,.07); filter: blur(8px); }
.project-card--featured { border-color: rgba(71,165,255,.24); }
.project-card--featured::after { content: "FEATURED"; position: absolute; right: -31px; top: 24px; width: 124px; padding: 4px 0; transform: rotate(45deg); background: rgba(35,128,236,.19); color: #82c5ff; text-align: center; font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.project-card__top, .project-card__footer, .project-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.app-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; font-weight: 950; letter-spacing: -.04em; }
.app-icon--fc { background: linear-gradient(145deg, #0e67e9, #3da9ff); color: white; box-shadow: 0 12px 26px rgba(20,117,255,.22); }
.app-icon--ai { border: 1px solid rgba(255,140,65,.3); background: var(--orange-soft); color: #ffb17d; }
.badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border: 1px solid rgba(163,191,221,.14); border-radius: 999px; color: #90a5bb; background: rgba(255,255,255,.025); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.badge--blue { color: #82c6ff; border-color: rgba(66,165,255,.24); background: var(--blue-soft); }
.badge--orange { color: #ffad76; border-color: rgba(255,138,61,.25); background: var(--orange-soft); }
.project-card__body { flex: 1; padding-top: 30px; }
.project-meta { color: #71869b; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.project-card h3 { margin: 12px 0 10px; font-size: 29px; line-height: 1.08; letter-spacing: -.035em; }
.project-card p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.feature-row span { padding: 5px 8px; border-radius: 6px; background: rgba(255,255,255,.035); color: #6f849a; font-size: 8px; font-weight: 850; letter-spacing: .09em; }
.project-card__footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(145,184,221,.08); }
.tiny-note { color: #62778d; font-size: 10px; text-align: right; }

.translation-card { display: grid; grid-template-columns: 180px 1fr; min-height: 245px; border-radius: var(--radius); overflow: hidden; }
.translation-art { position: relative; min-height: 245px; display: grid; place-content: center; text-align: center; background: linear-gradient(145deg, rgba(16,103,233,.34), rgba(7,18,32,.6)), repeating-linear-gradient(45deg, transparent 0 16px, rgba(255,255,255,.018) 16px 17px); border-right: 1px solid var(--line); }
.translation-art--alt { background: linear-gradient(145deg, rgba(255,112,37,.24), rgba(7,18,32,.6)), repeating-linear-gradient(135deg, transparent 0 16px, rgba(255,255,255,.018) 16px 17px); }
.translation-art span { font-size: 62px; font-weight: 950; line-height: 1; letter-spacing: -.08em; }
.translation-art small { margin-top: 8px; color: #7390aa; font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.translation-content { padding: 25px; }
.translation-content h3 { margin: 13px 0 8px; font-size: 24px; letter-spacing: -.03em; }
.translation-content p { margin: 0; color: var(--muted); font-size: 13px; }
.text-button { margin-top: 18px; padding: 0; border: 0; background: none; color: #76bbff; font-size: 12px; font-weight: 800; cursor: pointer; }
.text-button span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }.text-button:hover span { transform: translateX(4px); }

.stream-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); gap: 20px; }
.stream-screen { min-height: 440px; display: grid; place-items: center; border: 1px solid rgba(92,169,246,.2); border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 40%, rgba(26,111,203,.14), transparent 40%), linear-gradient(145deg, #0c1725, #060b12); box-shadow: var(--shadow); }
.stream-placeholder { text-align: center; padding: 30px; }
.stream-dot { width: 16px; height: 16px; display: inline-block; border: 3px solid rgba(255,94,94,.28); border-radius: 50%; background: #ff6262; box-shadow: 0 0 26px rgba(255,98,98,.22); }
.stream-placeholder p { margin: 14px 0 2px; color: #ff9191; font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.stream-placeholder strong { display: block; font-size: 27px; letter-spacing: -.03em; }
.stream-placeholder small { display: block; margin-top: 8px; color: var(--muted-2); }
.stream-side { display: grid; gap: 12px; align-content: start; }
.mini-panel { padding: 18px; border-radius: 15px; }
.mini-panel > span { display: block; margin-bottom: 8px; color: #637991; font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.mini-panel strong { color: #dcebfa; font-size: 13px; }
.platforms { display: flex; gap: 7px; }.platforms b { width: 34px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.04); color: #a8bdd2; font-size: 9px; }
.status-offline { color: #ff8989 !important; }

.brand-section { min-height: 250px; display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 34px; padding: 42px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(135deg, rgba(15,30,48,.88), rgba(6,13,22,.9)); overflow: hidden; position: relative; }
.brand-section::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -150px; border-radius: 50%; background: rgba(50,146,255,.08); }
.brand-section--fox::after { background: rgba(255,135,60,.08); }
.brand-section__mark { width: 105px; height: 105px; display: grid; place-items: center; border: 1px solid rgba(71,165,255,.28); border-radius: 26px; color: #9ed1ff; background: linear-gradient(145deg, rgba(18,107,255,.22), rgba(66,165,255,.07)); font-size: 34px; font-weight: 950; letter-spacing: -.06em; box-shadow: 0 18px 45px rgba(8,86,176,.16); }
.brand-section__mark--fox { border-color: rgba(255,138,61,.25); color: #ffb37f; background: linear-gradient(145deg, rgba(255,111,35,.19), rgba(255,138,61,.06)); }
.brand-section h2 { font-size: clamp(32px, 4vw, 47px); }
.brand-section p { max-width: 650px; margin: 12px 0 0; color: var(--muted); }
.brand-section .button { position: relative; z-index: 2; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-lead { max-width: 600px; margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.about-card { padding: 25px; border-radius: var(--radius); }
.about-row { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(141,181,219,.08); }
.about-row span { color: #667d94; font-size: 11px; }.about-row strong { color: #dbeaff; font-size: 12px; text-align: right; }
.about-quote { margin-top: 22px; padding: 18px; border-left: 2px solid var(--orange); border-radius: 0 10px 10px 0; background: var(--orange-soft); color: #ffc39a; font-size: 13px; }

.site-footer { border-top: 1px solid rgba(146,184,222,.08); background: #03070c; }
.footer-inner { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand--footer > div { display: grid; line-height: 1.15; }.brand--footer strong { font-size: 13px; }.brand--footer small { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.footer-inner > p { color: #566b80; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.back-top { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: #9db4cb; text-decoration: none; background: rgba(255,255,255,.025); }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 100; width: min(430px, calc(100% - 28px)); display: grid; grid-template-columns: auto 1fr; gap: 5px 10px; padding: 14px 16px; border: 1px solid rgba(85,171,255,.28); border-radius: 14px; background: rgba(8,18,30,.96); box-shadow: 0 20px 70px rgba(0,0,0,.5); backdrop-filter: blur(14px); opacity: 0; transform: translate(-50%, 18px); pointer-events: none; transition: opacity .22s ease, transform .22s ease; }
.toast strong { color: #93ccff; font-size: 12px; }.toast span { color: #879db4; font-size: 11px; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1040px) {
  .site-nav { gap: 0; }.nav-link { padding-inline: 7px; font-size: 10px; }
  .hero-grid { grid-template-columns: 1fr 420px; gap: 40px; }
  .hero h1 { font-size: 82px; }
  .brand-section { grid-template-columns: 100px 1fr; }.brand-section .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 900px) {
  .mobile-menu-toggle { display: block; }
  .site-nav { position: absolute; left: 20px; right: 20px; top: 66px; display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(6,13,22,.98); box-shadow: var(--shadow); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .site-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-link { padding: 12px 13px; font-size: 12px; }.nav-link.is-active::after { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }.hero-console { max-width: 560px; transform: none; }
  .cards--two, .about-grid { grid-template-columns: 1fr; }.about-grid { gap: 34px; }
  .stream-layout { grid-template-columns: 1fr; }.stream-side { grid-template-columns: repeat(3, 1fr); }.stream-side .button { grid-column: 1 / -1; }
  .section-heading { align-items: start; flex-direction: column; gap: 14px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); --radius: 18px; }
  html { scroll-padding-top: 82px; }
  .section { padding: 76px 0; }
  .header-inner { min-height: 66px; }
  .brand-copy small { display: none; }
  .hero { padding-top: 124px; }
  .hero::before { width: 420px; height: 420px; right: -270px; top: 130px; }
  .hero h1 { font-size: clamp(58px, 20vw, 82px); }
  .hero-subtitle { font-size: 22px; }
  .hero-lead { font-size: 15px; }
  .hero-actions .button { flex: 1 1 150px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { min-height: auto; }
  .hero-console { border-radius: 18px; }
  .console-screen { min-height: 340px; padding: 28px 20px; }
  .console-logo-wrap { width: 150px; height: 150px; margin-bottom: 28px; }
  .console-logo-wrap img { width: 92px; }
  .console-logo-wrap--mascot { width: 220px; height: 205px; margin-bottom: 20px; }
  .console-logo-wrap--mascot .console-mascot { width: 205px; height: 200px; }
  .console-lines span { font-size: 9px; }
  .section-heading h2, .about-grid h2 { font-size: 40px; }
  .project-card { min-height: 0; padding: 21px; }
  .project-card h3 { font-size: 25px; }
  .project-card__footer { align-items: stretch; flex-direction: column; }.project-card__footer .button { width: 100%; }.tiny-note { text-align: left; }
  .translation-card { grid-template-columns: 1fr; }.translation-art { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stream-screen { min-height: 330px; }.stream-placeholder strong { font-size: 23px; }
  .stream-side { grid-template-columns: 1fr; }.stream-side .button { grid-column: auto; }
  .brand-section { grid-template-columns: 1fr; gap: 23px; padding: 27px; }
  .brand-section__mark { width: 88px; height: 88px; border-radius: 22px; }
  .brand-section .button { grid-column: auto; width: 100%; }
  .footer-inner { min-height: 150px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 14px; padding-block: 25px; }.footer-inner > p { margin: 0; }.back-top { position: absolute; right: 14px; }
  .toast { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
