/* ═══════════════════════════════════════════════════════════
   VERIS EXCHANGE — Member Portal
   Clean, minimal, luxury. Conversion-first.
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --black:       #050402;
  --bg:          #0a0803;
  --bg-card:     #110d06;
  --gold:        #c9a84c;
  --gold-light:  #e2c97e;
  --gold-dim:    #8a6e30;
  --gold-faint:  rgba(201,168,76,.08);
  --white:       #f5f0e8;
  --white-dim:   #c2b89a;
  --white-faint: #6b5f47;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Montserrat', sans-serif;
  --nav-h:       72px;
  --radius:      6px;
  --radius-lg:   16px;
  --transition:  .35s cubic-bezier(.22,.88,.36,1);
  --shadow-gold: 0 0 60px rgba(201,168,76,.12), 0 4px 24px rgba(0,0,0,.7);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
/* Prevent iOS auto-zoom on input focus */
input, textarea, select { font-size: 16px; }

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── KICKER ──────────────────────────────────────────────── */
.section__kicker {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200%;
  color: var(--black);
  border: 1px solid var(--gold-light);
}
.btn--gold:hover {
  background-position: 100%;
  box-shadow: 0 0 28px rgba(201,168,76,.3);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.5);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}
.btn--sm { font-size: .6rem; padding: 9px 18px; }
.btn--full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(10,8,3,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,.1);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(5,4,2,.98);
  border-bottom-color: rgba(201,168,76,.18);
}
.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  padding-left: max(40px, env(safe-area-inset-left));
  padding-right: max(40px, env(safe-area-inset-right));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--gold);
  display: inline-flex;
  align-items: baseline;
  gap: .25em;
}
.nav__logo-exchange {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--gold);
}
.logo__tm {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 400;
  color: var(--gold-dim);
  letter-spacing: 0;
  margin-left: 1px;
  opacity: .75;
  vertical-align: top;
  position: relative;
  top: .12em;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 65% at 10% 55%, rgba(201,168,76,.06) 0%, transparent 60%),
    linear-gradient(160deg, #0d0a04 0%, #120e07 45%, #0a0803 100%);
}
.hero__particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1px at 18% 22%, rgba(201,168,76,.45) 0, transparent 1px),
    radial-gradient(circle 1px at 82% 18%, rgba(201,168,76,.3) 0, transparent 1px),
    radial-gradient(circle 1px at 72% 72%, rgba(201,168,76,.25) 0, transparent 1px),
    radial-gradient(circle 1px at 38% 85%, rgba(201,168,76,.2) 0, transparent 1px),
    radial-gradient(circle 2px at 55% 35%, rgba(201,168,76,.15) 0, transparent 2px);
  pointer-events: none;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(10,8,3,.6) 85%, var(--bg) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 80px;
  padding-top: 60px;
  padding-bottom: 100px;
}
.hero__kicker {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero__headline {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}
.hero__headline em {
  color: var(--gold-light);
  font-style: italic;
}
.hero__sub {
  font-size: .88rem;
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 48px;
}

/* ── LOGIN BLOCK ─────────────────────────────────────────── */
.login-block {
  background: rgba(17,13,6,.8);
  border: 1px solid rgba(201,168,76,.16);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  backdrop-filter: blur(12px);
  margin-bottom: 40px;
}
.login-block__label {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 20px;
}
.login-block__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.login-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 300;
  letter-spacing: .04em;
  outline: none;
  transition: border-color var(--transition);
}
.login-input::placeholder { color: var(--white-faint); }
.login-input:focus { border-color: var(--gold); }
.btn--login {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  font-size: .68rem;
  padding: 14px 28px;
}
.login-block__links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: .68rem;
  color: var(--white-faint);
}
.login-block__links a {
  color: var(--gold-dim);
  transition: color var(--transition);
}
.login-block__links a:hover { color: var(--gold); }
.login-block__links span { opacity: .4; }

/* ── TRUST SIGNALS ───────────────────────────────────────── */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--white-faint);
}
.hero__trust i {
  color: var(--gold);
  margin-right: 6px;
}
.hero__trust-note {
  width: 100%;
  margin-top: 10px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
  opacity: 0.7;
}

