/* Landing page shared styles — used by all use-case pages */
/* Loads on top of legal-style.css for base/nav/footer */

/* HERO - 90% width, full viewport height (minus topbar + nav) */
.lp-hero {
  position: relative;
  min-height: calc(100vh - 110px);
  display: flex; align-items: center;
  padding: 32px 0;
  background: var(--bg);
  overflow: hidden;
}


.lp-hero > .wrap { width: 90%; max-width: 1500px; margin: 0 auto; position: relative; z-index: 2; }
.lp-hero .hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; align-items: center;
  width: 100%;
}
.lp-hero-text .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; color: var(--gold-dark);
  text-transform: uppercase; letter-spacing: 1.6px; margin-bottom: 18px;
}
.lp-hero-text .eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--gold); }
.lp-hero-text h1 {
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 800; color: var(--black);
  line-height: 0.98; letter-spacing: -0.04em; margin-bottom: 22px;
}
.lp-hero-text .lead {
  font-size: clamp(15.5px, 1.3vw, 18px);
  color: var(--ink-2); line-height: 1.55;
  max-width: 580px; margin-bottom: 24px;
}

/* HERO CTAs */
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }

/* HERO FEATURE BULLETS */
.hero-foot {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  margin-bottom: 18px;
}
.hero-foot span { display: inline-flex; align-items: center; gap: 7px; }
.hero-foot .ck {
  width: 16px; height: 16px; background: var(--gold); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: 10px;
}

/* HERO DISCLAIMER */
.hero-disclaimer {
  font-size: 11.5px; line-height: 1.55;
  color: var(--ink-3); font-weight: 400;
  max-width: 580px; margin: 0;
}

/* HERO TRUST BADGES */
.hero-trust {
  display: flex; flex-wrap: nowrap; align-items: center;
  justify-content: center; gap: 10px;
  width: 100%; margin-bottom: 18px; box-sizing: border-box;
}
.hero-trust-cell {
  width: 48px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 1;
}
.hero-trust-cell img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto; object-fit: contain;
}

/* HERO ANIMATED CARD (right column) */
.hero-card-wrap {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
}
.hero-card-stack {
  position: relative; width: 100%; max-width: 440px;
  display: flex; flex-direction: column; align-items: center;
}
.visa-card {
  aspect-ratio: 1.6 / 1; width: 100%; padding: 26px;
  border-radius: 5px; color: var(--white);
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--card-1) 0%, var(--card-2) 100%);
  box-shadow: 0 30px 70px rgba(10, 10, 10, 0.22), 0 10px 20px rgba(10, 10, 10, 0.08);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .8s ease;
}
.visa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 90px rgba(10, 10, 10, 0.28), 0 14px 26px rgba(10, 10, 10, 0.12);
}
.vc-row1 { display: flex; justify-content: flex-end; align-items: center; position: relative; z-index: 1; }
.vc-middle { display: flex; align-items: center; position: relative; z-index: 1; }
.vc-left { display: flex; align-items: center; gap: 12px; }
.vc-brand { display: inline-flex; align-items: center; }
.vc-brand svg { height: 18px; width: auto; display: block; }
.vc-chip { width: 38px; height: 38px; display: block; flex-shrink: 0; }
.vc-contactless { width: 22px; height: 28px; color: var(--white); display: block; }
.vc-contactless path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.vc-contactless .vc-wave-1 { animation: contactlessPulse 1.6s ease-in-out infinite; }
.vc-contactless .vc-wave-2 { animation: contactlessPulse 1.6s ease-in-out 0.25s infinite; }
.vc-contactless .vc-wave-3 { animation: contactlessPulse 1.6s ease-in-out 0.5s infinite; }
.vc-name { font-size: 16px; font-weight: 700; letter-spacing: 0.5px; position: relative; z-index: 1; }
.vc-row3 { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.vc-logo { display: inline-flex; align-items: center; }
.vc-logo svg { width: 54px; height: auto; display: block; }

@keyframes contactlessPulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

/* CARD BOTTOM TAG (the "Authorized in real time" pill) */
.card-bottom-tag {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line);
  padding: 9px 16px; border-radius: 100px;
  font-size: 13px; color: var(--ink-2); font-weight: 600;
  box-shadow: 0 4px 12px rgba(10, 10, 10, 0.04);
}
.gd {
  width: 8px; height: 8px; border-radius: 50%;
  background: #20BA61;
  box-shadow: 0 0 0 4px rgba(32, 186, 97, 0.18);
  animation: dotPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(32, 186, 97, 0.18); }
  50% { box-shadow: 0 0 0 9px rgba(32, 186, 97, 0.05); }
}

