/* ==========================================
   VERI APP — DOWNLOAD PAGE
   ========================================== */

.veri-download-page {
  --d-primary: #2e55df;
  --d-deep: #2848b9;
  --d-accent: #6174b6;
  --d-light: #f3f6ff;
  --d-heading: #142653;
  --d-text: #586783;
  --d-border: #e3e9fa;

  overflow: hidden;
  color: var(--d-text);
}

.veri-download-page .section-padding {
  padding: 100px 0;
}

.veri-download-page h1,
.veri-download-page h2,
.veri-download-page h3 {
  color: var(--d-heading);
  line-height: 1.2;
}

.veri-download-page h2 span {
  color: var(--d-primary);
}

.veri-download-page .section-heading {
  max-width: 680px;
  margin: 0 auto 55px;
  text-align: center;
}

.veri-download-page .section-eyebrow {
  display: inline-block;
  color: var(--d-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.veri-download-page .section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.veri-download-page .section-heading p {
  font-size: 16px;
  line-height: 1.8;
}

/* HERO */

.download-hero {
  position: relative;
  background: linear-gradient(135deg, #f3f6ff 0%, #ffffff 55%, #e9efff 100%);
  padding: 110px 0 105px;
  isolation: isolate;
}

.download-hero-inner {
  position: relative;
  text-align: center;
  z-index: 1;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 17px;
  border: 1px solid #d6e0ff;
  background: #ffffff;
  border-radius: 100px;
  color: var(--d-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--d-primary);
  box-shadow: 0 0 0 4px #e2e9ff;
}

.download-hero h1 {
  max-width: 850px;
  margin: 0 auto 25px;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 850;
  letter-spacing: -3px;
}

.download-hero h1 span {
  display: block;
  color: var(--d-primary);
}

.download-hero-description {
  max-width: 650px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.9;
}

.download-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.download-trust-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--d-accent);
}

.trust-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 19px;
  height: 19px;
  margin-right: 6px;
  background: #e3eaff;
  color: var(--d-primary);
  border-radius: 50%;
  font-weight: 800;
}

.download-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.orb-one {
  width: 320px;
  height: 320px;
  top: -130px;
  left: -110px;
  background: radial-gradient(
    circle,
    rgba(116, 138, 217, 0.18),
    transparent 70%
  );
}

.orb-two {
  width: 400px;
  height: 400px;
  right: -140px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(46, 85, 223, 0.12), transparent 70%);
}

/* PLATFORM CARDS */

.download-platforms {
  background: #ffffff;
}