/* ── MEMBERSHIP CARD ─────────────────────────────────────── */
.hero__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.membership-card {
  width: 340px;
  height: 214px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1c1508 0%, #2e2008 45%, #1a1408 100%);
  border: 1px solid rgba(201,168,76,.22);
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
  transition: transform .6s cubic-bezier(.22,.88,.36,1);
}
.membership-card:hover { transform: rotateY(-8deg) rotateX(3deg) scale(1.03); }
.membership-card__inner {
  position: absolute;
  inset: 0;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.membership-card__chip {
  width: 36px;
  height: 28px;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  border-radius: 5px;
  opacity: .65;
}
.membership-card__brand {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--gold);
  text-align: right;
  text-shadow: 0 0 24px rgba(201,168,76,.35);
}
.membership-card__number {
  font-size: .78rem;
  letter-spacing: .24em;
  color: rgba(201,168,76,.55);
}
.membership-card__label {
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white-faint);
}
.membership-card__nfc {
  position: absolute;
  bottom: 26px;
  right: 30px;
  font-size: 1.15rem;
  color: var(--gold-dim);
  opacity: .45;
  transform: rotate(90deg);
}
.membership-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 28%, rgba(255,255,255,.04) 50%, transparent 72%);
  pointer-events: none;
}
.hero__card-note {
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--white-faint);
  text-align: center;
}
.hero__card-note i { color: var(--gold-dim); margin-right: 5px; }

/* ═══════════════════════════════════════════════════════════
   THE NETWORK
   ═══════════════════════════════════════════════════════════ */
.network {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #0d0a05 100%);
}
.network__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.network__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,.12);
  box-shadow: var(--shadow-gold);
}
.network__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform .8s ease;
}
.network__visual:hover .network__img { transform: scale(1.04); }
.network__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(10,8,3,.55) 100%
  );
  pointer-events: none;
}
.network__headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.network__headline em {
  color: var(--gold-light);
  font-style: italic;
}
.network__body {
  font-size: .9rem;
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 44px;
}
.network__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
}
.network__list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.network__list-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.25);
  background: rgba(201,168,76,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.network__list-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.network__list-text strong {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--white);
}
.network__list-text span {
  font-size: .78rem;
  font-weight: 300;
  color: var(--white-faint);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(201,168,76,.08);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__ig-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--white-faint);
  transition: color var(--transition);
}
.footer__ig-link i { font-size: 1.1rem; color: var(--gold-dim); }
.footer__ig-link:hover { color: var(--gold); }
.footer__ig-link:hover i { color: var(--gold); }
.footer__copy p {
  font-size: .65rem;
  letter-spacing: .08em;
  color: var(--white-faint);
}

/* ═══════════════════════════════════════════════════════════
   FLOATING CONCIERGE
   ═══════════════════════════════════════════════════════════ */
