:root {
  --navy-950: #020b18;
  --navy-900: #031328;
  --navy-850: #061b37;
  --navy-800: #08264c;
  --brand-900: #002661;
  --brand-800: #00305f;
  --blue-700: #124fb8;
  --blue-600: #1768df;
  --blue-500: #278cff;
  --cyan-400: #54c8ff;
  --cyan-300: #7bd8ff;
  --teal-500: #009fc0;
  --ink: #07152b;
  --muted: #58677d;
  --line: #d8e3ef;
  --panel: #f7fbff;
  --page: #edf3f9;
  --white: #fff;
  --shadow: 0 22px 70px rgba(3, 19, 40, .12);
  --radius-lg: 34px;
  --radius-md: 22px;
  --content: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.section { padding: 92px 0; }
.section--tight { padding: 66px 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--blue-700);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.section-label::before { content: ""; width: 34px; height: 3px; border-radius: 99px; background: var(--cyan-400); }
.section-title {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.section-copy { max-width: 780px; margin: 20px 0 0; color: var(--muted); font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: rgba(3, 19, 40, .94);
  border-bottom: 1px solid rgba(123, 216, 255, .16);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--white); font-weight: 800; letter-spacing: .02em; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand-name { font-size: 1rem; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #dcecff; font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
.nav-links a:hover { color: var(--cyan-300); }
.nav-links .nav-cta { padding: 11px 18px; border-radius: 10px; color: var(--navy-900); background: var(--white); }
.nav-links .nav-cta:hover { color: var(--navy-900); background: var(--cyan-300); }
.menu-toggle { display: none; border: 0; background: transparent; color: white; font-size: 1.7rem; cursor: pointer; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(39, 140, 255, .23), transparent 28%),
    linear-gradient(125deg, var(--navy-950), var(--navy-900) 48%, var(--navy-850));
  padding: 84px 0 78px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .38;
  background-image: radial-gradient(circle, rgba(84, 200, 255, .35) 1px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to left, #000, transparent 72%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
.hero-kicker { margin: 0 0 20px; color: var(--cyan-300); font-size: .9rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 780px; font-size: clamp(2.6rem, 4.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.045em; }
.hero h1 span { display: block; color: var(--cyan-400); }
.hero h1 .hero-line { display: inline; }
@media (min-width: 1021px) {
  .hero h1 .hero-line { display: block; }
}
.hero-copy { max-width: 690px; margin: 26px 0 0; color: #dbeaff; font-size: clamp(1.02rem, 1.8vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 24px; border-radius: 11px; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--navy-900); background: var(--white); }
.button--primary:hover { background: var(--cyan-300); }
.button--ghost { color: var(--white); border-color: rgba(123, 216, 255, .42); background: rgba(255,255,255,.03); }
.button--ghost:hover { border-color: var(--cyan-400); background: rgba(84,200,255,.08); }
.hero-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.hero-point { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; }
.hero-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--cyan-400); background: rgba(84,200,255,.08); border: 1px solid rgba(84,200,255,.28); font-weight: 800; }
.hero-point strong { display: block; margin-bottom: 4px; font-size: .94rem; }
.hero-point span { color: #bfd3eb; font-size: .78rem; line-height: 1.45; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: 28px; box-shadow: 0 32px 80px rgba(0,0,0,.36); }
.hero-stat {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: min(300px, 62%);
  padding: 20px 22px;
  border-radius: 22px;
  color: var(--white);
  background: linear-gradient(145deg, rgba(7,35,73,.97), rgba(3,19,40,.98));
  border: 1px solid rgba(84,200,255,.4);
  box-shadow: 0 22px 54px rgba(0,0,0,.32);
}
.hero-stat strong { display: block; color: var(--cyan-400); font-size: 1.1rem; line-height: 1.25; }
.hero-stat span { display: block; margin-top: 8px; color: #dcecff; font-size: .78rem; line-height: 1.5; }

/* Trust strip */
.trust-strip { background: white; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 2px; }
.trust-item { min-height: 126px; padding: 28px 30px; display: flex; align-items: center; gap: 16px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item--lead { color: var(--blue-700); font-size: 1.32rem; font-weight: 800; line-height: 1.25; }
.trust-symbol { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; display: grid; place-items: center; color: var(--blue-600); background: #eaf5ff; font-weight: 800; }
.trust-item strong { display: block; color: var(--blue-700); font-size: .83rem; text-transform: uppercase; }
.trust-item span { display: block; margin-top: 4px; color: var(--muted); font-size: .79rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 34px; margin-top: 46px; }
.about-card { padding: 42px; border-radius: var(--radius-md); background: white; border: 1px solid var(--line); box-shadow: 0 15px 40px rgba(3,19,40,.06); }
.about-card--dark { color: white; background: linear-gradient(145deg, var(--navy-900), var(--navy-800)); border-color: transparent; }
.about-card h3 { margin: 0 0 18px; color: var(--blue-700); font-size: 1.45rem; }
.about-card--dark h3 { color: var(--cyan-300); }
.about-card p { margin: 0; color: var(--muted); }
.about-card--dark p { color: #d4e5f6; }
.principles { display: grid; gap: 18px; margin-top: 26px; }
.principle { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.principle span:first-child { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--navy-900); background: var(--cyan-300); font-weight: 800; }
.principle strong { display: block; font-size: .92rem; }
.principle small { display: block; margin-top: 3px; color: #bcd3e9; font-size: .8rem; }

/* Product spotlight */
.product-section { color: white; background: linear-gradient(135deg, var(--navy-950), var(--navy-900) 56%, var(--navy-800)); }
.product-section .section-label { color: var(--cyan-300); }
.product-section .section-title { color: white; }
.product-section .section-copy { color: #c8daee; }
.product-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 44px; align-items: center; margin-top: 50px; }
.product-card { padding: 42px; border-radius: 28px; background: rgba(255,255,255,.055); border: 1px solid rgba(84,200,255,.22); box-shadow: 0 28px 70px rgba(0,0,0,.24); }
.product-card h3 { margin: 0; color: var(--cyan-300); font-size: 1.8rem; }
.product-card p { margin: 14px 0 0; color: #d2e2f2; }
.product-list { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.product-list li { position: relative; padding-left: 34px; color: #e2eef9; }
.product-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; color: var(--navy-900); background: var(--cyan-300); font-size: .72rem; font-weight: 800; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.architecture-wrap { padding: 16px; border-radius: 28px; background: white; box-shadow: 0 24px 66px rgba(0,0,0,.26); }
.architecture-wrap img { border-radius: 21px; }

/* Solutions */
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.solution-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 36px;
  border-radius: 26px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 15px 40px rgba(3,19,40,.06);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.solution-card:hover { transform: translateY(-7px); border-color: #9dc8f3; box-shadow: 0 24px 56px rgba(3,19,40,.13); }
.solution-card--featured { color: white; background: linear-gradient(145deg, var(--blue-700), var(--navy-800)); border-color: transparent; }
.solution-icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; color: var(--blue-600); background: #eaf5ff; }
.solution-card--featured .solution-icon { color: var(--cyan-300); background: rgba(255,255,255,.1); border: 1px solid rgba(123,216,255,.25); }
.solution-icon svg { width: 34px; height: 34px; }
.solution-card h3 { margin: 28px 0 12px; color: var(--blue-700); font-size: 1.45rem; }
.solution-card--featured h3 { color: var(--cyan-300); }
.solution-card p { margin: 0; color: var(--muted); }
.solution-card--featured p { color: #d8e8f8; }
.solution-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; color: var(--blue-700); font-weight: 800; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.solution-card--featured .solution-link { color: white; }

/* Method */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 46px; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: var(--line); box-shadow: var(--shadow); }
.method-step { padding: 34px 28px; background: white; }
.method-number { display: block; color: var(--cyan-400); font-size: 2.55rem; line-height: 1; font-weight: 800; letter-spacing: -.06em; }
.method-step h3 { margin: 18px 0 9px; color: var(--blue-700); font-size: 1.12rem; }
.method-step p { margin: 0; color: var(--muted); font-size: .86rem; }

/* Contact */
.contact-section { color: white; background: linear-gradient(135deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800)); }
.contact-section .section-label { color: var(--cyan-300); }
.contact-section .section-title { color: white; }
.contact-section .section-copy { color: #c8daee; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; margin-top: 48px; align-items: start; }
.contact-panel { padding: 38px; border-radius: 26px; background: rgba(255,255,255,.055); border: 1px solid rgba(84,200,255,.22); }
.contact-panel h3 { margin: 0; color: var(--cyan-300); font-size: 1.45rem; }
.contact-panel p { margin: 14px 0 0; color: #d4e5f6; }
.contact-points { display: grid; gap: 18px; margin-top: 28px; }
.contact-point { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; }
.contact-point span:first-child { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: var(--cyan-300); background: rgba(84,200,255,.08); border: 1px solid rgba(84,200,255,.22); }
.contact-point strong { display: block; font-size: .88rem; }
.contact-point small { display: block; color: #9fb9d3; font-size: .78rem; }
.contact-form { display: grid; gap: 16px; padding: 38px; border-radius: 26px; background: white; box-shadow: 0 28px 70px rgba(0,0,0,.24); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { color: var(--blue-700); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid #cddbea;
  border-radius: 12px;
  padding: 14px 15px;
  color: var(--ink);
  background: #f9fcff;
  outline: none;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(39,140,255,.1); }
.contact-form .button { justify-self: start; border: 0; color: white; background: var(--blue-700); }
.contact-form .button:hover { background: var(--blue-600); }
#formResponse { min-height: 22px; color: var(--blue-700); font-weight: 700; font-size: .86rem; }

/* Footer */
.site-footer { padding: 32px 0; color: #afc3da; background: var(--navy-950); font-size: .82rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--cyan-300); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero-grid, .about-grid, .product-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 820px; }
  .hero-points { grid-template-columns: 1fr; max-width: 560px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .section { padding: 68px 0; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 67px;
    display: grid;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    padding: 0 18px;
    opacity: 0;
    border-radius: 0 0 18px 18px;
    background: rgba(3,19,40,.99);
    border: 1px solid transparent;
    transition: max-height .3s ease, opacity .2s ease, padding .3s ease;
  }
  .nav-links.show { max-height: 390px; opacity: 1; padding: 14px 18px 20px; border-color: rgba(84,200,255,.18); }
  .nav-links a { padding: 13px 3px; }
  .nav-links .nav-cta { margin-top: 7px; text-align: center; }
  .hero { padding-top: 58px; }
  .hero-grid { gap: 48px; }
  .hero-stat { right: 10px; bottom: -24px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .solutions-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { display: grid; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--content)); }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: .83rem; }
  .hero h1 { font-size: 2.8rem; }
  .hero-actions .button { width: 100%; }
  .hero-stat { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 16px; }
  .about-card, .product-card, .solution-card, .contact-panel, .contact-form { padding: 28px 22px; }
  .method-grid { grid-template-columns: 1fr; }
}

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