```css
/* ============================================================
   91吃瓜 - 娱乐热点与网红动态追踪
   wqenid.cn | 完整样式表
   ============================================================ */

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

/* ---------- Design Tokens ---------- */
:root {
  --brand: #ff4757;
  --brand-2: #ff7b8a;
  --brand-3: #ffb199;
  --brand-glow: rgba(255, 71, 87, 0.35);
  --brand-soft: rgba(255, 71, 87, 0.10);
  --brand-soft-2: rgba(255, 71, 87, 0.16);

  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --bg-3: #eef0f4;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.55);

  --text: #1f2329;
  --text-2: #5c6370;
  --text-3: #8b929c;

  --line: #e8eaed;
  --line-strong: #d9dce1;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(31, 35, 41, 0.05);
  --shadow: 0 6px 24px rgba(31, 35, 41, 0.08);
  --shadow-lg: 0 16px 48px rgba(31, 35, 41, 0.12);
  --shadow-brand: 0 10px 30px rgba(255, 71, 87, 0.32);

  --grad-brand: linear-gradient(135deg, #ff4757 0%, #ff7b8a 52%, #ffb199 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(255, 71, 87, 0.10), rgba(255, 177, 153, 0.10));
  --grad-dark: linear-gradient(160deg, #14161a 0%, #1c1f24 100%);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
}

body.dark {
  --bg: #14161a;
  --bg-2: #1c1f24;
  --bg-3: #23272e;
  --surface: #1c1f24;
  --glass: rgba(28, 31, 36, 0.62);
  --glass-border: rgba(255, 255, 255, 0.08);

  --text: #e6e8eb;
  --text-2: #9aa1ab;
  --text-3: #6f7681;

  --line: #2a2e35;
  --line-strong: #343941;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.40);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
  --shadow-brand: 0 10px 30px rgba(255, 71, 87, 0.28);

  --brand-soft: rgba(255, 71, 87, 0.16);
  --brand-soft-2: rgba(255, 71, 87, 0.24);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

a:hover {
  opacity: 0.85;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

img,
svg {
  max-width: 100%;
  display: block;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
}

::selection {
  background: var(--brand-soft-2);
  color: var(--brand);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-2);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  border: 2px solid var(--bg-2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 72px 0;
  position: relative;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.3s var(--ease);
}

header.site-header:hover {
  box-shadow: var(--shadow-sm);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}

.logo svg {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.logo:hover {
  opacity: 1;
}

.logo:hover svg {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: var(--shadow-brand);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover {
  opacity: 1;
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-links a:hover::after {
  width: 22px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-2);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--text-3);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.search-box:focus-within {
  border-color: var(--brand);
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.search-box input {
  width: 132px;
  border: none;
  background: transparent;
  outline: none;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}

.search-box input::placeholder {
  color: var(--text-3);
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.icon-btn:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px) rotate(6deg);
  box-shadow: var(--shadow-sm);
}

.icon-btn:active {
  transform: translateY(0) scale(0.94);
}

.menu-toggle {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 84px;
  color: #fff;
  background: var(--grad-brand);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 18% 20%,
      rgba(255, 255, 255, 0.22),
      transparent 42%
    ),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.14), transparent 46%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(2px);
  z-index: -1;
  animation: heroFloat 14s ease-in-out infinite alternate;
}

@keyframes heroFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-40px, 46px, 0) scale(1.12);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.hero p.lead {
  font-size: 17px;
  line-height: 1.8;
  opacity: 0.96;
  margin-bottom: 28px;
  max-width: 620px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.btn-primary:hover {
  opacity: 1;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.26);
}

/* Hero glass card */
.hero-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.20);
}

.hero-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: 0.01em;
}

.hero-card ul {
  display: grid;
  gap: 12px;
}

.hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.96);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero-card li:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.hero-card li span:first-child {
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat {
  padding: 18px 12px;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.22);
}

.stat b {
  display: block;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.92;
}

/* ---------- Anchor Nav ---------- */
.anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  padding: 12px 0;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--line);
}

.anchor-nav ul {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.anchor-nav ul::-webkit-scrollbar {
  display: none;
}

.anchor-nav a {
  display: inline-block;
  white-space: nowrap;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease),
    background-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.anchor-nav a:hover {
  opacity: 1;
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
}

/* ---------- Section Head ---------- */
.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: var(--grad-brand);
}

.section-head p {
  color: var(--text-2);
  font-size: 16px;
}

/* ---------- Grids ---------- */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ---------- Card ---------- */
.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease), background-color 0.35s var(--ease);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-soft-2);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
}

.card .ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.card:hover .ico {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 14px 34px var(--brand-glow);
}

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  padding: 3px 12px;
  margin-bottom: 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- About ---------- */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.about-wrap h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 18px;
}

.about-wrap p {
  color: var(--text-2);
  font-size: 15.5px;
  margin-bottom: 14px;
}

.about-wrap > div > svg {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease);
}

.about-wrap > div > svg:hover {
  transform: translateY(-6px) rotate(-1deg);
}

/* Author Box */
.author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.author-box:hover {
  border-color: var(--brand-soft-2);
}

.author-box .avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  box-shadow: var(--shadow-brand);
}

.author-box b {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.author-box span {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 7px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-3));
  border-radius: 2px;
}

.timeline li {
  position: relative;
  padding-bottom: 20px;
  transition: transform 0.3s var(--ease);
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -29px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.timeline li:hover {
  transform: translateX(4px);
}

.timeline li:hover::before {
  transform: scale(1.25);
  box-shadow: 0 0 0 6px var(--brand-soft-2);
}

.timeline b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.timeline span {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  min-height: 220px;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--shadow-brand);
}

.carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(255, 255, 255, 0.24),
    transparent 50%
  );
  pointer-events: none;
}

.slide {
  display: none;
  padding: 40px 40px 64px;
  position: relative;
  z-index: 1;
}

.slide.active {
  display: block;
  animation: slideFade 0.55s var(--ease);
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.slide p {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.96;
  max-width: 720px;
}

.dots {
  position: absolute;
  left: 40px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.dot.active {
  width: 24px;
  background: #fff;
}

/* ---------- Article Cards ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-soft-2);
  box-shadow: var(--shadow-lg);
}

.article-card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-2);
}

.article-card .thumb svg {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease);
}

.article-card:hover .thumb svg {
  transform: scale(1.06);
}

.article-card .body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
}

.article-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-3);
}

.article-card .meta span {
  display: inline-flex;
  align-items: center;
}

.article-card .meta span + span::before {
  content: "·";
  margin-right: 10px;
  color: var(--line-strong);
}

.article-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  transition: color 0.25s var(--ease);
}

.article-card:hover h3 {
  color: var(--brand);
}

.article-card p {
  flex: 1;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
}

.article-card .more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  transition: gap 0.25s var(--ease);
}

.article-card:hover .more {
  gap: 8px;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item:hover {
  border-color: var(--brand-soft-2);
}

.faq-item.open {
  border-color: var(--brand-soft-2);
  box-shadow: var(--shadow);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.faq-q:hover {
  color: var(--brand);
}

.faq-q .plus {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--brand);
  transition: transform 0.35s var(--ease);
}

.faq-item.open .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-item.open .faq-a {
  max-height: 480px;
  padding: 0 22px 22px;
}

/* ---------- HowTo Steps ---------- */
.howto-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  padding: 30px 24px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
  border-color: var(--brand-soft-2);
  box-shadow: var(--shadow-lg);
}

.step .num {
  position: absolute;
  top: -16px;
  left: 22px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: var(--shadow-brand);
  transition: transform 0.35s var(--ease);
}

.step:hover .num {
  transform: scale(1.1) rotate(-8deg);
}

.step h3 {
  margin-top: 6px;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
}

.step p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.contact-item:hover {
  transform: translateX(5px);
  border-color: var(--brand-soft-2);
  box-shadow: var(--shadow-sm);
}

.contact-item .ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.contact-item b {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.contact-item span {
  display: block;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
}

/* Contact Form */
form.contact-form {
  display: grid;
  gap: 14px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

form.contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  outline: none;
  resize: vertical;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

form.contact-form input::placeholder,
form.contact-form textarea::placeholder {
  color: var(--text-3);
}

form.contact-form input:focus,
form.contact-form textarea:focus {
  border-color: var(--brand);
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

form.contact-form button {
  padding: 13px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--grad-brand);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    filter 0.25s var(--ease);
}

form.contact-form button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 34px var(--brand-glow);
}

form.contact-form button:active {
  transform: translateY(0) scale(0.99);
}

/* ---------- Tag Cloud ---------- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 6px 17px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 14px;
  color: var(--text-2);
  cursor: default;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.tag:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */
footer.site-footer {
  margin-top: 40px;
  padding: 60px 0 26px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-grid h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-grid h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-brand);
}

.footer-grid ul {
  display: grid;
  gap: 9px;
}

.footer-grid a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.22s var(--ease), padding-left 0.22s var(--ease);
}

.footer-grid a:hover {
  opacity: 1;
  color: var(--brand);
  padding-left: 4px;
}

.footer-grid p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 8px;
}

footer .card {
  padding: 22px 24px;
}

footer .card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

footer .card p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- Back To Top ---------- */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease),
    transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 40px var(--brand-glow);
}

.back-top:active {
  transform: translateY(-2px) scale(0.98);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside grids */
.grid-2 > .reveal:nth-child(2),
.grid-3 > .reveal:nth-child(2),
.grid-4 > .reveal:nth-child(2),
.howto-wrap > .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.grid-3 > .reveal:nth-child(3),
.grid-4 > .reveal:nth-child(3),
.howto-wrap > .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.grid-4 > .reveal:nth-child(4),
.howto-wrap > .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 960px) {
  :root {
    --header-h: 60px;
  }

  section {
    padding: 56px 0;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero-grid,
  .about-wrap,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-card {
    padding: 22px;
  }

  .grid-3,
  .grid-4,
  .howto-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head h2 {
    font-size: 27px;
  }

  /* Mobile nav opened via JS inline styles */
  .nav-links[style*="display: flex"] {
    box-shadow: var(--shadow-lg);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    animation: navDrop 0.3s var(--ease);
  }

  .nav-links[style*="display: flex"] a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
  }

  .nav-links[style*="display: flex"] a::after {
    display: none;
  }

  @keyframes navDrop {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  section {
    padding: 44px 0;
  }

  .hero {
    padding: 44px 0 52px;
  }

  .hero h1 {
    font-size: 27px;
    line-height: 1.34;
  }

  .hero p.lead {
    font-size: 15px;
  }

  .hero-cta {
    gap: 10px;
  }

  .btn {
    padding: 11px 20px;
    font-size: 14px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat b {
    font-size: 22px;
  }

  .section-head h2 {
    font-size: 23px;
  }

  .section-head p {
    font-size: 14.5px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .howto-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 22px;
  }

  .card h3 {
    font-size: 17px;
  }

  .about-wrap h2 {
    font-size: 24px;
  }

  .slide {
    padding: 28px 22px 56px;
  }

  .slide h3 {
    font-size: 20px;
  }

  .dots {
    left: 22px;
    bottom: 18px;
  }

  .article-card .body {
    padding: 18px;
  }

  .article-card h3 {
    font-size: 16.5px;
  }

  .faq-q {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-a {
    padding: 0 18px;
    font-size: 14px;
  }

  .faq-item.open .faq-a {
    padding: 0 18px 18px;
  }

  .step {
    padding: 28px 20px 20px;
  }

  form.contact-form {
    padding: 22px;
  }

  .search-box {
    padding: 6px 10px;
  }

  .search-box input {
    width: 84px;
    font-size: 13px;
  }

  .logo span {
    font-size: 18px;
  }

  .logo svg {
    width: 30px;
    height: 30px;
  }

  .anchor-nav {
    padding: 10px 0;
  }

  .anchor-nav a {
    padding: 5px 12px;
    font-size: 13px;
  }

  .back-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  footer.site-footer {
    padding: 44px 0 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ---------- Small Mobile ---------- */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .search-box {
    display: none;
  }
}

/* ---------- Accessibility: Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Print ---------- */
@media print {
  header.site-header,
  .anchor-nav,
  .back-top,
  .hero-cta,
  .hero-card,
  form.contact-form,
  .carousel,
  .dots {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero {
    background: none;
    color: #000;
    padding: 20px 0;
  }

  .hero h1 {
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .card,
  .article-card,
  .step {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}
```