/* 91PORN 官方网站 - 响应式样式 */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a28;
  --accent: #ff9900;
  --accent-hover: #ffb340;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b7b;
  --border: #2a2a3a;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --max-width: 1200px;
  --header-height: 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-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-link img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-text span {
  color: var(--accent);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-main a {
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), #e68a00);
  color: #000 !important;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.35);
  color: #000 !important;
}

/* Hero */
.hero {
  padding: 60px 20px 80px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 2px solid var(--border);
  border-radius: 24px;
  color: var(--text-primary) !important;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: var(--purple);
  background: rgba(124, 58, 237, 0.1);
  color: var(--text-primary) !important;
}

.hero-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-preview img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Section */
.section {
  padding: 64px 20px;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}

.feature-card-body {
  padding: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Module Tabs */
.module-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.module-showcase.reverse {
  direction: rtl;
}

.module-showcase.reverse > * {
  direction: ltr;
}

.module-showcase img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-height: 600px;
  object-fit: contain;
  margin: 0 auto;
}

.module-content h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.module-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.module-list {
  list-style: none;
  margin-bottom: 20px;
}

.module-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
}

.module-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple-light);
  font-weight: bold;
}

/* Category Tags */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* SEO Content */
.seo-content {
  max-width: 860px;
  margin: 0 auto;
}

.seo-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.seo-content h3 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--purple-light);
}

.seo-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-align: justify;
}

.seo-content ul,
.seo-content ol {
  color: var(--text-secondary);
  margin: 12px 0 16px 24px;
}

.seo-content li {
  margin-bottom: 8px;
}

.internal-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.internal-link-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s;
}

.internal-link-card:hover {
  border-color: var(--accent);
}

.internal-link-card a {
  font-weight: 600;
  font-size: 1rem;
}

.internal-link-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.gallery-item span {
  display: block;
  padding: 8px;
  font-size: 0.8rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-card);
}

/* Page Content (sub pages) */
.page-hero {
  padding: 48px 20px 32px;
  background: var(--bg-secondary);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-secondary);
}

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.page-content h2 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  color: var(--accent);
}

.page-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
}

.page-content p,
.page-content li {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.page-content ul,
.page-content ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

/* Error Pages */
.error-page {
  min-height: calc(100vh - var(--header-height) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.error-code {
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.error-page h1 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.error-page p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 20px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  width: 48px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.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(--accent);
}

.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;
}

/* Breadcrumb */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* Mobile */
@media (max-width: 900px) {
  .module-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .module-showcase.reverse {
    direction: ltr;
  }

  .hero-preview {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }

  .nav-main.open {
    display: flex;
  }

  .nav-main a {
    width: 100%;
    padding: 12px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 40px 16px 60px;
  }

  .section {
    padding: 48px 16px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

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

/* ===== 首页新设计 (.page-home) ===== */
.page-home {
  background: #060608;
  --gradient: linear-gradient(135deg, #ff9900, #7c3aed);
}

.page-home .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-home .header-cta {
  display: inline-flex;
  margin-left: auto;
  margin-right: 8px;
}

.home-main { overflow-x: hidden; }

.home-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255, 153, 0, 0.1);
  border: 1px solid rgba(255, 153, 0, 0.25);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.home-hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
}

.home-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, rgba(255, 153, 0, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.home-hero-text h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.home-hero-text h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 28px;
}

.home-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.home-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), #e68a00);
  color: #000 !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(255, 153, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.home-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 153, 0, 0.4);
  color: #000 !important;
}

.home-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--text-secondary) !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: border-color 0.2s, color 0.2s;
}

.home-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

.home-trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.home-trust li {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.home-trust strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.home-trust span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.home-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 480px;
}

.home-phone-frame {
  position: relative;
  z-index: 2;
  width: 260px;
  border-radius: 32px;
  overflow: hidden;
  border: 3px solid #333;
  box-shadow:
    0 0 0 1px rgba(255, 153, 0, 0.15),
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(255, 153, 0, 0.08);
  animation: home-float 5s ease-in-out infinite;
}

.home-phone-frame img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}

