:root {
  --brand-yellow: #ffb800;
  --brand-orange: #ff6b2c;
  --brand-pink: #e91e63;
  --brand-magenta: #c2185b;
  --bg: #0f0f12;
  --bg-soft: #1a1a22;
  --bg-card: #22222c;
  --text: #f5f5f7;
  --text-muted: #b8b8c4;
  --line: rgba(255, 255, 255, 0.08);
  --max: 1100px;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --grad: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange) 45%, var(--brand-pink));
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  min-height: 100vh;
}

a {
  color: var(--brand-orange);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-yellow);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  min-height: 64px;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav-cta {
  background: var(--grad);
  color: #111 !important;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 184, 0, 0.18), transparent 45%),
    radial-gradient(ellipse at 80% 10%, rgba(233, 30, 99, 0.2), transparent 40%),
    linear-gradient(180deg, #16161c 0%, #0f0f12 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/featured.jpg") center/cover no-repeat;
  opacity: 0.18;
  filter: blur(2px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 64px;
  max-width: 720px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.brand-mark img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.brand-mark span {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.hero h1 {
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.35;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 560px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad);
  color: #111;
  box-shadow: 0 10px 28px rgba(255, 107, 44, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--line);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-muted);
  max-width: 680px;
}

.prose h2,
.prose h3 {
  margin: 1.6em 0 0.7em;
  line-height: 1.35;
}

.prose h2 {
  font-size: 1.45rem;
}

.prose h3 {
  font-size: 1.15rem;
  color: #ffe0c2;
}

.prose p {
  margin-bottom: 1em;
  color: #e4e4ec;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em 1.2em;
  color: #e4e4ec;
}

.prose li {
  margin-bottom: 0.45em;
}

.prose strong {
  color: #fff;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 44, 0.4);
}

.feature-item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  max-height: 320px;
}

.feature-item .body {
  padding: 14px 16px 18px;
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Showcase */
.showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.showcase-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.showcase-media img {
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  max-height: 380px;
  width: 100%;
}

.showcase-media img:nth-child(2) {
  transform: translateY(24px);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
}

.step-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad);
  color: #111;
  font-weight: 800;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* FAQ */
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin-top: 10px;
  color: var(--text-muted);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 48px 0 28px;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(255, 184, 0, 0.14), transparent 40%),
    radial-gradient(ellipse at 90% 0%, rgba(233, 30, 99, 0.14), transparent 35%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 680px;
}

.breadcrumb {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.content-wrap {
  padding: 40px 0 64px;
}

.content-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}

.error-page h1 {
  margin-bottom: 10px;
}

.error-page p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0b0b0e;
  padding: 40px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 8px;
}

.footer-col h4 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Utilities */
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.text-muted { color: var(--text-muted); }
.internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.chip:hover {
  color: var(--text);
  border-color: rgba(255, 107, 44, 0.45);
}

.vlog-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.vlog-row img {
  border-radius: 12px;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner,
.feature-item,
.step {
  animation: fadeUp 0.6s ease both;
}

.feature-item:nth-child(2) { animation-delay: 0.08s; }
.feature-item:nth-child(3) { animation-delay: 0.16s; }
.step:nth-child(2) { animation-delay: 0.08s; }
.step:nth-child(3) { animation-delay: 0.16s; }
.step:nth-child(4) { animation-delay: 0.24s; }

@media (max-width: 960px) {
  .feature-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase-media img:nth-child(2) {
    transform: none;
  }

  .vlog-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    background: rgba(15, 15, 18, 0.98);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 120;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 16px;
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .feature-grid,
  .steps,
  .footer-grid,
  .showcase-media {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 48px 0 40px;
  }

  .section {
    padding: 48px 0;
  }

  .content-box {
    padding: 20px 16px;
  }

  .feature-item img,
  .showcase-media img {
    max-height: 420px;
  }
}
