:root {
  --bg-color: #020617;
  --surface-color: rgba(15, 23, 42, 0.62);
  --surface-strong: rgba(15, 23, 42, 0.88);
  --text-color: #f8fafc;
  --muted-text: #a7b4c7;
  --accent-color: #06b6d4;
  --accent-soft: rgba(6, 182, 212, 0.14);
  --header-bg: rgba(15, 23, 42, 0.62);
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.38);
  --shadow-md: 0 18px 55px rgba(0, 0, 0, 0.28);
  --page-max: 1440px;
  --page-gutter: clamp(18px, 3vw, 56px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  width: 100%;
  background-color: var(--bg-color);
  color: var(--text-color);
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    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: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
  pointer-events: none;
}

.radial-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle 620px at 50% 80px, rgba(6, 182, 212, 0.36), transparent 72%),
    radial-gradient(circle 560px at 90% 42%, rgba(34, 211, 238, 0.12), transparent 70%),
    radial-gradient(circle 420px at 12% 72%, rgba(20, 184, 166, 0.12), transparent 68%);
  pointer-events: none; 
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.22;
  pointer-events: none;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 38%, rgba(255, 255, 255, 0.025));
}

.content-layer {
  position: relative;
  z-index: 10;
}

.site-header {
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.22);
  padding: 12px 0;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  gap: clamp(16px, 3vw, 36px);
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a {
  position: relative;
  display: inline-block;
  text-align: center;
  color: var(--muted-text);
  text-decoration: none;
  padding: 9px 13px;
  font-size: 0.92rem;
  font-weight: 650;
  transition: color 0.25s ease, background 0.25s ease;
  border-radius: 999px;
}

nav a::after {
  content: none;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-color);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

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

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

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

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

nav a:focus-visible,
.btn:focus-visible,
.logo:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(103, 232, 249, 0.42);
  outline-offset: 3px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: clamp(240px, 32vw, 430px);
  height: clamp(54px, 5.8vw, 68px);
  text-decoration: none;
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 12px 24px rgba(6, 182, 212, 0.22));
}

.hero-section {
  min-height: calc(100vh - 76px);
  padding: clamp(40px, 5vw, 76px) var(--page-gutter) clamp(58px, 6vw, 96px);
  display: grid;
  place-items: center;
}

