/* Dayway Shawn — Used Aesthetic Equipment — premium B2B redesign */
:root {
  --bg: #0B1220;
  --bg-elev: #111827;
  --bg-card: #151d2e;
  --bg-soft: #F7F8FA;
  --border: #243049;
  --border-soft: #e5e7eb;
  --text: #E8EEF9;
  --text-dark: #0f172a;
  --muted: #9AA8C2;
  --muted-dark: #64748b;
  --accent: #14B8A6;
  --accent-2: #2DD4BF;
  --accent-dim: rgba(20, 184, 166, 0.14);
  --gold: #C9A227;
  --wa: #25D366;
  --wa-ink: #062714;
  --radius: 1rem;
  --radius-xl: 1.25rem;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --max: 1120px;
  --font: Inter, "Segoe UI", "SF Pro Text", "SF Pro Display", system-ui,
    -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1100px 520px at 8% -8%, #1a2744 0%, transparent 55%),
    radial-gradient(900px 480px at 100% 0%, #0d2f2c 0%, transparent 48%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header — sticky glass */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(11, 18, 32, 0.78);
  border-bottom: 1px solid rgba(36, 48, 73, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  color: var(--text);
  text-decoration: none;
}
.logo:hover { text-decoration: none; }

.logo-mark {
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.08rem;
  background: linear-gradient(90deg, #fff 0%, var(--accent-2) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}
.nav .btn-wa { margin-left: 0.2rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-wa {
  background: var(--wa);
  color: var(--wa-ink);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.28);
}
.btn-wa:hover { background: #2fe574; color: var(--wa-ink); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0d9488);
  color: #04201c;
}
.btn-primary:hover { box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3); }

.btn-gold {
  background: linear-gradient(135deg, #d4af37, var(--gold));
  color: #1a1405;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-2);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  margin-top: 1.35rem;
}
.trust-strip span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: var(--accent-2);
  background: var(--accent-dim);
}

/* Hero */
.hero { padding: 3.25rem 0 2.25rem; }

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  line-height: 1.18;
  margin: 0.85rem 0 0.75rem;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin: 0 0 0.7rem;
  letter-spacing: -0.02em;
}
h3 { font-size: 1.12rem; margin: 0 0 0.45rem; }

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42rem;
}
.zh { color: var(--muted); font-size: 0.94rem; }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}
.badge {
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255,255,255,0.02);
}
.badge.ok {
  border-color: rgba(20, 184, 166, 0.4);
  color: var(--accent-2);
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.card.featured {
  border-color: rgba(20, 184, 166, 0.45);
  background:
    linear-gradient(160deg, rgba(20, 184, 166, 0.1), transparent 55%),
    var(--bg-card);
}
.card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.price-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.28);
  color: #e8d48b;
  font-size: 0.92rem;
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
.meta-list li:last-child { border-bottom: 0; }
.meta-list span:first-child { color: var(--muted); }
.meta-list span:last-child { font-weight: 600; text-align: right; }

/* Sections */
section { padding: 2.15rem 0; }
.section-head { margin-bottom: 1.2rem; }

.grid-3 { display: grid; gap: 1rem; }
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.feature-card h3 { color: var(--text); }
.feature-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.94rem;
}
.icon-dot {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Catalog product cards */
.catalog-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  overflow: hidden;
}
.catalog-item .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}
.tag.stock {
  background: rgba(20, 184, 166, 0.16);
  color: var(--accent-2);
}
.tag.inquire {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}
.catalog-item p {
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.catalog-thumb {
  margin: -1.4rem -1.4rem 0.85rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0f18;
  border-bottom: 1px solid var(--border);
}
.catalog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Soft surface band (light) for contrast blocks */
.surface-band {
  background: var(--bg-soft);
  color: var(--text-dark);
  border-block: 1px solid rgba(255,255,255,0.04);
  padding: 2.5rem 0;
}
.surface-band h2,
.surface-band h3 { color: var(--text-dark); }
.surface-band .zh,
.surface-band .prose,
.surface-band p { color: var(--muted-dark); }
.surface-band .card {
  background: #fff;
  border-color: var(--border-soft);
  box-shadow: var(--shadow-soft);
  color: var(--text-dark);
}
.surface-band .meta-list span:first-child { color: var(--muted-dark); }
.surface-band .meta-list li { border-bottom-color: var(--border-soft); }

/* Contact */
.contact-panel { display: grid; gap: 1rem; }
@media (min-width: 720px) {
  .contact-panel { grid-template-columns: 1.2fr 0.8fr; }
}
.wa-big {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.disclaimer {
  font-size: 0.86rem;
  color: var(--muted);
  border-left: 3px solid var(--border);
  padding-left: 0.9rem;
  margin-top: 1.5rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: #7b879e;
}

/* Product extras */
.prose { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }

.cta-band {
  margin: 2rem 0;
  padding: 1.65rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, rgba(20, 184, 166, 0.14), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(20, 184, 166, 0.32);
  text-align: center;
}
.cta-band p {
  color: var(--muted);
  margin: 0.35rem 0 1rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Hero / product photo */
.hero-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  background: #0a0f18;
  aspect-ratio: 4 / 3;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured .hero-photo { aspect-ratio: 4 / 3; max-height: none; }
.featured .hero-photo img { max-height: none; }

/* Categorized gallery */
.gallery-section { margin-top: 1.75rem; }
.gallery-section + .gallery-section { margin-top: 2rem; }
.gallery-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.gallery-label h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}
.gallery-label .count {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.85rem;
}
.gallery.gallery-wide {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.gallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.gallery a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0f18;
  aspect-ratio: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.gallery.gallery-wide a { aspect-ratio: 4 / 3; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}
.gallery a:hover img { transform: scale(1.045); }
.gallery figcaption {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
  padding: 0 0.15rem;
}

@media (max-width: 640px) {
  .nav .btn-wa span.hide-sm { display: none; }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
