/* ================================================================
   App Download Page & Homepage App Section
================================================================ */
.cv-app-page {
  position: relative;
  overflow: hidden;
}
.cv-app-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 12%, rgba(229,9,26,.14), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(123,47,190,.16), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(59,130,246,.08), transparent 42%);
  z-index: -1;
}
.cv-app-hero {
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-top: clamp(16px, 3vw, 34px);
  padding-bottom: clamp(34px, 5vw, 70px);
}
.cv-app-hero-copy h1 {
  font-family: var(--title);
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: .88;
  letter-spacing: 2px;
  color: #fff;
  max-width: 780px;
  text-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.cv-app-hero-copy p {
  max-width: 620px;
  margin-top: 18px;
  font-size: clamp(.96rem, 2vw, 1.13rem);
  line-height: 1.75;
  color: rgba(255,255,255,.58);
}
.cv-app-kicker,
.cv-app-strip-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(229,9,26,.24);
  border-radius: 999px;
  background: rgba(229,9,26,.08);
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.cv-app-kicker i,
.cv-app-strip-kicker i { color: var(--red); font-size: 1rem; }
.cv-app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.cv-app-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 11px;
  font-weight: 800;
  font-size: .93rem;
  transition: transform .18s var(--ease), background .18s, border-color .18s, box-shadow .18s;
  white-space: nowrap;
}
.cv-app-btn i { font-size: 1.18rem; }
.cv-app-btn:hover { transform: translateY(-2px); }
.cv-app-btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 16px 38px rgba(229,9,26,.34);
}
.cv-app-btn-primary:hover { background: var(--red-h); box-shadow: 0 18px 44px rgba(229,9,26,.45); }
.cv-app-btn-store,
.cv-app-btn-ghost {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
}
.cv-app-btn-store:hover,
.cv-app-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.cv-app-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 30px;
}
.cv-app-meta div {
  padding: 14px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
}
.cv-app-meta strong {
  display: block;
  font-size: .96rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cv-app-meta span {
  display: block;
  margin-top: 3px;
  font-size: .72rem;
  color: rgba(255,255,255,.36);
}
.cv-app-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-app-glow {
  position: absolute;
  width: min(76vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,9,26,.26), rgba(123,47,190,.18) 42%, transparent 70%);
  filter: blur(10px);
  animation: cvAppFloat 6s ease-in-out infinite;
}
.cv-phone {
  position: relative;
  width: min(310px, 72vw);
  aspect-ratio: 9/18.5;
  padding: 12px;
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 34px 90px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.18);
  transform: rotate(4deg);
}
.cv-phone::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(229,9,26,.32), transparent 38%, rgba(123,47,190,.26));
  z-index: -1;
  filter: blur(18px);
  opacity: .75;
}
.cv-phone-top {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #05050e;
  z-index: 3;
}
.cv-phone-top span {
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.18);
  margin: 7px auto 0;
}
.cv-phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(0deg, rgba(6,6,16,1) 0%, rgba(6,6,16,.55) 50%, rgba(6,6,16,.9) 100%),
    radial-gradient(circle at 50% 18%, rgba(229,9,26,.48), transparent 34%),
    #080814;
  padding: 52px 14px 16px;
}
.cv-phone-hero {
  height: 42%;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(229,9,26,.95), rgba(123,47,190,.72));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 50px rgba(229,9,26,.28);
}
.cv-phone-hero i {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}
.cv-phone-title,
.cv-phone-sub {
  height: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.18);
  margin-top: 18px;
}
.cv-phone-title { width: 72%; }
.cv-phone-sub { width: 52%; height: 9px; margin-top: 9px; opacity: .55; }
.cv-phone-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 22px;
}
.cv-phone-row span {
  aspect-ratio: 2/3;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.08);
}
.cv-phone-row.small { grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 12px; }
.cv-phone-row.small span { border-radius: 9px; }
@keyframes cvAppFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

