:root {
  --bg: #0a0e1a;
  --bg-alt: #0f131f;
  --panel: rgba(15, 19, 31, 0.9);
  --panel-strong: #0d1424;
  --card: #111b2e;
  --card-soft: rgba(17, 27, 46, 0.85);
  --line: rgba(148, 163, 184, 0.2);
  --text: #f0f4f8;
  --muted: #c7cfe0;
  --soft: #8b9ab5;
  --cyan: #00f0ff;
  --purple: #b366ff;
  --green: #5fff9f;
  --gold: #ffc857;
  --shadow: rgba(0, 8, 20, 0.5);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 240, 255, 0.12), transparent 35%),
    radial-gradient(circle at right top, rgba(179, 102, 255, 0.15), transparent 30%),
    radial-gradient(circle at bottom right, rgba(95, 255, 159, 0.08), transparent 40%),
    linear-gradient(135deg, #0a0e1a 0%, #0f131f 50%, #0a0e1a 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(0deg, transparent 24%, rgba(0, 240, 255, 0.02) 25%, rgba(0, 240, 255, 0.02) 26%, transparent 27%, transparent 74%, rgba(0, 240, 255, 0.02) 75%, rgba(0, 240, 255, 0.02) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(0, 240, 255, 0.02) 25%, rgba(0, 240, 255, 0.02) 26%, transparent 27%, transparent 74%, rgba(0, 240, 255, 0.02) 75%, rgba(0, 240, 255, 0.02) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

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

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

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

.page-shell {
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

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

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
}

.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;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.8), rgba(10, 14, 26, 0.6));
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.08);
  transition: all 0.3s ease;
}

.topbar:hover {
  box-shadow: 0 12px 48px rgba(0, 240, 255, 0.12);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3), 0 0 20px rgba(179, 102, 255, 0.2);
  font-size: 0.9rem;
  font-weight: 800;
  transition: all 0.3s ease;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.brand-mark:hover {
  box-shadow: 0 12px 40px rgba(0, 240, 255, 0.4), 0 0 30px rgba(179, 102, 255, 0.3);
  transform: scale(1.05);
}

.brand-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  cursor: pointer;
  list-style: none;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 3px 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown[open] summary::after {
  transform: rotate(225deg);
}

.nav-dropdown summary:hover,
.nav-dropdown summary:focus-visible {
  color: var(--text);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 190px;
  z-index: 10;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 20, 36, 0.98);
  box-shadow: 0 16px 32px var(--shadow);
  transform: translateX(-50%);
}

.nav-dropdown:not([open]) .nav-dropdown-menu {
  display: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block !important;
}

.nav-back {
  display: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(0, 240, 255, 0.1);
}

.main-nav a {
  position: relative;
  transition: color 0.3s ease;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.9rem 1.4rem;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
  z-index: 0;
}

.btn:hover::before,
.btn:focus-visible::before {
  left: 100%;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #000;
  background: linear-gradient(135deg, var(--cyan), #00d9ff, var(--purple));
  background-size: 200% 200%;
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.35), 0 0 20px rgba(179, 102, 255, 0.2);
  position: relative;
  z-index: 1;
  animation: gradientShift 6s ease infinite;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 12px 36px rgba(0, 240, 255, 0.45), 0 0 30px rgba(179, 102, 255, 0.3);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-secondary {
  background: rgba(148, 163, 184, 0.05);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text);
}

.hero {
  padding: 88px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0.9rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(0, 240, 255, 0.08));
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  animation: slideInDown 0.6s ease-out;
}

.eyebrow:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.18), rgba(0, 240, 255, 0.12));
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 8px 20px rgba(0, 240, 255, 0.15);
}

.eyebrow.accent {
  background: linear-gradient(135deg, rgba(179, 102, 255, 0.12), rgba(179, 102, 255, 0.08));
  border-color: rgba(179, 102, 255, 0.25);
  color: #d3c2ff;
}

