:root {
  --bg: #050816;
  --bg-2: #0f172a;
  --panel: rgba(15, 23, 42, 0.62);
  --panel-strong: rgba(15, 23, 42, 0.86);
  --line: rgba(148, 163, 184, 0.18);
  --text: #ffffff;
  --muted: #aeb9d1;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --pink: #d946ef;
  --green: #34d399;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 10%, rgba(37, 99, 235, 0.22), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(6, 182, 212, 0.18), transparent 25rem),
    linear-gradient(180deg, var(--bg), #070a18 45%, #050816);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.34;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 62%);
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section {
  padding: 112px 0;
  position: relative;
}

.section-tight {
  padding: 52px 0;
  position: relative;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.site-header.scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 22, 0.78);
  backdrop-filter: blur(22px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  margin: 20px;
  display: block;
  width: 100px;
  height: auto;
  max-width: min(230px, 48vw);
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(37, 99, 235, 0.28));
}

.footer-logo {
  height: 48px;
  max-width: min(280px, 72vw);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(6, 182, 212, 0.72)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 32px rgba(37, 99, 235, 0.45);
  font-size: 0.82rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.nav-menu a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0 18px;
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.35);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #e5edff;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 22px 58px rgba(6, 182, 212, 0.26);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 99px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 132px;
  overflow: hidden;
}

.particle-canvas,
.hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.hero-orbit {
  width: 44vw;
  height: 44vw;
  min-width: 520px;
  min-height: 520px;
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 50%;
  filter: blur(0.2px);
}

.hero-orbit-a {
  top: 11%;
  right: -17%;
}

.hero-orbit-b {
  left: -24%;
  bottom: -20%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: #8eeaff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: 40px;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.07rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-subtitle,
.section-heading p,
.about-copy p,
.contact-copy p,
.cta-panel p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.72;
}

.hero-subtitle {
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-proof strong {
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 580px;
  perspective: 1200px;
}

.dashboard-card,
.service-card,
.feature-card,
.testimonial-card,
.contact-form,
.map-card,
.project-card,
.cta-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.main-dashboard {
  position: absolute;
  inset: 46px 0 30px 0;
  border-radius: var(--radius);
  padding: 22px;
  transform: rotateX(9deg) rotateY(-13deg);
  animation: dashboardFloat 7s ease-in-out infinite;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.dashboard-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.6);
}

.dashboard-topbar span:nth-child(2) {
  background: var(--blue);
}

.dashboard-topbar span:nth-child(3) {
  background: var(--green);
}

.dashboard-topbar p {
  margin: 0 0 0 auto;
  font-size: 0.86rem;
  font-weight: 800;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.metrics-row div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(5, 8, 22, 0.42);
}

.metrics-row small,
.system-card small,
.project-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.metrics-row strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
}

.code-window {
  margin: 0 0 24px;
  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(2, 6, 23, 0.72);
  color: #dbeafe;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.8;
}

.code-window p {
  margin: 0;
}

.code-window span {
  color: #67e8f9;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 12px;
  height: 170px;
  padding: 18px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: 100% 34px;
}

.chart-grid span {
  height: var(--h);
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.45);
}

.floating-panel {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: var(--shadow), 0 0 48px rgba(37, 99, 235, 0.24);
  backdrop-filter: blur(20px);
}

.floating-panel p {
  margin: 0;
  color: #dbeafe;
  font-size: 0.9rem;
  font-weight: 700;
}

.panel-a {
  top: 10px;
  left: -24px;
  animation: softFloat 6s ease-in-out infinite;
}

.panel-b {
  right: -12px;
  bottom: 82px;
  animation: softFloat 6s ease-in-out infinite reverse;
}

.icon-chip {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px rgba(52, 211, 153, 0.75);
}

.clients {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.section-kicker {
  text-align: center;
  color: var(--muted);
}

.logo-slider {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.logo-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: logoScroll 26s linear infinite;
}

.logo-track span {
  display: grid;
  place-items: center;
  min-width: 190px;
  height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 46px;
}

.services-grid,
.feature-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.feature-card {
  position: relative;
  min-height: 248px;
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card::before,
.feature-card::before,
.project-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -45% -30%;
  height: 110px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35), transparent 65%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover,
.feature-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.38);
  box-shadow: var(--shadow), 0 0 60px rgba(37, 99, 235, 0.18);
}