.download-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.download-platform-card {
  position: relative;
  padding: 40px;
  background: #ffffff;
  border: 1px solid var(--d-border);
  border-radius: 26px;
  box-shadow: 0 18px 55px rgba(30, 60, 140, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.download-platform-card:hover {
  transform: translateY(-7px);
  border-color: #c5d2ff;
  box-shadow: 0 25px 65px rgba(30, 60, 140, 0.12);
}

.platform-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.platform-tag {
  padding: 7px 12px;
  border-radius: 8px;
  background: #eef2ff;
  color: var(--d-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.platform-availability {
  color: #7280a1;
  font-size: 12px;
}

.platform-icon {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  margin-bottom: 28px;
}

.platform-icon svg {
  width: 42px;
  height: 42px;
}

.apple-icon {
  background: #edf1ff;
  color: #142653;
}

.android-icon {
  background: #e7edff;
  color: var(--d-primary);
}

.download-platform-card h3 {
  font-size: 27px;
  font-weight: 800;
  margin-bottom: 14px;
}

.download-platform-card > p {
  font-size: 15px;
  line-height: 1.8;
}

.platform-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 30px 0;
}

.platform-features span {
  position: relative;
  padding-left: 27px;
  color: #405273;
  font-size: 14px;
}

.platform-features span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--d-primary);
  font-weight: 800;
}

.platform-download-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 18px 23px;
  background: var(--d-primary);
  color: #ffffff;
  border-radius: 14px;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.platform-download-btn:hover {
  background: var(--d-deep);
  transform: translateY(-2px);
}

.download-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.download-btn-text small {
  font-size: 12px;
  opacity: 0.85;
}

.download-btn-text strong {
  font-size: 21px;
  font-weight: 750;
}

.platform-download-btn > span:last-child {
  font-size: 26px;
}

.download-platform-card .platform-footer-note {
  margin-top: 15px;
  font-size: 12px;
  text-align: center;
  color: #7a88a3;
}

/* STEPS */

.download-steps {
  background: var(--d-light);
}

.download-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.download-step {
  padding: 35px;
  border: 1px solid #e1e7fa;
  border-radius: 22px;
  background: #ffffff;
}

.step-number {
  color: #aabaf0;
  font-size: 43px;
  font-weight: 850;
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.download-step h3 {
  font-size: 20px;
  margin-bottom: 13px;
}

.download-step p {
  font-size: 14px;
  line-height: 1.85;
}

/* BENEFITS */

.download-benefits-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.download-benefits-copy h2 {
  font-size: clamp(32px, 4vw, 49px);
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.download-benefits-copy h2 span {
  display: block;
}

.download-benefits-copy > p {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.9;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 35px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.benefit-check {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  color: var(--d-primary);
  background: #e9efff;
  font-weight: 800;
}

.benefit-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.benefit-item p {
  font-size: 14px;
  line-height: 1.75;
}

/* SHOWCASE */

.download-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 530px;
}

.showcase-glow {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 85, 223, 0.2), transparent 70%);
}

.showcase-card {
  position: relative;
  z-index: 1;
  width: min(100%, 310px);
  padding: 25px;
  border: 8px solid #182957;
  border-radius: 36px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(22, 47, 117, 0.18);
}

.showcase-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.showcase-logo {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--d-primary);
  font-weight: 850;
}

.showcase-card-header strong,
.showcase-card-header small {
  display: block;
}

.showcase-card-header strong {
  color: var(--d-heading);
  font-size: 14px;
}

.showcase-card-header small {
  color: #8190aa;
  font-size: 11px;
}

.showcase-scan {
  position: relative;
  display: grid;
  place-items: center;
  height: 245px;
  background: #f3f6ff;
  border-radius: 16px;
  overflow: hidden;
}

.showcase-qr {
  width: 125px;
  height: 125px;
  padding: 12px;
  background: #ffffff;
  color: #203b88;
  border-radius: 12px;
}

.showcase-qr svg {
  width: 100%;
  height: 100%;
}

.scan-corner {
  position: absolute;
  width: 27px;
  height: 27px;
  border-color: var(--d-primary);
  border-style: solid;
  border-width: 0;
}

.scan-corner.tl {
  top: 20px;
  left: 20px;
  border-top-width: 3px;
  border-left-width: 3px;
}

.scan-corner.tr {
  top: 20px;
  right: 20px;
  border-top-width: 3px;
  border-right-width: 3px;
}

.scan-corner.bl {
  bottom: 20px;
  left: 20px;
  border-bottom-width: 3px;
  border-left-width: 3px;
}

.scan-corner.br {
  bottom: 20px;
  right: 20px;
  border-bottom-width: 3px;
  border-right-width: 3px;
}

.scan-line {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 20%;
  height: 2px;
  background: var(--d-primary);
  box-shadow: 0 0 15px var(--d-primary);
  animation: veriScan 3s ease-in-out infinite alternate;
}

@keyframes veriScan {
  from {
    top: 20%;
  }
  to {
    top: 80%;
  }
}

.showcase-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 8px;
  color: var(--d-heading);
  font-size: 13px;
  font-weight: 700;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--d-primary);
}

.showcase-card > p {
  font-size: 12px;
  line-height: 1.7;
}

