:root {
  --bg: #06080d;
  --bg-2: #0d1220;
  --panel: rgba(14, 20, 33, 0.72);
  --panel-strong: rgba(18, 27, 44, 0.9);
  --text: #edf4ff;
  --muted: #98a8c0;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #4ec4ff;
  --green: #6ff1c8;
  --amber: #ffcf6d;
  --red: #ff6f61;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(78, 196, 255, 0.16), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(111, 241, 200, 0.12), transparent 24%),
    linear-gradient(180deg, #070a12 0%, #0a0f19 44%, #06080d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 74%);
  z-index: -3;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  z-index: 50;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 360px;
  height: 360px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,196,255,0.17), transparent 62%);
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: screen;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 4vw, 56px);
  background: rgba(6, 8, 13, 0.62);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 24px rgba(78,196,255,0.18);
  overflow: hidden;
}

.brand-mark img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  opacity: 0.82;
  filter: saturate(0.9) contrast(1.08);
}

.brand-name {
  display: block;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-sub {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  color: var(--muted);
}

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

.nav a {
  color: rgba(237,244,255,0.72);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease;
}

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

.lang-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  cursor: pointer;
}

.lang-toggle span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}

.lang-toggle .active {
  color: #031018;
  background: var(--green);
}

main {
  position: relative;
  z-index: 2;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  padding: 132px clamp(20px, 5vw, 72px) 70px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-photo {
  position: absolute;
  object-fit: cover;
  filter: blur(3px) saturate(0.9) brightness(0.52);
  opacity: 0.36;
  transform: translateZ(0);
}

.photo-a {
  right: -8vw;
  top: 6vh;
  width: min(760px, 58vw);
  height: min(560px, 56vh);
  border-radius: 36px;
  rotate: -6deg;
}

.photo-b {
  left: -7vw;
  bottom: 6vh;
  width: min(430px, 42vw);
  height: min(580px, 58vh);
  border-radius: 32px;
  rotate: 9deg;
}

.hero-logo {
  position: absolute;
  right: 10vw;
  bottom: 13vh;
  width: min(360px, 36vw);
  opacity: 0.045;
  filter: blur(1px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(46px, 8vw, 112px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  font-size: clamp(17px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.button.primary {
  color: #021017;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 12px 34px rgba(78,196,255,0.25);
}

.button.ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.hero-panel {
  align-self: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(11, 17, 29, 0.66);
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(18px);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.signal-grid span {
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  animation: pulse 2.6s ease-in-out infinite;
}

.signal-grid span:nth-child(3n) { background: rgba(78,196,255,0.38); animation-delay: 220ms; }
.signal-grid span:nth-child(4n) { background: rgba(111,241,200,0.34); animation-delay: 420ms; }
.signal-grid span:nth-child(5n) { background: rgba(255,207,109,0.3); animation-delay: 720ms; }

.metric {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.metric strong {
  font-size: 26px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 96px clamp(20px, 5vw, 72px);
}

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

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

.cap-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
    var(--panel);
  position: relative;
  overflow: hidden;
}

.cap-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 120px;
  background: radial-gradient(circle, rgba(78,196,255,0.22), transparent 70%);
}

.card-index {
  display: inline-flex;
  margin-bottom: 80px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.cap-card p {
  margin: 0;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.visual-stack {
  position: relative;
  min-height: 520px;
}

.visual-stack img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
  opacity: 0.44;
  filter: blur(1.4px) saturate(0.82) brightness(0.72);
  border: 1px solid var(--line);
}

.glass-orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 260px;
  height: 260px;
  left: -40px;
  top: 52px;
  animation: orbit 12s linear infinite;
}

.orbit-two {
  width: 180px;
  height: 180px;
  right: -24px;
  bottom: 70px;
  animation: orbit 9s linear infinite reverse;
}

.split-copy p:not(.eyebrow) {
  max-width: 620px;
  font-size: 17px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 999px;
  color: rgba(237,244,255,0.82);
  background: rgba(255,255,255,0.04);
  font-size: 13px;
}

.products {
  position: relative;
}

.products::before {
  content: "";
  position: absolute;
  inset: 42px clamp(20px, 5vw, 72px) auto;
  height: 260px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(78,196,255,0.08), rgba(255,207,109,0.08), rgba(111,241,200,0.08));
  filter: blur(36px);
  pointer-events: none;
}

.products .section-heading {
  position: relative;
}

.products .section-heading p:not(.eyebrow) {
  max-width: 700px;
  margin: 18px 0 0;
  font-size: 16px;
}

.product-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.product-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    rgba(11,17,29,0.76);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.product-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(111,241,200,0.32);
  opacity: 0.8;
  pointer-events: none;
}

.product-card.star-product {
  border-color: rgba(255,207,109,0.36);
  background:
    radial-gradient(circle at top right, rgba(255,207,109,0.18), transparent 38%),
    radial-gradient(circle at bottom left, rgba(78,196,255,0.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.026)),
    rgba(12,18,31,0.86);
}

.product-card.star-product::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,207,109,0.16);
  border-radius: 16px;
  pointer-events: none;
}

.product-logo {
  display: block;
  width: min(160px, 72%);
  margin-top: 24px;
  opacity: 0.94;
  filter: drop-shadow(0 0 28px rgba(255,207,109,0.18));
}

.product-icon {
  width: min(160px, 72%);
  height: auto;
  object-fit: contain;
  margin-top: 24px;
  filter: drop-shadow(0 0 24px rgba(78,196,255,0.22));
}

.product-card.placeholder {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.016)),
    rgba(11,17,29,0.58);
}

