* {
  box-sizing: border-box;
}

:root {
  --bg: #06040b;
  --bg-soft: #0b0712;
  --panel: rgba(17, 11, 28, 0.82);
  --line: rgba(183, 107, 255, 0.18);
  --text: #f8f6ff;
  --muted: #bcb6c8;
  --purple: #8f2cff;
  --purple-light: #c991ff;
  --max: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 78% 18%, rgba(111, 29, 205, 0.18), transparent 30%),
    linear-gradient(180deg, #07050c 0%, #090510 100%);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 3, 10, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  width: 225px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 225px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 12px rgba(149, 52, 255, 0.26));
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-weight: 600;
  color: #d8d3df;
  font-size: 14px;
  transition: 0.25s ease;
}

.main-nav a:hover {
  color: #fff;
}

.header-cta,
.btn-primary {
  background: linear-gradient(135deg, #9e39ff, #6c16ec);
  box-shadow: 0 16px 40px rgba(118, 31, 231, 0.28);
}

.header-cta {
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154, 79, 220, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 79, 220, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 96%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.hero-glow-one {
  width: 470px;
  height: 470px;
  right: 8%;
  top: 12%;
  background: rgba(114, 29, 228, 0.25);
}

.hero-glow-two {
  width: 330px;
  height: 330px;
  left: 33%;
  bottom: -10%;
  background: rgba(143, 44, 255, 0.12);
}

.hero-inner {
  min-height: 720px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  align-items: center;
  gap: 28px;
  padding-top: 42px;
  padding-bottom: 35px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d7a7ff;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow {
  border: 1px solid rgba(178, 92, 255, 0.34);
  background: rgba(85, 24, 142, 0.16);
  border-radius: 999px;
  padding: 10px 14px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a23fff;
  box-shadow: 0 0 12px #b65cff;
}

.hero h1 {
  margin: 26px 0 18px;
  max-width: 720px;
  font-size: clamp(52px, 5.15vw, 80px);
  line-height: 0.97;
  letter-spacing: -0.065em;
  font-weight: 900;
}

.hero h1 span {
  background: linear-gradient(90deg, #ffffff 2%, #ca9cff 45%, #7f24f3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 610px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.btn {
  min-height: 54px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 13px;
  padding: 0 24px;
  font-weight: 800;
  transition: 0.25s ease;
}

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

.btn-secondary {
  border: 1px solid rgba(197, 135, 255, 0.28);
  background: rgba(10, 7, 16, 0.55);
}

.play {
  font-size: 13px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #c8c2cf;
  font-size: 12px;
}

.hero-visual {
  min-height: 650px;
  position: relative;
  align-self: end;
}

.portrait-frame {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  width: min(100%, 610px);
  height: 650px;
  overflow: hidden;
  border-radius: 38px 38px 0 0;
  border: 1px solid rgba(185, 107, 255, 0.18);
  box-shadow: 0 35px 95px rgba(0, 0, 0, 0.52);
  background: #10071d;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 44%;
  filter: saturate(0.98) contrast(1.02);
}

.portrait-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 4, 14, 0.18), transparent 34%),
    linear-gradient(0deg, rgba(8, 4, 14, 0.28), transparent 30%);
}

.portrait-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: 0;
  top: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 51, 255, 0.52), rgba(74, 14, 150, 0.16) 48%, transparent 70%);
  filter: blur(10px);
}

.portrait-orbit {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(177, 94, 255, 0.22);
  border-radius: 50%;
  transform: rotate(-13deg);
}

.orbit-one {
  width: 520px;
  height: 165px;
  top: 260px;
  right: -15px;
}

.orbit-two {
  width: 370px;
  height: 110px;
  top: 315px;
  right: 65px;
}

.floating-card {
  position: absolute;
  z-index: 8;
  min-width: 205px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(186, 108, 255, 0.34);
  background: rgba(15, 9, 25, 0.86);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.34);
}

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

.floating-card strong {
  margin-bottom: 4px;
}

.floating-card span {
  color: #c9c2d3;
}

.floating-card b {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: #8d29ff;
  box-shadow: 0 0 14px #a84fff;
}

.production-card {
  right: -4%;
  top: 150px;
}

.remote-card {
  left: -5%;
  bottom: 115px;
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(114, 35, 211, 0.2);
  color: #b45cff;
  font-size: 24px;
}

.bars {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  padding: 11px;
}

.bars i {
  width: 5px;
  border-radius: 3px;
  border: 2px solid #b25cff;
}