.eyebrow.accent:hover {
  background: linear-gradient(135deg, rgba(179, 102, 255, 0.18), rgba(179, 102, 255, 0.12));
  border-color: rgba(179, 102, 255, 0.4);
  box-shadow: 0 8px 20px rgba(179, 102, 255, 0.15);
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.065em;
  line-height: 0.96;
  color: var(--text);
  animation: fadeInUp 0.8s ease-out;
}

.hero-copy h1 {
  font-size: clamp(3rem, 4vw, 5rem);
  max-width: 640px;
  background: linear-gradient(135deg, var(--text) 0%, rgba(255, 255, 255, 0.7) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead {
  max-width: 620px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.hero-metrics div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--cyan);
  background: rgba(0, 240, 255, 0.03);
  border-radius: 0 8px 8px 0;
  animation: slideInUp 0.6s ease-out both;
}

.hero-metrics div:nth-child(2) {
  animation-delay: 0.2s;
  border-left-color: var(--purple);
  background: rgba(179, 102, 255, 0.03);
}

.hero-metrics div:nth-child(3) {
  animation-delay: 0.4s;
  border-left-color: var(--green);
  background: rgba(95, 255, 159, 0.03);
}

.hero-metrics strong {
  font-size: 2rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.06em;
  color: var(--cyan);
  animation: countUp 1.5s ease-out 0.6s both;
}

.hero-metrics div:nth-child(2) strong {
  color: var(--purple);
}

.hero-metrics div:nth-child(3) strong {
  color: var(--green);
}

.hero-metrics span {
  color: var(--soft);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}

.dashboard-card {
  position: relative;
  width: min(100%, 540px);
  background: linear-gradient(135deg, rgba(15, 27, 42, 0.95), rgba(10, 14, 26, 0.88));
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 240, 255, 0.15), 0 0 60px rgba(179, 102, 255, 0.1);
  animation: float 3s ease-in-out infinite;
  transition: all 0.4s ease;
}

.dashboard-card:hover {
  box-shadow: 0 40px 100px rgba(0, 240, 255, 0.25), 0 0 80px rgba(179, 102, 255, 0.15);
  transform: translateY(-8px);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.main-panel {
  padding: 1rem;
}

.panel-header {
  display: flex;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem 0.8rem;
}

.dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2f; }
.dot.green { background: #28c840; }

.panel-body {
  background: rgba(9, 13, 22, 0.8);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
}

.chart-bars {
  height: 200px;
  display: flex;
  align-items: end;
  gap: 0.9rem;
  padding: 1.2rem 0.5rem 0.5rem;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.08), rgba(179, 102, 255, 0.04));
}

.chart-bars span {
  flex: 1;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
  box-shadow: 0 18px 30px rgba(0, 240, 255, 0.2);
  animation: barGrow 1.2s ease-out both;
  transition: all 0.3s ease;
}

.chart-bars span:hover {
  box-shadow: 0 24px 40px rgba(0, 240, 255, 0.3);
  filter: brightness(1.2);
}

.chart-bars span:nth-child(1) { animation-delay: 0.1s; }
.chart-bars span:nth-child(2) { animation-delay: 0.2s; }
.chart-bars span:nth-child(3) { animation-delay: 0.3s; }
.chart-bars span:nth-child(4) { animation-delay: 0.4s; }
.chart-bars span:nth-child(5) { animation-delay: 0.5s; }
.chart-bars span:nth-child(6) { animation-delay: 0.6s; }

