/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #020008;
  --bg-soft: #0a0014;
  --panel: rgba(25, 0, 50, 0.58);
  --panel-strong: rgba(30, 6, 60, 0.82);
  --line: rgba(178, 116, 255, 0.24);
  --line-strong: rgba(190, 132, 255, 0.45);
  --text: #ffffff;
  --muted: #d8caff;
  --muted-2: #a994d8;
  --accent: #a855f7;
  --accent-2: #d946ef;
  --accent-3: #7dd3fc;
  --shadow: 0 24px 80px rgba(64, 0, 120, 0.28);
}

html,
body {
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(ellipse at 16% 0%, rgba(168, 85, 247, 0.22) 0%, transparent 34rem),
    radial-gradient(ellipse at 92% 18%, rgba(217, 70, 239, 0.14) 0%, transparent 32rem),
    radial-gradient(ellipse at top, #0a0014 0%, #020008 78%);
  color: var(--text);
  overflow-x: hidden;
}

body {
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

[id] {
  scroll-margin-top: 112px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.narrow {
  max-width: 860px;
}

main,
.footer {
  position: relative;
  z-index: 1;
}

/* === PARTICLES BACKGROUND === */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: transparent;
  pointer-events: none;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(8, 0, 16, 0.68);
  backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid rgba(170, 0, 255, 0.24);
  z-index: 1000;
  box-shadow: 0 20px 70px rgba(10, 0, 30, 0.36);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 2rem;
  max-width: 1300px;
  margin: auto;
}

.logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.78));
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: max-content;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-weight: 800;
  letter-spacing: 0;
  color: #fff;
  font-size: 1.3rem;
}

.brand-sub {
  font-size: 0.78rem;
  color: #c7a6ff;
}

/* === NAV LINKS (desktop) === */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  transition: transform 0.3s ease;
}

.nav-links a,
.nav-dropdown-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.94rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  padding: 0 0.95rem;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-dropdown-toggle:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.8;
  transition: transform 0.25s ease;
}