/* HERO ENTRY ANIMATION */
.lp-hero-text { animation: heroFadeIn 0.7s ease 0.05s both; }
.hero-card-wrap { animation: heroFadeIn 0.85s ease 0.25s both; }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* GENERIC SECTION - 90% width, alternating backgrounds (no separator lines)
   Each section is a viewport-height "fold" with content vertically centered */
.lp-section {
  min-height: calc(100vh - 110px);
  display: flex; align-items: center;
  padding: 80px 0;
  background: var(--bg);
}
.lp-section.bg-alt { background: var(--off-white); }
.lp-section > .wrap,
.lp-section > .wrap-narrow { width: 90%; max-width: 1500px; margin: 0 auto; }

/* Center the section heading (eyebrow + h2) on single-column sections.
   The two-column .lp-twocol section keeps left-aligned headings per column. */
.lp-section > .wrap-narrow > .section-eyebrow {
  display: block; text-align: center; margin-bottom: 16px;
}
.lp-section > .wrap-narrow > h2 {
  text-align: center; max-width: 760px;
  margin-left: auto; margin-right: auto; margin-bottom: 36px;
}
.lp-section > .wrap-narrow > p:first-of-type,
.lp-section > .wrap-narrow > .section-eyebrow + h2 + p {
  text-align: center; max-width: 720px;
  margin-left: auto; margin-right: auto; margin-bottom: 36px;
}

/* TWO-COLUMN LAYOUT for combined problem/solution sections */
.lp-twocol {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
}
.lp-twocol .section-eyebrow { margin-bottom: 10px; }
.lp-twocol h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 12px; }
.lp-twocol p { font-size: 15.5px; margin-bottom: 12px; }
.lp-twocol ul { margin: 12px 0 0; padding-left: 22px; }
.lp-twocol li { font-size: 15px; line-height: 1.5; margin-bottom: 10px; }
@media (max-width: 860px) {
  .lp-twocol { grid-template-columns: 1fr; gap: 40px; }
}
.lp-section h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800; color: var(--black);
  letter-spacing: -0.025em; margin-bottom: 14px;
}
.lp-section .section-eyebrow {
  display: inline-block;
  font-size: 11.5px; font-weight: 700; color: var(--gold-dark);
  text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 12px;
}
.lp-section p {
  font-size: 16px; color: var(--ink-2); line-height: 1.6;
  margin-bottom: 12px;
}
.lp-section ul, .lp-section ol { padding-left: 22px; margin: 12px 0; }
.lp-section li { font-size: 16px; color: var(--ink-2); margin-bottom: 8px; line-height: 1.55; }
.lp-section strong { color: var(--ink-1); font-weight: 700; }

/* FEATURE GRID */
.lp-features {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px; margin-top: 36px;
}
.lp-feature {
  background: var(--white); border: 1px solid var(--line);
  padding: 18px 20px; border-radius: 4px;
}
.lp-feature h3 {
  font-size: 16px; font-weight: 700; color: var(--black);
  margin-bottom: 6px; letter-spacing: -0.005em;
}
.lp-feature p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* STEPS */
.lp-steps { list-style: none; padding: 0; margin: 36px 0 0; counter-reset: stepc; }
.lp-steps li {
  position: relative; padding-left: 48px; margin-bottom: 14px;
  font-size: 15.5px; color: var(--ink-2); line-height: 1.5;
}
.lp-steps li::before {
  counter-increment: stepc;
  content: counter(stepc);
  position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.lp-steps li strong { display: block; color: var(--ink-1); margin-bottom: 2px; font-size: 16px; }

/* CONTROL TABLE */
.lp-table {
  width: 100%; border-collapse: collapse;
  margin-top: 36px; font-size: 15px;
}
.lp-table th, .lp-table td {
  padding: 14px 16px; text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2); vertical-align: top;
}
.lp-table th {
  font-size: 12.5px; font-weight: 700; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 1px;
  background: var(--off-white);
}
.lp-table td:first-child { color: var(--ink-1); font-weight: 600; width: 28%; }

/* SCENARIO CARDS */
.lp-scenarios {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 36px;
}

