  * { box-sizing: border-box; margin: 0; padding: 0; }

  .hero {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
    background: #fff;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 72px 40px 64px;
    position: relative;
    overflow: hidden;
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
  }

.hero-art {
  position: absolute;
  right: 30px;
  bottom: 0;
  width: 52%;
  max-width: 640px;
  min-width: 380px;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

.hero-art img {
  width: 110%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom right;
  transform: rotate(-4deg);
  transform-origin: bottom right;
  filter: contrast(1.1);
  opacity: 0.18;
}

  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(27,79,187,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(27,79,187,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
    width: 100%;
    max-width: 680px;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0.5px solid rgba(27,79,187,0.25);
    border-radius: 20px;
    padding: 5px 14px 5px 10px;
    background: rgba(27,79,187,0.05);
  }
  .badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #1B4FBB;
    flex-shrink: 0;
    animation: pulse 2.4s ease-in-out infinite;
  }
  @keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
  }
  .badge-text {
    font-size: 12px;
    font-weight: 500;
    color: #1B4FBB;
    letter-spacing: -0.05px;
  }

  .hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -1.2px;
    line-height: 1.08;
    color: #1d1d1f;
  }
  .hero-title em {
    font-style: normal;
    color: #1B4FBB;
    position: relative;
  }
  .hero-title em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0; right: 0;
    height: 3px;
    background: #1B4FBB;
    border-radius: 2px;
    opacity: 0.25;
  }

  .hero-sub {
    font-size: 16px;
    font-weight: 400;
    color: rgba(0,0,0,0.45);
    letter-spacing: -0.15px;
    line-height: 1.55;
    max-width: 420px;
  }

  .search-wrap {
    width: 100%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .search-field {
    display: flex;
    align-items: center;
    background: #f5f5f7;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 16px;
    padding: 6px 6px 6px 20px;
    gap: 12px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  }
  .search-field:focus-within {
    background: #fff;
    border-color: #1B4FBB;
    box-shadow: 0 0 0 4px rgba(27,79,187,0.1);
  }
  .search-field svg {
    width: 18px; height: 18px;
    fill: rgba(0,0,0,0.3);
    flex-shrink: 0;
    transition: fill 0.2s;
  }
  .search-field:focus-within svg { fill: #1B4FBB; }

  .search-field input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    color: #1d1d1f;
    outline: none;
    min-width: 0;
  }
  .search-field input::placeholder { color: rgba(0,0,0,0.28); }

  .search-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  .s-select {
    appearance: none;
    -webkit-appearance: none;
    border: 0.5px solid rgba(0,0,0,0.12);
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    color: rgba(0,0,0,0.6);
    padding: 0 28px 0 12px;
    height: 40px;
    cursor: pointer;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(0,0,0,0.35)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
  }

  .s-btn {
    background: #1B4FBB;
    color: #fff;
    border: none;
    border-radius: 11px;
    height: 40px;
    padding: 0 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: -0.1px;
    transition: filter 0.15s, transform 0.1s;
    flex-shrink: 0;
  }
  .s-btn:hover { filter: brightness(1.12); }
  .s-btn:active { transform: scale(0.97); }

  .search-hints {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hints-label {
    font-size: 12px;
    color: rgba(0,0,0,0.3);
    letter-spacing: -0.05px;
  }
  .hint {
    font-size: 12px;
    font-weight: 500;
    color: rgba(0,0,0,0.5);
    background: transparent;
    border: 0.5px solid rgba(0,0,0,0.12);
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
  }
  .hint:hover {
    border-color: #1B4FBB;
    color: #1B4FBB;
    background: rgba(27,79,187,0.05);
  }

  .hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    border: 0.5px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    overflow: hidden;
    background: #fafafa;
  }
  .hstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 28px;
    gap: 2px;
    position: relative;
  }
  .hstat + .hstat::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 0.5px;
    background: rgba(0,0,0,0.08);
  }
  .hstat-num {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1d1d1f;
  }
  .hstat-label {
    font-size: 11px;
    color: rgba(0,0,0,0.38);
    white-space: nowrap;
  }

    .bnr {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0f1923;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    aspect-ratio: 1920 / 505;
  }

  .bnr-track {
    display: flex;
    height: 100%;
    transition: transform 0.42s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
  }

  .bnr-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
  }

  .bnr-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
  }

  .bnr-arr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    border: 0.5px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
  }
  .bnr-arr:hover { background: rgba(0,0,0,0.55); transform: translateY(-50%) scale(1.06); }
  .bnr-arr:active { transform: translateY(-50%) scale(0.96); }
  .bnr-arr svg { width: 18px; height: 18px; fill: #fff; }
  .bnr-arr.prev { left: 20px; }
  .bnr-arr.next { right: 20px; }

  .bnr-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
  }

  .bnr-dot-item {
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
    width: 16px;
  }
  .bnr-dot-item.on { width: 30px; background: #fff; }

  .bnr-bar {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255,255,255,0.1);
    z-index: 10;
  }
  .bnr-bar-fill {
    height: 100%;
    width: 0%;
    background: rgba(255,255,255,0.6);
    transition: width 0.1s linear;
  }

  .bnr-counter {
    position: absolute;
    bottom: 10px;
    right: 20px;
    z-index: 10;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.5px;
  }

  @media (max-width: 768px) {
    .bnr-arr { width: 36px; height: 36px; }
    .bnr-arr svg { width: 14px; height: 14px; }
  }

  @media (max-width: 480px) {
    .bnr-arr { display: none; }
  }

  @media (max-width: 768px) {

  /* ── HERO ── */
  .hero {
    padding: 48px 20px 40px;
    min-height: auto;
  }

  .hero-inner {
    max-width: 100%;
    gap: 20px;
  }

  .hero-art {
    width: 100%;
    min-width: unset;
    right: 0;
    opacity: 0.08;
  }

  .hero-art img {
    width: 100%;
    opacity: 1;
  }

  .hero-title {
    font-size: clamp(26px, 7vw, 36px);
    letter-spacing: -0.6px;
  }

  .hero-sub {
    font-size: 14px;
    max-width: 100%;
  }

  .search-wrap {
    max-width: 100%;
  }

  .search-field {
    padding: 6px 6px 6px 14px;
    gap: 8px;
    border-radius: 14px;
  }

  .search-field input {
    font-size: 15px;
  }

  .s-select {
    display: none;
  }

  .s-btn {
    padding: 0 16px;
    font-size: 13px;
    height: 38px;
    border-radius: 10px;
    white-space: nowrap;
  }

  .search-hints {
    justify-content: flex-start;
    gap: 6px;
  }

  .hints-label {
    width: 100%;
  }

  /* ── HERO STATS ── */
  .hero-stats {
    width: 100%;
    flex-wrap: wrap;
    border-radius: 12px;
  }

  .hstat {
    padding: 12px 16px;
    flex: 1 1 calc(50% - 1px);
    min-width: 0;
  }

  .hstat:nth-child(2)::before,
  .hstat:nth-child(4)::before {
    display: none;
  }

  .hstat:nth-child(3)::before,
  .hstat:nth-child(4)::before {
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 0.5px;
  }

  .hstat-num {
    font-size: 16px;
  }

  .hstat-label {
    font-size: 10px;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 480px) {

  /* ── HERO ── */
  .hero {
    padding: 36px 16px 32px;
  }

  .badge-text {
    font-size: 11px;
  }

  .hero-title {
    font-size: clamp(22px, 6.5vw, 28px);
    letter-spacing: -0.4px;
  }

  .hero-sub {
    font-size: 13px;
    line-height: 1.5;
  }

  .search-field {
    border-radius: 12px;
    padding: 5px 5px 5px 12px;
  }

  .search-field svg {
    width: 15px;
    height: 15px;
  }

  .s-btn {
    padding: 0 14px;
    height: 36px;
    font-size: 13px;
  }

  .hint {
    font-size: 11px;
    padding: 3px 10px;
  }

  /* ── HERO STATS ── */
  .hstat {
    padding: 10px 12px;
  }

  .hstat-num {
    font-size: 14px;
  }
}

/* ── DARK THEME ── */
html.dark-theme body { background: #111113; }

html.dark-theme .hero {
  background: #111113;
  border-bottom-color: rgba(255,255,255,0.06);
}
html.dark-theme .hero-grid {
  background-image:
    linear-gradient(rgba(77,163,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,163,255,0.04) 1px, transparent 1px);
}
html.dark-theme .hero-title { color: rgba(255,255,255,0.92); }
html.dark-theme .hero-title em { color: #4DA3FF; }
html.dark-theme .hero-title em::after { background: #4DA3FF; }
html.dark-theme .hero-sub { color: rgba(255,255,255,0.45); }
html.dark-theme .hero-badge {
  background: rgba(77,163,255,0.1);
  border-color: rgba(77,163,255,0.25);
}
html.dark-theme .badge-dot { background: #4DA3FF; }
html.dark-theme .badge-text { color: #4DA3FF; }

html.dark-theme .search-field {
  background: #1c1c1e;
  border-color: rgba(255,255,255,0.1);
}
html.dark-theme .search-field:focus-within {
  background: #232325;
  border-color: #4DA3FF;
  box-shadow: 0 0 0 4px rgba(77,163,255,0.12);
}
html.dark-theme .search-field svg { fill: rgba(255,255,255,0.28); }
html.dark-theme .search-field:focus-within svg { fill: #4DA3FF; }
html.dark-theme .search-field input { color: rgba(255,255,255,0.92); }
html.dark-theme .search-field input::placeholder { color: rgba(255,255,255,0.25); }
html.dark-theme .s-select {
  background-color: #1c1c1e;
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.35)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
html.dark-theme .hints-label { color: rgba(255,255,255,0.28); }
html.dark-theme .hint {
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
}
html.dark-theme .hint:hover {
  border-color: #4DA3FF;
  color: #4DA3FF;
  background: rgba(77,163,255,0.08);
}

html.dark-theme .hero-stats {
  background: #1c1c1e;
  border-color: rgba(255,255,255,0.06);
}
html.dark-theme .hstat + .hstat::before { background: rgba(255,255,255,0.06); }
html.dark-theme .hstat-num { color: rgba(255,255,255,0.92); }
html.dark-theme .hstat-label { color: rgba(255,255,255,0.35); }