:root {
  --navy: #061b37;
  --navy-soft: #0b2c55;
  --teal: #18c5b5;
  --text: #102033;
  --muted: #657386;
  --line: rgba(16, 32, 51, 0.12);
  --bg: #f7fafc;
  --card: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 70px rgba(6, 27, 55, 0.12);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 10%, rgba(24, 197, 181, 0.20), transparent 30%),
    radial-gradient(circle at 10% 20%, rgba(6, 27, 55, 0.10), transparent 28%),
    var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(247, 250, 252, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: 0 12px 28px rgba(24, 197, 181, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--navy);
}

.hero {
  padding: 96px 0 72px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 22px;
  border: 1px solid rgba(24, 197, 181, 0.32);
  border-radius: 999px;
  color: var(--navy-soft);
  background: rgba(24, 197, 181, 0.09);
  font-size: 13px;
  font-weight: 750;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(24, 197, 181, 0.14);
}

h1 {
  max-width: 760px;
  color: var(--navy);
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
}

.hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
  margin-bottom: 32px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 16px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: 0 16px 34px rgba(6, 27, 55, 0.22);
}

.button.secondary {
  color: var(--navy);
  background: white;
  border-color: var(--line);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  padding: 36px;
  min-height: 420px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -80px -110px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(24, 197, 181, 0.24);
}

.logo-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
  margin-bottom: 26px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
}

.logo-symbol {
  width: 142px;
  height: 142px;
  border-radius: 42px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 62px;
  font-weight: 950;
  letter-spacing: -0.09em;
  background: conic-gradient(from 190deg, var(--navy), var(--teal), var(--navy));
  box-shadow: inset 0 0 32px rgba(255, 255, 255, 0.18), 0 24px 44px rgba(6, 27, 55, 0.18);
}

.hero-card h2 {
  position: relative;
  color: var(--navy);
  font-size: 28px;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.hero-card p {
  position: relative;
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

section {
  padding: 72px 0;
}

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

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-bottom: 14px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

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

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 38px rgba(6, 27, 55, 0.08);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--navy), var(--teal));
}

.card h3 {
  color: var(--navy);
  font-size: 21px;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  padding: clamp(26px, 5vw, 56px);
  color: white;
  background:
    linear-gradient(140deg, rgba(3, 16, 28, 0.96), rgba(4, 30, 48, 0.98) 58%, rgba(7, 18, 28, 0.98)),
    #05131f;
  border: 1px solid rgba(35, 230, 241, 0.22);
  box-shadow: 0 28px 90px rgba(3, 16, 28, 0.28);
  isolation: isolate;
}

.project-card::before,
.project-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.project-card::before {
  inset: 0;
  background:
    linear-gradient(rgba(35, 230, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 230, 241, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 65% 35%, black, transparent 72%);
}

.project-card::after {
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(35, 230, 241, 0.08));
}

.project-glow {
  position: absolute;
  inset: -18% -12% auto auto;
  width: min(620px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(196, 255, 0, 0.16), transparent 58%),
    radial-gradient(circle at 32% 35%, rgba(35, 230, 241, 0.26), transparent 46%);
  filter: blur(10px);
  animation: glowDrift 9s ease-in-out infinite alternate;
}

.project-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.project-copy {
  max-width: 620px;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: #c9ff13;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.project-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #26f1f4;
  box-shadow: 0 0 18px rgba(38, 241, 244, 0.9);
}

.project-copy h3 {
  max-width: 680px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.94;
  margin-bottom: 24px;
}

.project-copy h3,
.project-details h4,
.tool-item span,
.screen-gallery figcaption {
  letter-spacing: 0;
}

.project-lede {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.34;
  margin-bottom: 18px;
}

