/* 91PORN 91PO官网 - 全局样式 */
:root {
  --primary: #ff9900;
  --primary-dark: #e68a00;
  --bg-dark: #0b0a1a;
  --bg-card: #151428;
  --bg-card-hover: #1c1b35;
  --text: #f0f0f0;
  --text-muted: #a0a0b8;
  --accent: #4d88ff;
  --border: #2a2845;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --max-width: 1200px;
  --header-h: 64px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 10, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.logo-text span {
  color: var(--primary);
}

.nav-main {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-main a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--primary);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #000 !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(255, 153, 0, 0.3);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 153, 0, 0.45);
  color: #000 !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Hero */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #12102a 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--border);
  transition: border-color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: #0e0d20;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.section-header p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}

.feature-card-body {
  padding: 20px;
}

.feature-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.feature-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: border-color 0.3s;
}

.category-item:hover {
  border-color: var(--accent);
}

.category-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}

.category-item h4 {
  padding: 14px;
  font-size: 0.95rem;
}

/* Content Article */
.content-article {
  max-width: 900px;
  margin: 0 auto;
}

.content-article h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  color: var(--primary);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.content-article h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--text);
}

.content-article p {
  margin-bottom: 16px;
  color: var(--text-muted);
  text-align: justify;
}

.content-article ul,
.content-article ol {
  margin: 16px 0 16px 24px;
  color: var(--text-muted);
}

.content-article li {
  margin-bottom: 8px;
}

.content-article a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Showcase */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.showcase-row.reverse {
  direction: rtl;
}

.showcase-row.reverse > * {
  direction: ltr;
}

.showcase-img img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.showcase-text h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.showcase-text p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #1a1840 0%, #2a1f5e 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  margin: 48px 0;
}

.cta-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Page Header */
.page-header {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, #12102a 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.page-header .breadcrumb {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.page-header .breadcrumb a {
  color: var(--text-muted);
}

.page-header .breadcrumb a:hover {
  color: var(--primary);
}

/* Legal Pages */
.legal-content {
  padding: 48px 0 80px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
  color: var(--primary);
}

.legal-content h3 {
  font-size: 1.15rem;
  margin: 24px 0 10px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

/* Error Pages */
.error-page {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.error-code {
  font-size: 8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), #ff6600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.error-page h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.error-page p {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background: #080714;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-keywords {
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Internal Links Bar */
.internal-links {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
}

.internal-links h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--text);
}

.internal-links .links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.internal-links a {
  font-size: 0.9rem;
  color: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(11, 10, 26, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-main.open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-image {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-row,
  .showcase-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 48px 0;
  }

  .cta-banner {
    padding: 32px 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .btn-download,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* ===== Homepage Redesign ===== */
.home-page {
  --home-glow: rgba(255, 153, 0, 0.15);
}

/* Hero */
.home-hero {
  position: relative;
  padding: 72px 0 48px;
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--home-glow), transparent),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(77, 136, 255, 0.08), transparent),
    linear-gradient(180deg, #100e24 0%, var(--bg-dark) 100%);
  pointer-events: none;
}

.home-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent);
}

.home-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.home-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255, 153, 0, 0.1);
  border: 1px solid rgba(255, 153, 0, 0.25);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.home-hero-copy h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 520px;
}

.home-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.home-trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
}

.home-trust-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
}

.home-trust-list strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 4px;
}

.home-trust-list span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Phone Mockup */
.home-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 480px;
}

.phone-mockup {
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid #2a2845;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 153, 0, 0.1);
  background: #000;
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-main {
  width: 260px;
  position: relative;
  z-index: 2;
}

.phone-float {
  position: absolute;
  width: 110px;
  opacity: 0.85;
  z-index: 1;
}

.phone-float-1 {
  top: 40px;
  left: 0;
  transform: rotate(-8deg);
}

.phone-float-2 {
  bottom: 60px;
  right: 0;
  transform: rotate(8deg);
}

/* Stats Bar */
.home-stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #0e0d1c;
  padding: 28px 0;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.home-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.home-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Section Common */
.home-section {
  padding: 80px 0;
}

.home-section-dark {
  background: #0e0d20;
}

.home-section-head {
  text-align: center;
  margin-bottom: 48px;
}

.home-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.home-section-head h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.home-section-head p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Bento Grid */
.home-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}

.home-bento-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: default;
  transition: transform 0.3s, border-color 0.3s;
}

.home-bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.home-bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s;
}

