/* ============================================================
   VisionCraft Media - app.css
   APP下载页专属样式，继承 style.css 设计系统
   ============================================================ */

/* ── Shared section base ── */
.ap-section { padding: var(--section-py) 0; }
.ap-section--light { background: var(--bg-light); }
.ap-section--gray  { background: var(--bg-section); }
.ap-section--dark  { background: var(--bg-dark); }

/* ── Center header ── */
.ap-center-header { text-align: center; margin-bottom: 52px; }

.ap-center-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.ap-center-title.white { color: #fff; }

.ap-center-line {
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0 auto;
}

/* ── Underline title variant ── */
.ap-h2-line {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.ap-h2-line::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.ap-hero {
  position: relative;
  height: 650px;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a0a0a;
}

.ap-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5,5,5,0.96) 42%, rgba(5,5,5,0.55) 100%),
    url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?w=1920&q=80') center/cover no-repeat;
  z-index: 0;
}

/* Floating particles */
.ap-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.ap-hero-particles span {
  position: absolute;
  display: block;
  width: 2px;
  height: 2px;
  background: rgba(232,52,42,0.6);
  border-radius: 50%;
  animation: particle-float 6s ease-in-out infinite;
}

.ap-hero-particles span:nth-child(1)  { top: 20%; left: 15%; animation-delay: 0s;   width: 3px; height: 3px; }
.ap-hero-particles span:nth-child(2)  { top: 60%; left: 8%;  animation-delay: 1s;   }
.ap-hero-particles span:nth-child(3)  { top: 40%; left: 30%; animation-delay: 2s;   width: 4px; height: 4px; background: rgba(255,255,255,0.15); }
.ap-hero-particles span:nth-child(4)  { top: 75%; left: 45%; animation-delay: 0.5s; }
.ap-hero-particles span:nth-child(5)  { top: 15%; left: 55%; animation-delay: 1.5s; width: 3px; height: 3px; }
.ap-hero-particles span:nth-child(6)  { top: 50%; left: 65%; animation-delay: 3s;   background: rgba(255,255,255,0.1); }
.ap-hero-particles span:nth-child(7)  { top: 85%; left: 70%; animation-delay: 2.5s; width: 3px; height: 3px; }
.ap-hero-particles span:nth-child(8)  { top: 30%; left: 80%; animation-delay: 1s;   }
.ap-hero-particles span:nth-child(9)  { top: 65%; left: 88%; animation-delay: 4s;   width: 3px; height: 3px; background: rgba(232,52,42,0.4); }
.ap-hero-particles span:nth-child(10) { top: 10%; left: 92%; animation-delay: 0.8s; }

@keyframes particle-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-20px) scale(1.4); opacity: 1; }
}

.ap-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 70px;
}

.ap-hero-content { flex: 0 0 50%; max-width: 50%; }

.ap-hero-label {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 18px;
}

.ap-hero-title {
  font-size: clamp(30px, 4.2vw, 58px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.ap-hero-title .line { display: block; }
.ap-title-accent { color: #fff; }

.ap-hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

/* Feature badges row */
.ap-hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.ap-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.ap-badge:hover { background: rgba(255,255,255,0.12); }

.ap-badge svg { color: var(--primary); flex-shrink: 0; }

.ap-badge strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 2px;
}

.ap-badge span { font-size: 11px; color: rgba(255,255,255,0.45); }

/* Download buttons in hero */
.ap-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.ap-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.ap-dl-btn--android {
  background: var(--primary);
  color: #fff;
}

.ap-dl-btn--android:hover { background: var(--primary-hover); transform: translateY(-2px); }

.ap-dl-btn--ios {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
}

.ap-dl-btn--ios:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }

.ap-btn-label { display: block; font-size: 14px; font-weight: 700; line-height: 1; margin-bottom: 3px; }
.ap-btn-sub   { display: block; font-size: 10px; opacity: 0.65; }

/* Phone mockup */
.ap-hero-phone {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ap-phone-wrap {
  position: relative;
  width: 260px;
}

.ap-phone-frame {
  width: 260px;
  height: 520px;
  background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.04), 0 40px 80px rgba(0,0,0,0.7);
  position: relative;
  overflow: hidden;
}

.ap-phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  background: #0a0a0a;
  border-radius: 12px;
  z-index: 10;
}

