:root {
  --bg: #0a0a0a;
  --bg-soft: #101522;
  --surface: #eef2f7;
  --surface-2: #ffffff;
  --text: #0a0a0a;
  --text-light: #ffffff;
  --muted: #5f6978;
  --brand: #1a3dff;
  --brand-soft: #c0c7d1;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(10, 10, 10, 0.08);
  --shadow: 0 24px 60px rgba(10, 10, 10, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(26, 61, 255, 0.18), transparent 24%),
    radial-gradient(circle at right, rgba(192, 199, 209, 0.35), transparent 28%),
    #ffffff;
  line-height: 1.65;
}

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

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

svg {
  width: 100%;
  height: 100%;
}

.hero,
.sub-hero {
  color: var(--text-light);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent),
    linear-gradient(180deg, #0a0a0a 0%, #111827 100%);
  padding: 24px 24px 84px;
}

.nav,
.hero-grid,
.section,
.footer,
.sub-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 54px;
}

.brand,
h1,
h2,
h3,
strong {
  font-family: "Orbitron", sans-serif;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-lockup img,
.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(26, 61, 255, 0.22);
}

.brand-lockup span,
.footer-brand div {
  display: flex;
  flex-direction: column;
}

.brand-lockup small {
  font-family: "Montserrat", sans-serif;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
}

.hero-copy,
.sub-hero-inner {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-soft);
}

h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.02;
  margin: 0 0 20px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 14px;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
}

.lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--brand), #5671ff);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(26, 61, 255, 0.32);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--text-light);
}

.button.ghost,
.dark-outline {
  border: 1px solid rgba(10, 10, 10, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
}

.button.secondary.dark-outline,
.button.ghost.dark-outline {
  border: 1px solid rgba(10, 10, 10, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-panel-card,
.service-card,
.project-card,
.info-panel,
.blog-card,
.contact-card,
.mini-cards article {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass {
  background: linear-gradient(180deg, rgba(26, 61, 255, 0.22), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--line);
  padding: 28px;
}

.visual-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  padding: 10px;
}

.visual-card img {
  border-radius: 18px;
}

.card-label,
.project-tag,
.blog-meta {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.card-label,
.project-tag {
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats,
.mini-cards,
.services-grid,
.project-grid,
.client-grid,
.blog-preview-grid,
.blog-list,
.process-grid,
.fit-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stats article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats strong {
  display: block;
  font-size: 1.2rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 84px 24px;
}

.section-light {
  color: var(--text);
}

.section-dark {
  color: var(--text-light);
  background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
}

.section-accent {
  background:
    radial-gradient(circle at top right, rgba(26, 61, 255, 0.16), transparent 26%),
    var(--surface);
}

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

.trust-strip {
  padding-top: 28px;
}

.mini-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-cards article {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--surface-2);
  border: 1px solid var(--line-dark);
}

.mini-icon,
.service-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mini-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(26, 61, 255, 0.1);
}

.mini-icon svg,
.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.service-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-dark);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(26, 61, 255, 0.12), rgba(192, 199, 209, 0.24));
  margin-bottom: 16px;
}

.service-card a,
.contact-card a,
.blog-card a {
  color: var(--brand);
}

.service-card p,
.mini-cards p,
.project-content p,
.contact-card p,
.info-panel li,
.blog-card p,
.article p {
  color: var(--muted);
}

.project-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.project-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-card.large {
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-media,
.case-study-video {
  width: 100%;
  display: block;
  background: #000000;
}

.project-media {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-study-video {
  border-radius: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.project-content {
  padding: 22px;
}

.video-card {
  display: grid;
  grid-template-rows: 1fr auto;
}

.video-frame {
  display: grid;
  place-items: center;
  min-height: 260px;
  background:
    radial-gradient(circle at center, rgba(26, 61, 255, 0.5), transparent 34%),
    #0f1624;
}

.play-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  margin-bottom: 14px;
}

.play-badge::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 31px;
  border-left: 20px solid #ffffff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
}

.info-panel {
  padding: 28px;
  background: linear-gradient(180deg, #101522, #151c2c);
  color: var(--text-light);
}

.info-panel li {
  color: rgba(255, 255, 255, 0.76);
}

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

.client-grid span {
  padding: 22px 18px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line-dark);
  font-weight: 700;
  text-align: center;
}

.blog-preview-grid,
.blog-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.process-card,
.fit-card,
.faq-item {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.case-study-note {
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(26, 61, 255, 0.07);
  border: 1px solid rgba(26, 61, 255, 0.12);
}

.simple-list {
  padding-left: 20px;
  color: var(--muted);
}

.process-card span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(26, 61, 255, 0.08);
  color: var(--brand);
  font-family: "Orbitron", sans-serif;
  font-size: 0.82rem;
}

.faq-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line-dark);
}

.blog-meta {
  background: rgba(26, 61, 255, 0.08);
  color: var(--brand);
}

.cta-blog {
  background: linear-gradient(135deg, rgba(26, 61, 255, 0.08), rgba(192, 199, 209, 0.18));
}

.map-wrap {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.contact-card {
  padding: 28px;
  background: var(--surface-2);
  border: 1px solid var(--line-dark);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 24px 54px;
  color: var(--muted);
}

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

.footer-brand p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-content: flex-start;
}

.footer-copy {
  width: 100%;
  margin: 8px 0 0;
  color: var(--muted);
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #5f78ff);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(26, 61, 255, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 40;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.sub-hero-inner {
  padding-top: 10px;
}

.article {
  max-width: 860px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .project-grid,
  .services-grid,
  .blog-preview-grid,
  .blog-list,
  .process-grid,
  .fit-grid,
  .faq-list,
  .split,
  .client-grid,
  .mini-cards {
    grid-template-columns: 1fr 1fr;
  }

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

  .project-card.large {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .hero,
  .sub-hero,
  .section,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer,
  .cta-row,
  .hero-stats,
  .services-grid,
  .project-grid,
  .blog-preview-grid,
  .blog-list,
  .process-grid,
  .fit-grid,
  .faq-list,
  .split,
  .client-grid,
  .mini-cards {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .footer {
    align-items: flex-start;
  }

  .nav {
    position: relative;
    align-items: center;
    margin-bottom: 38px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    padding: 16px;
    border-radius: 22px;
    background: rgba(10, 10, 10, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    flex-direction: column;
    gap: 14px;
    z-index: 20;
  }

  .nav.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav {
    margin-bottom: 38px;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .map-wrap iframe {
    min-height: 320px;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

}
