/* =====================================================
   App Promo Section CSS
   Companion zu app-promo-section.html
   ===================================================== */

.app-promo {
  background: var(--bg-light, #F4F1EB);            /* Off-White */
  color: #0f172a;
  padding: clamp(3.5rem, 7vw, 6rem) 1.25rem;
  position: relative;
  overflow: hidden;
}
.app-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(700px 420px at 5% 90%, rgba(96, 165, 250, 0.08), transparent 60%);
  pointer-events: none;
}

.ap-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ---------- Text ---------- */
.ap-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #06B6D4;
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.ap-h2 {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 1rem 0;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.ap-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: #334155;
  margin: 0 0 1.6rem 0;
  max-width: 520px;
}

.ap-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: grid;
  gap: 0.7rem;
}
.ap-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: #1e293b;
  font-weight: 500;
}
.ap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(96,165,250,0.15));
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---------- CTAs ---------- */
.ap-ctas {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.app-promo .ap-cta-primary {
  background: linear-gradient(90deg, #06B6D4 0%, #2563EB 100%);
  color: #fff !important;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.32);
  transition: transform 0.18s, box-shadow 0.18s;
  min-height: 52px;
  font-size: 1rem;
}
.app-promo .ap-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(6, 182, 212, 0.45);
}
.app-promo .ap-cta-secondary {
  background: #fff;
  color: #0f172a !important;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(15, 23, 42, 0.12);
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  font-size: 1rem;
  transition: border-color 0.15s, background 0.15s;
}
.app-promo .ap-cta-secondary:hover {
  border-color: #06B6D4;
  background: #ecfeff;
}
.ap-meta {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

/* ---------- Phone Mockup ---------- */
.ap-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}
.ap-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.25), transparent 65%);
  filter: blur(40px);
  z-index: 0;
}
.ap-phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  border-radius: 38px;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  padding: 14px;
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.35),
    0 0 0 1px rgba(15, 23, 42, 0.1),
    inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  z-index: 1;
}
.ap-phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #060b18;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.ap-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  background: linear-gradient(180deg, #060b18 0%, #0a0f1f 100%);
  padding: 2.4rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: #fff;
  overflow: hidden;
}
.ap-phone-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #22D3EE;
  font-weight: 700;
  margin-top: 0.4rem;
}
.ap-phone-stat {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.4rem;
}
.ap-phone-stat strong {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(90deg, #22D3EE, #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ap-phone-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  margin-bottom: 0.6rem;
}
.ap-phone-progress-bar {
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, #22D3EE, #60A5FA);
  border-radius: 999px;
  animation: ap-progress 2.4s ease-in-out infinite alternate;
}
@keyframes ap-progress {
  0%   { width: 30%; }
  100% { width: 78%; }
}
.ap-phone-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ap-phone-row strong { color: #fff; font-weight: 700; }
.ap-phone-cta {
  margin-top: auto;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #22D3EE, #60A5FA);
  color: #06121f;
  font-weight: 700;
  text-align: center;
  font-size: 0.92rem;
  box-shadow: 0 8px 22px rgba(34, 211, 238, 0.4);
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .ap-container { grid-template-columns: 1fr; gap: 2.4rem; }
  .ap-text { order: 1; text-align: left; }
  .ap-visual { order: 2; min-height: 480px; }
  .ap-phone-mockup { width: 250px; height: 500px; }
}
@media (max-width: 480px) {
  .ap-ctas { flex-direction: column; align-items: stretch; }
  .app-promo .ap-cta-primary,
  .app-promo .ap-cta-secondary { justify-content: center; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ap-phone-progress-bar { animation: none; width: 72%; }
}