.nav-dropdown.open .nav-dropdown-toggle::after,
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after {
  transform: translateY(1px) rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 310px;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(14, 1, 29, 0.92);
  backdrop-filter: blur(28px) saturate(160%);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-dropdown-menu a {
  width: 100%;
  justify-content: flex-start;
  border-radius: 14px;
  color: var(--muted);
}

.nav-dropdown-menu a:hover {
  color: #fff;
  background: rgba(168, 85, 247, 0.16);
}

.nav-links .cta {
  background: linear-gradient(90deg, #a855f7, #9333ea);
  border-color: rgba(255, 255, 255, 0.12);
  padding: 0 1.15rem;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(150, 0, 255, 0.38);
}

/* === HAMBURGER BUTTON === */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 23px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.3s ease;
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #a855f7, #9333ea);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(170, 0, 255, 0.7);
  transition: all 0.4s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.nav-close-btn {
  display: none;
}

/* === HERO === */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 9.5rem 2rem 5.8rem;
  max-width: 1300px;
  margin: auto;
}

.hero-left {
  flex: 1 1 470px;
  min-width: 0;
  padding-right: 1rem;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 1.1rem;
  color: #e6d6ff;
  border: 1px solid rgba(200, 160, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
}

.hero-left h1 {
  max-width: 760px;
  font-size: 4.15rem;
  margin-bottom: 1.4rem;
  line-height: 1.03;
  color: #fff;
  overflow-wrap: break-word;
}

.hero-left .lead {
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 610px;
  font-size: 1.08rem;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary,
.btn-ghost,
.btn-sm {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary,
.btn-ghost {
  padding: 0 1.45rem;
}

.btn-primary {
  background: linear-gradient(90deg, #a855f7, #9333ea 55%, #d946ef);
  box-shadow: 0 18px 44px rgba(150, 0, 255, 0.42);
  color: white;
}

.btn-primary:hover,
.btn-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(170, 0, 255, 0.48);
}

.btn-ghost {
  border-color: rgba(168, 85, 247, 0.64);
  color: #dfc8ff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  background: rgba(150, 0, 255, 0.12);
  border-color: rgba(217, 70, 239, 0.7);
}

/* === HERO CARD === */
.hero-right {
  flex: 1 1 390px;
  min-width: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.card-hero {
  position: relative;
  width: min(100%, 410px);
  background: linear-gradient(180deg, rgba(35, 4, 70, 0.76), rgba(16, 0, 34, 0.76));
  border-radius: 28px;
  border: 1px solid rgba(190, 132, 255, 0.36);
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(150, 0, 255, 0.26);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-hero:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 110px rgba(170, 0, 255, 0.36);
}

.hero-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  color: #fff;
  background: rgba(6, 0, 16, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.card-hero img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.card-body h3 {
  color: #fff;
  margin-bottom: 0.55rem;
}

.card-body p {
  color: #d7c6ff;
  overflow-wrap: break-word;
}

/* === SECTIONS === */
.about-section,
.enterprise-section,
.products-section,
.sectors-section,
.contact-section {
  padding: 5.5rem 2rem;
}

.about-section {
  text-align: center;
  background: transparent;
}

.about-section h2,
.section-heading h2,
.contact-panel h2 {
  font-size: 2.45rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.about-section p,
.section-heading p,
.contact-panel p {
  color: #cfc0fb;
  max-width: 760px;
  margin: auto;
  line-height: 1.75;
  font-size: 1.02rem;
}

.section-heading {
  max-width: 830px;
  margin-bottom: 2.2rem;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading.centered .section-kicker {
  margin-left: auto;
  margin-right: auto;
}

/* === ENTERPRISE === */
.enterprise-section {
  background: rgba(10, 0, 30, 0.32);
  border-top: 1px solid rgba(150, 0, 255, 0.22);
}

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

.enterprise-card {
  min-height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(25, 0, 50, 0.52);
  border: 1px solid rgba(150, 0, 255, 0.32);
  box-shadow: 0 20px 64px rgba(35, 0, 70, 0.24);
  backdrop-filter: blur(18px);
}

.enterprise-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid rgba(190, 132, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.enterprise-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8, 0, 16, 0.35));
  pointer-events: none;
}

.enterprise-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.enterprise-card:hover .enterprise-media img {
  transform: scale(1.045);
}

.enterprise-copy {
  padding: 1.35rem;
}

.enterprise-number {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #a855f7, #d946ef);
  font-weight: 900;
}

.enterprise-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}

.enterprise-card p {
  color: #cfbfff;
  font-size: 0.92rem;
}

/* === PRODUCTS === */
.products-section {
  background: rgba(10, 0, 30, 0.5);
  border-top: 1px solid rgba(150, 0, 255, 0.3);
  backdrop-filter: blur(10px);
}

.products-section .muted {
  color: #bfa8ff;
}

.products-slider {
  position: relative;
}

.product-grid {
  display: flex;
  gap: 1.35rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.product-grid::-webkit-scrollbar {
  display: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 2.7rem) / 3);
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(33, 4, 66, 0.72), rgba(15, 0, 32, 0.7));
  border: 1px solid rgba(150, 0, 255, 0.36);
  box-shadow: 0 24px 72px rgba(150, 0, 255, 0.22);
  cursor: pointer;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 70, 239, 0.6);
  box-shadow: 0 30px 86px rgba(170, 0, 255, 0.34);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #120020;
}

.p-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.15rem;
}

.p-body h3 {
  color: #fff;
  margin-bottom: 0.6rem;
  font-size: 1.08rem;
}

.p-body p {
  color: #d2c1ff;
  font-size: 0.94rem;
  margin-bottom: 1rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

.btn-sm {
  min-height: 40px;
  padding: 0 1rem;
  font-size: 0.86rem;
  color: #fff;
  background: linear-gradient(90deg, #a855f7, #9333ea);
}

.btn-sm.ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(168, 85, 247, 0.62);
  color: #dec8ff;
}

.btn-sm.ghost:hover {
  background: rgba(150, 0, 255, 0.12);
}

.slider-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, auto) 44px;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(190, 132, 255, 0.34);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 42px rgba(80, 0, 140, 0.22);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.slider-arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.slider-prev::before {
  transform: translateX(2px) rotate(45deg);
}

.slider-next::before {
  transform: translateX(-2px) rotate(225deg);
}

.slider-arrow:hover {
  transform: translateY(-2px);
  background: rgba(168, 85, 247, 0.22);
  border-color: rgba(217, 70, 239, 0.62);
}

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  min-height: 44px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(216, 202, 255, 0.34);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.slider-dot.is-active {
  width: 30px;
  background: linear-gradient(90deg, #a855f7, #d946ef);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.52);
}

/* === SECTORS === */
.sectors-section {
  border-top: 1px solid rgba(150, 0, 255, 0.22);
  background: rgba(5, 0, 14, 0.28);
}

.sector-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.sector-pills span {
  border: 1px solid rgba(190, 132, 255, 0.3);
  border-radius: 999px;
  color: #eadfff;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.75rem 1rem;
  font-weight: 700;
  box-shadow: inset 0 0 30px rgba(168, 85, 247, 0.08);
}

/* === CONTACT === */
.contact-section {
  padding-bottom: 6rem;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgba(190, 132, 255, 0.34);
  border-radius: 30px;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(217, 70, 239, 0.1));
  box-shadow: 0 30px 90px rgba(100, 0, 180, 0.28);
}

.contact-panel p {
  margin: 0;
}

.contact-panel .btn-primary {
  min-width: 190px;
  flex: 0 0 auto;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid rgba(150, 0, 255, 0.26);
  background: rgba(8, 0, 16, 0.86);
  padding: 3.3rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(170px, 0.7fr) minmax(170px, 0.7fr);
  gap: 2rem;
  text-align: left;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.72));
}