@keyframes home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.home-float-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: rgba(20, 20, 30, 0.92);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.home-float-card img {
  width: 72px;
  border-radius: 8px;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.home-float-card span {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.home-float-a { left: 0; top: 80px; animation: home-float 4s ease-in-out infinite 0.5s; }
.home-float-b { right: 0; bottom: 60px; animation: home-float 4.5s ease-in-out infinite 1s; }

.home-quicknav {
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  background: rgba(6, 6, 8, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.home-quicknav-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}

.home-quicknav-inner::-webkit-scrollbar { display: none; }

.home-quicknav a {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.home-quicknav a:hover {
  color: var(--accent) !important;
  border-color: rgba(255, 153, 0, 0.3);
  background: rgba(255, 153, 0, 0.06);
}

.home-section-header { margin-bottom: 48px; max-width: 640px; }
.home-section-header-center { margin-left: auto; margin-right: auto; text-align: center; }
.home-section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.home-section-header p { color: var(--text-secondary); line-height: 1.7; }

.home-features {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.home-feature-list { display: flex; flex-direction: column; gap: 32px; }

.home-feature-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  padding: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: border-color 0.3s;
}

.home-feature-row:hover { border-color: rgba(255, 153, 0, 0.3); }
.home-feature-reverse { direction: rtl; }
.home-feature-reverse > * { direction: ltr; }

.home-feature-img {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #333;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  justify-self: center;
  max-width: 220px;
}

.home-feature-img img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top; }

.home-feature-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.home-feature-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.home-feature-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.home-gallery {
  padding: 80px 0;
  background: #060608;
  border-top: 1px solid var(--border);
}

.home-mosaic {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}

.home-mosaic-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 0;
  transition: transform 0.25s;
}

.home-mosaic-item:hover { transform: scale(1.02); z-index: 2; }

.home-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.home-mosaic-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 10px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 0.78rem;
  color: #ccc;
  text-align: center;
}

.home-mosaic-lg { grid-row: span 2; }
.home-mosaic-wide { grid-column: span 2; }

.home-install {
  padding: 80px 0;
  background: linear-gradient(180deg, #12121a 0%, #0a0a0f 100%);
  border-top: 1px solid var(--border);
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.home-step-card {
  padding: 28px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.25s, transform 0.25s;
}

.home-step-card:hover {
  border-color: rgba(255, 153, 0, 0.4);
  transform: translateY(-4px);
}

.home-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
}

.home-step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.home-step-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
}

.home-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.home-tags li {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 5px 14px;
  border: 1px dashed #333;
  border-radius: 50px;
}

.home-guide {
  padding: 80px 0;
  background: #060608;
  border-top: 1px solid var(--border);
}

.home-guide-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.home-guide-sidebar {
  position: sticky;
  top: 130px;
}

.home-guide-sidebar h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.home-guide-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-guide-nav a {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}

.home-guide-nav a:hover {
  color: var(--accent) !important;
  background: rgba(255, 153, 0, 0.06);
  border-left-color: var(--accent);
}

.home-article-block {
  padding: 28px 0 36px;
  margin-bottom: 8px;
  border-bottom: 1px solid #1a1a28;
}

.home-article-block:last-child { border-bottom: none; }

.home-article-block h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.home-article-block p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.85;
  text-align: justify;
}

.home-callout {
  margin-top: 20px;
  padding: 18px 22px;
  background: rgba(255, 153, 0, 0.06);
  border: 1px solid rgba(255, 153, 0, 0.2);
  border-radius: 12px;
}

.home-callout p { margin: 0; font-size: 0.92rem; color: var(--text-secondary); }

.page-home .internal-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.home-faq {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.home-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.home-accordion-item[open] { border-color: rgba(255, 153, 0, 0.35); }

.home-accordion-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.home-accordion-item summary::-webkit-details-marker { display: none; }

.home-accordion-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 400;
}

.home-accordion-item[open] summary::after { content: '−'; }

.home-accordion-item p {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.home-cta {
  padding: 48px 0;
  background:
    linear-gradient(135deg, rgba(255, 153, 0, 0.1) 0%, transparent 50%),
    #060608;
  border-top: 1px solid rgba(255, 153, 0, 0.15);
}

.home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.home-cta-text h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.home-cta-text p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .home-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .home-hero-desc { margin-left: auto; margin-right: auto; }
  .home-hero-btns { justify-content: center; }
  .home-trust { grid-template-columns: repeat(2, 1fr); }
  .home-hero-visual { min-height: 380px; }
  .home-phone-frame { width: 220px; }
  .home-feature-row { grid-template-columns: 1fr; text-align: center; }
  .home-feature-reverse { direction: ltr; }
  .home-feature-img { margin: 0 auto; }
  .home-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .home-mosaic-wide { grid-column: span 1; }
  .home-steps { grid-template-columns: repeat(2, 1fr); }
  .home-guide-wrap { grid-template-columns: 1fr; }
  .home-guide-sidebar { position: static; }
  .home-guide-nav { flex-direction: row; flex-wrap: wrap; }
  .home-cta-inner { flex-direction: column; text-align: center; padding: 28px 20px; }
  .page-home .header-cta { display: none; }
}

@media (max-width: 768px) {
  .home-hero { padding: 40px 0 32px; }
  .home-trust { grid-template-columns: 1fr 1fr; }
  .home-float-a { left: -10px; }
  .home-float-b { right: -10px; }
  .home-features, .home-gallery, .home-install, .home-guide, .home-faq { padding: 56px 0; }
  .home-feature-row { padding: 24px 18px; }
  .home-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .home-mosaic-lg { grid-row: span 1; }
  .home-steps { grid-template-columns: 1fr; }
  .home-article-block h3 { font-size: 1.15rem; }
}
