:root {
  --bg: #020b18;
  --bg-2: #041426;
  --panel: rgba(6, 28, 50, 0.82);
  --panel-2: rgba(8, 40, 70, 0.72);
  --line: rgba(47, 163, 255, 0.28);
  --text: #e8f4ff;
  --muted: #8ba9c5;
  --blue: #1ca7ff;
  --blue-2: #55d5ff;
  --green: #43ef9d;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 14%, rgba(0, 110, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #020b18 0%, #03101f 48%, #020a14 100%);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(36, 128, 200, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 128, 200, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

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

.topbar {
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 58px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 11, 24, .86);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--blue-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: inset 0 0 20px rgba(28, 167, 255, .12);
}

.brand strong, .brand small {
  display: block;
}

.brand strong {
  letter-spacing: .04em;
}

.brand small {
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 26px;
}

.nav a {
  color: #c7d9e9;
  font-size: .94rem;
  padding: 12px 4px;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: white;
  border-color: var(--blue);
}

.online-pill {
  justify-self: end;
  border: 1px solid rgba(67, 239, 157, .6);
  color: var(--green);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: .88rem;
  background: rgba(25, 160, 96, .08);
}

.online-pill span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  margin-right: 7px;
}

.online-pill.compact {
  padding: 7px 10px;
  font-size: .75rem;
}

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

.hero {
  display: grid;
  grid-template-columns: 1.1fr .7fr .9fr;
  align-items: center;
  gap: 34px;
  min-height: 720px;
}

.eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: #9ddcff;
  background: rgba(18, 98, 157, .14);
  border-radius: 9px;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .07em;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: .95;
  margin: 26px 0 12px;
  letter-spacing: -.05em;
}

.hero h1 span {
  color: var(--blue);
}

.hero h2 {
  margin: 0 0 18px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero-copy > p {
  max-width: 680px;
  color: #aec4d8;
  line-height: 1.75;
  font-size: 1.02rem;
}

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

.btn {
  padding: 13px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 750;
  transition: .2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #158cff, #23b8ff);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(21, 140, 255, .22);
}

.btn.secondary {
  background: rgba(5, 28, 49, .55);
}

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

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.feature-strip article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  display: flex;
  gap: 10px;
}

.feature-strip strong,
.feature-strip small {
  display: block;
}

.feature-strip small {
  color: var(--muted);
  margin-top: 4px;
}

.icon {
  color: var(--blue-2);
  font-size: 1.2rem;
}

.hero-device {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 132, 255, .34), transparent 65%);
  filter: blur(10px);
}

.phone {
  width: 145px;
  height: 300px;
  border-radius: 30px;
  position: relative;
  z-index: 2;
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(160deg, #304155, #111c2a 60%, #26384c);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    inset -12px -8px 22px rgba(0,0,0,.35),
    0 28px 55px rgba(0,0,0,.42);
  transform: perspective(700px) rotateY(-8deg);
}

.camera {
  position: absolute;
  left: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, #2b506f 0 15%, #07111b 18% 50%, #101d28 54%);
  border: 2px solid #4b5f73;
}

.camera-1 { top: 24px; }
.camera-2 { top: 63px; }
.camera-3 { top: 102px; }

.flash {
  position: absolute;
  top: 61px;
  left: 58px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9e8ef;
  box-shadow: 0 0 12px rgba(255,255,255,.35);
}

.samsung {
  position: absolute;
  bottom: 28px;
  width: 100%;
  text-align: center;
  font-size: .58rem;
  color: rgba(255,255,255,.2);
}

.pedestal {
  position: absolute;
  z-index: 1;
  width: 220px;
  height: 48px;
  bottom: 48px;
  border-radius: 50%;
  background: linear-gradient(#0e3e69, #061521);
  border: 1px solid #157ed2;
  box-shadow: 0 0 28px rgba(0, 167, 255, .55), inset 0 0 22px rgba(23, 149, 255, .2);
}

.device-notes {
  position: absolute;
  right: -8px;
  top: 120px;
  display: grid;
  gap: 18px;
  color: #b9d5e9;
  font-size: .86rem;
}

.status-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(7, 31, 56, .96), rgba(3, 20, 37, .9));
  box-shadow: var(--shadow);
}

.status-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(66, 149, 214, .14);
}

.status-title {
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 0 5px;
}