.home-bento-card:hover img {
  transform: scale(1.05);
}

.home-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 10, 26, 0.95) 0%, rgba(11, 10, 26, 0.3) 60%, transparent 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.home-bento-icon {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.home-bento-overlay h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text);
}

.home-bento-overlay p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.home-bento-lg {
  grid-column: span 2;
  grid-row: span 2;
}

.home-bento-wide {
  grid-column: span 2;
}

/* Category Scroll */
.home-cat-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.home-cat-scroll::-webkit-scrollbar {
  height: 4px;
}

.home-cat-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.home-cat-chip {
  flex: 0 0 140px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
  text-align: center;
  color: var(--text) !important;
}

.home-cat-chip:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  color: var(--primary) !important;
}

.home-cat-chip img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}

.home-cat-chip span {
  display: block;
  padding: 10px 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Gallery */
.home-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 0 16px;
  scroll-snap-type: x mandatory;
  align-items: flex-end;
}

.home-gallery-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  text-align: center;
}

.home-gallery-item img {
  width: 160px;
  border-radius: 20px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s, border-color 0.3s;
}

.home-gallery-item:hover img {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.home-gallery-featured img {
  width: 200px;
  border-color: var(--primary);
}

.home-gallery-item figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Steps */
.home-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  position: relative;
  transition: border-color 0.3s;
}

.home-step-card:hover {
  border-color: var(--primary);
}

.home-step-num {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.home-step-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.home-step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Article + TOC */
.home-article-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.home-toc {
  position: sticky;
  top: calc(var(--header-h) + 80px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.home-toc h3 {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--text);
}

.home-toc nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.home-toc nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 12px;
  border-left: 2px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}

.home-toc nav a:hover {
  color: var(--primary);
  border-left-color: var(--primary);
}

.home-toc-links {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-toc-links a {
  font-size: 0.8rem;
  color: var(--accent);
}

.home-article {
  max-width: none;
}

/* FAQ Grid */
.home-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.home-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.home-faq-item:hover {
  border-color: rgba(255, 153, 0, 0.4);
}

.home-faq-item[open] {
  border-color: var(--primary);
}

.home-faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 12px;
}

.home-faq-item[open] summary::after {
  content: "−";
}

.home-faq-item .faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* CTA */
.home-cta {
  padding: 0 0 80px;
}

.home-cta-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, #1a1535 0%, #2a1f5e 50%, #1a1535 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}

.home-cta-inner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--home-glow), transparent 70%);
  pointer-events: none;
}

.home-cta-logo {
  border-radius: 18px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.home-cta-text {
  flex: 1;
}

.home-cta-text h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.home-cta-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.btn-download-lg {
  padding: 14px 32px;
  font-size: 1rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Homepage Responsive */
@media (max-width: 1024px) {
  .home-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .home-bento-lg {
    grid-column: span 2;
    grid-row: span 1;
  }

  .home-bento-wide {
    grid-column: span 2;
  }

  .home-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-article-wrap {
    grid-template-columns: 1fr;
  }

  .home-toc {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .home-toc h3 {
    grid-column: 1 / -1;
  }

  .home-toc nav {
    margin-bottom: 0;
  }

  .home-toc-links {
    border-top: none;
    padding-top: 0;
    border-left: 1px solid var(--border);
    padding-left: 16px;
  }
}

@media (max-width: 768px) {
  .home-hero {
    padding: 48px 0 32px;
  }

  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-hero-copy h1 {
    font-size: 2rem;
  }

  .home-hero-visual {
    order: -1;
    min-height: 360px;
  }

  .phone-main {
    width: 220px;
  }

  .phone-float {
    width: 90px;
  }

  .home-trust-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .home-section {
    padding: 56px 0;
  }

  .home-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .home-bento-card {
    min-height: 200px;
  }

  .home-bento-lg,
  .home-bento-wide {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 240px;
  }

  .home-steps {
    grid-template-columns: 1fr;
  }

  .home-faq-grid {
    grid-template-columns: 1fr;
  }

  .home-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .home-toc {
    grid-template-columns: 1fr;
  }

  .home-toc-links {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 16px;
  }
}

@media (max-width: 480px) {
  .home-hero-copy h1 {
    font-size: 1.65rem;
  }

  .home-hero-cta {
    flex-direction: column;
  }

  .home-hero-cta .btn-download,
  .home-hero-cta .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .btn-download-lg {
    width: 100%;
    justify-content: center;
  }
}
