/* ═══════════════════════════════════════════
   APP DETAIL PAGE STYLES
═══════════════════════════════════════════ */

.detail-hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.detail-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,248,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.detail-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.detail-hero-text {
  max-width: 520px;
}
.detail-hero-text .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.15s;
}
.detail-hero-text .back-link:hover { color: var(--accent); }

.detail-hero-text h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.detail-hero-text .subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.detail-price-row {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.detail-price-item .dp-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.detail-price-item .dp-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.detail-price-item .dp-value.muted { color: var(--text-muted); font-size: 1.2rem; }

/* ── ALTERNATING SECTIONS ── */
.detail-section {
  padding: 80px 0;
  position: relative;
}
.detail-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.detail-row.reverse .detail-row-text { order: 2; }
.detail-row.reverse .detail-row-visual { order: 1; }

.detail-row-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.detail-row-text p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.detail-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.detail-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}

/* Phone mockup in detail */
.detail-phone-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-phone {
  width: 260px;
  height: 540px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
}
.detail-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-phone .phone-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}

/* ── CTA AT BOTTOM ── */
.detail-cta {
  padding: 80px 0;
  text-align: center;
}
.detail-cta h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.detail-cta p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .detail-hero-inner { flex-direction: column; text-align: center; }
  .detail-hero-text { max-width: 100%; }
  .detail-price-row { justify-content: center; }
  .detail-hero-text .btn { margin: 0 auto; }

  .detail-row { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .detail-row.reverse .detail-row-text { order: 1; }
  .detail-row.reverse .detail-row-visual { order: 2; }
  .detail-features { align-items: flex-start; text-align: left; margin: 0 auto; max-width: 400px; }
}
@media (max-width: 600px) {
  .detail-hero { padding: 48px 0 40px; }
  .detail-section { padding: 56px 0; }
  .detail-phone { width: 220px; height: 460px; }
  .detail-cta { padding: 56px 0; }
}