.status-head small { color: var(--muted); }

.gauges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.gauge {
  display: grid;
  place-items: center;
}

.ring {
  width: 94px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle closest-side, #071a2c 73%, transparent 74% 100%),
    conic-gradient(var(--blue-2) calc(var(--value) * 1%), rgba(55, 101, 137, .28) 0);
}

.ring span {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .7rem;
}

.ring strong {
  color: white;
  font-size: 1.06rem;
}

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

.mini-grid > div {
  padding: 12px 8px;
  background: rgba(3, 20, 37, .7);
  border: 1px solid rgba(41, 143, 222, .22);
  border-radius: 10px;
  text-align: center;
}

.mini-grid span,
.mini-grid strong,
.mini-grid small {
  display: block;
}

.mini-grid strong { margin: 4px 0; }
.mini-grid small { color: var(--muted); font-size: .72rem; }

.services {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(66, 149, 214, .14);
  padding-top: 15px;
}

.services > div {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
}

.services em {
  font-style: normal;
  color: var(--green);
  font-size: .72rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid #607d93;
}

.dot.ok {
  border-color: var(--green);
  box-shadow: 0 0 8px rgba(67, 239, 157, .45);
}

.dot.neutral {
  border-color: #a9c0d2;
}

.demo-note {
  color: #7f9ab1;
  font-size: .75rem;
  line-height: 1.45;
  margin: 15px 0 0;
}

.project {
  padding-top: 40px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 28px;
}

.section-title > span {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--blue-2);
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(14, 99, 160, .12);
}

.section-title h2 {
  margin: 0;
  font-size: 1.65rem;
}

.section-title p {
  color: var(--muted);
  margin: 4px 0 0;
}

.architecture {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.architecture article {
  text-align: center;
}

.arch-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(59, 177, 255, .34);
  color: var(--blue-2);
  font-size: 1.65rem;
  background: rgba(11, 66, 108, .3);
}

.architecture strong,
.architecture small {
  display: block;
}

.architecture small {
  color: var(--muted);
  margin-top: 5px;
  font-size: .76rem;
}

.arrow {
  color: var(--blue);
  font-size: 1.5rem;
}

.story-grid,
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.info-card,
.tech-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.info-card > span {
  font-size: 1.5rem;
}

.info-card h3 {
  margin: 12px 0 8px;
}

.info-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.tech-grid {
  grid-template-columns: repeat(6, 1fr);
}

.tech-grid article {
  text-align: center;
  min-height: 150px;
}

.tech-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--blue-2);
  font-weight: 900;
  background: rgba(11, 66, 108, .3);
}

.tech-grid strong,
.tech-grid small {
  display: block;
}

.tech-grid small {
  color: var(--muted);
  margin-top: 6px;
  font-size: .76rem;
}

.roadmap {
  padding-bottom: 90px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.roadmap-grid > div {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: #afc4d6;
}

.roadmap-grid .done {
  color: #d7ffeb;
  border-color: rgba(67, 239, 157, .24);
}

.roadmap-grid .doing {
  color: #dff5ff;
  border-color: rgba(28, 167, 255, .42);
}

footer {
  border-top: 1px solid var(--line);
  width: 100%;
  padding: 28px clamp(18px, 4vw, 58px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: #abc0d3;
  background: rgba(2, 10, 20, .72);
}

footer strong,
footer small {
  display: block;
}

footer small {
  margin-top: 4px;
  color: var(--muted);
}

@media (max-width: 1050px) {
  .topbar { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy { grid-column: 1 / -1; }
  .hero-device { min-height: 380px; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .topbar {
    padding: 10px 16px;
  }
  .brand small { display: none; }
  .online-pill { padding: 8px 10px; }
  .section { width: min(100% - 22px, 1180px); padding: 48px 0; }
  .hero {
    display: block;
    min-height: auto;
    padding-top: 42px;
  }
  .hero h1 { font-size: 3.3rem; }
  .hero-device {
    margin: 35px 0;
    min-height: 380px;
  }
  .device-notes { display: none; }
  .feature-strip { grid-template-columns: 1fr; }
  .gauges { gap: 5px; }
  .ring { width: 84px; }
  .architecture {
    grid-template-columns: 1fr;
  }
  .arrow {
    transform: rotate(90deg);
    text-align: center;
  }
  .story-grid,
  .tech-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
