/* 91PO 91PORN官方正版入口样式 - 91-porny.forum */
:root {
  --primary: #ff6600;
  --primary-dark: #e55a00;
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1e1e1e;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #707070;
  --border: #2a2a2a;
  --gradient: linear-gradient(135deg, #ff6600 0%, #ff9933 100%);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --radius: 12px;
  --max-width: 1200px;
}

*, *::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-primary);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-link:hover { text-decoration: none; }
.logo-img { width: 48px; height: 48px; border-radius: 10px; }
.logo-text { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); }
.logo-text span { color: var(--primary); }

.nav-main { display: flex; gap: 8px; align-items: center; }
.nav-main a {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-main a:hover, .nav-main a.active {
  color: var(--text-primary);
  background: var(--bg-card);
  text-decoration: none;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(255,102,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,102,0,0.4);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

.page-header {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, #111 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-secondary); }

.page-body { padding: 48px 0 80px; }

.legal-content h2 { font-size: 1.3rem; margin: 32px 0 12px; color: var(--text-primary); }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 10px; color: var(--primary); }
.legal-content p, .legal-content li { color: var(--text-secondary); margin-bottom: 12px; }
.legal-content ul, .legal-content ol { margin-left: 24px; margin-bottom: 16px; }

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  opacity: 0.8;
}

.error-page h1 { font-size: 1.8rem; margin: 16px 0; }
.error-page p { color: var(--text-secondary); margin-bottom: 32px; max-width: 480px; }

.site-footer {
  background: #080808;
  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 p { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; 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; text-decoration: none; }
.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-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; text-decoration: none; }
.footer-links a:hover { color: var(--primary); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  html { font-size: 15px; overflow-x: hidden; }
  body { overflow-x: hidden; max-width: 100%; }

  /* 无广告页：导航固定顶部 */
  body:not(:has(.site-top-fixed)) {
    padding-top: 56px;
  }
  body:not(:has(.site-top-fixed)) .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
  }

  /* 有广告页：整块顶栏固定，导航始终在最上方 */
  .site-top-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .menu-toggle { display: block; flex-shrink: 0; order: 2; }
  .header-inner {
    padding: 10px 16px;
    gap: 0;
    flex-wrap: wrap;
    align-items: center;
  }
  .logo-link {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    order: 1;
  }
  .logo-img { width: 40px; height: 40px; flex-shrink: 0; }
  .logo-text { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-main {
    display: none;
    position: static;
    flex-basis: 100%;
    order: 3;
    width: 100%;
    background: transparent;
    flex-direction: column;
    padding: 0 0 4px;
    margin-top: 0;
    border-bottom: none;
    box-shadow: none;
  }
  .nav-main.open {
    display: flex;
    padding-top: 10px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
  }
  .nav-main a { width: 100%; text-align: center; padding: 12px; font-size: 0.92rem; }
  .container { padding: 0 16px; width: 100%; max-width: 100%; }
  .footer-brand p { overflow-wrap: break-word; word-break: break-word; }
  .page-header { padding: 32px 0 24px; }
  .page-header h1 { font-size: 1.6rem; }
  .page-body { padding: 32px 0 56px; }
  .legal-content h2 { font-size: 1.15rem; margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 36px 0 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .error-code { font-size: 5rem; }
}

/* ===== 首页专属排版（v6 杂志式布局）===== */
.page-home { background: #030303; }
.idx-main { overflow-x: hidden; }

.idx-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--primary);
  margin-bottom: 10px;
}

.idx-head { margin-bottom: 48px; max-width: 640px; }
.idx-head-center { text-align: center; max-width: none; margin-left: auto; margin-right: auto; }
.idx-head-center p { margin: 0 auto; max-width: 540px; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.75; }
.idx-head h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.idx-head p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.75; }

/* Buttons */
.idx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.idx-btn-primary {
  background: var(--gradient);
  color: #fff !important;
  box-shadow: 0 8px 32px rgba(255,102,0,0.4);
}
.idx-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255,102,0,0.5);
  color: #fff !important;
}
.idx-btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary) !important;
  border: 1px solid #2a2a2a;
}
.idx-btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: rgba(255,102,0,0.06);
}

