:root {
  --ink: #f7fbff;
  --moon: #c8d8ea;
  --muted: #8190a6;
  --canvas: #05060f;
  --plate: #0b111d;
  --panel: rgba(20, 31, 45, 0.78);
  --panel-strong: rgba(28, 40, 57, 0.92);
  --line: #304057;
  --line-soft: rgba(141, 205, 248, 0.18);
  --glacier: #d7ecff;
  --frost: #98c0ef;
  --mint: #25d18f;
  --amber: #f0b52d;
  --violet: #6f6af8;
  --danger: #ff6f61;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(74, 119, 172, 0.22), transparent 34rem),
    linear-gradient(90deg, rgba(141, 205, 248, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(141, 205, 248, 0.035) 1px, transparent 1px),
    var(--canvas);
  background-size: auto, 64px 64px, 64px 64px, auto;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(5, 6, 15, 0.82);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.hero-actions,
.lookup-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--glacier);
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #05060f;
  background: linear-gradient(135deg, var(--glacier), var(--frost));
  border-radius: 10px;
  box-shadow: 0 0 26px rgba(152, 192, 239, 0.28);
}

.main-nav {
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

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

.header-action,
.primary-btn,
.secondary-btn,
.lookup-row button,
.copy-btn,
.admin-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(152, 192, 239, 0.32);
  border-radius: 10px;
  color: var(--glacier);
  background: rgba(16, 25, 39, 0.86);
  font-weight: 900;
  cursor: pointer;
}

.header-action,
.primary-btn,
.lookup-row button,
.copy-btn,
.admin-submit {
  background: linear-gradient(135deg, rgba(141, 205, 248, 0.22), rgba(111, 106, 248, 0.18));
}

.header-action {
  padding: 0 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 62px 5vw 42px;
}

.eyebrow {
  display: inline-block;
  color: var(--mint);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.hero h1,
.section-heading h2,
.admin-intro h1 {
  margin: 14px 0 0;
  color: var(--glacier);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(44px, 7vw, 92px);
}

.hero p,
.section-heading p,
.admin-intro p,
.product-card p,
.timeline p,
.faq-list p,
.form-hint,
.empty-state {
  color: var(--muted);
  line-height: 1.78;
}

.hero p {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: 18px;
}

.lookup-panel {
  margin-top: 34px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.lookup-panel label,
.admin-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--moon);
  font-weight: 900;
}

.lookup-row {
  gap: 10px;
}

.lookup-row input,
.admin-form input,
.admin-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(5, 9, 17, 0.74);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  outline: none;
}

.lookup-row input:focus,
.admin-form input:focus,
.admin-form textarea:focus {
  border-color: rgba(152, 192, 239, 0.78);
  box-shadow: 0 0 0 3px rgba(152, 192, 239, 0.12);
}

.lookup-row button {
  flex: 0 0 118px;
}

.delivery-result {
  margin-top: 18px;
}

.result-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: rgba(5, 9, 17, 0.62);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}

.result-card h3 {
  margin: 0;
  color: var(--glacier);
}

.result-meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.license-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: rgba(7, 12, 22, 0.88);
  border: 1px dashed rgba(152, 192, 239, 0.36);
  border-radius: 10px;
  color: var(--moon);
  font-weight: 900;
}

.copy-btn {
  min-height: 36px;
  padding: 0 12px;
}

.download-link {
  color: var(--mint);
  font-weight: 900;
}

.hero-visual {
  position: relative;
}

.product-window {
  overflow: hidden;
  background: rgba(10, 16, 28, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.window-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  color: var(--muted);
  background: rgba(5, 8, 15, 0.9);
  border-bottom: 1px solid var(--line-soft);
}

.window-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.window-topbar span:nth-child(1) {
  background: var(--danger);
}

.window-topbar span:nth-child(2) {
  background: var(--amber);
}

.window-topbar span:nth-child(3) {
  background: var(--mint);
}

.window-topbar strong {
  margin-left: 8px;
  font-size: 13px;
}

.product-window img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

.signal-card {
  position: absolute;
  right: 22px;
  bottom: -28px;
  display: grid;
  gap: 5px;
  min-width: 178px;
  padding: 16px;
  background: rgba(5, 9, 17, 0.86);
  border: 1px solid rgba(152, 192, 239, 0.42);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

.signal-card span,
.signal-card small {
  color: var(--muted);
}

.signal-card strong {
  color: var(--mint);
  font-size: 26px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  padding: 0 5vw;
  background: var(--line-soft);
}

.trust-band span {
  padding: 22px 16px;
  text-align: center;
  color: var(--moon);
  background: rgba(9, 15, 27, 0.92);
  font-weight: 900;
}

.section,
.admin-page {
  padding: 88px 5vw;
}

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

.section-heading h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.product-grid,
.timeline,
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

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

.product-card,
.timeline article,
.faq-list details,
.security-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.product-card.featured {
  border-color: rgba(37, 209, 143, 0.46);
  box-shadow: 0 0 42px rgba(37, 209, 143, 0.08);
}

.product-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  place-items: center;
  color: #05060f;
  border-radius: 12px;
  font-weight: 950;
}

.teal {
  background: var(--mint);
}

.amber {
  background: var(--amber);
}

.violet,
.coral {
  background: var(--violet);
  color: #fff;
}

.product-card h3,
.timeline h3,
.security-grid h3 {
  margin: 0;
  color: var(--glacier);
  font-size: 23px;
}

.product-card ul {
  padding-left: 20px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.timeline span {
  display: block;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 30px;
  font-weight: 950;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-list details {
  min-height: auto;
}

.faq-list summary {
  color: var(--glacier);
  font-weight: 900;
  cursor: pointer;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 30px 5vw;
  color: var(--muted);
  background: rgba(5, 6, 15, 0.94);
  border-top: 1px solid var(--line-soft);
}

.admin-page {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: start;
}

.admin-intro {
  position: sticky;
  top: 96px;
}

.admin-intro h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.admin-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.form-block {
  display: grid;
  gap: 10px;
}

.form-block h2 {
  margin: 0 0 8px;
  color: var(--glacier);
  font-size: 22px;
}

.admin-form textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
}

.admin-submit {
  width: 100%;
}

.success-state {
  color: var(--mint);
  font-weight: 900;
}

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

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

  .hero {
    min-height: auto;
  }

  .product-grid,
  .timeline,
  .trust-band,
  .security-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
  }

  .header-action {
    display: none;
  }

  .hero,
  .section,
  .admin-page {
    padding: 52px 22px;
  }

  .lookup-row,
  .license-row,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .lookup-row button {
    flex: 0 0 auto;
  }

  .product-grid,
  .timeline,
  .trust-band,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .signal-card {
    position: static;
    margin-top: 14px;
  }
}