.showcase-floating {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  border: 1px solid #e0e8ff;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(30, 60, 140, 0.1);
  color: var(--d-heading);
  font-size: 12px;
  font-weight: 700;
}

.showcase-floating span {
  color: var(--d-primary);
}

.floating-one {
  top: 110px;
  right: 0;
}

.floating-two {
  bottom: 110px;
  left: 0;
}

/* SAFE DOWNLOAD */

.download-safety {
  background: #f7f9ff;
}

.download-safety-box {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 35px 45px;
  border: 1px solid #dce5ff;
  border-radius: 22px;
  background: #ffffff;
}

.safety-symbol {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 20px;
  background: #e9efff;
  color: var(--d-primary);
  font-size: 32px;
  font-weight: 800;
}

.safety-content h2 {
  font-size: 25px;
  margin-bottom: 10px;
}

.safety-content p {
  max-width: 750px;
  font-size: 14px;
  line-height: 1.85;
}

/* FAQ */

.download-faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.download-faq-item {
  border-bottom: 1px solid var(--d-border);
}

.download-faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 23px 0;
  color: var(--d-heading);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.download-faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #edf2ff;
  color: var(--d-primary);
  font-size: 20px;
  transition: transform 0.25s ease;
}

.download-faq-item[open] .faq-plus {
  transform: rotate(45deg);
}

.download-faq-answer {
  padding: 0 40px 25px 0;
  font-size: 14px;
  line-height: 1.9;
}

.download-faq-answer a {
  color: var(--d-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* FINAL CTA */

.download-final-cta {
  position: relative;
  padding: 95px 0;
  background: linear-gradient(135deg, #2848b9, #2e55df 65%, #6174b6);
  text-align: center;
}

.download-final-inner {
  max-width: 790px;
  margin: 0 auto;
}

.final-eyebrow {
  color: #d9e2ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.download-final-inner h2 {
  margin: 20px 0;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -1.5px;
}

.download-final-inner p {
  max-width: 600px;
  margin: 0 auto;
  color: #e4eaff;
  font-size: 16px;
  line-height: 1.9;
}

.download-final-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.final-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 210px;
  padding: 15px 22px;
  border-radius: 12px;
  background: #ffffff;
  color: #2848b9;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.final-store-btn:hover {
  transform: translateY(-3px);
  background: #eaf0ff;
}

/* SCROLL REVEAL */

.veri-download-page .reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.veri-download-page .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .download-benefits-layout {
    gap: 35px;
  }

  .floating-one {
    right: -10px;
  }

  .floating-two {
    left: -10px;
  }
}

@media (max-width: 768px) {
  .veri-download-page .section-padding {
    padding: 70px 0;
  }

  .download-hero {
    padding: 85px 0 80px;
  }

  .download-hero h1 {
    letter-spacing: -2px;
  }

  .download-hero-description {
    font-size: 16px;
  }

  .download-platform-grid,
  .download-benefits-layout {
    grid-template-columns: 1fr;
  }

  .download-platform-grid {
    max-width: 520px;
  }

  .download-steps-grid {
    grid-template-columns: 1fr;
  }

  .download-showcase {
    min-height: 500px;
  }

  .download-safety-box {
    align-items: flex-start;
    padding: 30px;
  }

  .download-final-cta {
    padding: 75px 0;
  }
}

@media (max-width: 480px) {
  .download-hero-actions {
    flex-direction: column;
  }

  .download-hero-actions .btn {
    width: 100%;
  }

  .download-platform-card {
    padding: 27px;
  }

  .download-step {
    padding: 28px;
  }

  .download-safety-box {
    flex-direction: column;
    gap: 20px;
  }

  .download-showcase {
    min-height: 470px;
  }

  .showcase-floating {
    display: none;
  }

  .download-final-buttons {
    flex-direction: column;
  }

  .final-store-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .veri-download-page .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scan-line {
    animation: none;
    top: 50%;
  }
}
