:root {
  --bg: #050914;
  --panel: rgba(11, 24, 43, 0.72);
  --panel-strong: rgba(13, 34, 62, 0.9);
  --text: #f6fbff;
  --muted: #b6c6d8;
  --line: rgba(176, 224, 255, 0.18);
  --cyan: #4de0ff;
  --blue: #2f7cff;
  --red: #ff445f;
  --silver: #e6eef8;
  --max: 1180px;
  --slide-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --slide-fade: 2400ms;
  --slide-content: 1800ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.smooth-scroll { scroll-behavior: auto; }
html.smooth-scroll body {
  min-height: var(--smooth-height, 100vh);
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 14% 8%, rgba(77, 224, 255, 0.12), transparent 28rem), radial-gradient(circle at 86% 0%, rgba(255, 68, 95, 0.08), transparent 24rem), linear-gradient(180deg, #050914 0%, #06111f 48%, #040812 100%);
  overflow-x: hidden;
  overscroll-behavior-y: none;
  opacity: 1;
  transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1);
}
body.is-loading { overflow: hidden; }
body.page-leaving { opacity: 0; }
.smooth-content {
  position: relative;
  z-index: 1;
}
html.smooth-scroll .smooth-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
img { display: block; max-width: 100%; }
img.image-soft {
  opacity: 0;
  filter: blur(10px) saturate(0.92);
  transition: opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1), filter 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}
img.image-soft.is-loaded {
  opacity: 1;
  filter: blur(0) saturate(1);
}
.hero-slide img.image-soft.is-loaded,
.page-hero > img.image-soft.is-loaded,
.platform-bg img.image-soft.is-loaded,
.footer-bg img.image-soft.is-loaded {
  filter: blur(0) saturate(1.08) contrast(1.08);
}
a { color: inherit; text-decoration: none; }

.preloader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; gap: 24px;
  background: #040812; transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), visibility 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.preloader img { width: min(260px, 64vw); }
.preloader span { width: 160px; height: 2px; overflow: hidden; background: rgba(255,255,255,0.14); }
.preloader span::before { content: ""; display: block; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: loadLine 1s infinite ease; }
body.loaded .preloader { opacity: 0; visibility: hidden; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  width: min(100% - 40px, var(--max)); margin: 18px auto 0; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px;
  background: rgba(5, 9, 20, 0.42); backdrop-filter: blur(18px); transition: background 620ms cubic-bezier(0.16, 1, 0.3, 1), border-color 620ms cubic-bezier(0.16, 1, 0.3, 1), transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.is-scrolled { background: rgba(5, 12, 24, 0.88); border-color: rgba(77, 224, 255, 0.2); transform: translateY(-4px); }
.brand img { width: 178px; height: auto; }
.site-nav { display: flex; justify-content: center; gap: 26px; }
.site-nav a, .footer a { color: rgba(246, 251, 255, 0.82); font-size: 14px; font-weight: 700; transition: color 520ms cubic-bezier(0.16, 1, 0.3, 1); }
.site-nav a {
  position: relative;
  padding: 8px 0;
}
.site-nav a:hover,
.site-nav a.is-active,
.footer a:hover { color: var(--cyan); }
.header-cta, .btn {
  position: relative;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 6px; font-weight: 800; letter-spacing: 0;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), border-color 520ms cubic-bezier(0.16, 1, 0.3, 1), background 520ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
}
.header-cta::before,
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.28) 42%, transparent 64%);
  transform: translateX(-140%);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.header-cta:hover::before,
.btn:hover::before {
  transform: translateX(140%);
}
.header-cta { background: rgba(77, 224, 255, 0.1); border: 1px solid rgba(77, 224, 255, 0.28); }
.btn.primary { background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #03101c; box-shadow: 0 22px 44px rgba(47, 124, 255, 0.24); }
.btn.secondary { border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.06); color: var(--text); }
.header-cta:hover, .btn:hover { transform: translateY(-3px); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,0.06); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--text); }

.hero, .page-hero { position: relative; overflow: hidden; min-height: 100svh; }
.hero-slider { display: grid; align-items: end; }
.hero-slide { position: absolute; inset: 0; display: grid; align-items: end; padding: 150px max(24px, calc((100vw - var(--max)) / 2)) 118px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--slide-fade) var(--slide-ease), visibility var(--slide-fade) var(--slide-ease); }
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-slide img, .page-hero > img, .platform-bg img, .footer-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: saturate(1.08) contrast(1.08); }
.hero-slide.is-active img { animation: heroDrift 18s ease-in-out infinite alternate; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,8,18,0.95), rgba(3,8,18,0.68) 48%, rgba(3,8,18,0.22)), linear-gradient(0deg, var(--bg), transparent 44%); }
.hero-content, .page-hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-content { transform: translateY(26px); opacity: 0; transition: transform var(--slide-content) var(--slide-ease) 320ms, opacity var(--slide-content) var(--slide-ease) 320ms; }
.hero-slide.is-active .hero-content { transform: translateY(0); opacity: 1; }
@media (min-width: 981px) {
  .hero-content.compact-copy { max-width: 720px; }
  .hero-content.compact-copy .hero-copy { max-width: 660px; }
}
.page-hero { display: grid; align-items: end; padding: 150px max(24px, calc((100vw - var(--max)) / 2)) 92px; min-height: 72svh; }
.page-hero.tall { min-height: 86svh; }

