/* ================================
   PayHey Premium Landing — style.css
   Dark Luxury / Gold Accents
================================ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0A0A0F;
  --bg2:       #0F0F1A;
  --bg3:       #141426;
  --border:    rgba(201,168,76,0.12);
  --gold:      #C9A84C;
  --gold-light:#E8C96A;
  --gold-dark: #A8882C;
  --white:     #FFFFFF;
  --text:      #E0E0E8;
  --muted:     #6A6A8A;
  --radius:    16px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold { color: var(--gold); }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0A0A0F;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  box-shadow: 0 6px 32px rgba(201,168,76,0.45);
  transform: translateY(-2px);
}
.btn--gold:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.05);
}

.btn--sm { font-size: 13px; padding: 10px 18px; }
.btn--lg { font-size: 16px; padding: 16px 32px; border-radius: 14px; }
.btn--xl { font-size: 18px; padding: 20px 44px; border-radius: 16px; }

/* ─── SECTION COMMON ─── */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10,10,15,0.95);
}
.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-right: auto;
}
.nav__logo:hover { color: var(--gold); }
.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--gold); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  padding: 100px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
}
.hero__bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  width: 100%;
  height: 100%;
}
.hero > * { position: relative; z-index: 1; }

.particle {
  animation: particlePulse 3s ease-in-out infinite;
}
.particle:nth-child(odd) { animation-delay: -1.5s; }
.particle:nth-child(3n) { animation-delay: -0.8s; animation-duration: 4s; }

@keyframes particlePulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}

.hero__content { display: flex; flex-direction: column; gap: 24px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--gold);
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 8px 16px;
  border-radius: 100px;
  width: fit-content;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}

.hero__sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 8px;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero__stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Card */
.hero__card-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__card {
  position: relative;
  width: 380px;
  max-width: 100%;
  filter: drop-shadow(0 30px 60px rgba(201,168,76,0.15)) drop-shadow(0 0 100px rgba(201,168,76,0.08));
  animation: cardFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
.hero__card-svg { width: 100%; border-radius: 20px; }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

.hero__card-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}

.card__applepay {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}

.card__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: rgba(15,15,26,0.95);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.card__badge--top {
  top: -20px;
  left: -20px;
  animation: badgeFloat1 5s ease-in-out infinite;
}
.card__badge--bottom {
  bottom: -10px;
  right: -20px;
  animation: badgeFloat2 6s ease-in-out infinite;
}
@keyframes badgeFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes badgeFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ─── TRUSTBAR ─── */
.trustbar {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}
.trustbar__label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.trustbar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trustbar__logo {
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.trustbar__logo:hover { opacity: 1; }

/* ─── FEATURES ─── */
.features {
  padding: 120px 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: var(--radius);
}
.feature-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(201,168,76,0.1);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon { margin-bottom: 20px; }
.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.feature-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

/* ─── HOW IT WORKS ─── */
.how {
  padding: 120px 0;
  background: var(--bg2);
}
.how__steps {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.how__step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.how__step-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  min-width: 64px;
}
.how__step-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  margin-top: 8px;
}
.how__step-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.how__step-content a { color: var(--gold); }
.how__step-icon { margin-top: 6px; }
.how__connector {
  margin: 8px 0 8px 30px;
  opacity: 0.5;
}
.how__cta {
  text-align: center;
  width: 100%;
  margin-top: 56px;
}

/* ─── STATS ─── */
.stats {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats__item {
  background: var(--bg3);
  padding: 48px 32px;
  text-align: center;
}
.stats__num {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.stats__label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── REFERRAL ─── */
.referral {
  padding: 120px 0;
}
.referral__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.referral__card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.referral__level {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.referral__level span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.referral__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.referral__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.referral__pct {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  min-width: 60px;
}

.referral__cta-card {
  background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.02) 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.referral__cta-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.referral__cta-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── SECURITY ─── */
.security {
  padding: 120px 0;
  background: var(--bg2);
}
.security__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.security__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}
.security__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--text);
}
.security__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.security__shield-svg {
  filter: drop-shadow(0 0 40px rgba(201,168,76,0.1));
}

/* ─── FAQ ─── */
.faq {
  padding: 120px 0;
}
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq__q:hover { color: var(--gold); }
.faq__arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq__item.open .faq__arrow { transform: rotate(180deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq__item.open .faq__a { max-height: 200px; padding-bottom: 20px; }
.faq__a p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── FINAL CTA ─── */
.cta-final {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.cta-final__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-final__bg-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-final__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta-final__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}
.cta-final__sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__brand .nav__logo {
  margin-bottom: 12px;
}
.footer__brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: flex-end;
}
.footer__links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer__bottom p { font-size: 13px; color: var(--muted); }
.footer__disclaimer { max-width: 480px; text-align: right; line-height: 1.6; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding-top: 100px;
  }
  .hero__badge { margin: 0 auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__card-wrap { order: -1; }
  .hero__card { width: 320px; }
  .card__badge--top { left: 0; }
  .card__badge--bottom { right: 0; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .referral__grid { grid-template-columns: 1fr; }
  .security__inner { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .features__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero__card { width: 280px; }
  .card__badge { display: none; }
  .footer__inner { flex-direction: column; }
  .footer__links { justify-content: flex-start; }
  .footer__bottom { flex-direction: column; }
  .footer__disclaimer { text-align: left; }
  .how__step-num { font-size: 36px; min-width: 48px; }
}