.ap-phone-screen {
  position: absolute;
  inset: 6px;
  border-radius: 30px;
  overflow: hidden;
  background: #0f0f0f;
}

.ap-screen-ui {
  width: 100%;
  height: 100%;
  background: #0f0f0f;
  display: flex;
  flex-direction: column;
  padding: 28px 0 0;
}

.ap-screen-status {
  display: flex;
  justify-content: space-between;
  padding: 0 14px 6px;
  font-size: 9px;
  color: rgba(255,255,255,0.7);
}

.ap-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 8px;
}

.ap-screen-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.ap-screen-logo-dot {
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
}

.ap-screen-tabs {
  display: flex;
  gap: 12px;
  padding: 0 14px 8px;
  font-size: 9px;
  overflow: hidden;
}

.ap-tab { color: rgba(255,255,255,0.4); padding-bottom: 4px; }
.ap-tab.active { color: #fff; border-bottom: 2px solid var(--primary); }

.ap-screen-banner-img {
  margin: 0 10px 8px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  position: relative;
}

.ap-poster-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}

.ap-poster-title {
  position: absolute;
  bottom: 16px;
  left: 10px;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  display: block;
}

.ap-poster-sub {
  position: absolute;
  bottom: 6px;
  left: 10px;
  font-size: 8px;
  color: rgba(255,255,255,0.5);
  display: block;
}

.ap-screen-section-title {
  padding: 0 14px 6px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
}

.ap-screen-grid {
  display: flex;
  gap: 6px;
  padding: 0 10px 8px;
}

.ap-screen-thumb {
  flex: 1;
  height: 54px;
  border-radius: 6px;
  background: #1a1a1a;
}

