:root {
  --bg: #031126;
  --bg-deep: #020b18;
  --panel: rgba(8, 22, 48, 0.86);
  --panel-2: rgba(9, 28, 61, 0.92);
  --line: rgba(75, 138, 255, 0.18);
  --line-strong: rgba(80, 151, 255, 0.38);
  --text-main: #f5f8ff;
  --text-soft: #b8c7e6;
  --text-muted: #89a0c7;
  --primary: #2e7bff;
  --primary-2: #16c0ff;
  --glow: 0 0 24px rgba(39, 134, 255, 0.25);
  --container: 1440px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text-main);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 75% 0%, rgba(31, 151, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 18% 12%, rgba(23, 84, 182, 0.15), transparent 24rem),
    linear-gradient(180deg, #031126 0%, #020b18 100%);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 80px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(4, 15, 38, 0.72);
  border-bottom: 1px solid rgba(74, 132, 255, 0.14);
  backdrop-filter: blur(10px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 650;
  color: #f2f7ff;
}

.primary-nav a,
.nav-product-trigger,
.signin {
  opacity: 0.92;
  transition: color 180ms ease, opacity 180ms ease;
}

.primary-nav a:hover,
.nav-product-trigger:hover,
.nav-products:focus-within .nav-product-trigger,
.signin:hover {
  color: #68c9ff;
  opacity: 1;
}

.nav-products {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-product-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.products-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 360px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(78, 151, 255, 0.32);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 24, 53, 0.97), rgba(3, 13, 31, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(130, 193, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  backdrop-filter: blur(12px);
}

.products-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}

.nav-products:hover .products-dropdown,
.nav-products:focus-within .products-dropdown,
.nav-products.is-open .products-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-product {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(72, 139, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 24, 54, 0.72);
}

.dropdown-product.is-coming-soon {
  cursor: default;
}

.dropdown-product:hover,
.dropdown-product:focus {
  color: #f5f8ff;
  border-color: rgba(80, 174, 255, 0.56);
  background: rgba(11, 36, 78, 0.92);
  outline: none;
}

.dropdown-product img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.dropdown-product span {
  display: grid;
  gap: 5px;
}

.dropdown-product strong {
  color: #f6f9ff;
  font-size: 15px;
  line-height: 1.15;
}

.dropdown-product small {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}

.dropdown-product em {
  align-self: start;
  padding: 5px 8px;
  border: 1px solid rgba(31, 197, 255, 0.32);
  border-radius: 999px;
  color: #76dcff;
  background: rgba(18, 101, 174, 0.16);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 650;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #2d74ff, #1fa7ff);
  box-shadow: 0 10px 28px rgba(44, 121, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-secondary {
  color: #eaf2ff;
  background: rgba(8, 22, 48, 0.48);
  border: 1px solid rgba(108, 163, 255, 0.35);
}

.btn-outline {
  min-height: 42px;
  padding: 0 24px;
  color: #3fc4ff;
  background: rgba(4, 16, 37, 0.4);
  border: 1px solid rgba(31, 167, 255, 0.86);
}

.btn-small {
  min-height: 44px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(108, 163, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(8, 22, 48, 0.48);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #f5f8ff;
}

.section {
  padding: 70px 0;
}

.section-tight {
  padding: 26px 0 0;
}

.hero {
  min-height: 520px;
  padding-top: 44px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(75, 138, 255, 0.24);
  background:
    linear-gradient(90deg, rgba(3, 17, 38, 0.96) 0%, rgba(3, 17, 38, 0.74) 40%, rgba(3, 17, 38, 0.15) 100%),
    radial-gradient(circle at 83% 28%, rgba(38, 141, 255, 0.38), transparent 28rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 52px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-heading span,
.cta-side {
  margin: 0;
  color: #1fc5ff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 690px;
  margin: 16px 0 14px;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 850;
}

.hero h1 span {
  color: #28a6ff;
}

.hero-text {
  max-width: 620px;
  margin: 0;
  color: #f0f5ff;
  font-size: 21px;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.capability-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.capability-pills span {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(45, 126, 255, 0.48);
  border-radius: var(--radius);
  color: #f2f7ff;
  background: rgba(7, 26, 58, 0.62);
  box-shadow: inset 0 1px 0 rgba(117, 178, 255, 0.1);
  font-size: 14px;
  font-weight: 700;
}

.capability-pills img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.capability-pills .aws-mark {
  gap: 12px;
}

.aws-mark::first-letter {
  font-size: 20px;
}

.aws-mark {
  font-size: 19px;
}

.aws-mark b {
  font-size: 14px;
}

.hero-visual {
  position: relative;
  width: min(58vw, 720px);
  margin-left: -70px;
  filter: drop-shadow(0 0 32px rgba(29, 140, 255, 0.28));
}

.hero-visual img {
  width: 100%;
  min-width: 610px;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 100%);
}

.float-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 12px 18px;
  color: #f5f8ff;
  background: rgba(6, 24, 55, 0.72);
  border: 1px solid rgba(74, 151, 255, 0.58);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(130, 193, 255, 0.14);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  backdrop-filter: blur(8px);
}

.float-card img {
  width: 44px;
  min-width: 44px;
  height: 44px;
  object-fit: contain;
  -webkit-mask-image: none;
  mask-image: none;
}

.float-app {
  top: 14%;
  left: 18%;
}

.float-threat {
  top: 16%;
  right: 2%;
}

.float-cloud {
  left: 17%;
  bottom: 24%;
}

.float-ops {
  right: 0;
  bottom: 34%;
}

.hero-side-note {
  position: absolute;
  right: 4%;
  bottom: 8%;
  color: #22c5ff;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 20px;
}

.section-heading::after {
  content: "";
  height: 1px;
  background: rgba(45, 141, 255, 0.52);
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 850;
}

.section-heading span {
  grid-column: 3;
  color: #29bcff;
}

.card {
  background: linear-gradient(180deg, rgba(8, 24, 53, 0.92), rgba(5, 18, 42, 0.88));
  border: 1px solid rgba(83, 146, 255, 0.26);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(117, 178, 255, 0.08), 0 20px 60px rgba(0, 0, 0, 0.2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  min-height: 206px;
  padding: 24px 24px 22px;
}

.feature-card img,
.compact-card img,
.product-copy > img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.feature-card h3,
.compact-card h3,
.product-copy h3 {
  margin: 13px 0 12px;
  color: #f6f9ff;
  font-size: 21px;
  line-height: 1.12;
  font-weight: 800;
}

.feature-card p,
.compact-card p,
.product-copy p,
.footer-grid p,
.cta-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.48;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 600px), 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(300px, 0.96fr) minmax(290px, 1.04fr);
  gap: 24px;
  overflow: hidden;
  padding: 30px 24px 24px 30px;
  border-color: rgba(36, 161, 255, 0.74);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 8%, rgba(50, 157, 255, 0.18), transparent 12rem),
    linear-gradient(135deg, rgba(22, 120, 255, 0.12), transparent 48%);
}

.product-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  align-self: start;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 14px;
}

.product-copy > p,
.product-copy .btn {
  grid-column: 1 / -1;
}

.product-copy h3 {
  margin: 2px 0 4px;
  font-size: 24px;
  white-space: nowrap;
}

.product-copy .product-kicker {
  color: #c2d2f2;
  font-size: 17px;
}

.product-copy > p {
  max-width: 360px;
  margin: 18px 0 20px;
}

.product-copy .btn {
  width: fit-content;
}

.product-panel {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 100%;
  max-width: 400px;
  justify-self: end;
  transform: scale(1.04);
  transform-origin: center right;
}

.compact-grid {
  gap: 20px;
}

.compact-card {
  min-height: 164px;
  padding: 22px 24px;
}

.compact-card h3 {
  min-height: 42px;
  margin-top: 12px;
  font-size: 18px;
}

.compact-card p {
  font-size: 15px;
}

.symbol {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #34b8ff;
  background: radial-gradient(circle, rgba(19, 120, 255, 0.38), rgba(7, 51, 119, 0.88));
  font-size: 35px;
  font-weight: 900;
  box-shadow: var(--glow);
}

.cta-section {
  margin-top: 18px;
  border-top: 1px solid rgba(45, 141, 255, 0.36);
  border-bottom: 1px solid rgba(45, 141, 255, 0.32);
  background:
    linear-gradient(90deg, rgba(3, 13, 30, 0.72) 0%, rgba(3, 13, 30, 0.3) 52%, rgba(3, 13, 30, 0.78) 100%),
    url("../assets/bg-cta-mountains.png") center / cover no-repeat;
}

.cta-inner {
  min-height: 154px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.cta-copy h2 {
  max-width: 660px;
  margin: 18px 0 10px;
  font-size: 30px;
  line-height: 1.12;
}

.cta-copy p:last-child {
  max-width: 650px;
  color: #f4f8ff;
  font-size: 18px;
}

.cta-actions {
  display: flex;
  gap: 16px;
}

.cta-side {
  max-width: 90px;
}

.site-footer {
  padding: 26px 0 30px;
  background:
    radial-gradient(circle at 22% 0, rgba(29, 123, 255, 0.12), transparent 24rem),
    rgba(2, 11, 24, 0.94);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.9fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 15px;
}

.footer-social {
  display: grid;
  gap: 28px;
  justify-items: end;
  text-align: left;
}

.social-row {
  display: flex;
  gap: 18px;
}

.social-row a {
  font-size: 22px;
  font-weight: 800;
  color: #f7fbff;
}

@media (max-width: 1180px) {
  .container {
    width: min(100% - 56px, var(--container));
  }

  .primary-nav {
    gap: 18px;
  }

  .capability-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-copy > p {
    max-width: 420px;
  }
}

@media (max-width: 980px) and (min-width: 901px) {
  .container {
    width: min(100% - 56px, var(--container));
  }

  .header-inner {
    gap: 18px;
  }

  .brand {
    font-size: 24px;
  }

  .primary-nav {
    gap: 16px;
    font-size: 13px;
  }

  .header-actions {
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: 1.22fr 0.78fr;
    gap: 24px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-visual {
    width: min(61vw, 620px);
    margin-left: -138px;
  }

  .hero-visual img {
    min-width: 560px;
  }

  .float-card {
    min-height: 58px;
    padding: 9px 12px;
    gap: 8px;
    font-size: 12px;
  }

  .float-card img {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  .hero-side-note {
    font-size: 12px;
  }

  .feature-card,
  .compact-card {
    padding: 20px 18px;
  }

  .feature-card h3 {
    font-size: 18px;
  }

  .feature-card p,
  .compact-card p {
    font-size: 14px;
  }

  .product-card {
    grid-template-columns: minmax(300px, 0.96fr) minmax(300px, 1.04fr);
    min-height: 280px;
  }

  .product-copy {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 12px;
  }

  .product-copy > img,
  .feature-card img,
  .compact-card img,
  .symbol {
    width: 52px;
    height: 52px;
  }

  .product-copy h3 {
    font-size: 22px;
  }

  .product-copy .product-kicker {
    font-size: 15px;
  }

  .product-copy > p {
    max-width: 360px;
    font-size: 14px;
  }

  .btn-outline {
    min-height: 38px;
    padding: 0 18px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    height: 70px;
  }

  .primary-nav {
    position: fixed;
    inset: 70px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 24px 24px;
    background: rgba(3, 15, 36, 0.98);
    border-bottom: 1px solid rgba(74, 132, 255, 0.2);
  }

  body.nav-open .primary-nav {
    display: grid;
  }

  .primary-nav a,
  .nav-product-trigger {
    padding: 16px 0;
    border-bottom: 1px solid rgba(74, 132, 255, 0.14);
  }

  .nav-products {
    display: grid;
  }

  .nav-product-trigger {
    justify-content: space-between;
    width: 100%;
  }

  .products-dropdown {
    position: static;
    width: 100%;
    padding: 8px 0 16px;
    border: 0;
    border-bottom: 1px solid rgba(74, 132, 255, 0.14);
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    backdrop-filter: none;
  }

  .nav-products:hover .products-dropdown,
  .nav-products:focus-within .products-dropdown,
  .nav-products.is-open .products-dropdown {
    transform: none;
  }

  .products-dropdown::before {
    display: none;
  }

  .dropdown-product {
    min-height: 68px;
    background: rgba(7, 24, 54, 0.72);
  }

  .signin,
  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-visual {
    width: 100%;
    margin: 0;
  }

  .hero-visual img {
    min-width: 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-heading::after {
    order: 2;
  }

  .section-heading span {
    grid-column: auto;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-wrap: wrap;
  }

  .cta-side {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-social {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .brand {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .capability-pills,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .product-copy h3 {
    white-space: normal;
  }

  .product-copy > p {
    max-width: none;
  }

  .product-panel {
    transform: none;
  }

  .section {
    padding: 60px 0;
  }

  .section-tight {
    padding: 30px 0 0;
  }
}