@keyframes barGrow {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.mini-stat-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mini-stat {
  background: rgba(148, 163, 184, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
}

.mini-stat small {
  display: block;
  color: var(--soft);
  margin-bottom: 0.3rem;
}

.mini-stat strong {
  font-size: 1.3rem;
  letter-spacing: -0.05em;
}

.mini-stat.accent {
  background: rgba(155, 107, 255, 0.08);
}

.floating-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.2rem;
  min-width: 160px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(179, 102, 255, 0.05));
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 18px 40px rgba(0, 240, 255, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  animation: badge-float 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.floating-badge:hover {
  box-shadow: 0 24px 50px rgba(0, 240, 255, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 240, 255, 0.5);
}

.floating-badge span {
  font-size: 0.7rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.floating-badge strong {
  font-size: 1.5rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.05em;
  color: var(--text);
}

.badge-one {
  left: -10px;
  top: 70px;
  animation-delay: 0s;
}

.badge-two {
  right: 0;
  bottom: 48px;
  animation-delay: 1s;
  border-color: rgba(179, 102, 255, 0.3);
  background: linear-gradient(135deg, rgba(179, 102, 255, 0.08), rgba(0, 240, 255, 0.05));
}

.badge-two span {
  color: var(--purple);
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  25% { transform: translateY(-8px) translateX(4px); }
  50% { transform: translateY(-16px) translateX(0px); }
  75% { transform: translateY(-8px) translateX(-4px); }
}

.brand-strip {
  padding: 18px 0 10px;
}

.brand-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.65);
  color: var(--soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.services,
.process,
.proof,
.contact-cta {
  padding: 110px 0 20px;
}

.section-heading {
  margin-bottom: 2.4rem;
  max-width: 760px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1.05;
}

.section-heading p,
.contact-copy p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card,
.process-step,
.testimonial-card,
.case-card,
.portfolio-card,
.contact-panel {
  background: linear-gradient(135deg, rgba(17, 27, 46, 0.8), rgba(15, 23, 38, 0.65));
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 240, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover,
.process-step:hover,
.portfolio-card:hover {
  background: linear-gradient(135deg, rgba(17, 27, 46, 0.95), rgba(15, 23, 38, 0.8));
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 24px 60px rgba(0, 240, 255, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.service-card {
  padding: 1.5rem 1.4rem 1.2rem;
}

.icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(179, 102, 255, 0.18));
  font-size: 1.6rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover .icon {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.35), rgba(179, 102, 255, 0.3));
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 240, 255, 0.2);
}

.service-card h3 {
  margin: 1rem 0 0.75rem;
  font-size: 1.5rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.05em;
}

.service-card p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.service-card a {
  display: inline-block;
  margin-top: 0.3rem;
  color: var(--cyan);
  font-weight: 700;
}

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

.process-step {
  padding: 1.5rem 1.3rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(82, 229, 255, 0.14), rgba(155, 107, 255, 0.16));
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.process-step h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.05em;
}

.process-step p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.proof-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.3rem;
  margin-bottom: 2rem;
}

.reviews-panel {
  display: grid;
  gap: 0.85rem;
}

.sample-review-note {
  color: var(--soft);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.reviews-grid {
  display: grid;
  gap: 1rem;
}

.testimonial-card {
  padding: 2rem;
}

.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--cyan);
  font-weight: 700;
}

.testimonial-card p {
  margin: 0 0 1.5rem;
  color: var(--text);
  font-size: 1.08rem;
}

.person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(82, 229, 255, 0.18), rgba(155, 107, 255, 0.18));
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
}

.person strong,
.person span {
  display: block;
}

.person span {
  color: var(--soft);
  font-size: 0.84rem;
}

.case-study-stack {
  display: grid;
  gap: 1.3rem;
}

.case-card {
  padding: 1.5rem 1.3rem;
}

.label {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--cyan);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.case-card h3 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.case-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.secondary {
  background: linear-gradient(180deg, rgba(18, 28, 46, 0.72), rgba(14, 20, 33, 0.92));
}

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