.ap-thumb-1 { background: linear-gradient(135deg, #1e3a5f, #2d6a8f); }
.ap-thumb-2 { background: linear-gradient(135deg, #3d1f1f, #7a2f2f); }
.ap-thumb-3 { background: linear-gradient(135deg, #1f3d2f, #2f7a5f); }

.ap-screen-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 10px 0 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 12px;
}

.ap-nav-item { color: rgba(255,255,255,0.3); cursor: pointer; }
.ap-nav-item.active { color: var(--primary); }

.ap-phone-btn-side {
  position: absolute;
  right: -2px;
  top: 100px;
  width: 3px;
  height: 60px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
}

.ap-phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(232,52,42,0.3) 0%, transparent 70%);
  pointer-events: none;
}

/* ── MODULE 1: Intro ── */
.ap-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ap-intro-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}

.ap-intro-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.ap-check {
  color: var(--primary);
  font-weight: 900;
  flex-shrink: 0;
}

/* Mini phone visuals */
.ap-intro-screens {
  position: relative;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ap-intro-phone {
  position: absolute;
  width: 150px;
  height: 280px;
  border-radius: 22px;
  border: 2px solid rgba(0,0,0,0.12);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.ap-intro-phone--back  { transform: rotate(-8deg) translateX(-60px); z-index: 1; }
.ap-intro-phone--front { transform: rotate(4deg) translateX(50px); z-index: 2; }

.ap-intro-phone-screen {
  width: 100%;
  height: 100%;
  padding: 20px 10px 10px;
  display: flex;
  flex-direction: column;
}

.ap-screen-cat  { background: #f5f5f5; }
.ap-screen-dark { background: #0f0f0f; }

.ap-iph-bar {
  width: 40px;
  height: 4px;
  background: rgba(0,0,0,0.15);
  border-radius: 2px;
  margin: 0 auto 10px;
}

.ap-screen-dark .ap-iph-bar { background: rgba(255,255,255,0.15); }

.ap-iph-title { font-size: 13px; font-weight: 700; color: #1a1a1a; margin-bottom: 12px; }

.ap-iph-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}

.ap-iph-cat {
  padding: 6px 0;
  font-size: 10px;
  text-align: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  color: #666;
}

.ap-iph-row {
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 6px;
}

.ap-iph-row--short { width: 70%; }

.ap-iph-play-area {
  flex: 1;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.ap-iph-play-btn {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
}

.ap-iph-movie-info { padding: 0 2px; }

.ap-iph-movie-name {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.ap-iph-progress {
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}

.ap-iph-progress-fill {
  width: 40%;
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
}

/* ── Screenshots Carousel ── */
.ap-screenshots {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ap-screen-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: var(--bg-light);
  font-size: 22px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  z-index: 2;
  line-height: 1;
}

.ap-screen-nav-btn:hover { border-color: var(--primary); color: var(--primary); }

.ap-screenshots-track-wrap {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.ap-screenshots-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.ap-screenshot-item {
  flex: 0 0 calc(20% - 16px);
  display: flex;
  justify-content: center;
}

/* Screenshot phone frame */
.ap-screenshot-phone { display: flex; justify-content: center; }

.ap-ss-frame {
  width: 170px;
  height: 340px;
  background: #1a1a1a;
  border-radius: 28px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  position: relative;
}

.ap-ss-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 12px;
  background: #0a0a0a;
  border-radius: 8px;
  z-index: 5;
}

.ap-ss-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px 8px 0;
  font-size: 8px;
}

/* Home screen */
.ap-ss-home { background: #111; }
.ap-ss-topbar { display: flex; justify-content: space-between; color: rgba(255,255,255,.6); padding-bottom: 4px; }
.ap-ss-logo-bar { display: flex; align-items: center; gap: 4px; color: #fff; font-size: 9px; font-weight: 700; padding-bottom: 6px; }
.ap-ss-dot { width: 10px; height: 10px; background: var(--primary); border-radius: 50%; }
.ap-ss-tabs-row { display: flex; gap: 8px; color: rgba(255,255,255,.45); padding-bottom: 6px; overflow: hidden; }
.ap-ss-tabs-row span.on { color: #fff; border-bottom: 1.5px solid var(--primary); padding-bottom: 2px; }
.ap-ss-big-card { height: 90px; background: linear-gradient(135deg, #1a1a3e, #0f1f4a, #1e0a2e); border-radius: 6px; margin-bottom: 6px; position: relative; display: flex; align-items: flex-end; padding: 8px; }
.ap-ss-big-title { color: #fff; font-size: 9px; font-weight: 900; line-height: 1.3; }
.ap-ss-big-title small { font-size: 7px; opacity: .6; display: block; }
.ap-ss-section { color: rgba(255,255,255,.7); font-weight: 700; padding-bottom: 5px; }
.ap-ss-small-row { display: flex; gap: 5px; margin-bottom: 6px; }
.ap-ss-sm { flex: 1; height: 50px; border-radius: 4px; }
.c1 { background: linear-gradient(135deg,#1e3a5f,#2d6a8f); }
.c2 { background: linear-gradient(135deg,#3d1f1f,#7a2f2f); }
.c3 { background: linear-gradient(135deg,#1f3d2f,#2f7a5f); }
.ap-ss-bottom-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 8px 0 4px; border-top: 1px solid rgba(255,255,255,.07); }
.ap-ss-bottom-nav span { color: rgba(255,255,255,.3); }
.ap-ss-bottom-nav span.on { color: var(--primary); }

/* Category screen */
.ap-ss-category { background: #f8f8f8; }
.ap-ss-category .ap-ss-topbar { color: rgba(0,0,0,.4); }
.ap-ss-cat-title { font-size: 11px; font-weight: 700; color: #1a1a1a; padding-bottom: 8px; }
.ap-ss-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 8px; }
.ap-ss-cat-item { padding: 5px 0; text-align: center; background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; color: #666; }
.ap-ss-cat-item.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.ap-ss-list { display: flex; flex-direction: column; gap: 5px; }
.ap-ss-list-item { height: 28px; background: #eee; border-radius: 4px; }
.ap-ss-category .ap-ss-bottom-nav span { color: rgba(0,0,0,.3); }
.ap-ss-category .ap-ss-bottom-nav span.on { color: var(--primary); }

/* Player screen */
.ap-ss-player { background: #0a0a0a; }
.ap-ss-player-area { height: 90px; background: linear-gradient(135deg,#0f1f4a,#1a0a2e); border-radius: 6px; margin-bottom: 6px; position: relative; display: flex; align-items: center; justify-content: center; }
.ap-ss-player-overlay { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ap-ss-play-circle { width: 24px; height: 24px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 8px; }
.ap-ss-player-info strong { color: #fff; font-size: 7px; }
.ap-ss-player-controls { padding: 0 2px 6px; }
.ap-ss-progress { height: 3px; background: rgba(255,255,255,.15); border-radius: 2px; margin-bottom: 5px; }
.ap-ss-progress-fill { width: 35%; height: 100%; background: var(--primary); border-radius: 2px; }
.ap-ss-ctrl-row { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6); }
.ap-ss-play-btn { color: #fff; font-size: 10px; }
.ap-ss-episode-title { color: rgba(255,255,255,.7); font-weight: 700; padding-bottom: 5px; }
.ap-ss-ep-grid { display: flex; gap: 5px; }
.ap-ss-ep { width: 20px; height: 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 3px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); }
.ap-ss-ep.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Discover / Rank screen */
.ap-ss-discover { background: #111; }
.ap-ss-disc-title { font-size: 11px; font-weight: 700; color: #fff; padding-bottom: 8px; }
.ap-ss-rank-list { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ap-ss-rank-item { display: flex; align-items: center; gap: 6px; }
.ap-rank-num { font-size: 9px; font-weight: 900; width: 12px; flex-shrink: 0; }
.r1 { color: #e8342a; } .r2 { color: #ff8c00; } .r3 { color: #ffd700; }
.ap-rank-thumb { width: 32px; height: 32px; background: linear-gradient(135deg,#1e3a5f,#2d6a8f); border-radius: 4px; flex-shrink: 0; }
.ap-rank-info strong { display: block; color: #fff; font-size: 8px; line-height: 1.3; }
.ap-rank-info small { color: rgba(255,255,255,.4); font-size: 7px; }

/* Profile screen */
.ap-ss-profile { background: #111; }
.ap-ss-profile-header { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; }
.ap-ss-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,#e8342a,#ff6b35); flex-shrink: 0; }
.ap-ss-menu-list { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ap-ss-menu-item { padding: 7px 6px; border-radius: 5px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.65); font-size: 8px; }

/* Dots */
.ap-screenshot-dots, .ap-reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.ap-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all var(--transition);
}

.ap-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ── Feature cards ── */
.ap-feat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.ap-feat-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 16px 24px;
  text-align: center;
  transition: all var(--transition);
}

.ap-feat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: transparent;
}

.ap-feat-icon {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  margin: 0 auto 16px;
  transition: all var(--transition);
}

.ap-feat-icon--red,
.ap-feat-card:hover .ap-feat-icon {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(232,52,42,0.06);
}

.ap-feat-icon svg { width: 24px; height: 24px; }

.ap-feat-name { font-size: 14px; font-weight: 700; color: var(--text-main); margin-bottom: 6px; }
.ap-feat-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }

/* ── Download section ── */
.ap-download-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.ap-dl-btns-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ap-dl-big-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
  min-width: 200px;
}

.ap-dl-big-btn--android { background: var(--primary); color: #fff; }
.ap-dl-big-btn--android:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,52,42,0.4); }

.ap-dl-big-btn--ios { background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.18); color: #fff; }
.ap-dl-big-btn--ios:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }

.ap-dl-big-btn--win { background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }
.ap-dl-big-btn--win:hover { border-color: rgba(255,255,255,0.3); color: #fff; transform: translateY(-2px); }

.ap-dl-big-btn--mac { background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }
.ap-dl-big-btn--mac:hover { border-color: rgba(255,255,255,0.3); color: #fff; transform: translateY(-2px); }

.ap-dl-big-label { display: block; font-size: 15px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.ap-dl-big-sub   { display: block; font-size: 11px; opacity: 0.6; }

.ap-qr-block { display: flex; align-items: center; gap: 20px; }

.ap-qr-wrap {
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.1);
}

.ap-qr-img { width: 100%; height: 100%; }

.ap-qr-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ap-qr-desc  { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.7; }

/* ── Steps ── */
.ap-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.ap-step {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.ap-step-connector {
  position: absolute;
  top: 44px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}

.ap-step-connector::after {
  content: '›';
  position: absolute;
  right: -6px;
  top: -11px;
  color: var(--border-color);
  font-size: 20px;
}

.ap-step-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.ap-step-icon {
  width: 72px;
  height: 72px;
  background: rgba(232,52,42,0.08);
  border: 2px solid rgba(232,52,42,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.ap-step:hover .ap-step-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

.ap-step-title { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; }
.ap-step-desc  { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ── Reviews ── */
.ap-reviews-wrap { overflow: hidden; }

.ap-reviews-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
}

.ap-review-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition);
}

.ap-review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }

.ap-review-stars { color: #f59e0b; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }

.ap-review-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.ap-review-user { display: flex; align-items: center; gap: 12px; }

.ap-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ap-av-1 { background: linear-gradient(135deg, #e8342a, #ff6b35); }
.ap-av-2 { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.ap-av-3 { background: linear-gradient(135deg, #059669, #10b981); }
.ap-av-4 { background: linear-gradient(135deg, #d97706, #f59e0b); }
.ap-av-5 { background: linear-gradient(135deg, #0891b2, #06b6d4); }

.ap-review-user strong { display: block; font-size: 14px; font-weight: 700; color: var(--text-main); }
.ap-review-user span  { font-size: 12px; color: var(--text-light); }

/* ── FAQ ── */
.ap-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ap-faq-item {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.ap-faq-item.open { border-color: rgba(232,52,42,0.25); }

.ap-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: color var(--transition);
}

.ap-faq-item.open .ap-faq-q { color: var(--primary); }

.ap-faq-icon {
  width: 24px; height: 24px;
  border: 1.5px solid var(--border-color);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--text-secondary);
  flex-shrink: 0; line-height: 1;
  transition: all var(--transition);
}

.ap-faq-item.open .ap-faq-icon { background: var(--primary); border-color: var(--primary); color: #fff; transform: rotate(45deg); }

.ap-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.ap-faq-item.open .ap-faq-a { grid-template-rows: 1fr; }
.ap-faq-a-inner { overflow: hidden; font-size: 13px; color: var(--text-secondary); line-height: 1.85; padding: 0 20px; transition: padding 0.35s ease; }
.ap-faq-item.open .ap-faq-a-inner { padding: 4px 20px 20px; }

/* ── CTA ── */
.ap-cta-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: var(--bg-dark);
}

.ap-cta-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(8,8,8,0.97) 0%, rgba(232,52,42,0.2) 100%),
    url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?w=1920&q=60') center/cover no-repeat;
  z-index: 0;
}

.ap-cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
}

.ap-cta-title { font-size: clamp(24px, 3vw, 38px); font-weight: 900; color: #fff; margin-bottom: 10px; }
.ap-cta-desc  { font-size: 15px; color: rgba(255,255,255,0.5); }

.ap-cta-btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* Footer social (shared) */
.footer-social { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.social-icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); transition: all var(--transition); }
.social-icon:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .ap-feat-grid { grid-template-columns: repeat(3, 1fr); }
  .ap-screenshot-item { flex: 0 0 calc(33.33% - 14px); }
}

@media (max-width: 1024px) {
  .ap-hero { height: auto; padding: 120px 0 60px; }
  .ap-hero-inner { flex-direction: column; gap: 40px; }
  .ap-hero-content { flex: none; max-width: 100%; }
  .ap-intro-grid { grid-template-columns: 1fr; }
  .ap-intro-screens { height: 280px; }
  .ap-dl-btns-group { grid-template-columns: 1fr 1fr; }
  .ap-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .ap-step-connector { display: none; }
  .ap-reviews-track { grid-template-columns: repeat(2, 1fr); }
  .ap-faq-grid { grid-template-columns: 1fr; }
  .ap-cta-inner { flex-direction: column; text-align: center; }
  .ap-cta-btns { justify-content: center; }
  .ap-screenshot-item { flex: 0 0 calc(33.33% - 14px); }
}

@media (max-width: 768px) {
  .ap-feat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .ap-steps { grid-template-columns: 1fr 1fr; }
  .ap-reviews-track { grid-template-columns: 1fr; }
  .ap-hero-badges { gap: 8px; }
  .ap-dl-btns-group { grid-template-columns: 1fr; }
  .ap-screenshot-item { flex: 0 0 calc(50% - 10px); }
  .ap-download-wrap { flex-direction: column; gap: 32px; }
}

@media (max-width: 480px) {
  .ap-feat-grid { grid-template-columns: repeat(2, 1fr); }
  .ap-steps { grid-template-columns: 1fr; gap: 28px; }
  .ap-hero-btns { flex-direction: column; }
  .ap-screenshot-item { flex: 0 0 calc(100% - 0px); }
  .ap-cta-section { padding: 56px 0; }
}
