:root {
  --bg: #0b0e11;
  --panel: #151a1e;
  --panel-strong: #1f262c;
  --text: #f5f7f8;
  --muted: #a8b0b7;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #57e1c1;
  --accent-strong: #ffb84d;
  --paper: #eef2f2;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(87, 225, 193, 0.18), transparent 26rem),
    radial-gradient(circle at 84% 18%, rgba(255, 184, 77, 0.14), transparent 24rem),
    linear-gradient(140deg, #0b0e11 0%, #11161a 48%, #0f1010 100%);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 14, 17, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #08100e;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.header-action,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
}

.header-action {
  padding: 0 18px;
  color: #09100e;
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: 44px;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 60px 0 48px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7.2vw, 5.9rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
.secondary-btn {
  padding: 0 22px;
}

.primary-btn {
  color: #07100d;
  background: linear-gradient(135deg, var(--accent), #c8ff76);
}

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

.hero-visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 560px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    #11161a;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: auto 10% 6% 10%;
  height: 26%;
  content: "";
  background: radial-gradient(ellipse at center, rgba(87, 225, 193, 0.22), transparent 68%);
  filter: blur(8px);
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.floating-panel {
  position: absolute;
  z-index: 2;
  width: min(220px, calc(100% - 40px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 15, 18, 0.76);
  backdrop-filter: blur(18px);
}

.floating-panel span,
.spec-table span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.floating-panel strong,
.spec-table strong {
  font-size: 1rem;
}

.panel-top {
  top: 22px;
  right: 22px;
}

.panel-bottom {
  bottom: 22px;
  left: 22px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 30px;
  border-radius: 8px;
  color: #08100e;
  background: var(--paper);
  font-weight: 900;
}

.feature-card p,
.contact-section p {
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(310px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 44px;
}

.angle-demo {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.phone-demo {
  position: relative;
  height: 360px;
  margin-bottom: 26px;
}

.demo-phone {
  position: absolute;
  left: calc(50% - 84px);
  bottom: 132px;
  width: 168px;
  height: 252px;
  border: 8px solid #262e34;
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(145deg, #12181d, #303940);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  transform: rotate(var(--phone-angle, -48deg));
  transform-origin: 50% 96%;
  transition: transform 160ms ease;
}

.demo-phone::after {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 42px;
  height: 5px;
  border-radius: 999px;
  content: "";
  background: rgba(255, 255, 255, 0.22);
  transform: translateX(-50%);
}

.demo-neck {
  position: absolute;
  left: calc(50% - 16px);
  bottom: 86px;
  width: 32px;
  height: 118px;
  border-radius: 999px;
  background: linear-gradient(90deg, #49535a, #d4dad8, #4b555c);
}

.demo-base {
  position: absolute;
  left: calc(50% - 145px);
  bottom: 54px;
  width: 290px;
  height: 54px;
  border-radius: 24px;
  background: linear-gradient(135deg, #2a3238, #dde2df 48%, #384148);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
}

.angle-demo label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.scene-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.scene-list span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 700;
}

.spec-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.spec-table div {
  min-height: 118px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-table div:nth-child(3n) {
  border-right: 0;
}

.spec-table div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.contact-section {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 0;
  padding: 56px;
  border-radius: 8px;
  color: #08100e;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(220, 255, 245, 0.92)),
    var(--paper);
}

.contact-section .eyebrow {
  color: #08765f;
}

.contact-section h2 {
  max-width: 800px;
  margin-bottom: 18px;
}

.contact-section p {
  max-width: 640px;
  color: #3d484d;
}

.contact-section .secondary-btn {
  color: #08100e;
  border-color: rgba(8, 16, 14, 0.18);
  background: rgba(255, 255, 255, 0.42);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

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

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

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

  .feature-grid,
  .spec-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-table div:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .spec-table div:nth-child(2n) {
    border-right: 0;
  }

  .spec-table div:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .spec-table div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 20px, 1180px);
    margin-top: 10px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .header-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.85rem;
  }

  .hero,
  .section,
  .contact-section,
  .footer {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.6rem);
  }

  .hero-text {
    font-size: 1rem;
  }

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

  .floating-panel {
    padding: 13px;
  }

  .feature-grid,
  .spec-table {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .spec-table div,
  .spec-table div:nth-child(2n),
  .spec-table div:nth-child(3n),
  .spec-table div:nth-last-child(-n + 2),
  .spec-table div:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .spec-table div:last-child {
    border-bottom: 0;
  }

  .phone-demo {
    height: 300px;
  }

  .demo-phone {
    left: calc(50% - 66px);
    bottom: 116px;
    width: 132px;
    height: 206px;
  }

  .demo-base {
    left: calc(50% - 118px);
    width: 236px;
  }

  .contact-section {
    padding: 34px 22px;
  }

  .footer {
    flex-direction: column;
  }
}