/* Hero — centered cinematic */
.idx-hero {
  position: relative;
  padding: 56px 0 40px;
  text-align: center;
  overflow: hidden;
}
.idx-hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255,102,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.idx-hero-wrap { position: relative; }
.idx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid #222;
  background: rgba(255,255,255,0.03);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.idx-pulse {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
  animation: idx-blink 2s ease infinite;
}
@keyframes idx-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.idx-hero-title {
  margin-bottom: 20px;
  line-height: 1.05;
}
.idx-hero-line {
  display: block;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.idx-hero-accent {
  display: block;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.idx-hero-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.9;
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: center;
}
.idx-hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Device stack */
.idx-hero-visual {
  position: relative;
  height: 380px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.idx-device {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #252525;
  box-shadow: 0 28px 72px rgba(0,0,0,0.65);
  background: #111;
}
.idx-device img { width: 100%; height: 100%; object-fit: cover; display: block; }
.idx-device-left {
  width: 150px;
  height: 267px;
  transform: rotate(-14deg) translateX(-100px) translateY(12px);
  opacity: 0.5;
  z-index: 1;
}
.idx-device-center {
  width: 190px;
  height: 338px;
  z-index: 3;
  border-color: rgba(255,102,0,0.45);
  box-shadow: 0 36px 90px rgba(0,0,0,0.75), 0 0 60px rgba(255,102,0,0.12);
}
.idx-device-right {
  width: 150px;
  height: 267px;
  transform: rotate(14deg) translateX(100px) translateY(12px);
  opacity: 0.5;
  z-index: 2;
}

.idx-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.idx-tags li {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid #222;
  background: rgba(255,255,255,0.02);
  padding: 6px 14px;
  border-radius: 6px;
}

/* Anchor strip */
.idx-strip {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3,3,3,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.idx-strip-list {
  list-style: none;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}
.idx-strip-list::-webkit-scrollbar { display: none; }
.idx-strip-list a {
  display: block;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.idx-strip-list a:hover {
  color: var(--primary) !important;
  background: rgba(255,102,0,0.06);
  border-color: rgba(255,102,0,0.2);
}

/* Highlights */
.idx-highlights {
  padding: 72px 0;
  background: #060606;
}
.idx-hl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.idx-hl-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.idx-hl-card:hover {
  border-color: rgba(255,102,0,0.3);
  transform: translateY(-4px);
}
.idx-hl-card-featured {
  background: linear-gradient(160deg, rgba(255,102,0,0.1) 0%, #0a0a0a 60%);
  border-color: rgba(255,102,0,0.25);
}
.idx-hl-icon {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 16px;
  line-height: 1;
}
.idx-hl-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.idx-hl-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

.idx-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #080808;
}
.idx-stats li {
  text-align: center;
  padding: 22px 16px;
  border-right: 1px solid var(--border);
}
.idx-stats li:last-child { border-right: none; }
.idx-stats strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}
.idx-stats span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Features alternating */
.idx-features {
  padding: 72px 0;
  background: #040404;
  border-top: 1px solid var(--border);
}
.idx-feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid #141414;
}
.idx-feat-row:last-child { border-bottom: none; }
.idx-feat-reverse .idx-feat-media { order: 2; }
.idx-feat-reverse .idx-feat-text { order: 1; }
.idx-feat-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #222;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  background: #0a0a0a;
}
.idx-feat-media img {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.idx-feat-num {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.idx-feat-text h3 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.3;
}
.idx-feat-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin: 0;
}

/* Gallery masonry */
.idx-gallery {
  padding: 72px 0;
  background: #070707;
  border-top: 1px solid var(--border);
}
.idx-gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 8px;
  gap: 12px;
}
.idx-gal-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1e1e1e;
  background: #0c0c0c;
  grid-row-end: span 22;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}
.idx-gal-item:hover {
  border-color: rgba(255,102,0,0.4);
  transform: scale(1.02);
  z-index: 2;
}
.idx-gal-tall { grid-row-end: span 28; }
.idx-gal-wide { grid-column: span 2; grid-row-end: span 18; }
.idx-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 160px;
}
.idx-gal-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.72rem;
  font-weight: 600;
  color: #ddd;
  text-align: center;
}

