:root {
  --home-blue: #1769e8;
  --home-navy: #102b55;
  --home-muted: #71819a;
  --home-line: #e4ecf8;
}

body {
  background:
    radial-gradient(ellipse at 90% 0%, #e0edff 0, transparent 32rem),
    #f6f9ff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  max-width: none;
  height: 76px;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  background: rgb(255 255 255 / 90%);
  border-bottom: 1px solid rgb(220 232 249 / 85%);
  backdrop-filter: blur(18px);
}

.brand-mark {
  border-radius: 13px;
  background: linear-gradient(145deg, #1051c6, #4b9dff);
  box-shadow: 0 9px 23px #1769e82b;
}

.topbar nav {
  gap: 19px;
}

.topbar nav > a {
  font-weight: 650;
  transition: color .2s ease;
}

.btn {
  border-radius: 13px;
  transition: transform .22s ease, box-shadow .22s ease,
    border-color .22s ease;
}

.btn-primary {
  background: linear-gradient(125deg, #155bd5, #398cff);
  box-shadow: 0 8px 22px #1769e82b;
}

.btn-primary:hover {
  box-shadow: 0 12px 28px #1769e83b;
}

.hero {
  max-width: 1160px;
  min-height: 0;
  padding-top: 70px;
  padding-bottom: 52px;
  gap: 48px;
}

.hero-copy {
  animation: home-rise .65s ease both;
}

.hero h1 {
  font-size: clamp(43px, 5.3vw, 70px);
  letter-spacing: -3.5px;
  line-height: 1.04;
}

.hero h1 em {
  background: linear-gradient(100deg, #1458cb, #4b9aff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy > p {
  max-width: 470px;
  font-size: 15px;
  line-height: 1.9;
}

.eyebrow {
  letter-spacing: 1.8px;
}

.hero-panel {
  min-height: 310px;
  padding: 29px;
  color: white;
  border: 1px solid #3577d7;
  border-radius: 27px;
  background:
    radial-gradient(ellipse at 100% 0%, #6bb1ff80, transparent 48%),
    linear-gradient(145deg, #123b79, #1769d8 65%, #388dff);
  box-shadow: 0 26px 65px #174d9c2c;
  overflow: hidden;
  animation: home-rise .75s .1s ease both;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -115px;
  bottom: -145px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  box-shadow: 0 0 0 26px #ffffff0b, 0 0 0 52px #ffffff08;
  pointer-events: none;
}

.panel-head,
.panel-live,
.panel-number span,
.panel-bottom small {
  color: #d8e9ff;
}

.panel-number {
  color: white;
  font-size: 64px;
}

.panel-line {
  background: linear-gradient(90deg, #ffffff8a, #ffffff10);
}

.panel-bottom strong {
  color: white;
}

.qr-symbol {
  background: #ffffff20;
  border: 1px solid #ffffff36;
  color: white;
}

.floating-chip {
  right: 14px;
  bottom: 20px;
  color: #183c70;
  border-color: #ffffff80;
  box-shadow: 0 10px 28px #09295b38;
}

.trust-row {
  gap: 12px 20px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.section {
  max-width: 1160px;
  padding-top: 37px;
  padding-bottom: 70px;
}

.section-heading {
  margin-bottom: 25px;
}

.section h2 {
  font-size: clamp(27px, 3vw, 35px);
  letter-spacing: -1.3px;
}

.filters input,
.filters select {
  border-radius: 13px;
  min-height: 45px;
  box-shadow: 0 3px 12px #193c6d05;
}

.filters input:focus,
.filters select:focus {
  border-color: #77a9f5;
  box-shadow: 0 0 0 4px #1769e812;
}

.product-grid {
  gap: 20px;
}

.product-card {
  border-radius: 20px;
  border-color: #e3ebf7;
  background: #fff;
  box-shadow: 0 8px 25px #1b437609;
  transition: transform .24s ease, box-shadow .24s ease,
    border-color .24s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #c6dcfb;
  box-shadow: 0 20px 42px #174d9c15;
}

.product-image {
  height: 175px;
  background:
    radial-gradient(circle at 75% 20%, #ffffffd9, transparent 36%),
    linear-gradient(135deg, #edf5ff, #d9eaff);
}

.product-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 21px;
  color: white;
  background: linear-gradient(145deg, #1764df, #61a8ff);
  box-shadow: 0 12px 28px #1769e830;
}

.product-body {
  padding: 21px;
}

.product-body h3 {
  letter-spacing: -.35px;
}

.product-body p {
  line-height: 1.8;
}

.product-foot {
  padding-top: 14px;
  border-top: 1px solid #edf2f9;
}

.price {
  color: #155dcf;
}

.loading-card {
  border-radius: 17px;
  background: #fff;
}

.order-card,
.admin-card,
.stat-card {
  border-radius: 16px;
  box-shadow: 0 5px 20px #183e7807;
}

.admin-section {
  background: linear-gradient(145deg, #edf5ff, #f8fbff);
  border-color: #dce9fa;
}

.modal-card {
  border: 1px solid #e5edf8;
  box-shadow: 0 28px 90px #081d3b42;
}

footer {
  max-width: 1160px;
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(13px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 800px) {
  .topbar {
    padding: 0 16px;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 30px;
    gap: 30px;
  }

  .hero-panel {
    min-height: 285px;
  }

  .product-grid {
    gap: 13px;
  }

  .product-image {
    height: 140px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 42px;
    letter-spacing: -2px;
  }

  .product-body {
    padding: 15px;
  }
}
