* { box-sizing: border-box; }
html {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  background: #0b0f19;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: #0b0f19;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.app-shell { min-height: 100vh; background: #0a0d16; color: #fff; display: flex; flex-direction: column; width: 100%; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  background: linear-gradient(90deg, #104ec0 0%, #145fe0 50%, #104ec0 100%);
  box-shadow: 0 4px 6px -1px rgba(23, 37, 84, .30), 0 2px 4px -2px rgba(23, 37, 84, .30);
}
.topbar-inner {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-logo {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  flex: none;
}
.topbar-title { font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; color: #fff; }
.main-content {
  flex: 1;
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 14px 14px 48px;
  display: flex;
  flex-direction: column;
}
.banner-section { width: 100%; }
.banner-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(30, 58, 138, .30);
  background: #0f1422;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.40), 0 4px 6px -4px rgba(0,0,0,.40);
}
.banner-image { display: block; width: 100%; height: auto; object-fit: cover; }
.section-title-wrap { margin: 16px 0 12px; padding: 0 2px; }
.section-title-wrap h1 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 700; color: #fff; letter-spacing: -.025em; }
.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  border-radius: 12px;
  background: #121726;
  border: 1px solid #1d273e;
  padding: 8px;
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  cursor: pointer;
  outline: none;
  min-width: 0;
}
.product-card:hover { border-color: #2f4068; }
.product-card:active {
  transform: scale(.97);
  border-color: rgba(59,130,246,.80);
  background: #161e31;
  box-shadow: 0 0 15px rgba(37,99,235,.30);
}
.product-card:focus-visible { box-shadow: 0 0 0 2px #3b82f6; }
.product-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #0b0e17;
}
.product-image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.product-card:hover .product-image { transform: scale(1.02); }
.product-info {
  padding: 8px 2px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 42px;
}
.product-title {
  min-width: 0;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  color: #3b82f6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.product-card:hover .product-title { color: #60a5fa; }
.product-arrow {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #1b253b;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.15);
  transition: background-color .15s ease, color .15s ease;
}
.product-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.product-card:hover .product-arrow { background: #2563eb; color: #fff; }
@media (min-width: 640px) {
  .topbar-inner { padding-left: 24px; padding-right: 24px; }
  .topbar-logo { width: 36px; height: 36px; }
  .topbar-title { font-size: 16px; line-height: 24px; }
  .main-content { padding-left: 24px; padding-right: 24px; padding-top: 20px; }
  .banner-frame { border-radius: 16px; }
  .section-title-wrap { margin-top: 24px; margin-bottom: 16px; }
  .section-title-wrap h1 { font-size: 20px; line-height: 28px; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .product-card { border-radius: 16px; }
  .product-image-wrap { border-radius: 12px; }
  .product-info { min-height: 46px; }
  .product-title { font-size: 13px; }
  .product-arrow { width: 28px; height: 28px; }
}
@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