.eyebrow, .section-kicker { margin: 0 0 16px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; max-width: 920px; font-size: clamp(46px, 7vw, 92px); line-height: 0.96; letter-spacing: 0; }
h2 { margin-bottom: 18px; font-size: clamp(32px, 4.3vw, 58px); line-height: 1.02; letter-spacing: 0; }
.hero-content h2 { margin-bottom: 22px; max-width: 920px; font-size: clamp(46px, 7vw, 92px); line-height: 0.96; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.16; letter-spacing: 0; }
.hero-copy, .page-hero-content p, .intro-grid p, .security-copy p, .footer-brand p, .contact-card p { color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-panel { position: absolute; right: max(24px, calc((100vw - var(--max)) / 2)); bottom: 94px; z-index: 3; width: min(360px, calc(100vw - 48px)); padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: rgba(5,13,27,0.76); box-shadow: 0 30px 80px rgba(0,0,0,0.32); backdrop-filter: blur(16px); }
.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #3cffb5; box-shadow: 0 0 0 8px rgba(60,255,181,0.1); }
.hero-panel p { display: inline-block; margin: 0 0 8px 12px; color: var(--muted); font-size: 13px; }
.hero-panel strong { display: block; margin-bottom: 18px; font-size: 24px; }
.panel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.panel-grid span { padding: 10px; border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; color: var(--silver); font-size: 12px; background: rgba(255,255,255,0.05); }
.slider-controls {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 42px;
  z-index: 4;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(4, 10, 22, 0.42);
  backdrop-filter: blur(14px);
}
.slider-controls button { width: 42px; height: 4px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,0.28); cursor: pointer; transition: width 900ms var(--slide-ease), background 900ms var(--slide-ease); }
.slider-controls button.is-active { width: 72px; background: var(--cyan); }

.section { width: min(100% - 40px, var(--max)); margin: 0 auto; padding: 104px 0; }
.intro { border-bottom: 1px solid var(--line); }
.intro-grid, .split-section, .contact-layout { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr); gap: 64px; align-items: center; }
.section-head { max-width: 760px; margin-bottom: 38px; }
.service-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.service-strip span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--silver); background: rgba(255,255,255,0.05); font-size: 14px; font-weight: 700; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card, .contact-card { overflow: hidden; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; background: var(--panel); transform: translateZ(0); transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), border-color 700ms cubic-bezier(0.16, 1, 0.3, 1), background 700ms cubic-bezier(0.16, 1, 0.3, 1); }
.service-card { min-height: 390px; }
.service-card:hover, .contact-card:hover { transform: translateY(-6px); border-color: rgba(77,224,255,0.32); background: var(--panel-strong); }
.service-card img {
  width: 100%;
  height: 184px;
  object-fit: cover;
  transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1), opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1), filter 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover img {
  transform: scale(1.06);
}
.service-card div, .contact-card { padding: 24px; }
.service-card p { margin-bottom: 14px; color: var(--cyan); font-size: 12px; font-weight: 800; }
.service-card span, .industry-item p, .metric-card span, .check-list li { color: var(--muted); line-height: 1.55; }
.detailed .service-card { min-height: 410px; }

.platform { position: relative; min-height: 720px; display: grid; align-items: end; overflow: hidden; padding: 120px max(24px, calc((100vw - var(--max)) / 2)); }
.platform::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,8,18,0.95), rgba(3,8,18,0.36) 56%, rgba(3,8,18,0.72)); }
.platform-content { position: relative; z-index: 2; }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.metric-card { min-height: 188px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: rgba(5,13,27,0.76); backdrop-filter: blur(14px); transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), border-color 700ms cubic-bezier(0.16, 1, 0.3, 1); }
.metric-card:hover { transform: translateY(-6px); border-color: rgba(77,224,255,0.32); }
.metric-card strong { display: block; margin-bottom: 18px; font-size: clamp(42px, 5vw, 76px); line-height: 1; }

.security-visual { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.security-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.check-list { display: grid; gap: 14px; padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 7px rgba(77,224,255,0.1); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industry-grid.large { grid-template-columns: repeat(3, 1fr); }
.industry-item { min-height: 260px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.035); transition: background 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1); }
.industry-item:hover { background: rgba(77,224,255,0.08); transform: translateY(-4px); }
.industry-item span { display: block; margin-bottom: 58px; color: var(--cyan); font-weight: 800; }
.contact-card a { display: block; margin-top: 18px; color: var(--cyan); font-weight: 800; }