.bars i:nth-child(1) { height: 11px; }
.bars i:nth-child(2) { height: 19px; }
.bars i:nth-child(3) { height: 27px; }

.features {
  position: relative;
  z-index: 10;
  margin-top: -30px;
}

.feature-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(176, 99, 255, 0.22);
  background: linear-gradient(180deg, rgba(15, 10, 25, 0.97), rgba(8, 6, 14, 0.97));
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  overflow: hidden;
}

.feature-panel article {
  text-align: center;
  padding: 34px 28px;
  position: relative;
}

.feature-panel article:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 66%;
  right: 0;
  top: 17%;
  background: rgba(255,255,255,0.07);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 17px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #ad52ff;
  font-size: 30px;
  background: rgba(111, 31, 198, 0.22);
  box-shadow: 0 0 28px rgba(137, 42, 255, 0.18);
}

.feature-panel h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.feature-panel p,
.product-card p,
.about p,
.contact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading span {
  color: #b260ff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 12px;
}

.section-heading h2,
.about h2,
.contact h2 {
  margin: 14px 0;
  font-size: clamp(38px, 4vw, 62px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

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

.product-card {
  min-height: 330px;
  padding: 30px;
  border: 1px solid rgba(174, 94, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(25, 15, 39, 0.88), rgba(10, 7, 17, 0.88));
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -90px;
  right: -80px;
  border-radius: 50%;
  background: rgba(131, 42, 232, 0.18);
  filter: blur(22px);
}

.product-number {
  color: #a847ff;
  font-size: 12px;
  font-weight: 800;
}

.product-card h3 {
  font-size: 25px;
  margin: 55px 0 16px;
}

.product-card a {
  display: inline-block;
  margin-top: 27px;
  color: #c882ff;
  font-weight: 700;
}

.about {
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(13, 8, 21, 0.62);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about p + p {
  margin-top: 20px;
}

.contact-box {
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  border-radius: 28px;
  border: 1px solid rgba(174, 91, 255, 0.25);
  background:
    radial-gradient(circle at 80% 20%, rgba(131, 42, 236, 0.28), transparent 32%),
    rgba(15, 9, 24, 0.9);
}

footer {
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #a9a2b2;
  font-size: 13px;
}

.footer-inner img {
  width: 160px;
}

.footer-inner span:last-child {
  margin-left: auto;
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 18px;
  }

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

  .portrait-frame {
    height: 590px;
  }

  .production-card {
    right: 0;
  }

  .remote-card {
    left: -8%;
  }
}

@media (max-width: 860px) {
  .header-inner {
    height: 70px;
  }

  .brand {
    width: 175px;
    height: 52px;
  }

  .brand img {
    width: 175px;
    height: 42px;
    object-fit: contain;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: rgba(133, 42, 235, 0.16);
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px;
  }

  .menu-toggle span {
    height: 2px;
    width: 100%;
    background: #fff;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    inset: 70px 0 auto;
    margin: 0;
    padding: 28px 20px;
    background: rgba(7, 4, 12, 0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    transform: translateY(-120%);
    opacity: 0;
    transition: 0.25s ease;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 75px;
    gap: 10px;
  }

  .hero h1 {
    font-size: clamp(50px, 12vw, 74px);
  }

  .hero-visual {
    min-height: 590px;
  }

  .portrait-frame {
    right: 50%;
    transform: translateX(50%);
    width: min(100%, 560px);
    height: 580px;
  }

  .portrait-glow {
    right: 50%;
    transform: translateX(50%);
  }

  .production-card {
    right: 2%;
  }

  .remote-card {
    left: 2%;
  }

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

  .feature-panel article:nth-child(2)::after {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 590px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-checks {
    display: grid;
    gap: 10px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .portrait-frame {
    height: 500px;
    border-radius: 28px 28px 0 0;
  }

  .floating-card {
    min-width: 160px;
    padding: 12px;
    font-size: 13px;
  }

  .production-card {
    top: 70px;
    right: -4px;
  }

  .remote-card {
    left: -4px;
    bottom: 65px;
  }

  .features {
    margin-top: -20px;
  }

  .feature-panel,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel article:not(:last-child)::after {
    width: 70%;
    height: 1px;
    right: 15%;
    top: auto;
    bottom: 0;
  }

  .section {
    padding: 75px 0;
  }

  .contact-box {
    padding: 32px 24px;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-inner span:last-child {
    margin-left: 0;
  }
}