/* PRODUCT SCREENSHOTS section */
.lp-screens {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 36px; margin-top: 36px;
  align-items: start;
}
.lp-screen {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(10, 10, 10, 0.08), 0 2px 6px rgba(10, 10, 10, 0.04);
  transition: transform .4s ease, box-shadow .4s ease;
}
.lp-screen:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(10, 10, 10, 0.14), 0 4px 10px rgba(10, 10, 10, 0.06);
}
.lp-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}
.lp-screen-caption {
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.lp-screen-caption strong {
  display: block;
  color: var(--ink-1);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 14.5px;
}
@media (max-width: 860px) {
  .lp-screens { grid-template-columns: 1fr; gap: 24px; }
}

/* In-body contextual link styling */
.lp-section p a,
.lp-twocol li a,
.lp-section li a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.lp-section p a:hover,
.lp-twocol li a:hover,
.lp-section li a:hover {
  color: var(--gold);
}
.lp-scenario {
  background: var(--off-white); border: 1px solid var(--line);
  padding: 22px; border-radius: 4px;
}
.lp-scenario .tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--gold-dark); text-transform: uppercase; letter-spacing: 1.2px;
  margin-bottom: 10px;
}
.lp-scenario p { font-size: 14.5px; color: var(--ink-1); line-height: 1.55; margin: 0; }

/* FAQ - matches homepage exactly */
.faq {
  max-width: 880px; margin: 40px auto 0;
}
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; color: var(--black); font-size: clamp(15px, 1.4vw, 17px);
  cursor: pointer; list-style: none; user-select: none; letter-spacing: -0.01em;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-icon {
  width: 28px; height: 28px; border: 1.5px solid var(--line);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s ease; flex-shrink: 0;
  font-weight: 500; font-size: 18px; line-height: 1; color: var(--black);
  margin-left: 16px;
}
.faq-item[open] .faq-icon {
  background: var(--gold); border-color: var(--gold); color: var(--white);
  transform: rotate(45deg);
}
.faq-a { padding: 0 0 22px; font-size: 15px; color: var(--ink-2); line-height: 1.6; max-width: 720px; }

/* FINAL CTA - matches homepage gradient + buttons */
.final {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 110px);
  display: flex; align-items: center;
  padding: 80px 0; color: var(--white);
  background:
    radial-gradient(ellipse 55% 38% at 10% 22%, rgba(0, 248, 137, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 48% 58%, rgba(45, 145, 230, 0.55) 0%, transparent 62%),
    radial-gradient(ellipse 50% 60% at 28% 82%, rgba(32, 80, 200, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 85% 30%, rgba(15, 28, 90, 0.6) 0%, transparent 55%),
    linear-gradient(135deg, #0E165C 0%, #161F66 50%, #20319D 100%);
  text-align: center;
}
.final h2 {
  color: var(--white); font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px;
  max-width: 720px; margin-left: auto; margin-right: auto;
  position: relative; z-index: 1;
}
.final p {
  color: rgba(255,255,255,0.82); font-size: 16.5px; line-height: 1.6;
  max-width: 640px; margin: 0 auto 26px;
  position: relative; z-index: 1;
}
.final-ctas {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.final .btn { border-color: var(--white); color: var(--white); }
.final .btn:hover { background: var(--white); color: var(--black); }
.final .btn-gold { background: var(--gold); border-color: var(--gold); color: var(--white); }
.final .btn-gold:hover { background: var(--white); border-color: var(--white); color: var(--black); }

/* SCROLL REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* SMALL-PRINT COMPLIANCE */
.lp-disclaimer {
  font-size: 11.5px; line-height: 1.55; color: var(--ink-3);
  max-width: 760px; margin-top: 22px;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .lp-features { grid-template-columns: 1fr; }
  .lp-scenarios { grid-template-columns: 1fr; }
  .lp-section {
    min-height: auto;
    display: block;
    padding: 72px 0;
  }
  .final {
    min-height: auto;
    display: block;
    padding: 72px 0;
  }
  .lp-hero {
    min-height: auto;
    padding: 40px 0 48px;
    display: block;
  }
  .lp-hero .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-card-stack { max-width: 380px; margin: 0 auto; }
  .hero-trust { max-width: 380px; margin: 0 auto 18px; gap: 8px; }
  .hero-trust-cell { width: 44px; height: 28px; }
  .lp-table th, .lp-table td { padding: 12px 10px; font-size: 14px; }
}
@media (max-width: 600px) {
  .lp-hero-text h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero-foot { gap: 10px 18px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .final-ctas { flex-direction: column; align-items: stretch; }
  .final-ctas .btn { width: 100%; justify-content: center; }
  .hero-trust-cell { width: 40px; height: 26px; }
}
@media (max-width: 380px) {
  .hero-card-stack { max-width: 280px; }
  .hero-trust { max-width: 280px; }
  .hero-trust-cell { width: 34px; height: 22px; }
}