.cv-app-feature-section { padding-bottom: 36px; }
.cv-app-section-head { margin-bottom: 16px; }
.cv-app-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.cv-app-feature {
  min-height: 190px;
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .18s var(--ease), border-color .18s, background .18s;
}
.cv-app-feature:hover { transform: translateY(-4px); border-color: rgba(229,9,26,.28); background: rgba(255,255,255,.06); }
.cv-app-feature i {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(229,9,26,.12);
  color: var(--red);
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.cv-app-feature h3 { font-size: 1rem; margin-bottom: 9px; color: #fff; }
.cv-app-feature p { font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.44); }
.cv-app-install { padding-bottom: 54px; }
.cv-app-install-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(229,9,26,.12), rgba(123,47,190,.12));
  border: 1px solid rgba(255,255,255,.09);
  overflow: hidden;
}
.cv-app-install-copy h2 {
  font-family: var(--title);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: .95;
  letter-spacing: 1.6px;
  margin-bottom: 18px;
}
.cv-app-install-copy ol { padding-left: 22px; color: rgba(255,255,255,.62); line-height: 1.85; font-size: .92rem; }
.cv-app-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(245,166,35,.18);
  background: rgba(245,166,35,.08);
  color: rgba(255,255,255,.62);
  font-size: .82rem;
  line-height: 1.6;
}
.cv-app-qr { text-align: center; }
.cv-app-qr img,
.cv-app-qr-placeholder {
  width: 170px;
  height: 170px;
  margin: 0 auto 10px;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  color: #111126;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.cv-app-qr img { object-fit: cover; padding: 8px; }
.cv-app-qr-placeholder i { font-size: 4rem; }
.cv-app-qr-placeholder span { font-size: .8rem; margin-top: 3px; }
.cv-app-qr small { color: rgba(255,255,255,.34); font-size: .72rem; }

.cv-app-strip {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: center;
  margin: 18px 4%;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
}
.cv-app-strip-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 40%, rgba(229,9,26,.22), transparent 36%),
    radial-gradient(circle at 88% 42%, rgba(123,47,190,.24), transparent 38%),
    linear-gradient(135deg, rgba(229,9,26,.08), rgba(123,47,190,.06));
}
.cv-app-strip-copy { position: relative; z-index: 1; }
.cv-app-strip h2 {
  font-family: var(--title);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .95;
  letter-spacing: 1.6px;
  max-width: 760px;
}
.cv-app-strip p {
  margin-top: 12px;
  max-width: 560px;
  font-size: .93rem;
  line-height: 1.7;
  color: rgba(255,255,255,.52);
}
.cv-app-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.cv-app-strip-actions .cv-promo-main,
.cv-app-strip-actions .cv-promo-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cv-app-strip-phone {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 170px;
  height: 250px;
  border-radius: 30px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  transform: rotate(5deg);
  box-shadow: 0 22px 64px rgba(0,0,0,.42);
}
.cv-app-strip-phone div {
  height: 86px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(229,9,26,.9), rgba(123,47,190,.72));
  margin-bottom: 14px;
}
.cv-app-strip-phone span {
  display: block;
  height: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  margin-bottom: 10px;
}
.cv-app-strip-phone span:nth-child(3) { width: 70%; }
.cv-app-strip-phone span:nth-child(4) { width: 48%; }

@media(max-width:980px) {
  .cv-app-hero { grid-template-columns: 1fr; min-height: auto; }
  .cv-app-visual { min-height: 430px; order: -1; }
  .cv-phone { width: min(260px, 68vw); transform: rotate(0deg); }
  .cv-app-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width:768px) {
  .cv-app-hero { padding-top: 4px; text-align: center; }
  .cv-app-hero-copy p { margin-left: auto; margin-right: auto; }
  .cv-app-actions { justify-content: center; }
  .cv-app-meta { margin-left: auto; margin-right: auto; }
  .cv-app-install-card { grid-template-columns: 1fr; text-align: center; }
  .cv-app-install-copy ol { text-align: left; display: inline-block; }
  .cv-app-strip { grid-template-columns: 1fr; margin: 14px 12px; text-align: center; }
  .cv-app-strip p { margin-left: auto; margin-right: auto; }
  .cv-app-strip-actions { justify-content: center; }
  .cv-app-strip-phone { display: none; }
}
@media(max-width:560px) {
  .cv-app-visual { min-height: 360px; }
  .cv-app-actions { display: grid; grid-template-columns: 1fr; }
  .cv-app-btn { width: 100%; }
  .cv-app-meta { grid-template-columns: 1fr; }
  .cv-app-features { grid-template-columns: 1fr; }
  .cv-app-feature { min-height: auto; text-align: left; }
  .cv-app-install-card { border-radius: 18px; }
  .cv-app-qr img,
  .cv-app-qr-placeholder { width: 150px; height: 150px; }
}