.product-status {
  align-self: flex-start;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #06121b;
  background: var(--amber);
  font-size: 11px;
  font-weight: 800;
}

.product-status.star {
  color: #fff8f3;
  background: linear-gradient(135deg, #ff4f8f, #ff7a59 46%, #ffd76f);
  box-shadow:
    0 0 22px rgba(255,79,143,0.34),
    0 0 42px rgba(255,215,111,0.18);
  text-shadow: 0 1px 8px rgba(72,5,30,0.38);
}

.product-corner-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  min-height: 26px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: #06121b;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 0 24px rgba(78,196,255,0.22);
  font-size: 11px;
  font-weight: 850;
  pointer-events: none;
}

.product-card.placeholder .product-status {
  color: rgba(237,244,255,0.78);
  background: rgba(255,255,255,0.09);
}

.product-card h3 {
  margin-top: 58px;
}

.product-card.star-product h3 {
  margin-top: 22px;
}

.product-card p {
  margin: 0;
  font-size: 14px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.product-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  font-size: 11px;
}

.product-card a {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.product-card > a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-card:hover {
  border-color: rgba(111,241,200,0.28);
  transform: translateY(-2px);
  transition: border-color 180ms ease, transform 180ms ease;
}

.process {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.04));
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.step {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
}

.step:last-child {
  border-right: 0;
}

.step span {
  color: var(--amber);
  font-weight: 800;
}

.step p {
  margin: 72px 0 0;
  font-size: 14px;
}

.studio {
  position: relative;
  overflow: hidden;
}

.studio-bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.studio-bg img {
  width: min(620px, 70vw);
  opacity: 0.035;
  filter: blur(1px);
}

.studio-copy {
  position: relative;
  max-width: 980px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(12, 18, 30, 0.78);
  backdrop-filter: blur(18px);
}

.studio-copy p:not(.eyebrow) {
  max-width: 830px;
  font-size: 17px;
}

.contact {
  padding-bottom: 120px;
}

.contact-card {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 72px);
  border: 1px solid rgba(111,241,200,0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(111,241,200,0.18), transparent 36%),
    radial-gradient(circle at bottom left, rgba(78,196,255,0.16), transparent 32%),
    rgba(15, 22, 36, 0.84);
  text-align: center;
}

.contact-card p {
  max-width: 700px;
  margin: 20px auto 0;
}

.contact-card .button {
  margin-top: 30px;
}

.site-footer {
  padding: 28px 24px 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(237,244,255,0.54);
  text-align: center;
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

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

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

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.78; }
  50% { transform: scale(0.76); opacity: 0.38; }
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(10px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(10px) rotate(-360deg); }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

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

  .hero {
    align-items: center;
    min-height: auto;
    padding-top: 118px;
  }

  .hero-panel {
    align-self: stretch;
  }

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

  .step:nth-child(2) {
    border-right: 0;
  }

  .step {
    border-bottom: 1px solid var(--line);
  }

  .step:nth-child(3),
  .step:nth-child(4) {
    border-bottom: 0;
  }
}

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

  .brand-sub {
    display: none;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .cap-grid,
  .product-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .product-logo {
    width: 150px;
  }

  .step,
  .step:nth-child(2),
  .step:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:nth-child(4) {
    border-bottom: 0;
  }

  .visual-stack,
  .visual-stack img {
    min-height: 360px;
    height: 360px;
  }

  .metric {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
