:root {
  --bg: #05070d;
  --bg-2: #090d16;
  --panel: rgba(13, 19, 32, 0.72);
  --panel-strong: rgba(15, 24, 42, 0.92);
  --line: rgba(128, 205, 255, 0.18);
  --text: #f6fbff;
  --muted: #99a7b8;
  --soft: #c6d3e1;
  --blue: #1fa2ff;
  --cyan: #12e5ff;
  --violet: #7767ff;
  --green: #3cf2b4;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(31, 162, 255, 0.19), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(119, 103, 255, 0.16), transparent 28%),
    linear-gradient(180deg, var(--bg), #04050a 58%, #070a12);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 82%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(18, 229, 255, 0.08), transparent 28%, rgba(31, 162, 255, 0.07));
  mix-blend-mode: screen;
  z-index: -1;
}

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

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

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

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px clamp(16px, 3vw, 34px);
  backdrop-filter: blur(22px);
  background: rgba(5, 7, 13, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.navbar {
  width: min(100%, var(--max));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(31, 162, 255, 0.35));
  transform: scale(1.58);
  transform-origin: center;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small,
.footer-brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 999px;
}

.nav-links a {
  color: var(--soft);
  font-size: 0.88rem;
  padding: 10px 13px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(31, 162, 255, 0.14);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta {
  padding: 0 17px;
  color: var(--text);
  border: 1px solid rgba(18, 229, 255, 0.35);
  background: rgba(18, 229, 255, 0.08);
  box-shadow: 0 0 26px rgba(18, 229, 255, 0.12);
  font-weight: 700;
  font-size: 0.9rem;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

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

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: clamp(34px, 5vw, 80px);
  padding-top: 68px;
}

.brand-chip {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(18, 229, 255, 0.24);
  background: rgba(9, 13, 22, 0.62);
  border-radius: 999px;
  color: var(--soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-chip img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transform: scale(1.65);
  transform-origin: center;
}

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

.hero .eyebrow {
  margin-top: 26px;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 860px;
  font-size: clamp(3.1rem, 7vw, 6.3rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h1,
h2 {
  text-wrap: balance;
}

h1::selection,
h2::selection,
p::selection {
  background: rgba(18, 229, 255, 0.28);
}

.hero-subtitle {
  max-width: 650px;
  color: var(--soft);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.75;
}

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

.btn {
  border: 0;
  cursor: pointer;
  padding: 0 22px;
  font-weight: 800;
}

.btn-primary {
  color: #02111f;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 58%, #7edbff);
  box-shadow: 0 18px 50px rgba(31, 162, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.btn-primary:hover {
  box-shadow: 0 20px 58px rgba(18, 229, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 600px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.metric-strip div {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-strip div:last-child {
  border-right: 0;
}

.metric-strip strong {
  display: block;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1;
}

.metric-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% -2%;
  background: linear-gradient(135deg, rgba(18, 229, 255, 0.24), rgba(119, 103, 255, 0.14));
  filter: blur(50px);
  z-index: -1;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.floating-panel {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(18, 229, 255, 0.24);
  background: rgba(7, 11, 20, 0.68);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
  animation: float 4.8s ease-in-out infinite;
}

.panel-a {
  top: 10%;
  left: -18px;
}

.panel-b {
  right: -18px;
  bottom: 16%;
  animation-delay: -1.4s;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading h2,
.why-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.glass-card,
.service-card,
.project-card,
.testimonial-card,
.contact-form,
.contact-card,
.why-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032)),
    var(--panel);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-card,
.service-card,
.project-card,
.testimonial-card {
  min-height: 100%;
  padding: 26px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.glass-card:hover,
.service-card:hover,
.project-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(18, 229, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(31, 162, 255, 0.13), rgba(255, 255, 255, 0.04)),
    var(--panel);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

.glass-card svg,
.service-card svg,
.testimonial-card svg {
  width: 28px;
  height: 28px;
  color: var(--cyan);
  margin-bottom: 22px;
}

.glass-card h3,
.service-card h3,
.project-card h3,
.testimonial-card strong {
  margin-bottom: 11px;
  font-size: 1.08rem;
}

.glass-card p,
.service-card p,
.project-card p,
.testimonial-card p,
.why-panel p {
  color: var(--muted);
  line-height: 1.7;
}

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

.service-card {
  min-height: 250px;
}

.service-card:nth-child(7) {
  grid-column: span 2;
}

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

.project-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(18, 229, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.03)),
    var(--panel);
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tags span,
.tech-cloud span {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
  color: var(--soft);
  border-radius: 999px;
  font-weight: 700;
}

.tags span {
  padding: 8px 11px;
  font-size: 0.78rem;
}

.why-panel {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 100% 0%, rgba(31, 162, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.03)),
    var(--panel-strong);
}

.why-panel h2 {
  margin-bottom: 18px;
}

.why-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--soft);
  line-height: 1.55;
}

.why-list svg {
  flex: 0 0 auto;
  color: var(--green);
  margin-top: 2px;
}

.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-cloud span {
  padding: 13px 17px;
  font-size: 0.95rem;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.tech-cloud span:hover {
  transform: translateY(-3px);
  color: var(--text);
  border-color: rgba(18, 229, 255, 0.36);
}

.testimonial-card {
  min-height: 280px;
}

.testimonial-card p {
  color: var(--soft);
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 20px;
  align-items: stretch;
}

.contact-form,
.contact-card {
  padding: clamp(22px, 4vw, 34px);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-weight: 700;
  font-size: 0.88rem;
}

.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(3, 6, 12, 0.72);
  color: var(--text);
  padding: 14px 15px;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(18, 229, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(18, 229, 255, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form .btn {
  width: max-content;
  min-width: 170px;
}

.contact-form .btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: #ff8b9d;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.contact-card img {
  width: min(250px, 70%);
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(31, 162, 255, 0.28));
  transform: scale(1.18);
  transform-origin: left center;
}

.contact-methods {
  display: grid;
  gap: 13px;
}

.contact-methods a,
.contact-methods p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: var(--soft);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.contact-methods a:hover {
  color: var(--text);
}

.contact-methods svg {
  flex: 0 0 auto;
  color: var(--cyan);
  margin-top: 1px;
}

.map-card {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032)),
    var(--panel);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow);
  overflow: hidden;
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 430px;
  border: 0;
  filter: grayscale(0.2) saturate(1.1) contrast(1.04);
}

.footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  transform: scale(1.55);
  transform-origin: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.footer-links a:hover {
  transform: translateY(-3px);
  color: var(--text);
  border-color: rgba(18, 229, 255, 0.35);
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

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

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

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

@media (max-width: 1060px) {
  .nav-links {
    gap: 2px;
  }

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

  .hero-visual {
    max-width: 680px;
    margin: 0 auto;
  }

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

  .service-card:nth-child(7) {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .site-header {
    padding-inline: 16px;
  }

  .navbar {
    min-height: 62px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    background: rgba(8, 12, 22, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

  .nav-cta {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: 44px;
  }

  .section-heading,
  .why-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .project-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .navbar {
    width: min(100%, 358px);
    margin-left: 0;
  }

  .brand span {
    display: none;
  }

  .hero-copy {
    max-width: 358px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
    line-height: 1;
  }

  .hero .eyebrow {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

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

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .metric-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .metric-strip div:last-child {
    border-bottom: 0;
  }

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

  .floating-panel {
    position: static;
    width: max-content;
    margin-top: -18px;
    margin-left: 12px;
  }

  .panel-b {
    margin-left: auto;
    margin-right: 12px;
  }

  .tech-cloud span {
    flex: 1 1 auto;
    text-align: center;
  }

  .map-card iframe {
    min-height: 340px;
  }
}

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