.footer-brand strong,
.footer-col strong {
  display: block;
  color: #fff;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.footer-brand span,
.footer-brand p,
.footer .muted,
.footer-col a {
  color: #bfaeea;
}

.footer-brand p {
  max-width: 520px;
  margin-bottom: 1rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.footer a {
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer a:hover {
  color: #fff;
}

.small {
  font-size: 0.9rem;
}

/* === POLISH ANIMATION === */
.js-ready .fade-in {
  animation: polishFade 0.65s ease both;
}

@keyframes polishFade {
  from {
    opacity: 0.82;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === MODAL PRODUCT CARD === */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 0, 12, 0.72);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 10000;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 1.5rem;
  background: linear-gradient(145deg, rgba(30, 6, 60, 0.96), rgba(9, 0, 22, 0.96));
  padding: 1rem;
  border-radius: 30px;
  border: 1px solid rgba(190, 132, 255, 0.36);
  max-width: 920px;
  width: min(96vw, 920px);
  position: relative;
  box-shadow: 0 36px 120px rgba(120, 0, 200, 0.42);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal.open .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  z-index: 2;
}

.modal-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 22px;
  background: #140026;
}

.modal-copy {
  padding: 2.15rem 1.25rem 1.25rem 0;
}

.modal-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  color: #fff;
  border-radius: 999px;
  border: 1px solid rgba(190, 132, 255, 0.34);
  background: rgba(255, 255, 255, 0.07);
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.modal-title {
  color: #fff;
  margin-bottom: 0.7rem;
  font-size: 2rem;
  line-height: 1.1;
}

.modal-desc {
  color: #d8c9ff;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.modal-features {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.4rem;
  list-style: none;
}

.modal-features li {
  color: #eadfff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 0.68rem 0.8rem;
}

/* === MOBILE MENU === */
@media (max-width: 1060px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: rgba(20, 0, 38, 0.94);
    backdrop-filter: blur(24px);
    width: min(86vw, 380px);
    height: 100vh;
    padding: 6rem 1.2rem 2rem;
    gap: 0.6rem;
    box-shadow: -18px 0 45px rgba(150, 0, 255, 0.34);
    border-left: 1px solid #4b0082;
    transform: translateX(105%);
    transition: transform 0.35s ease;
    z-index: 9999;
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-toggle.active {
    opacity: 0;
    pointer-events: none;
  }

  .nav-links a,
  .nav-dropdown-toggle {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    border-radius: 16px;
    padding: 0 1rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    max-height: 0;
    margin-top: 0;
    padding: 0 0.4rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: hidden;
  }

  .nav-dropdown.open .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    max-height: 360px;
    margin-top: 0.55rem;
  }

  .nav-dropdown-menu a {
    min-height: 42px;
    color: #d9c8ff;
    background: rgba(255, 255, 255, 0.035);
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(2, 0, 8, 0.35);
    z-index: 900;
    pointer-events: auto;
  }

  .nav-close-btn {
    display: grid;
    place-items: center;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    z-index: 10001;
    font-size: 1.55rem;
  }

  .hero {
    padding-top: 8.8rem;
  }

  .hero-left h1 {
    font-size: 3.2rem;
  }

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

  .product-card {
    flex-basis: calc((100% - 1.35rem) / 2);
  }

  .modal-content {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }

  .modal-img {
    min-height: 260px;
    max-height: 360px;
  }

  .modal-copy {
    padding: 0 0.5rem 0.8rem;
  }
}

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

  [id] {
    scroll-margin-top: 96px;
  }

  .nav-inner {
    padding: 0.8rem 1rem;
  }

  .logo {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 1.08rem;
  }

  .brand-sub {
    font-size: 0.7rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 7.4rem 1rem 4.4rem;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-left {
    padding-right: 0;
    flex-basis: auto;
    width: 100%;
  }

  .hero-left h1 {
    max-width: 100%;
    font-size: 2.12rem;
    line-height: 1.14;
  }

  .hero-left .lead {
    font-size: 1rem;
  }

  .hero-actions,
  .btn-primary,
  .btn-ghost {
    width: 100%;
  }

  .eyebrow,
  .section-kicker {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-right {
    flex-basis: auto;
  }

  .card-hero {
    max-width: calc(100vw - 28px);
  }

  .about-section,
  .enterprise-section,
  .products-section,
  .sectors-section,
  .contact-section {
    padding: 4.2rem 1rem;
  }

  .about-section h2,
  .section-heading h2,
  .contact-panel h2 {
    font-size: 2rem;
  }

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

  .product-card {
    flex-basis: 100%;
  }

  .product-card img {
    height: 210px;
  }

  .contact-panel {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    border-radius: 24px;
    padding: 1.4rem;
  }

  .footer {
    padding: 2.6rem 0;
  }

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

  .modal-content {
    border-radius: 24px;
    padding: 0.75rem;
  }

  .modal-img {
    min-height: 220px;
    border-radius: 18px;
  }

  .modal-title {
    font-size: 1.55rem;
  }
}

@media (max-width: 420px) {
  .brand-sub {
    display: none;
  }

  .hero-left h1 {
    font-size: 1.92rem;
  }

  .card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn-sm {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