.footer {
  position: relative;
  overflow: hidden;
  padding: 104px 0 30px;
  background: linear-gradient(135deg, #020711 0%, #061524 54%, #03101c 100%);
}
.footer-bg {
  position: absolute;
  inset: 0;
  opacity: 0.48;
}
.footer-bg img {
  filter: saturate(1.15) contrast(1.08);
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(77,224,255,0.16), transparent 28rem), radial-gradient(circle at 88% 20%, rgba(47,124,255,0.12), transparent 24rem);
  z-index: 1;
}
.footer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,8,18,0.98), rgba(3,12,25,0.82) 48%, rgba(3,8,18,0.94)), linear-gradient(0deg, #040812, transparent 72%); z-index: 1; }
.footer-inner, .footer-bottom { position: relative; z-index: 2; width: min(100% - 40px, var(--max)); margin: 0 auto; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 0.7fr 0.9fr; gap: 54px; align-items: start; padding-bottom: 54px; }
.footer-brand span { display: inline-flex; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.footer-brand img { width: 252px; }
.footer-brand p { max-width: 420px; margin: 24px 0 0; }
.footer-links { display: grid; gap: 13px; }
.footer-links h3 { margin-bottom: 8px; color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1250ms cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0ms), transform 1250ms cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0ms); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes loadLine { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
@keyframes heroDrift { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.1) translate3d(-1.5%,-1%,0); } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto; justify-content: space-between; }
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-nav.is-open {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    justify-items: stretch;
    justify-content: stretch;
    gap: 2px;
    padding: 18px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5,12,24,0.96);
  }
  .site-nav.is-open a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    text-align: left !important;
  }
  .hero-slider { min-height: 820px; align-items: stretch; }
  .hero-slide { align-items: start; padding: 150px 24px 260px; }
  .hero-content { max-width: 620px; }
  .hero-panel { position: absolute; left: 24px; right: 24px; bottom: 84px; width: auto; margin: 0; padding: 18px; }
  .slider-controls { left: 24px; right: auto; bottom: 28px; }
  .intro-grid, .split-section, .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .cards-grid, .platform-grid, .industry-grid.large { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-header { width: calc(100% - 24px); margin-top: 10px; padding: 12px; border-radius: 8px; }
  .brand img { width: 148px; }
  .nav-toggle { width: 42px; height: 42px; }
  .hero { min-height: auto; }
  .hero-slider { min-height: 760px; }
  .hero-slide { min-height: 760px; padding: 128px 18px 250px; align-items: start; }
  .page-hero { min-height: 620px; padding: 126px 18px 64px; }
  h1,
  .hero-content h2 {
    font-size: 38px;
    line-height: 1.02;
    margin-bottom: 16px;
  }
  h2 { font-size: 34px; line-height: 1.08; }
  .eyebrow,
  .section-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
  }
  .hero-copy,
  .page-hero-content p,
  .intro-grid p,
  .security-copy p,
  .footer-brand p,
  .contact-card p {
    font-size: 16px;
    line-height: 1.55;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }
  .btn {
    width: auto;
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
    line-height: 1.12;
    text-align: center;
  }
  .hero-panel {
    left: 18px;
    right: 18px;
    bottom: 74px;
    padding: 16px;
    border-radius: 8px;
  }
  .hero-panel strong {
    font-size: 20px;
    margin-bottom: 14px;
  }
  .hero-panel p {
    font-size: 12px;
  }
  .panel-grid {
    gap: 8px;
  }
  .panel-grid span {
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 9px 10px;
    font-size: 12px;
  }
  .slider-controls {
    left: 18px;
    bottom: 24px;
    padding: 10px 12px;
  }
  .slider-controls button {
    width: 36px;
  }
  .slider-controls button.is-active {
    width: 58px;
  }
  .section { width: calc(100% - 32px); padding: 64px 0; }
  .intro { padding-top: 72px; }
  .cards-grid, .platform-grid, .industry-grid, .industry-grid.large { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .platform { min-height: auto; padding: 76px 18px; }
  .metric-card { min-height: 156px; padding: 22px; }
  .metric-card strong { font-size: 52px; }
  .industry-item { min-height: 220px; }
  .footer-inner, .footer-bottom { grid-template-columns: 1fr; width: calc(100% - 32px); }
  .footer-inner, .footer-bottom { display: grid; }
  .footer-brand img { width: 220px; }
}

@media (max-width: 390px) {
  .brand img { width: 136px; }
  .hero-slider { min-height: 730px; }
  .hero-slide { min-height: 730px; padding-top: 118px; padding-bottom: 240px; }
  h1,
  .hero-content h2 {
    font-size: 34px;
  }
  .hero-actions {
    gap: 8px;
    margin-top: 20px;
  }
  .btn {
    min-height: 42px;
    padding: 0 8px;
    font-size: 12px;
  }
  .hero-panel {
    left: 12px;
    right: 12px;
    bottom: 70px;
  }
  .panel-grid span {
    font-size: 11px;
  }
}
