/* ==========================================================================
   Qore Card — landing styles
   Visual language from the "Qore Card" design, built responsive.
   ========================================================================== */

:root {
  --bg:        #F5F5F7;
  --ink:       #19191B;
  --ink-2:     #23232A;
  --muted:     #8F8F8F;
  --accent:    #A78BFA;
  --accent-2:  #B09AF6;
  --grad-cta:  linear-gradient(90deg, #8f8bf5 0%, #ae97f6 100%);
  --box:       #EFEFFE;
  --box-line:  #d4d1e9;
  --faq-bg:    #ECECF8;
  --faq-item:  #FAFAFF;
  --faq-open:  #D7D7FF;
  --faq-ink:   #1F1F53;
  --footer-bg: #1B1B1F;
  --footer-pill:#23232A;
  --footer-ink:#8E8EAC;
  --maxw: 1500px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* faint rotating watermark Q in the page background */
.watermark {
  position: absolute;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.watermark--1 { top: -40px;  right: -90px; width: clamp(220px, 26vw, 480px); transform: rotate(90deg); }
.watermark--2 { top: 540px;  left: -40px;  width: clamp(140px, 14vw, 240px); }

/* ---------- shared bits ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 56px;
  padding: 0 26px;
  border-radius: 64px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, opacity .15s ease;
}
.pill:hover { opacity: .9; transform: translateY(-1px); }
.pill svg { width: 24px; height: 20px; }
.pill svg path { fill: #fff; }

/* ===================== HEADER ===================== */
.site-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: 1820px;
  margin: 0 auto;
  padding: 18px 40px;
}
.site-header__left  { justify-self: start; }
.site-header__right { justify-self: end; display: flex; align-items: center; gap: 12px; }

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.brand__mark { width: 56px; height: 56px; flex: none; }
.brand__name { font-size: clamp(28px, 3vw, 44px); font-weight: 900; color: var(--ink); line-height: 1; }
.brand__slogan {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.32em;
  line-height: 1;
}

/* language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 22px;
  border: none;
  border-radius: 64px;
  background: var(--ink);
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}
.lang__btn svg { width: 26px; height: 26px; opacity: .55; }
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 200px;
  padding: 12px 0;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 20;
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 22px;
  margin: 0 8px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.lang__opt span:last-child { color: #63636D; }
.lang__opt:hover,
.lang__opt--active { background: rgba(217,217,217,0.06); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(24px, 3.4vw, 56px) 24px 0;
}
.hero__title {
  max-width: 1120px;
  margin: 0 auto;
  font-size: clamp(32px, 5.2vw, 88px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -1.5px;
  color: var(--ink);
  overflow-wrap: break-word;
}
.hero__sub {
  margin: clamp(14px, 1.6vw, 26px) auto 0;
  max-width: 760px;
  font-size: clamp(16px, 1.4vw, 26px);
  font-weight: 400;
  color: var(--muted);
}
.hero__cards {
  margin: clamp(6px, 1.2vw, 18px) auto 0;
  max-width: 660px;
}
.hero__cards img { width: 100%; height: auto; }
.hero__op {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(6px, 1vw, 16px);
  padding: 0 40px;
  height: clamp(62px, 4.8vw, 86px);
  border-radius: 22px;
  background: var(--grad-cta);
  color: #fff;
  font-size: clamp(18px, 1.6vw, 28px);
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 16px 40px rgba(143,139,245,.35);
}
.hero__op:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(143,139,245,.45); }
.hero__op svg { width: 38px; height: 32px; }
.hero__op svg path { fill: #fff; }

/* ===================== CARD FAN (hero) ===================== */
.cardfan {
  position: relative;
  width: min(700px, 94vw);
  aspect-ratio: 700 / 470;
  margin: clamp(10px, 2vw, 30px) auto 0;
  container-type: inline-size;
}
.qcard {
  position: absolute;
  top: 16%;
  left: 50%;
  width: 71.4%;
  aspect-ratio: 500 / 320;
  border-radius: 5.2cqw;
  padding: 6cqw;
  box-shadow: 0 30px 60px rgba(20,20,40,.28);
}
.qcard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.qcard__brand { display: flex; align-items: center; gap: 2cqw; }
.qcard__brand svg { width: 7cqw; height: 7cqw; }
.qcard__brand span { font-size: 4.6cqw; font-weight: 800; line-height: 1; }
.qcard__nfc { width: 5cqw; height: auto; }
.qcard__visa {
  position: absolute;
  right: 6cqw;
  bottom: 5cqw;
  font-style: italic;
  font-weight: 800;
  font-size: 6.3cqw;
  letter-spacing: -1px;
  font-family: Arial, Helvetica, sans-serif;
}
.qcard--l { transform: translateX(-66%) rotate(-16deg); z-index: 1; background: linear-gradient(150deg,#1b1b21 0%,#05051a 60%,#0a0a12 100%); }
.qcard--r { transform: translateX(-34%) rotate(15deg);  z-index: 2; background: linear-gradient(160deg,#f4f4ff 0%,#dcdcf6 100%); }
.qcard--front { top: 11%; transform: translateX(-50%) rotate(-3deg); z-index: 3;
  background: linear-gradient(120deg,#0500ff 0%,#1b1b1d 12%,#0600fe 46%,#49ff91 95%);
  box-shadow: 0 40px 80px rgba(20,20,60,.35);
}
.qcard--dark  .qcard__brand span,
.qcard--dark  .qcard__visa { color: #fff; }
.qcard--dark  .qcard__brand svg path,
.qcard--dark  .qcard__brand svg rect { fill: #fff; }
.qcard--dark  .qcard__nfc path { stroke: #fff; fill: none; }
.qcard--light .qcard__brand span { color: #23232A; }
.qcard--light .qcard__visa { color: #8b8b96; }
.qcard--light .qcard__brand svg path,
.qcard--light .qcard__brand svg rect { fill: #23232A; }
.qcard--light .qcard__nfc path { stroke: #23232A; fill: none; }

/* ===================== PHONE MOCKUP (feature 2) ===================== */
.phone {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(330px, 64%);
  aspect-ratio: 320 / 430;
  background: #0a0a0a;
  border-radius: 48px 48px 0 0;
  padding: 11px 11px 0;
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
  z-index: 1;
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 40px 40px 0 0;
  overflow: hidden;
  background: linear-gradient(180deg,#eef0f7 0%,#e7e8fb 100%);
}
.phone__notch {
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%);
  width: 86px; height: 26px; background: #000; border-radius: 16px; z-index: 2;
}
.phone__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 24px 0; font-size: 15px; font-weight: 600; color: #000;
}
.phone__bar svg { display: inline-block; }
.phone__wallet-head {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 12px;
}
.phone__wallet-head b { font-size: 22px; font-weight: 700; color: #19191B; }
.phone__topup { padding: 7px 16px; background: #19191B; border-radius: 20px; font-size: 14px; font-weight: 600; color: #fff; }
.coin {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 12px 9px; padding: 11px 14px; background: #fff; border-radius: 16px;
}
.coin__l { display: flex; align-items: center; gap: 9px; }
.coin__sym { width: 22px; text-align: center; font-size: 18px; font-weight: 700; color: #19191B; }
.coin__name { font-size: 16px; font-weight: 600; color: #19191B; }
.coin__btn { padding: 7px 14px; background: #E2E2F5; border-radius: 14px; font-size: 13px; font-weight: 600; color: #19191B; }

/* ===================== FEATURES ===================== */
.features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: clamp(36px, 4.5vw, 72px) auto 0;
}
.feature {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  background: var(--box);
  box-shadow: inset 0 0 0 1px var(--box-line);
  min-height: clamp(420px, 38vw, 720px);
  padding: 50px 30px 0;
  text-align: center;
  container-type: inline-size;
}
/* single tilted card in feature box 1 */
.solo-card {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 78%;
  aspect-ratio: 560 / 358;
  transform: translateX(-50%) rotate(30deg);
  border-radius: 3.6cqw;
  padding: 5.5cqw;
  background: linear-gradient(180deg,#c5c5ff 33%,#ffffff 100%);
  box-shadow: 0 30px 60px rgba(40,40,80,.25);
  z-index: 1;
}
.solo-card .qcard__brand span,
.solo-card .qcard__visa { color: #23232A; }
.solo-card .qcard__brand svg path,
.solo-card .qcard__brand svg rect { fill: #23232A; }
.solo-card .qcard__nfc path { stroke: #23232A; fill: none; }
.feature__title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 700;
  color: var(--ink);
}
.feature__circle {
  position: absolute;
  left: 50%;
  bottom: -6%;
  width: 64%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--accent-2);
  z-index: 0;
}
.feature__img {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 78%;
  height: auto;
  z-index: 1;
}
.feature--phone .feature__img { width: 62%; }

/* ===================== PRICING ===================== */
.pricing { position: relative; z-index: 1; margin-top: clamp(52px, 6vw, 100px); }
.pricing__title {
  margin: 0 0 clamp(28px, 3vw, 56px);
  text-align: center;
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 700;
  color: var(--ink-2);
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.price-card {
  border-radius: 24px;
  background: #fff;
  padding: 40px 20px;
  min-height: clamp(220px, 19vw, 360px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.price-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 700;
  color: var(--ink-2);
}
.price-card__head svg { width: 30px; height: 30px; }
.price-card__head svg [stroke] { stroke: var(--ink-2); }
.price-card__head svg [fill]:not([fill="none"]) { fill: var(--ink-2); }
.price-card__value {
  font-size: clamp(56px, 7vw, 110px);
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1;
}

/* ===================== FAQ ===================== */
.faq {
  position: relative;
  z-index: 1;
  margin-top: clamp(52px, 6vw, 100px);
  padding: clamp(40px, 4vw, 64px) 0 clamp(50px, 5vw, 80px);
  background: var(--faq-bg);
}
.faq__title {
  margin: 0 0 clamp(28px, 3vw, 56px);
  text-align: center;
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 700;
  color: var(--ink-2);
}
.faq__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.faq__col { display: flex; flex-direction: column; gap: 20px; }

.faq-item {
  border-radius: 24px;
  background: var(--faq-item);
  cursor: pointer;
  transition: background .25s ease;
}
.faq-item.is-open { background: var(--faq-open); }
.faq-item__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 26px clamp(24px, 3vw, 50px);
}
.faq-item__q {
  font-size: clamp(19px, 1.9vw, 32px);
  font-weight: 400;
  color: var(--faq-ink);
  line-height: 1.25;
}
.faq-item__sign {
  flex: none;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 300;
  line-height: .9;
  color: var(--faq-ink);
  user-select: none;
}
.faq-item__body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .45s cubic-bezier(.4,0,.2,1), opacity .35s cubic-bezier(.4,0,.2,1);
}
.faq-item__body p {
  margin: 0;
  padding: 0 clamp(24px, 3vw, 50px) 28px;
  font-size: clamp(16px, 1.5vw, 24px);
  font-weight: 200;
  color: var(--faq-ink);
  line-height: 1.35;
}
.faq-item__body p + p { padding-top: 14px; }

/* legal disclaimer */
.disclaimer {
  margin: clamp(28px, 3vw, 50px) auto 0;
  max-width: 1200px;
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: #8a8aa6;
}

/* ===================== FOOTER ===================== */
.site-footer { background: var(--footer-bg); }
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 30px 24px;
}
.site-footer__copy { font-size: clamp(20px, 2vw, 32px); font-weight: 700; color: var(--footer-ink); }
.site-footer__social { display: flex; align-items: center; gap: 12px; }
.foot-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--footer-ink);
}
.foot-link__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--footer-pill);
  display: flex;
  align-items: center;
  justify-content: center;
}
.foot-link__icon svg { width: 24px; height: 24px; opacity: .55; }
.foot-link__icon svg path { fill: var(--footer-ink); }
.foot-link__label {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  margin-left: -12px;
  background: var(--footer-pill);
  border-radius: 0 55px 55px 0;
  font-size: 18px;
  font-weight: 500;
}
.site-footer__policies { display: flex; gap: 36px; }
.site-footer__policies a {
  font-size: 18px;
  font-weight: 500;
  color: var(--footer-ink);
  text-decoration: none;
}
.site-footer__policies a:hover { color: #fff; }

/* ===================== LEGAL PAGES (privacy / terms) ===================== */
.pp-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 32px;
  background: rgba(245,245,247,0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(25,25,27,0.06);
}
.pp-header .brand__mark { width: 44px; height: 44px; }
.pp-header .brand__name { font-size: 26px; }
.pp-header .pill { height: 48px; font-size: 16px; padding: 0 22px; }

.pp-page { max-width: 880px; margin: 0 auto; padding: 132px 24px 90px; }
.pp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  color: #8F8F8F;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s ease;
}
.pp-back:hover { color: var(--ink); }
.pp-back svg { flex-shrink: 0; }
.pp-title {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--ink);
}
.pp-meta { margin: 0 0 48px; font-size: 14px; color: #9a9aa6; }
.pp-body { color: #4a4a55; font-size: 17px; line-height: 1.7; }
.pp-body h2 {
  margin: 46px 0 14px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -.3px;
  line-height: 1.3;
  color: var(--ink-2);
}
.pp-body h3 { margin: 28px 0 10px; font-size: clamp(17px, 2.5vw, 21px); font-weight: 600; color: var(--ink-2); }
.pp-body p { margin: 0 0 16px; }
.pp-body ul { list-style: none; padding: 0; margin: 0 0 16px; }
.pp-body ul li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.pp-body ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pp-body a { color: #5b54e0; text-decoration: none; }
.pp-body a:hover { text-decoration: underline; }
.pp-body .pp-section-divider { border: none; border-top: 1px solid rgba(25,25,27,0.08); margin: 48px 0; }
@media (max-width: 719px) {
  .pp-header { height: 64px; padding: 0 16px; }
  .pp-header .brand__name { font-size: 22px; }
  .pp-header .brand__mark { width: 38px; height: 38px; }
  .pp-page { padding: 104px 18px 70px; }
  .pp-body { font-size: 16px; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    row-gap: 18px;
    padding: 16px 20px;
  }
  .site-header__left  { grid-column: 1 / -1; order: 2; justify-self: center; }
  .brand { grid-column: 1; order: 1; }
  .site-header__right { grid-column: 2; order: 1; }
  .pill--channel { display: none; }      /* keep header light on small screens */
  .features { grid-template-columns: 1fr; }
  .faq__cols { grid-template-columns: 1fr; }
  .feature { min-height: 440px; }
}
@media (max-width: 560px) {
  .pricing__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .price-card { padding: 26px 12px; min-height: 180px; }
  .site-footer__inner { flex-direction: column; text-align: center; }
  .pill, .lang__btn { height: 50px; font-size: 16px; padding: 0 18px; }
  .brand__mark { width: 46px; height: 46px; }
  .hero__title { letter-spacing: -1px; }
}