/* Download cards */
.idx-download {
  padding: 72px 0;
  background: #030303;
  border-top: 1px solid var(--border);
}
.idx-kw {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}
.idx-kw li {
  font-size: 0.74rem;
  color: var(--text-muted);
  border: 1px dashed #2a2a2a;
  padding: 5px 14px;
  border-radius: 999px;
}
.idx-dl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.idx-dl-card {
  background: #0a0a0a;
  border: 1px solid #1c1c1c;
  border-radius: 16px;
  padding: 28px 26px;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.idx-dl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.2s;
}
.idx-dl-card:hover {
  border-color: rgba(255,102,0,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.idx-dl-card:hover::before { opacity: 1; }
.idx-dl-step {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(255,102,0,0.3);
}
.idx-dl-card h3 {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.idx-dl-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* Guide articles */
.idx-guide {
  padding: 72px 0;
  background: #050505;
  border-top: 1px solid var(--border);
}
.idx-guide-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.idx-article {
  background: #0a0a0a;
  border: 1px solid #181818;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.idx-article:hover { border-color: rgba(255,102,0,0.2); }
.idx-article-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid #141414;
  background: rgba(255,255,255,0.015);
}
.idx-article-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,102,0,0.12);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.idx-article-head h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}
.idx-article-body {
  padding: 22px 24px;
}
.idx-article-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.88;
  margin-bottom: 12px;
  text-align: justify;
  overflow-wrap: break-word;
}
.idx-article-body p:last-child { margin-bottom: 0; }
.idx-article-split-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 22px 24px;
  align-items: start;
}
.idx-article-split-left .idx-article-split-inner {
  grid-template-columns: auto 1fr;
}
.idx-article-fig {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #222;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.idx-article-fig img {
  width: 120px;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
}
.idx-article-split .idx-article-body { padding: 0; }
.idx-tip {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(255,102,0,0.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* FAQ */
.idx-faq {
  padding: 72px 0;
  background: #060606;
  border-top: 1px solid var(--border);
}
.idx-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}
.idx-faq-item {
  background: #0a0a0a;
  border: 1px solid #1c1c1c;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.idx-faq-item[open] { border-color: rgba(255,102,0,0.35); }
.idx-faq-item summary {
  padding: 18px 22px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-primary);
}
.idx-faq-item summary::-webkit-details-marker { display: none; }
.idx-faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 12px;
}
.idx-faq-item[open] summary::after { content: '−'; }
.idx-faq-item p {
  padding: 0 22px 18px;
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* CTA */
.idx-cta {
  padding: 64px 0 88px;
  background: #030303;
}
.idx-cta-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 40px 48px;
  border-radius: 20px;
  border: 1px solid rgba(255,102,0,0.2);
  background:
    linear-gradient(120deg, rgba(255,102,0,0.09) 0%, transparent 50%),
    #080808;
  flex-wrap: wrap;
}
.idx-cta-logo {
  border-radius: 20px;
  flex-shrink: 0;
}
.idx-cta-text { flex: 1; min-width: 220px; }
.idx-cta-text h2 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.idx-cta-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .idx-hl-grid { grid-template-columns: 1fr; }
  .idx-gal-grid { grid-template-columns: repeat(3, 1fr); }
  .idx-gal-wide { grid-column: span 1; }
}

@media (max-width: 768px) {
  .idx-hero { padding: 36px 0 28px; }
  .idx-hero-visual { height: 300px; margin-bottom: 20px; }
  .idx-device-center { width: 160px; height: 284px; }
  .idx-device-left, .idx-device-right { width: 120px; height: 213px; }
  .idx-device-left { transform: rotate(-12deg) translateX(-75px) translateY(8px); }
  .idx-device-right { transform: rotate(12deg) translateX(75px) translateY(8px); }
  .idx-hero-btns { flex-direction: column; align-items: stretch; }
  .idx-hero-btns .idx-btn { width: 100%; }
  .idx-highlights,
  .idx-features,
  .idx-gallery,
  .idx-download,
  .idx-guide,
  .idx-faq { padding: 52px 0; }
  .idx-stats { grid-template-columns: repeat(2, 1fr); }
  .idx-stats li:nth-child(2) { border-right: none; }
  .idx-stats li:nth-child(1),
  .idx-stats li:nth-child(2) { border-bottom: 1px solid var(--border); }
  .idx-feat-row,
  .idx-feat-reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  .idx-feat-reverse .idx-feat-media,
  .idx-feat-reverse .idx-feat-text { order: unset; }
  .idx-feat-media img { max-height: 320px; }
  .idx-gal-grid { grid-template-columns: repeat(2, 1fr); }
  .idx-dl-grid { grid-template-columns: 1fr; }
  .idx-article-split-inner,
  .idx-article-split-left .idx-article-split-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .idx-article-fig { justify-self: center; }
  .idx-article-body p { text-align: left; font-size: 0.87rem; }
  .idx-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .idx-cta-inner .idx-btn { width: 100%; }
  .idx-strip { top: auto; }
}

@media (max-width: 480px) {
  .idx-stats { display: none; }
  .idx-gal-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .idx-gal-item { grid-row-end: span 18; }
  .idx-gal-tall { grid-row-end: span 22; }
}