.service-card:hover::before,
.feature-card:hover::before,
.project-card:hover::before {
  opacity: 1;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(6, 182, 212, 0.11);
  color: #9bf4ff;
  font-size: 1.4rem;
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.18);
}

.service-card p,
.feature-card p,
.project-card p,
.timeline p,
.footer-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.about {
  background:
    radial-gradient(circle at 70% 35%, rgba(6, 182, 212, 0.14), transparent 28rem),
    rgba(255, 255, 255, 0.02);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.about-visual {
  min-height: 530px;
  position: relative;
  display: grid;
  place-items: center;
}

.tech-sphere {
  position: relative;
  width: min(380px, 82vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(6, 182, 212, 0.22);
  background:
    radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.17), transparent 42%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(217, 70, 239, 0.08));
  box-shadow: inset 0 0 80px rgba(6, 182, 212, 0.1), 0 0 120px rgba(37, 99, 235, 0.2);
  animation: spinSphere 16s linear infinite;
}

.tech-sphere span {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

.tech-sphere span:nth-child(2) {
  transform: rotateX(70deg);
}

.tech-sphere span:nth-child(3) {
  transform: rotateY(70deg);
}

.tech-sphere span:nth-child(4) {
  inset: 42%;
  background: var(--cyan);
  box-shadow: 0 0 38px rgba(6, 182, 212, 0.78);
}

.system-card {
  position: absolute;
  right: 0;
  bottom: 44px;
  width: min(300px, 72vw);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(15, 23, 42, 0.84);
  box-shadow: var(--shadow);
}

.system-card p {
  margin: 8px 0 16px;
  font-weight: 800;
}

.signal-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  height: 58px;
  align-items: end;
}

.signal-bars span {
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.signal-bars span:nth-child(1) {
  height: 44%;
}

.signal-bars span:nth-child(2) {
  height: 72%;
}

.signal-bars span:nth-child(3) {
  height: 58%;
}

.signal-bars span:nth-child(4) {
  height: 90%;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #dbeafe;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.7);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stats-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.stats-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.65rem;
}

.stats-grid span {
  color: var(--muted);
  font-size: 0.88rem;
}

.feature-card {
  min-height: 178px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -16px 0 28px;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  color: var(--text);
  border-color: rgba(6, 182, 212, 0.42);
  background: rgba(6, 182, 212, 0.12);
}

.project-card {
  position: relative;
  display: grid;
  gap: 18px;
  border-radius: var(--radius);
  padding: 16px;
  overflow: hidden;
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.project-card.hidden {
  display: none;
}

.project-card h3 {
  font-size: 1.25rem;
}

.project-image {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 450ms ease, filter 450ms ease;
}

.project-card:hover .project-image {
  transform: scale(1.035);
  filter: saturate(1.12) contrast(1.04);
}

.testimonials {
  background: rgba(255, 255, 255, 0.02);
}

.testimonial-shell {
  position: relative;
  min-height: 330px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 24px;
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
  opacity: 0;
  transform: translateY(16px);
  visibility: hidden;
  transition: opacity 450ms ease, transform 450ms ease, visibility 450ms ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.testimonial-card p {
  max-width: 860px;
  color: #e5edff;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.42;
}

.stars {
  color: #67e8f9;
  letter-spacing: 0.2em;
}

.client {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client span,
.social-row a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.client small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.7), transparent);
}

.timeline li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #07111f;
  border: 1px solid rgba(6, 182, 212, 0.42);
  color: #8eeaff;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.26);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(32px, 7vw, 86px);
  background:
    radial-gradient(circle at 78% 30%, rgba(6, 182, 212, 0.32), transparent 28rem),
    linear-gradient(135deg, rgba(37, 99, 235, 0.42), rgba(15, 23, 42, 0.86));
}

.cta-panel h2 {
  max-width: 860px;
}

.cta-panel p {
  max-width: 690px;
}

.contact-grid {
  grid-template-columns: 0.9fr 1fr;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 30px 0;
}

.contact-list a,
.contact-list p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #dbeafe;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-list span {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: var(--radius);
  background: rgba(6, 182, 212, 0.13);
  color: #8eeaff;
}

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

