:root {
  --bg-dark: #070b16;
  --bg-soft: #101937;
  --accent: #5ee7ff;
  --accent-2: #73ffb3;
  --text: #f2f6ff;
  --muted: #c2d0f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, #1b2b5d 0%, transparent 30%),
    radial-gradient(circle at 80% 20%, #0f6e6f 0%, transparent 22%),
    linear-gradient(150deg, var(--bg-dark), #05070f 55%, var(--bg-soft));
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
  pointer-events: none;
  z-index: -2;
}

.cursor-glow {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(35px);
  background: radial-gradient(circle, rgba(94, 231, 255, 0.25), transparent 65%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.navbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 7%;
  backdrop-filter: blur(8px);
  background: rgba(2, 8, 22, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand-logo {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

nav {
  display: flex;
  gap: 22px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #e9f2ff;
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 0;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

main {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  align-items: center;
  padding: 96px 7% 72px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(1200px, 92%);
  margin: 0 auto;
}

.hero-content {
  display: grid;
  gap: 1.1rem;
  text-align: left;
  max-width: 720px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: #05070f;
  transform-style: preserve-3d;
  opacity: 0;
  transform: scale(1.06);
  animation: heroMediaIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(7, 11, 22, 0.92) 0%,
    rgba(7, 11, 22, 0.78) 36%,
    rgba(7, 11, 22, 0.42) 62%,
    rgba(7, 11, 22, 0.58) 100%
  );
  pointer-events: none;
}

.hero-video,
.hero-media-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  z-index: 1;
  animation: heroVideoZoom 14s ease-in-out infinite alternate;
}

.hero-media-fallback {
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-media-frame.no-video .hero-media-fallback {
  opacity: 1;
}

.hero-media-frame.no-video .hero-video {
  display: none;
}

.hero-media-glow,
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
  z-index: 2;
}

.hero-orb-1 {
  width: 140px;
  height: 140px;
  top: -20px;
  right: -10px;
  background: rgba(94, 231, 255, 0.35);
  animation: orbFloat 7s ease-in-out infinite;
}

.hero-orb-2 {
  width: 120px;
  height: 120px;
  bottom: 10%;
  left: -20px;
  background: rgba(115, 255, 179, 0.28);
  animation: orbFloat 8s ease-in-out infinite reverse;
}

.hero-media-ring {
  position: absolute;
  inset: 28px;
  border-radius: 0;
  border: 1px dashed rgba(94, 231, 255, 0.3);
  z-index: 3;
  animation: ringSpin 18s linear infinite;
  pointer-events: none;
}

.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  opacity: 0.85;
  pointer-events: none;
}

.net-line {
  stroke: rgba(94, 231, 255, 0.35);
  stroke-width: 1.5;
}

.net-line-pulse {
  stroke: rgba(115, 255, 179, 0.7);
  stroke-dasharray: 8 10;
  animation: netDash 2.4s linear infinite;
}

.net-node {
  fill: #6df8ff;
  filter: drop-shadow(0 0 6px rgba(109, 248, 255, 0.9));
}

.net-node-1 {
  animation: nodePulse 2.2s ease-in-out infinite;
}

.net-node-2 {
  animation: nodePulse 2.2s ease-in-out 0.4s infinite;
}

.net-node-3 {
  animation: nodePulse 2.2s ease-in-out 0.8s infinite;
}

.net-node-4 {
  animation: nodePulse 2.2s ease-in-out 1.2s infinite;
}

.net-node-5 {
  animation: nodePulse 2.2s ease-in-out 1.6s infinite;
}

.hero-scan {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: heroScan 5s ease-in-out infinite;
  pointer-events: none;
}

.hero-float {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(4, 12, 28, 0.72);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 600;
  color: #e8f2ff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: floatIn 0.7s ease forwards, floatBob 4.5s ease-in-out infinite;
}

.float-icon {
  color: var(--accent);
  font-size: 0.95rem;
}

.hero-float-1 {
  top: 14%;
  right: 6%;
  left: auto;
  animation-delay: 1.1s, 1.1s;
}

.hero-float-4 {
  top: 30%;
  right: 8%;
  left: auto;
  animation-delay: 1.25s, 1.25s;
}

.hero-float-2 {
  top: 46%;
  right: 10%;
  left: auto;
  animation-delay: 1.4s, 1.4s;
}

.hero-float-3 {
  bottom: 14%;
  right: 8%;
  left: auto;
  animation-delay: 1.55s, 1.55s;
}

.tag {
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.82rem;
}

.hero-tag {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 2px;
}

.hero-tag .hero-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  background: linear-gradient(
    120deg,
    var(--accent) 0%,
    #e8fcff 45%,
    var(--accent-2) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    tagCharIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    tagShimmer 4.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.04s), calc(var(--i) * 0.04s + 0.7s);
}

.hero-title {
  font-size: clamp(2rem, 5.8vw, 4.8rem);
  line-height: 1.12;
  max-width: 950px;
}

.hero-title .hero-word {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(28px);
  animation: heroWordIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.35s + var(--i) * 0.07s);
}

.hero-title .hero-accent .hero-word {
  background: linear-gradient(120deg, #6df8ff, #b5ffc9, #6df8ff);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    heroWordIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    gradientShift 5s ease-in-out infinite;
  animation-delay: calc(0.35s + var(--i) * 0.07s), 0s;
}

.hero-copy,
.hero-actions {
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.7s ease forwards;
}

.hero-copy {
  animation-delay: 1.15s;
}

.hero-actions {
  animation-delay: 1.35s;
}

h1 {
  font-size: clamp(2rem, 5.8vw, 4.8rem);
  line-height: 1.12;
  max-width: 950px;
}

h1 span {
  background: linear-gradient(120deg, #6df8ff, #b5ffc9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #00131e;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 25px rgba(94, 231, 255, 0.25);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

section {
  padding: 84px 0;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  margin-bottom: 26px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.card {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.11),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow: 0 10px 25px rgba(4, 6, 12, 0.4);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(94, 231, 255, 0.65);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  margin-bottom: 14px;
}

.card ul {
  list-style: none;
}

.card li {
  position: relative;
  padding-left: 18px;
  margin: 8px 0;
  color: #e0e8fb;
}

.card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 9px;
}

.about {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}

.about p {
  color: var(--muted);
  line-height: 1.75;
}

.about-box {
  border: 1px solid rgba(115, 255, 179, 0.35);
  border-radius: 18px;
  padding: 24px;
  background: rgba(115, 255, 179, 0.06);
}

.products {
  padding-top: 30px;
}

.products-loading,
.products-error {
  color: var(--muted);
}

.products-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.products-intro {
  max-width: 720px;
  color: var(--muted);
  margin-top: 8px;
}

.products-explorer {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.products-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 18px;
  background: rgba(4, 10, 24, 0.5);
}

.products-tab {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 16px 18px;
  cursor: pointer;
  position: relative;
}

.products-tab.active {
  color: var(--text);
}

.products-tab.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.products-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 480px;
}

.products-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px;
  background: rgba(4, 10, 24, 0.35);
}

.products-search-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.products-search {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(4, 10, 24, 0.7);
  color: var(--text);
  font-family: inherit;
  margin-bottom: 16px;
}

.products-categories {
  list-style: none;
  display: grid;
  gap: 4px;
}

.products-category {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  color: #c8d8f8;
  font-family: inherit;
  font-size: 0.88rem;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.products-category:hover,
.products-category.active {
  background: rgba(94, 231, 255, 0.12);
  color: var(--text);
}

.products-category.active {
  font-weight: 600;
  color: var(--accent);
}

.products-main {
  padding: 22px;
}

.products-group-title {
  font-size: 1.15rem;
  margin-bottom: 18px;
  color: #eaf2ff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.product-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card.has-image {
  padding: 0;
  gap: 0;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 231, 255, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(4, 10, 24, 0.6);
}

.product-card.reveal .product-card-media {
  opacity: 0;
  transform: scale(1.04);
}

.product-card.reveal.visible .product-card-media {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card.has-image .product-card-body {
  padding: 16px 18px 18px;
}

.product-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #041421;
}

.icon-finance {
  background: linear-gradient(135deg, #ff6b6b, #ff9f43);
}

.icon-infra {
  background: linear-gradient(135deg, #5ee7ff, #4dabf7);
}

.icon-service {
  background: linear-gradient(135deg, #73ffb3, #38d9a9);
}

.icon-analytics {
  background: linear-gradient(135deg, #b197fc, #9775fa);
}

.icon-cloud {
  background: linear-gradient(135deg, #74c0fc, #339af0);
}

.icon-security {
  background: linear-gradient(135deg, #ffd43b, #fab005);
}

.icon-dev {
  background: linear-gradient(135deg, #ff8787, #fa5252);
}

.icon-ops {
  background: linear-gradient(135deg, #63e6be, #20c997);
}

.icon-suite {
  background: linear-gradient(135deg, #91a7ff, #748ffc);
}

.icon-suite-2 {
  background: linear-gradient(135deg, #66d9e8, #22b8cf);
}

.product-card h4 {
  font-size: 1.05rem;
}

.product-card-body > p,
.product-card > p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  flex: 1;
}

.product-card-features {
  list-style: none;
  display: grid;
  gap: 6px;
}

.product-card-features li {
  position: relative;
  padding-left: 14px;
  font-size: 0.8rem;
  color: #d5e3ff;
}

.product-card-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 7px;
}

.product-cta {
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.product-cta:hover {
  color: var(--accent-2);
}

.product-cta-muted {
  color: var(--muted);
}

.products-empty {
  color: var(--muted);
  padding: 24px 0;
  text-align: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.stat {
  text-align: center;
  padding: 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.clients-copy {
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 18px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.client-logo {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 20px 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.client-logo:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(115, 255, 179, 0.65);
}

.own-company-logo {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.client-logo-img {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
}

.counter {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
}

.contact p {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 20px;
}

footer {
  text-align: center;
  color: #9fb0d8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes listSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes tagCharIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tagShimmer {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

@keyframes heroWordIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

@keyframes heroMediaIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroVideoZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(12px, -16px);
  }
}

@keyframes ringSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes netDash {
  to {
    stroke-dashoffset: -36;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    r: 5;
    opacity: 0.75;
  }
  50% {
    r: 7;
    opacity: 1;
  }
}

@keyframes heroScan {
  0%,
  18% {
    transform: translateX(-120%);
  }
  45%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes floatIn {
  to {
    opacity: 1;
  }
}

@keyframes floatBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-tag .hero-char,
  .hero-title .hero-word,
  .hero-copy,
  .hero-actions,
  .hero-media-frame,
  .hero-video,
  .hero-orb,
  .hero-media-ring,
  .net-line-pulse,
  .net-node,
  .hero-scan,
  .hero-float {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-media-frame {
    transform: none;
  }

  .hero-tag .hero-char {
    color: var(--accent);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
  }

  .hero-title .hero-accent .hero-word {
    color: #8ef9ff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
  }
}

@media (max-width: 1100px) {
  .navbar {
    padding: 14px 5%;
  }

  nav {
    gap: 16px;
  }

  .brand-logo {
    width: clamp(130px, 20vw, 180px);
  }

  .hero {
    padding: 88px 5% 64px;
  }
}

@media (max-width: 980px) {
  .about {
    grid-template-columns: 1fr;
  }

  section {
    padding: 68px 0;
  }

  .service-grid,
  .products-grid,
  .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .products-layout {
    grid-template-columns: 1fr;
  }

  .products-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 760px) {
  .navbar {
    align-items: center;
    gap: 10px;
    padding: 12px 4%;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: center;
    gap: 10px;
    margin-top: 6px;
  }

  .main-nav.show {
    display: grid;
  }

  nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: center;
    gap: 10px;
  }

  nav a {
    font-size: 0.9rem;
    padding: 6px 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
  }

  .brand-logo {
    width: clamp(120px, 34vw, 170px);
  }

  main {
    width: min(1200px, 94%);
  }

  .hero {
    min-height: 100svh;
    padding: 84px 4% 56px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-float {
    font-size: 0.74rem;
    padding: 8px 10px;
  }

  .hero-float-1 {
    top: 12%;
    right: 4%;
  }

  .hero-float-4 {
    top: auto;
    bottom: 42%;
    right: 4%;
    max-width: 58vw;
  }

  .hero-float-2 {
    top: auto;
    bottom: 28%;
    right: 4%;
  }

  .hero-float-3 {
    bottom: 12%;
    right: 4%;
  }

  .hero-media-ring {
    inset: 14px;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .product-card,
  .card,
  .stat {
    padding: 18px;
  }

  .products-tabs {
    overflow-x: auto;
    padding: 0 10px;
  }

  .products-tab {
    white-space: nowrap;
    padding: 14px 12px;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 520px) {
  section {
    padding: 56px 0;
  }

  .main-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: clamp(1.7rem, 9vw, 2.3rem);
  }

  .section-title {
    margin-bottom: 18px;
  }

  .service-grid,
  .products-grid,
  .stats,
  .clients-grid {
    grid-template-columns: 1fr;
  }
}