.project-copy p:not(.project-lede) {
  color: rgba(220, 237, 245, 0.76);
  font-size: 17px;
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.project-button {
  color: #03131f;
  background: linear-gradient(135deg, #29f2f6, #caff11);
  box-shadow: 0 14px 36px rgba(38, 241, 244, 0.22);
}

.project-button.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.project-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  perspective: 1200px;
}

.project-hero-image {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  height: auto;
  border-radius: 32px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 26px 78px rgba(0, 0, 0, 0.48),
    0 0 64px rgba(35, 230, 241, 0.22);
  transform: rotateX(4deg) rotateY(-7deg);
  animation: deviceFloat 6.5s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(35, 230, 241, 0.34);
  animation: slowSpin 18s linear infinite;
}

.orbit-ring.one {
  width: 92%;
  aspect-ratio: 1;
}

.orbit-ring.two {
  width: 72%;
  aspect-ratio: 1;
  border-color: rgba(201, 255, 19, 0.36);
  animation-duration: 23s;
  animation-direction: reverse;
}

.sensor-pulse {
  position: absolute;
  z-index: 3;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #c9ff13;
  box-shadow: 0 0 24px rgba(201, 255, 19, 0.95);
  animation: ping 2.6s ease-out infinite;
}

.pulse-a {
  top: 22%;
  right: 6%;
}

.pulse-b {
  bottom: 19%;
  left: 5%;
  background: #26f1f4;
  box-shadow: 0 0 24px rgba(38, 241, 244, 0.95);
  animation-delay: 0.9s;
}

.tool-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.tool-item {
  min-height: 132px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.tool-item:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 241, 244, 0.38);
  background: rgba(38, 241, 244, 0.09);
}

.tool-item span {
  display: block;
  color: #26f1f4;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tool-item strong {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.45;
}

.screen-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 34px;
  scroll-margin-top: 110px;
}

.screen-gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.screen-gallery figure:nth-child(even) {
  transform: translateY(22px);
}

.screen-gallery figure:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34), 0 0 34px rgba(38, 241, 244, 0.18);
}

.screen-gallery figure:nth-child(even):hover {
  transform: translateY(10px);
}

.screen-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.screen-gallery figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  color: white;
  font-size: 13px;
  font-weight: 850;
  background: rgba(3, 16, 28, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.project-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 56px;
}

.project-details > div {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.project-details h4 {
  color: #c9ff13;
  font-size: 17px;
  margin-bottom: 8px;
}

.project-details p {
  color: rgba(220, 237, 245, 0.74);
  font-size: 14px;
}

@keyframes deviceFloat {
  0%,
  100% {
    transform: rotateX(4deg) rotateY(-7deg) translateY(0);
  }

  50% {
    transform: rotateX(5deg) rotateY(-4deg) translateY(-14px);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ping {
  0% {
    transform: scale(0.8);
    opacity: 0.95;
  }

  80%,
  100% {
    transform: scale(2.7);
    opacity: 0;
  }
}

@keyframes glowDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-28px, 22px, 0) scale(1.08);
  }
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.about-box {
  padding: 34px;
  border-radius: 34px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}

.about-box h2 {
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.about-box p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 20px;
}

.list {
  display: grid;
  gap: 14px;
}

.list-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.check {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.list-item strong {
  display: block;
  color: var(--navy);
  margin-bottom: 3px;
}

.list-item span {
  color: var(--muted);
  font-size: 15px;
}

.contact-panel {
  text-align: center;
  padding: 58px 34px;
  border-radius: 38px;
  background: linear-gradient(135deg, var(--navy), #0b3a61 55%, #10b9ad);
  color: white;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.06em;
  margin-bottom: 16px;
}

.contact-panel p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.contact-panel .button {
  background: white;
  color: var(--navy);
}

.page-hero {
  padding: 76px 0 34px;
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.legal-layout {
  padding: 34px 0 88px;
}

.legal-card {
  max-width: 900px;
  padding: 38px;
  border-radius: 34px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 38px rgba(6, 27, 55, 0.08);
}

.legal-card h2 {
  color: var(--navy);
  font-size: 25px;
  letter-spacing: -0.035em;
  margin: 28px 0 10px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0 20px;
}

.legal-card a {
  color: var(--navy);
  font-weight: 750;
}

footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .hero-grid,
  .split,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .nav-links {
    display: none;
  }

  .project-grid,
  .tool-grid,
  .project-details {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 560px;
  }

  .project-hero-image {
    width: min(82vw, 350px);
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 42px;
    letter-spacing: -0.055em;
  }

  .hero-card,
  .legal-card {
    padding: 24px;
    border-radius: 26px;
  }

  .logo-panel {
    min-height: 210px;
  }

  .footer-row {
    display: grid;
  }

  .project-card {
    border-radius: 28px;
  }

  .project-copy h3 {
    font-size: 44px;
    line-height: 1;
  }

  .project-visual {
    min-height: 430px;
  }

  .screen-gallery {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
  }

  .screen-gallery figure {
    flex: 0 0 76%;
    scroll-snap-align: start;
  }

  .screen-gallery figure,
  .screen-gallery figure:nth-child(even),
  .screen-gallery figure:hover,
  .screen-gallery figure:nth-child(even):hover {
    transform: none;
  }

  .project-actions .button {
    width: 100%;
  }
}

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

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