.social-row a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.contact-form {
  display: grid;
  gap: 16px;
  border-radius: var(--radius);
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: #dbeafe;
  font-weight: 800;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(5, 8, 22, 0.72);
  color: var(--text);
  padding: 14px 15px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(6, 182, 212, 0.72);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #8eeaff;
  font-weight: 800;
  line-height: 1.4;
}

.map-card {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  overflow: hidden;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.92);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  padding: 54px 0 34px;
  background: #070b17;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
  padding-bottom: 56px;
}

.footer-brand h2 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.footer-brand p {
  max-width: 340px;
  margin-bottom: 28px;
  color: #a8c8f0;
  font-size: 1.02rem;
  line-height: 1.55;
}

.footer-grid h3 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.2;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 20px;
  color: #9fc0e8;
  font-size: 1rem;
  line-height: 1.45;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0;
  border: 1px solid rgba(37, 99, 235, 0.38);
  border-radius: var(--radius);
  background: rgba(37, 99, 235, 0.11);
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer-social a:hover,
.footer-social a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.58);
  background: rgba(6, 182, 212, 0.16);
  box-shadow: 0 16px 36px rgba(6, 182, 212, 0.14);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding-top: 30px;
}

.footer-bottom p {
  margin: 0;
  color: #9fc0e8;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-bottom span {
  color: #ff4d6d;
}

.footer-social-bottom {
  flex-wrap: nowrap;
  gap: 16px;
}

.legal-main {
  min-height: 100vh;
  padding: 142px 0 90px;
  background:
    radial-gradient(circle at 82% 12%, rgba(6, 182, 212, 0.14), transparent 28rem),
    radial-gradient(circle at 12% 24%, rgba(37, 99, 235, 0.16), transparent 30rem);
}

.legal-shell {
  max-width: 930px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 34px;
}

.legal-header h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1;
}

.legal-header p,
.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.legal-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 46px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(15, 23, 42, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.legal-content h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.legal-content a {
  color: #8eeaff;
  font-weight: 800;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: #8eeaff;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@keyframes dashboardFloat {

  0%,
  100% {
    transform: rotateX(9deg) rotateY(-13deg) translateY(0);
  }

  50% {
    transform: rotateX(7deg) rotateY(-9deg) translateY(-18px);
  }
}

@keyframes softFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes logoScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes spinSphere {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {

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

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    border-radius: var(--radius);
    padding: 14px;
    background: rgba(5, 8, 22, 0.94);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    border-radius: var(--radius);
  }

  .nav-cta {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-visual {
    min-height: 500px;
  }

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

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline::before {
    display: none;
  }
}

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

  .section {
    padding: 78px 0;
  }

  .hero {
    padding-top: 112px;
  }

  h1 {
    font-size: clamp(2.35rem, 11.8vw, 3.25rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-subtitle,
  .section-heading p,
  .about-copy p,
  .contact-copy p,
  .cta-panel p {
    font-size: 1rem;
  }

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

  .button,
  .hero-proof span {
    width: 100%;
  }

  .hero-visual {
    min-height: 440px;
  }

  .main-dashboard {
    inset: 38px 0 24px;
    padding: 16px;
    transform: none;
  }

  .metrics-row,
  .services-grid,
  .feature-grid,
  .project-grid,
  .stats-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 38px;
  }

  .footer-social {
    gap: 12px;
  }

  .footer-social a {
    width: 48px;
    height: 48px;
  }

  .metrics-row {
    gap: 8px;
  }

  .chart-grid {
    height: 128px;
  }

  .floating-panel {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-top: 12px;
    max-width: none;
  }

  .panel-a,
  .panel-b {
    animation: none;
  }

  .service-card {
    min-height: auto;
  }

  .about-visual {
    min-height: 420px;
  }

  .system-card {
    right: 50%;
    transform: translateX(50%);
  }

  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .testimonial-shell {
    min-height: 420px;
  }

  .contact-form {
    padding: 18px;
  }
}
/* Dropdown CSS for Premium Services */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 260px;
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: var(--shadow);
  z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  padding: 10px 16px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--muted) !important;
  font-size: 0.85rem !important;
  display: block;
  text-align: left;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text) !important;
}