.stats-mini div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stats-mini strong {
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stats-mini span {
  color: var(--soft);
  font-size: 0.8rem;
}

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

.portfolio-card {
  overflow: hidden;
}

.thumb {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.thumb-one {
  background: linear-gradient(135deg, rgba(82, 229, 255, 0.2), rgba(155, 107, 255, 0.15)),
    linear-gradient(120deg, #1a2438, #0b1020);
}

.thumb-two {
  background: linear-gradient(135deg, rgba(100, 245, 180, 0.2), rgba(82, 229, 255, 0.12)),
    linear-gradient(120deg, #0f172a, #1f2937);
}

.thumb-three {
  background: linear-gradient(135deg, rgba(155, 107, 255, 0.22), rgba(82, 229, 255, 0.1)),
    linear-gradient(120deg, #111827, #0f172a);
}

.portfolio-copy {
  padding: 1rem 1rem 1.2rem;
}

.portfolio-copy span {
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.portfolio-copy h3 {
  margin: 0.5rem 0 0;
  font-size: 1.4rem;
  letter-spacing: -0.05em;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 2rem;
}

.contact-copy {
  padding: 1rem 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field-row {
  display: grid;
  gap: 1rem;
}

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

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0, 240, 255, 0.15);
  background: linear-gradient(135deg, rgba(15, 19, 31, 0.8), rgba(10, 14, 26, 0.9));
  color: var(--text);
  padding: 0.9rem 1rem;
  outline: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form select::placeholder,
.contact-form textarea::placeholder {
  color: var(--soft);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.15), inset 0 0 0 1px rgba(0, 240, 255, 0.1);
  background: linear-gradient(135deg, rgba(15, 19, 31, 0.95), rgba(10, 14, 26, 0.98));
}

.full-width {
  width: 100%;
  margin-top: 0.25rem;
}

.site-footer {
  border-top: 1px solid rgba(0, 240, 255, 0.15);
  background: linear-gradient(180deg, rgba(7, 12, 21, 0.9), rgba(5, 8, 15, 0.95));
  padding: 48px 0 22px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand-block p,
.site-footer li,
.site-footer a,
.footer-bottom {
  color: var(--muted);
}

.site-footer h4 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero-grid,
  .proof-layout,
  .contact-panel,
  .service-grid,
  .process-grid,
  .portfolio-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

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

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

@media (max-width: 700px), (max-width: 900px) and (orientation: portrait) {
  .nav {
    position: relative;
    min-height: 68px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(15, 19, 31, 0.7);
    color: var(--text);
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 20;
    align-items: stretch;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(13, 20, 36, 0.98);
    box-shadow: 0 20px 40px var(--shadow);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }

  .main-nav:not(.is-open) {
    display: none !important;
  }

  .main-nav.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav > a,
  .main-nav > .nav-dropdown > summary {
    display: block;
    padding: 0.75rem;
    color: var(--muted);
  }

  .main-nav a::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin: 0.2rem 0 0.4rem;
    padding: 0.3rem;
    transform: none;
    box-shadow: none;
    background: rgba(0, 240, 255, 0.05);
  }

  .nav-back {
    display: block;
    width: 100%;
    margin-bottom: 0.25rem;
    padding: 0.6rem 0.7rem;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--soft);
    cursor: pointer;
    text-align: left;
  }

  .nav-dropdown-menu a {
    padding: 0.6rem 0.7rem;
    white-space: normal;
    line-height: 1.35;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.7rem);
  }

  .lead {
    font-size: 1rem;
  }

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

  .dashboard-card {
    border-radius: 18px;
  }

  .chart-bars {
    height: 140px;
    gap: 0.5rem;
  }

  .floating-badge {
    min-width: 130px;
    padding: 0.75rem 0.9rem;
  }

  .badge-one {
    left: -6px;
    top: 34px;
  }

  .badge-two {
    right: -4px;
    bottom: 25px;
  }

  .brand-strip-inner,
  .field-row,
  .service-grid,
  .process-grid,
  .portfolio-grid,
  .footer-grid,
  .contact-panel,
  .proof-layout,
  .two-up,
  .stats-mini {
    grid-template-columns: 1fr;
  }

  .brand-strip-inner {
    display: grid;
    justify-content: start;
  }

  .hero-actions {
    align-items: stretch;
  }

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

  .hero-metrics {
    gap: 1rem 1.5rem;
  }

  .hero-metrics div {
    flex: 1 1 120px;
  }

  .service-grid,
  .process-grid,
  .portfolio-grid,
  .contact-panel,
  .proof-layout,
  .footer-grid {
    display: grid;
  }

  .site-footer {
    padding-top: 32px;
  }

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

  .container {
    width: min(var(--max-width), calc(100% - 24px));
  }

  .services,
  .process,
  .proof,
  .contact-cta {
    padding-top: 72px;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 2.25rem;
  }

  .contact-panel {
    padding: 1.2rem;
  }
}
