﻿:root {
  color-scheme: dark;
  --black: #050505;
  --dark: #0b0b0b;
  --dark-2: #141414;
  --gray: #1f1f1f;
  --gray-2: #2a2a2a;
  --silver-dark: #7f7f7f;
  --silver: #b8b8b8;
  --white: #f2f2f2;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.14);
  --shadow: rgba(0, 0, 0, 0.6);
  --gradient: linear-gradient(135deg, #0a0a0a, #2a2a2a 45%, #101010 78%);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--white);
  background: radial-gradient(circle at 20% 20%, #1b1b1b, transparent 45%),
    radial-gradient(circle at 80% 0%, #0f0f0f, transparent 55%),
    linear-gradient(160deg, #050505, #121212 45%, #0a0a0a);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.06), transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.04), transparent 45%);
  opacity: 0.5;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: -40% -20%;
  background: repeating-linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.04) 0,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 60px
  );
  opacity: 0.25;
  animation: drift 28s linear infinite;
  pointer-events: none;
  z-index: -1;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 84px;
  padding: 28px clamp(20px, 5vw, 64px) 60px;
}

.site-header {
  position: relative;
  isolation: isolate;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px 0 10px;
  background: transparent;
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.logo {
  height: 78px;
  width: auto;
  filter: drop-shadow(0 6px 16px rgba(255, 255, 255, 0.2));
}

.brand-center {
  text-align: center;
}

.brand-name {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #c8c8c8;
}

.brand-tag {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver-dark);
  margin-top: 6px;
}

.nav-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--silver);
}

.nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.chip {
  border: 1px solid var(--stroke);
  background: var(--glass);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 25px var(--shadow);
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

main {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 11px;
  color: var(--silver);
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: clamp(32px, 6vw, 56px);
  margin-bottom: 18px;
}

.hero-subheadline {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.sub {
  font-size: 16px;
  color: var(--silver);
  line-height: 1.7;
  max-width: 520px;
}

.actions {
  display: flex;
  gap: 16px;
  margin: 26px 0 28px;
  flex-wrap: wrap;
}

.btn {
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, letter-spacing 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: linear-gradient(135deg, #f2f2f2, #777);
  color: #090909;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.btn.ghost {
  background: transparent;
  border-color: var(--stroke);
  color: var(--white);
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  color: var(--silver);
}

.stats span {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
}

.stats small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.canvas-frame {
  position: relative;
  border-radius: 24px;
  background: var(--gradient);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.canvas-frame.small {
  max-width: 420px;
  justify-self: end;
}

.about-inline {
  margin: 22px 0;
  display: none;
}

.about-inline-image {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

.about-desktop {
  display: block;
}

.canvas-frame.tall {
  min-height: 0;
}

.canvas-frame.tall {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.canvas-frame canvas {
  width: 100%;
  height: clamp(280px, 50vh, 560px);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 0;
}

.canvas-frame.small canvas {
  height: 320px;
}

.canvas-frame.tall canvas {
  height: 100%;
}

.services-sticky {
  position: sticky;
  top: 16px;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
}

.services-sticky canvas {
  width: 100%;
  height: 100%;
}

.services-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

@media (min-width: 901px) {
  .contact {
    align-items: center;
    text-align: center;
  }

  .contact .section-head {
    align-items: center;
    text-align: center;
  }

  .contact-form {
    width: min(1040px, 100%);
    justify-items: center;
    margin: 0 auto;
  }

  .contact-form .field {
    width: 100%;
    text-align: left;
  }

  .contact-form button {
    justify-self: center;
    width: 100%;
    max-width: 100%;
  }

  .canvas-frame.tall {
    display: flex;
    justify-content: center;
  }

  .services-sticky {
    width: 50%;
    max-height: 25%;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 auto;
  }
}

.services-image.is-visible {
  opacity: 1;
}


.about-image {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: cover;
  border-radius: 18px;
  z-index: 1;
}

.canvas-caption {
  position: absolute;
  bottom: 16px;
  right: 22px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

.sticky-caption {
  position: sticky;
  top: 16px;
  right: auto;
  bottom: auto;
  margin-left: auto;
  width: max-content;
}

.mockup {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.mockup-screen {
  width: min(100%, 420px);
  background: linear-gradient(145deg, #0f0f0f, #1f1f1f);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: float 8s ease-in-out infinite;
}

.mockup-topbar {
  display: flex;
  gap: 8px;
  padding: 16px 18px 10px;
  background: rgba(255, 255, 255, 0.04);
}

.mockup-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #303030;
}

.mockup-content {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.mockup-card {
  height: 120px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2a2a2a, #0f0f0f 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 8px 10px 10px;
}

.mockup-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mockup-chart {
  height: 80px;
  border-radius: 16px;
  background: linear-gradient(120deg, #0d0d0d, #3a3a3a);
  position: relative;
  overflow: hidden;
}

.mockup-chart::after {
  content: "";
  position: absolute;
  inset: 18% 16%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  pointer-events: none;
}

.mockup-chart-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  z-index: 1;
}

.mockup-chart-label a {
  color: inherit;
}

.mockup-chart-label a:hover {
  color: var(--white);
}

.mockup-row {
  height: 10px;
  border-radius: 999px;
  background: #2f2f2f;
}

.mockup-row.short {
  width: 70%;
}

.mockup-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  filter: blur(12px);
  z-index: -1;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  max-width: 620px;
}

.products .section-head h2 {
  max-width: 700px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.product-card {
  background: rgba(10, 10, 10, 0.9);
  border-radius: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.product-card p {
  color: var(--silver);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.text-link {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.text-link:hover {
  color: var(--silver);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.copy {
  font-size: 16px;
  color: var(--silver);
  line-height: 1.7;
}

.list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.list li {
  padding-left: 18px;
  position: relative;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f2f2f2, #6e6e6e);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.card-grid {
  display: grid;
  gap: 22px;
}

.service-card {
  position: relative;
  padding: 1px;
  border-radius: 22px;
  background: linear-gradient(135deg, #2c2c2c, #a5a5a5 55%, #1a1a1a);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 150px;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.2));
  opacity: 0.25;
}

.card-orb {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f2f2f2, #6a6a6a 45%, #141414 70%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
  opacity: 0.85;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.6);
}

.card-content {
  position: relative;
  z-index: 1;
  background: rgba(8, 8, 8, 0.9);
  border-radius: 20px;
  padding: 26px 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-content h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.card-content p {
  color: var(--silver);
  font-size: 15px;
  line-height: 1.6;
}

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

.form-status {
  min-height: 20px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
}

.contact-thankyou {
  margin-top: 18px;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #f4f4f4;
  backdrop-filter: blur(8px);
}

.contact-thankyou h3 {
  margin: 0 0 6px 0;
}

.contact-thankyou p {
  margin: 0;
  opacity: 0.9;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}

.field input,
.field textarea {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--white);
  font-family: inherit;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.35);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
}

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

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  color: var(--silver-dark);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-left {
  display: grid;
  gap: 8px;
}

.footer-title {
  color: var(--white);
  font-size: 14px;
}

.footer-link {
  color: var(--silver-dark);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #d7d7d7;
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.social svg {
  width: 18px;
  height: 18px;
}

.social:hover {
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr;
    justify-items: stretch;
    gap: 16px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .canvas-frame.small {
    justify-self: stretch;
  }

  .mockup {
    min-height: 300px;
  }

  .logo-wrap {
    justify-content: flex-start;
  }

  .brand-center {
    text-align: right;
  }

  .nav-wrap {
    grid-column: 2 / -1;
    align-items: flex-end;
  }

  .nav-wrap .chip {
    display: none;
  }

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

  .about .canvas-frame.small {
    order: -1;
  }

  .about .copy {
    order: 1;
  }

  .about-inline {
    display: block;
  }

  .about-desktop {
    display: none;
  }

  .canvas-frame.tall {
    display: block;
  }

  .services-sticky {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: none;
    margin: 0;
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-40px, 20px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

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