.hero-container {
  position: relative;
  width: min(var(--page-max), 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.74fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-copy h1,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  color: var(--text-color);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy h1 {
  margin-top: 24px;
  font-size: clamp(3rem, 6.4vw, 6.25rem);
  max-width: 900px;
}

.hero-copy p {
  max-width: 670px;
  margin: 22px 0 0;
  color: var(--muted-text);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

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

.btn-primary {
  color: #021014;
  background: linear-gradient(135deg, #67e8f9, var(--accent-color));
  box-shadow: 0 18px 48px rgba(6, 182, 212, 0.24);
}

.btn-secondary {
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border-color);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: var(--border-color);
  box-shadow: var(--shadow-md);
}

.trust-strip div {
  min-height: 126px;
  padding: 22px;
  background: rgba(15, 23, 42, 0.66);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 1rem;
}

.trust-strip span {
  margin-top: 8px;
  color: var(--muted-text);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: clamp(500px, 46vw, 660px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(15, 23, 42, 0.58);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.72), transparent 45%);
  z-index: 1;
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: clamp(472px, 44vw, 632px);
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  display: block;
}

.availability-card {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.availability-card span {
  color: var(--muted-text);
  font-size: 0.9rem;
}

.availability-card strong {
  color: #67e8f9;
}

.about-section,
.services-section,
.why-section,
.contact-section {
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: clamp(64px, 7vw, 104px) 0;
}

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

.section-heading h2,
.contact-panel h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.section-heading p,
.contact-panel p {
  margin: 16px 0 0;
  color: var(--muted-text);
  font-size: 1.05rem;
}

.about-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(6, 182, 212, 0.1), rgba(255, 255, 255, 0.025)),
    var(--surface-color);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.about-shell .section-heading {
  margin-bottom: 0;
  position: sticky;
  top: 112px;
}

.about-content {
  display: grid;
  gap: 18px;
  color: var(--muted-text);
  font-size: clamp(1rem, 1.8vw, 1.08rem);
}

.about-content p {
  margin: 0;
}

.about-content p:first-child {
  color: var(--text-color);
  font-size: clamp(1.08rem, 2vw, 1.22rem);
}

.skills-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.skills-rail span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(103, 232, 249, 0.16);
  border-radius: 999px;
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.service-card,
.contact-panel {
  border: 1px solid var(--border-color);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    var(--surface-color);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.service-card {
  min-height: 260px;
  padding: 26px;
  border-radius: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-number {
  color: #67e8f9;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.service-card h3 {
  margin: 22px 0 10px;
  font-size: 1.28rem;
}

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

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 26px;
  border: 1px solid var(--border-color);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(6, 182, 212, 0.14), rgba(255, 255, 255, 0.024)),
    var(--surface-color);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-weight: 700;
  color: var(--text-color);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 16px;
  color: #67e8f9;
  background:
    linear-gradient(145deg, rgba(103, 232, 249, 0.14), rgba(255, 255, 255, 0.035)),
    rgba(2, 6, 23, 0.42);
  box-shadow: 0 14px 34px rgba(6, 182, 212, 0.12);
}

.why-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card > span:last-child {
  display: block;
}

.contact-section {
  padding-bottom: 96px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 28px;
}

.contact-panel > div {
  max-width: 720px;
}

.site-footer {
  position: relative;
  z-index: 10;
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 0 0 34px;
  color: var(--muted-text);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

@media (max-width: 1180px) {
  .logo {
    width: clamp(220px, 28vw, 320px);
  }

  nav a {
    padding-inline: 10px;
  }

  .hero-container {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 6.2vw, 5rem);
  }

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

@media (max-width: 980px) {
  .hero-section {
    min-height: auto;
    padding-top: 44px;
  }

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

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

  .about-shell {
    grid-template-columns: 1fr;
  }

  .about-shell .section-heading {
    position: static;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    min-height: 520px;
    max-width: 640px;
  }

  .hero-image {
    min-height: 492px;
  }

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

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

@media (max-width: 680px) {
  :root {
    --page-gutter: 18px;
  }

  .site-header {
    padding: 10px 0;
  }

  .nav-container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 var(--page-gutter);
    gap: 10px 14px;
  }

  .logo {
    width: min(calc(100% - 64px), 300px);
    height: 52px;
  }

  .logo img {
    height: 100%;
  }

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

  .nav-menu {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.28s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .nav-menu.is-open {
    max-height: 330px;
    opacity: 1;
    visibility: visible;
  }

  nav a {
    padding: 11px 14px;
    font-size: 0.92rem;
    background: rgba(255, 255, 255, 0.04);
  }

  .hero-section {
    padding-top: 34px;
    padding-bottom: 54px;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

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

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .trust-strip div {
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
    border-radius: 22px;
    padding: 10px;
  }

  .hero-visual::before {
    inset: 10px;
    border-radius: 18px;
  }

  .hero-image {
    min-height: 410px;
    border-radius: 18px;
  }

  .availability-card {
    left: 22px;
    right: 22px;
    bottom: 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .about-section,
  .services-section,
  .why-section,
  .contact-section,
  .site-footer {
    width: calc(100% - (var(--page-gutter) * 2));
  }

  .about-section,
  .services-section,
  .why-section {
    padding: 58px 0;
  }

  .about-shell {
    border-radius: 22px;
    padding: 24px;
  }

  .skills-rail span {
    width: 100%;
    justify-content: center;
  }

  .service-card,
  .why-card {
    min-height: auto;
    border-radius: 18px;
    padding: 22px;
  }

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

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

  .contact-section {
    padding: 56px 0 68px;
  }

  .contact-panel {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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