@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Michroma&display=swap');

:root {
  --ink: #02060d;
  --surface: #07111c;
  --surface-2: #0a1623;
  --line: rgba(151, 196, 224, .18);
  --line-strong: rgba(93, 199, 255, .48);
  --text: #edf6fb;
  --muted: #8da4b4;
  --blue: #19c8ff;
  --cobalt: #2d68ff;
  --teal: #2cf0cb;
  --amber: #f0b45c;
  --shell: min(1680px, calc(100vw - 80px));
  --header-height: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--text); background: var(--ink); font-family: "IBM Plex Sans", sans-serif; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .22; z-index: 20; background-image: linear-gradient(rgba(55,144,195,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(55,144,195,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 75%); }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-150%); background: var(--blue); color: #00101a; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { transform: translateY(0); }

.language-bar { height: 34px; background: #01040a; border-bottom: 1px solid rgba(118,183,222,.13); position: relative; z-index: 40; }
.language-bar__inner { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.language-bar__label { color: #6f8798; text-transform: uppercase; letter-spacing: .16em; font-size: 10px; }
.language-switcher { display: flex; height: 100%; overflow-x: auto; scrollbar-width: none; }
.language-switcher::-webkit-scrollbar { display: none; }
.language-button { position: relative; display: flex; align-items: center; gap: 6px; padding: 0 10px; border: 0; color: #6f8798; background: transparent; cursor: pointer; font-size: 10px; letter-spacing: .1em; }
.language-button::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 1px; background: var(--blue); transform: scaleX(0); transition: transform .25s ease; }
.language-button img { width: 18px; height: 12px; object-fit: cover; filter: saturate(.65); transition: filter .25s ease; }
.language-button:hover, .language-button.is-active { color: var(--text); }
.language-button:hover img, .language-button.is-active img { filter: saturate(1); }
.language-button.is-active::after { transform: scaleX(1); }

.site-header { height: var(--header-height); position: absolute; top: 34px; left: 0; right: 0; z-index: 35; border-bottom: 1px solid rgba(137,190,223,.16); background: linear-gradient(to bottom, rgba(1,5,12,.88), rgba(1,5,12,.38)); backdrop-filter: blur(10px); }
.site-header.is-scrolled { position: fixed; top: 0; height: 72px; background: rgba(2,7,14,.92); box-shadow: 0 14px 45px rgba(0,0,0,.32); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 250px; height: calc(100% - 12px); overflow: visible; display: flex; align-items: center; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 1.8vw, 34px); }
.main-nav > a { color: #bacbd5; font-size: 13px; letter-spacing: .04em; transition: color .2s ease; }
.main-nav > a:hover { color: var(--blue); }
.main-nav .nav-cta { position: relative; color: var(--text); border: 1px solid var(--line-strong); padding: 12px 18px; text-transform: uppercase; font-size: 10px; letter-spacing: .13em; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; padding: 12px; }
.menu-toggle span { display: block; height: 1px; background: var(--text); margin: 6px 0; }

.hero { height: min(820px, 48vw); min-height: 650px; position: relative; overflow: hidden; background: #01050b; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.025); transition: opacity .9s ease, transform 6.5s cubic-bezier(.2,.7,.2,1), visibility .9s; background-size: cover; background-position: center; }
.hero-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-slide--one { background-image: url("Images/hero-mouse4ai-1.png"); --slide-accent: var(--blue); }
.hero-slide--two { background-image: url("Images/hero-mouse4ai-2.png"); --slide-accent: var(--teal); }
.hero-slide--three { background-image: url("Images/hero-mouse4ai-3.png"); --slide-accent: var(--amber); }
.hero-slide__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,5,11,.98) 0%, rgba(1,5,11,.77) 29%, rgba(1,5,11,.08) 56%, rgba(1,5,11,.18) 100%), linear-gradient(0deg, rgba(1,5,11,.88), transparent 32%); }
.hero-slide__content { position: relative; height: 100%; padding-top: calc(var(--header-height) + 84px); }
.hero-copy { width: min(610px, 37vw); position: relative; z-index: 2; }
.hero-kicker, .section-index { margin: 0 0 24px; color: var(--slide-accent, var(--blue)); text-transform: uppercase; letter-spacing: .24em; font-size: 10px; font-weight: 600; }
.hero-copy h1, .hero-copy h2 { margin: 0 0 30px; font-family: "Michroma", sans-serif; font-weight: 400; font-size: clamp(32px, 3vw, 58px); line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }
.feature-list { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 42px 1fr; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); }
.feature-list span { color: var(--slide-accent); font: 9px "Michroma", sans-serif; }
.feature-list strong { font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.text-link { display: inline-flex; gap: 18px; align-items: center; color: var(--slide-accent); text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 600; }
.text-link::after { content: "→"; font-size: 16px; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(6px); }
.device-signature { position: absolute; top: calc(var(--header-height) + 40px); left: 0; right: auto; display: flex; flex-direction: row; align-items: baseline; gap: 14px; text-shadow: 0 2px 24px #000; }
.device-signature span { color: var(--slide-accent); font: 9px "Michroma", sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.device-signature strong { font: clamp(18px, 1.7vw, 30px) "Michroma", sans-serif; font-weight: 400; }
.device-signature .coming-soon { border: 1px solid currentColor; padding: 7px 10px; background: rgba(2,6,13,.55); }
.hero-controls { position: absolute; z-index: 10; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; justify-content: flex-end; align-items: center; gap: 18px; pointer-events: none; }
.hero-controls button { pointer-events: auto; }
.hero-arrow { width: 38px; height: 38px; border: 1px solid var(--line); background: rgba(2,7,14,.7); color: var(--text); cursor: pointer; transition: border-color .2s, color .2s; }
.hero-arrow:hover { border-color: var(--blue); color: var(--blue); }
.hero-pagination { display: flex; gap: 8px; }
.hero-dot { width: 66px; height: 38px; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 8px; border: 0; background: transparent; color: #6f8798; cursor: pointer; }
.hero-dot span { font: 9px "Michroma", sans-serif; }
.hero-dot i { display: block; height: 1px; background: rgba(133,177,202,.28); position: relative; overflow: hidden; }
.hero-dot i::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateX(-100%); }
.hero-dot.is-active { color: var(--text); }
.hero-dot.is-active i::after { animation: heroProgress 7.5s linear forwards; }
@keyframes heroProgress { to { transform: translateX(0); } }

.signal-rail { border-block: 1px solid var(--line); background: #040a12; }
.signal-rail__inner { min-height: 68px; display: grid; grid-template-columns: 2fr repeat(4, 1fr); align-items: center; }
.signal-rail span, .signal-rail strong { padding: 0 24px; border-left: 1px solid var(--line); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; }
.signal-rail span { color: var(--blue); padding-left: 0; border: 0; }
.signal-rail strong { font-family: "Michroma", sans-serif; font-weight: 400; color: #90a7b6; }

.section { padding: 140px 0; position: relative; }
.manifesto { background: linear-gradient(135deg, #050b13, #091522 70%, #050a11); }
.manifesto::after { content: ""; position: absolute; width: 34vw; aspect-ratio: 1; right: -8vw; top: 12%; border: 1px solid rgba(30,199,255,.15); border-radius: 50%; box-shadow: 0 0 0 70px rgba(31,172,236,.025), 0 0 0 140px rgba(31,172,236,.018); }
.manifesto__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 70px; position: relative; z-index: 2; }
.section-index { --slide-accent: var(--blue); }
.manifesto h2, .section-heading h2, .software h2, .closing h2 { margin: 0; font: 400 clamp(38px, 4.4vw, 76px)/1.13 "Michroma", sans-serif; letter-spacing: -.045em; text-wrap: balance; }
.manifesto h2 { max-width: 1120px; }
.manifesto__grid > div > p { max-width: 740px; margin: 42px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; }

.products { background: #030810; }
.section-heading { display: grid; grid-template-columns: 1fr 3fr; gap: 70px; align-items: start; margin-bottom: 80px; }
.section-heading h2 { font-size: clamp(34px, 3.5vw, 62px); max-width: 900px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.product-panel { min-height: 480px; padding: 42px; display: flex; flex-direction: column; position: relative; overflow: hidden; background: linear-gradient(145deg, rgba(10,23,37,.78), rgba(3,8,16,.93)); }
.product-panel + .product-panel { border-left: 1px solid var(--line); }
.product-panel::before { content: ""; position: absolute; width: 280px; height: 280px; right: -130px; top: -130px; border: 1px solid var(--panel-accent); transform: rotate(45deg); opacity: .25; }
.product-panel--one { --panel-accent: var(--blue); }
.product-panel--two { --panel-accent: var(--teal); }
.product-panel--three { --panel-accent: var(--amber); }
.product-panel__number { color: var(--panel-accent); font: 58px "Michroma", sans-serif; opacity: .22; }
.product-panel__status { color: var(--panel-accent); text-transform: uppercase; font-size: 9px; letter-spacing: .19em; margin: auto 0 16px; }
.product-panel h3 { margin: 0 0 18px; font: 26px "Michroma", sans-serif; font-weight: 400; }
.product-panel > p:not(.product-panel__status) { color: var(--muted); line-height: 1.65; max-width: 390px; min-height: 84px; }
.product-panel a, .muted-link { margin-top: 24px; color: var(--panel-accent); text-transform: uppercase; font-size: 10px; letter-spacing: .15em; }
.muted-link { color: #778c99; }

.software { background: #07111b; }
.software__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; }
.software__intro h2 { font-size: clamp(36px, 4vw, 70px); }
.software__intro > p:last-child { margin: 36px 0 0; color: var(--muted); max-width: 520px; line-height: 1.7; }
.software-lines { border-top: 1px solid var(--line); }
.software-lines article { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.software-lines article > span { color: var(--blue); font: 10px "Michroma", sans-serif; padding-top: 8px; }
.software-lines h3 { margin: 0 0 12px; font: 21px "Michroma", sans-serif; font-weight: 400; }
.software-lines p { margin: 0; color: var(--muted); line-height: 1.65; }

.architecture { background: #030810; border-top: 1px solid var(--line); }
.architecture-path { margin-top: 70px; display: grid; grid-template-columns: 1fr 140px 1fr 140px 1fr; align-items: center; }
.architecture-path div { min-height: 200px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; padding: 32px; background: #07111b; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); }
.architecture-path div span { color: var(--blue); font: 9px "Michroma", sans-serif; }
.architecture-path div strong { margin: 18px 0 8px; font: 18px "Michroma", sans-serif; font-weight: 400; }
.architecture-path div small { color: var(--muted); font-size: 13px; }
.architecture-path > i { height: 1px; background: linear-gradient(90deg, var(--line), var(--blue), var(--line)); position: relative; }
.architecture-path > i::after { content: ">"; position: absolute; right: -2px; top: -10px; color: var(--blue); font-style: normal; }

.closing { min-height: 650px; display: grid; align-items: center; position: relative; overflow: hidden; background: radial-gradient(circle at 75% 50%, rgba(27,178,237,.15), transparent 28%), #04101a; border-top: 1px solid var(--line); }
.closing__grid { position: absolute; inset: -30%; transform: perspective(700px) rotateX(65deg) rotateZ(-12deg); background-image: linear-gradient(rgba(31,201,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(31,201,255,.11) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(circle, black, transparent 65%); }
.closing__content { position: relative; z-index: 2; }
.closing h2 { max-width: 1100px; }
.closing__content > p:not(.section-index) { color: var(--muted); max-width: 680px; margin: 30px 0 40px; font-size: 17px; line-height: 1.7; }
.closing__actions { display: flex; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; padding: 16px 22px; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 600; clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px)); }
.button--primary { background: var(--blue); color: #00111b; }
.button--quiet { border: 1px solid var(--line-strong); background: rgba(3,10,18,.68); }

.site-footer { padding: 54px 0; border-top: 1px solid var(--line); background: #01050a; }
.site-footer__grid { display: grid; grid-template-columns: 220px 1fr auto auto; gap: 45px; align-items: center; }
.site-footer img { width: 200px; }
.site-footer p, .site-footer a { margin: 0; color: #718795; font-size: 12px; }
.site-footer a:hover { color: var(--blue); }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 40px, 980px); }
  .main-nav { position: fixed; inset: 106px 0 auto; padding: 30px 20px 40px; background: rgba(2,7,14,.98); border-bottom: 1px solid var(--line); display: none; flex-direction: column; align-items: flex-start; }
  .site-header.is-scrolled .main-nav { inset: 72px 0 auto; }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: block; }
  .hero { height: 720px; min-height: 720px; }
  .hero-copy { width: 52vw; }
  .hero-slide__shade { background: linear-gradient(90deg, rgba(1,5,11,.97), rgba(1,5,11,.72) 45%, rgba(1,5,11,.12) 75%), linear-gradient(0deg, #01050b, transparent 45%); }
  .device-signature { left: 0; right: auto; }
  .signal-rail__inner { grid-template-columns: 1.5fr repeat(4, 1fr); }
  .product-panel { padding: 30px; }
  .software__grid { gap: 7vw; }
  .architecture-path { grid-template-columns: 1fr 60px 1fr 60px 1fr; }
  .site-footer__grid { grid-template-columns: 200px 1fr auto; }
  .site-footer__grid > p:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 32px); --header-height: 72px; }
  .language-bar__label, .language-button span { display: none; }
  .language-bar__inner { justify-content: center; }
  .language-button { padding: 0 6px; }
  .language-button img { width: 23px; height: 15px; }
  .site-header { height: 72px; }
  .brand { width: 190px; height: calc(100% - 10px); }
  .main-nav { inset: 106px 0 auto; }
  .hero { height: 810px; min-height: 810px; }
  .hero-slide { background-position: 67% center; }
  .hero-slide__shade { background: linear-gradient(180deg, rgba(1,5,11,.82) 0%, rgba(1,5,11,.22) 34%, rgba(1,5,11,.82) 58%, #01050b 100%); }
  .hero-slide__content { padding-top: 130px; display: flex; align-items: flex-end; padding-bottom: 105px; }
  .hero-copy { width: 100%; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(29px, 8vw, 42px); margin-bottom: 24px; }
  .hero-kicker { margin-bottom: 16px; }
  .feature-list { margin-bottom: 22px; }
  .device-signature { top: 118px; left: 0; right: auto; }
  .device-signature strong { font-size: 17px; }
  .hero-controls { justify-content: center; bottom: 23px; }
  .hero-arrow { display: none; }
  .signal-rail__inner { display: flex; overflow-x: auto; min-height: 54px; }
  .signal-rail span, .signal-rail strong { min-width: max-content; padding: 0 18px; }
  .section { padding: 90px 0; }
  .manifesto__grid, .section-heading, .software__grid { grid-template-columns: 1fr; gap: 30px; }
  .manifesto h2, .section-heading h2, .software h2, .closing h2 { font-size: clamp(31px, 9vw, 46px); }
  .manifesto__grid > div > p { font-size: 16px; margin-top: 30px; }
  .section-heading { margin-bottom: 45px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-panel { min-height: 390px; }
  .product-panel + .product-panel { border-left: 0; border-top: 1px solid var(--line); }
  .software-lines { margin-top: 20px; }
  .architecture-path { grid-template-columns: 1fr; gap: 0; }
  .architecture-path > i { height: 55px; width: 1px; justify-self: center; background: linear-gradient(var(--line), var(--blue), var(--line)); }
  .architecture-path > i::after { content: "⌄"; right: -8px; top: 34px; }
  .closing { min-height: 650px; }
  .closing__actions { flex-direction: column; align-items: stretch; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__grid > p:last-child { grid-column: auto; }
}

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