.concierge-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.concierge-float__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--black);
  box-shadow: 0 4px 24px rgba(201,168,76,.35);
  transition: var(--transition);
}
.concierge-float__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(201,168,76,.5);
}
.concierge-float__panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: var(--radius-lg);
  padding: 24px 24px 20px;
  width: 260px;
  box-shadow: 0 12px 48px rgba(0,0,0,.7);
}
.concierge-float__panel.open { display: block; }
.concierge-float__title {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.concierge-float__text {
  font-size: .74rem;
  font-weight: 300;
  color: var(--white-faint);
  line-height: 1.6;
  margin-bottom: 16px;
}
.concierge-float__note {
  font-size: .6rem;
  color: var(--white-faint);
  margin-top: 10px;
  text-align: center;
  letter-spacing: .06em;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-aos="fade-up"].aos-animate { opacity: 1; transform: translateY(0); }

[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-aos="fade-left"].aos-animate { opacity: 1; transform: translateX(0); }
[data-aos-delay="100"][data-aos] { transition-delay: .1s; }
[data-aos-delay="150"][data-aos] { transition-delay: .15s; }

[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-aos="fade-right"].aos-animate { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — PORTAL (max 960px / tablet)
   ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — PORTAL LOGIN (max 960px / tablet)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .container { padding: 0 28px; }
  .nav__inner { padding: 0 28px; }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 72px;
  }
  .hero__sub { max-width: 100%; }
  .hero__card { align-items: center; }
  .membership-card { width: 300px; height: 188px; }

  .network { padding: 80px 0; }
  .network__inner { grid-template-columns: 1fr; gap: 48px; }
  .network__img { aspect-ratio: 16/9; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — PORTAL LOGIN (max 768px / mobile)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .container { padding: 0 20px; }
  .nav__inner { padding: 0 20px; height: var(--nav-h); }
  .nav__logo { font-size: 1.2rem; letter-spacing: .1em; }
  .nav__logo-exchange { font-size: 1.2rem; letter-spacing: .1em; }

  /* Hero */
  .hero { min-height: 100dvh; }
  .hero__content {
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 64px;
  }
  .hero__kicker { font-size: .6rem; }
  .hero__headline { font-size: clamp(2rem, 8vw, 3rem); line-height: 1.15; }
  .hero__sub { font-size: .84rem; margin-bottom: 28px; line-height: 1.7; }

  /* Login block */
  .login-block {
    padding: 28px 22px;
    border-radius: 14px;
    width: 100%;
  }
  .login-block__label { font-size: .58rem; margin-bottom: 14px; }
  .login-input {
    font-size: 16px;
    padding: 14px 16px;
    min-height: 52px;
    border-radius: 8px;
  }
  .login-input:focus { outline-offset: 2px; }
  .btn--login {
    min-height: 52px;
    font-size: .68rem;
    letter-spacing: .14em;
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }
  .login-block__links {
    font-size: .62rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }
  .login-block__divider { margin: 16px 0; }

  /* Trust signals */
  .hero__trust { gap: 6px 14px; font-size: .6rem; flex-wrap: wrap; justify-content: center; }
  .hero__trust i { font-size: .7rem; }

  /* Membership card */
  .hero__card { align-items: center; }
  .membership-card {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1.586;
  }
  .membership-card__brand { font-size: 1.7rem; }

  /* Network section */
  .network { padding: 64px 0; }
  .network__inner { gap: 36px; }
  .network__kicker { font-size: .62rem; }
  .network__headline { font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1.2; }
  .network__body { font-size: .84rem; margin-bottom: 28px; }
  .network__list { gap: 18px; margin-bottom: 28px; }
  .network__list li { gap: 14px; }
  .network__list-icon { width: 38px; height: 38px; font-size: .8rem; flex-shrink: 0; }
  .network__list-text strong { font-size: .78rem; }
  .network__list-text span { font-size: .73rem; }
  .network__img { aspect-ratio: 16/9; border-radius: 14px; }
  .network__cta { min-height: 52px; font-size: .68rem; width: 100%; justify-content: center; }

  /* Footer */
  .footer { padding: 36px 0; }
  .footer__inner { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .footer__ig-link { font-size: .7rem; padding: 10px 18px; min-height: 44px; }
  .footer__copy { font-size: .68rem; text-align: center; }

  /* Concierge float */
  .concierge-float { bottom: 20px; right: 16px; }
  .concierge-float__btn { width: 48px; height: 48px; font-size: 1rem; }
  .concierge-float__panel {
    width: calc(100vw - 32px);
    right: 0;
    padding: 20px 18px;
    bottom: 64px;
    max-height: 65dvh;
  }
  .concierge-float__messages { max-height: 200px; font-size: .8rem; }
  .concierge-float__input { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — PORTAL LOGIN (max 480px / small phone)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav__inner { padding: 0 16px; }
  .nav__logo, .nav__logo-exchange { font-size: 1.1rem; }

  .hero__headline { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .hero__content { padding-top: 32px; padding-bottom: 52px; gap: 32px; }

  .login-block { padding: 22px 16px; border-radius: 12px; }
  .login-input { padding: 13px 14px; }
  .btn--login { font-size: .65rem; min-height: 50px; }

  .membership-card { max-width: 100%; }
  .membership-card__brand { font-size: 1.5rem; }

  .network { padding: 52px 0; }
  .network__list li { gap: 12px; }
  .network__list-icon { width: 34px; height: 34px; font-size: .75rem; }

  .concierge-float { bottom: 16px; right: 12px; }
  .concierge-float__panel { width: calc(100vw - 24px); }
}
