/* ============================================================
   UWANT SUPPORT SITE — MONOCHROME METALLIC EDITION
   Palette: Onyx Black / Soft White / Silver / Charcoal
   Signature: metallic silver + obsidian gradients để nhấn yếu tố quan trọng
   ============================================================ */

:root {
  /* ---- Core Brand Colors ---- */
  --warm-sand:     #1b1b1b;
  --soft-white:    #ffffff;
  --platinum:      #8f8f8f;
  --sand-beige:    #e0e0e0;
  --dark-espresso: #0a0a0a;

  /* ---- Text ---- */
  --text-primary:   #ffffff;
  --text-secondary: #a8a8a8;
  --text-muted:     #7d7d7d;
  --text-on-dark:   #ffffff;

  /* ---- Surfaces ---- */
  --bg-page:      #050505;
  --bg-card:      #141414;
  --bg-elevated:  #1b1b1b;
  --border-soft:  rgba(255,255,255,0.09);

  /* ============================================================
     METALLIC GRADIENTS — the signature
     Nhiều điểm dừng xen kẽ sáng/tối tạo đường phản chiếu kim loại bạc
     ============================================================ */

  /* Silver shimmer — sáng, dùng cho accent & highlight */
  --grad-gold-light: linear-gradient(
    115deg,
    #6b6b6b 0%,
    #a3a3a3 14%,
    #f4f4f4 28%,
    #cfcfcf 40%,
    #8c8c8c 52%,
    #b8b8b8 64%,
    #f2f2f2 80%,
    #a0a0a0 92%,
    #6b6b6b 100%
  );

  /* Steel silver — đậm hơn, dùng cho nút / CTA quan trọng */
  --grad-gold-warm: linear-gradient(
    120deg,
    #5c5c5c 0%,
    #8c8c8c 18%,
    #dcdcdc 34%,
    #a8a8a8 48%,
    #767676 60%,
    #c4c4c4 78%,
    #7a7a7a 100%
  );

  /* Obsidian black — nền hero, chiều sâu ánh kim tối */
  --grad-espresso: linear-gradient(
    125deg,
    #000000 0%,
    #121212 22%,
    #1c1c1c 40%,
    #0a0a0a 52%,
    #191919 68%,
    #0d0d0d 86%,
    #000000 100%
  );

  /* Sheen overlay — lớp bóng quét ngang cho hiệu ứng shimmer */
  --sheen: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0) 65%,
    transparent 100%
  );

  /* ---- Type ---- */
  --font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ---- Radius ---- */
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* ---- Shadows ---- */
  --shadow-card: 0 2px 4px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.5);
  --shadow-hover: 0 6px 16px rgba(0,0,0,0.55), 0 20px 48px rgba(0,0,0,0.65);
  --shadow-gold: 0 6px 20px rgba(255,255,255,0.16);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t-base: 300ms;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.shell { width: 100%; margin: 0; padding: 0; }

/* ============================================================
   HERO — obsidian metallic, đây là "khoảnh khắc nhấn"
   ============================================================ */

.hero {
  position: relative;
  margin: 0;
  padding: 40px clamp(20px, 5vw, 80px) 72px;
  border-radius: 0;
  background: var(--grad-espresso);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
  box-shadow: none;
}

/* Ánh kim mờ ở góc — tạo chiều sâu cho bề mặt obsidian */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 86% 6%, rgba(255,255,255,0.09) 0%, transparent 52%),
    radial-gradient(90% 80% at 4% 100%, rgba(255,255,255,0.06) 0%, transparent 55%),
    radial-gradient(60% 50% at 50% 40%, rgba(255,255,255,0.03) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Viền bạc mảnh quanh hero — độ hoàn thiện cao cấp */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--soft-white);
}

/* Chấm thương hiệu — bạc ánh kim */
.wordmark__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--grad-gold-light);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.10), 0 2px 8px rgba(0,0,0,0.5);
}

.hero__badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
}

.hero__title {
  font-size: clamp(2rem, 5.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 15ch;
}

/* Chữ nhấn ánh kim bạc — điểm nhấn thị giác đầu tiên của trang */
.hero__title em {
  font-style: normal;
  background: var(--grad-gold-light);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 48ch;
}

/* Sóng trang trí dưới hero */
.hero__wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: auto;
  opacity: 0.7;
}

/* ============================================================
   SECTION
   ============================================================ */

.section { 
  padding: 40px clamp(20px, 5vw, 80px) 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand-beige);
  margin-bottom: 20px;
  padding-left: 2px;
}

/* ============================================================
   PILLARS — thẻ điều hướng chính
   Nền onyx sạch sẽ, viền bạc ánh kim khi hover
   ============================================================ */

.pillars {
  display: grid;
  gap: 16px;
  margin-bottom: 56px;
}

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

.pillar {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  overflow: hidden;
}

/* Dải ánh kim mảnh chạy dọc mép trái, hiện dần khi hover */
.pillar::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-gold-warm);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-base) var(--ease);
}

.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,255,255,0.32);
}

.pillar:hover::before { transform: scaleY(1); }

/* Icon — bạc ánh kim ngay từ đầu, không đợi hover: gây ấn tượng ngay khi vào trang */
.pillar__icon {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  color: var(--dark-espresso);
  background: var(--grad-gold-light);
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}

.pillar__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sheen);
  transform: translateX(-130%);
  transition: transform 700ms var(--ease);
}

.pillar:hover .pillar__icon {
  transform: scale(1.07) rotate(-3deg);
  box-shadow: 0 8px 22px rgba(0,0,0,0.6);
}

.pillar:hover .pillar__icon::after { transform: translateX(130%); }

.pillar__icon svg { width: 27px; height: 27px; position: relative; z-index: 1; }

.pillar__body { flex: 1; display: flex; flex-direction: column; gap: 5px; }

.pillar__title {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.pillar__desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.pillar__chev {
  flex-shrink: 0;
  align-self: center;
  color: var(--platinum);
  transition: color var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
}

.pillar:hover .pillar__chev {
  color: var(--sand-beige);
  transform: translateX(4px);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 28px 26px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
}

.footer__row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.footer__row svg { width: 19px; height: 19px; color: var(--sand-beige); flex-shrink: 0; }

.footer__note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

a:focus-visible,
.pillar:focus-visible,
.quickstrip__item:focus-visible {
  outline: 2px solid var(--sand-beige);
  outline-offset: 3px;
}

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