/* ============================================
   Blessed Companionship — brand tokens
   Colors pulled directly from the supplied logo
   ============================================ */
:root{
  --navy: #0f172a;
  --navy-ink: #111827;
  --teal: #2d6a6f;
  --teal-soft: #78a3a8;
  --ivory: #f5f7fb;
  --ivory-card: #ffffff;
  --ivory-alt: #eef2ff;
  --gold: #efb24a;
  --gold-soft: #ffe4a8;
  --rose: #b8748c;
  --line: rgba(15, 23, 42, 0.10);
  --shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.24);
  --surface: rgba(255,255,255,0.84);
  --surface-strong: rgba(255,255,255,0.94);
  --gradient-accent: linear-gradient(135deg, #4f46e5 0%, #2563eb 55%, #14b8a6 100%);
  --gradient-gold: linear-gradient(135deg, var(--gold), #ffd98b 65%, var(--gold-soft));
  --shadow-soft: 0 22px 60px -28px rgba(15, 23, 42, 0.24);
  --shadow-strong: 0 34px 90px -32px rgba(15, 23, 42, 0.30);

  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-w: 1180px;
}

/* Smooth click / active animation for hero and header buttons */
.hero-actions .btn,
.hero-actions .btn-primary,
#heroCta,
.nav-auth a.btn,
.nav-auth a.btn-primary {
  transition: transform 120ms cubic-bezier(.2,.9,.3,1), box-shadow 120ms ease, opacity 120ms ease;
  will-change: transform, box-shadow;
}
.hero-actions .btn:active,
.hero-actions .btn-primary:active,
#heroCta:active,
.nav-auth a.btn:active,
.nav-auth a.btn-primary:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: none !important;
  opacity: 0.98;
}
.hero-actions .btn:focus,
.hero-actions .btn-primary:focus,
#heroCta:focus,
.nav-auth a.btn:focus,
.nav-auth a.btn-primary:focus {
  outline: none;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}

body{
  margin:0;
  font-family:var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(79, 70, 229, 0.14), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(20, 184, 166, 0.14), transparent 24%),
    linear-gradient(135deg, #f8fbff 0%, var(--ivory) 50%, #f2f5ff 100%);
  color:var(--navy-ink);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 15% 8%, rgba(184,146,63,0.16), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(86,119,125,0.16), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(185,112,122,0.12), transparent 26%);
  z-index:-1;
  animation:ambientDrift 22s ease-in-out infinite alternate;
}

body::after{
  content:"";
  position:fixed; inset:auto auto -8% -10%; width:340px; height:340px;
  border-radius:50%; background:radial-gradient(circle, rgba(184,146,63,0.22), transparent 65%);
  filter:blur(20px); pointer-events:none; z-index:-1; animation:floatGlow 14s ease-in-out infinite;
}

img{max-width:100%;display:block;}

.wrap{
  max-width:var(--max-w);
  margin:0 auto;
  padding:0 24px;
}

@keyframes ambientDrift{
  0%{ background-position: 0% 0%, 100% 0%, 50% 100%; }
  100%{ background-position: 4% 3%, 96% 6%, 54% 96%; }
}

@keyframes floatGlow{
  0%,100%{ transform:translate(0,0) scale(1); }
  50%{ transform:translate(18px, -18px) scale(1.06); }
}

.skip-link{
  position:absolute; left:-9999px; top:0;
  background:var(--navy); color:#fff; padding:10px 16px; z-index:200;
}
.skip-link:focus{left:16px; top:16px;}

a{color:inherit;}

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(238,238,229,0.92);
  backdrop-filter:blur(12px) saturate(140%);
  border-bottom:1px solid rgba(13,52,68,0.10);
  box-shadow:0 8px 30px -16px rgba(13,52,68,0.16);
}
.header-row{
  display:flex; align-items:center; gap:28px;
  padding:14px 24px;
}
.brand{display:flex; align-items:center;}
.brand-mark{height:44px; width:auto;}
.site-nav{
  display:flex; gap:26px; margin-left:auto;
  font-size:15px; font-weight:500;
}
.site-nav a{text-decoration:none; color:var(--navy); position:relative; padding:4px 0;}
.site-nav a:hover{color:var(--teal);}
.site-nav a:focus-visible, a:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}

.btn{
  display:inline-block;
  font-family:var(--font-body);
  font-weight:600;
  text-decoration:none;
  border-radius:999px;
  padding:12px 24px;
  font-size:0.96rem;
  line-height:1.2;
  min-width:auto;
  border:1.5px solid transparent;
  box-shadow:0 14px 32px -18px rgba(13,52,68,0.42);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.nav-auth a.btn-primary{ padding:9px 18px; }
.btn:hover{transform:translateY(-2px); box-shadow:0 14px 28px -16px rgba(13,52,68,0.38);}
.btn-primary{background:var(--navy); color:var(--ivory);}
.btn-primary:hover{background:var(--navy-ink);}
.btn-ghost{background:transparent; color:var(--navy); border-color:var(--navy);}
.btn-ghost:hover{background:var(--navy); color:var(--ivory);}
.btn-small{padding:9px 18px; font-size:14px;}

.nav-toggle{
  display:none; margin-left:auto;
  width:36px; height:32px; background:none; border:none; cursor:pointer;
  flex-direction:column; justify-content:space-between; padding:4px 0;
}
.nav-toggle span{display:block; height:2px; background:var(--navy); border-radius:2px;}

/* Prevent awkward wrapping on medium screens: compact nav */
.site-nav{ white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.site-nav::-webkit-scrollbar{ display: none; }

@media (max-width: 1200px) and (min-width: 768px){
  .site-nav{ gap:12px; font-size:14px; }
  .site-nav a{ padding:6px 6px; }
  .btn{ padding:9px 16px; font-size:0.94rem; }
  .btn-primary{ padding:8px 15px; font-size:0.92rem; }
  .brand-mark{ height:40px; }
}

/* Make 'Create account' less dominant at medium widths */
@media (max-width: 1100px) and (min-width: 700px){
  #heroCta, .hero-actions .btn-primary {
    padding: 7px 12px !important;
    font-size: 14px !important;
    border-radius: 26px !important;
    box-shadow: none !important;
  }
  .hero-actions .btn-ghost { padding:7px 10px; font-size:14px; }
}

/* Stronger compact header/CTA override for medium screens */
@media (max-width: 1200px){
  .nav-auth a.btn-primary, .nav-auth a.btn{
    padding:6px 10px !important;
    font-size:12px !important;
    line-height:1 !important;
    box-shadow:none !important;
    border-radius:20px !important;
  }
  #heroCta{ padding:6px 10px !important; font-size:13px !important; }
}

@media (max-width: 1000px){
  .header-row{ gap:14px; }
}
.mobile-nav{
  display:none; flex-direction:column;
  padding:6px 24px 18px;
  border-top:1px solid var(--line);
}
.mobile-nav a{padding:10px 0; text-decoration:none; color:var(--navy); font-weight:500;}
.mobile-nav.open{display:flex;}

@media (max-width:860px){
  .site-nav, .header-row > .btn-primary{display:none;}
  .nav-toggle{display:flex;}
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  padding:92px 0 74px;
}
.hero-shell{
  position:relative;
  overflow:hidden;
  padding:42px;
  border-radius:32px;
  border:1px solid rgba(255,255,255,0.78);
  background:linear-gradient(135deg, rgba(255,255,255,0.94), rgba(239,243,255,0.92));
  box-shadow:var(--shadow-strong);
}
.hero-shell::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(340px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(79,70,229,0.16), transparent 70%);
  pointer-events:none;
  opacity:0.95;
}
.hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:24px;
  align-items:center;
}
.hero-copy{text-align:left;}
.hero-arcs{
  position:absolute; inset:0; pointer-events:none;
  color: var(--teal-soft);
  opacity:0.24;
}
.arc{position:absolute; width:520px; height:520px;}
.arc-a{top:-140px; right:-160px;}
.arc-b{bottom:-200px; left:-180px; color:var(--gold-soft); opacity:0.7;}
.eyebrow{
  font-size:13px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--teal); font-weight:700; margin:0 0 16px;
}
.hero-title{
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(2.6rem, 5.2vw, 4.5rem);
  line-height:1.02;
  letter-spacing:-0.03em;
  margin:0 0 20px;
  color:var(--navy);
}
.hero-sub{
  font-size:1.05rem; color:var(--navy-ink); opacity:0.86;
  max-width:650px; margin:0 0 28px;
}
.hero-actions{
  display:flex; gap:14px; justify-content:flex-start; flex-wrap:wrap;
  margin-bottom:22px;
}
.hero-highlights{
  display:flex; flex-wrap:wrap; gap:10px;
}
.hero-highlights span{
  display:inline-flex; align-items:center; gap:7px;
  padding:8px 12px;
  border-radius:999px;
  font-size:0.92rem;
  font-weight:600;
  color:var(--teal);
  background:rgba(79,70,229,0.08);
}
.hero-showcase{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.hero-card{
  padding:18px 18px 20px;
  border-radius:22px;
  background:rgba(255,255,255,0.84);
  border:1px solid rgba(15, 23, 42, 0.10);
  box-shadow:0 14px 34px -24px rgba(15, 23, 42, 0.28);
}
.hero-card-main{
  grid-column:1 / -1;
  min-height:210px;
  background:linear-gradient(135deg, rgba(79,70,229,0.12), rgba(255,255,255,0.95));
}
.hero-card strong{
  display:block;
  font-size:1.45rem;
  color:var(--navy);
  margin-bottom:6px;
}
.hero-card p{margin:0; font-size:0.95rem; color:var(--navy-ink); opacity:0.8;}
.hero-note{
  font-size:14px; color:var(--teal); margin:0;
}
.hero-note a{color:var(--teal); font-weight:700;}
.hero-note a:hover{color:var(--navy);}

/* ---------- Section dividers (signature motif) ---------- */
.divider{
  color:var(--teal-soft);
  opacity:0.55;
  height:24px;
  margin:0 auto;
  max-width:var(--max-w);
  padding:0 24px;
}
.divider svg{width:100%; height:100%; display:block;}

/* ---------- Generic sections ---------- */
.section{padding:76px 0;}
.section-alt{background:linear-gradient(135deg, rgba(238,242,255,.9), rgba(255,255,255,.88)); border-top:1px solid rgba(15,23,42,0.06); border-bottom:1px solid rgba(15,23,42,0.06);}
.section-title{
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(1.8rem, 3.2vw, 2.4rem);
  color:var(--navy);
  margin:0 0 16px;
  max-width:780px;
  letter-spacing:-0.02em;
}
.section-lead{
  font-size:1rem; max-width:700px; color:var(--navy-ink); opacity:0.82;
  margin:0 0 36px;
}

.pillars{
  display:grid; grid-template-columns:repeat(12, 1fr); gap:18px;
}
.pillar{
  grid-column:span 4;
  background:var(--ivory-card);
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px 24px;
  min-height:220px;
}
.pillar-large{grid-column:span 7; min-height:242px;}
.pillar-wide{grid-column:span 8;}
.pillar-mark{
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:50%;
  background:var(--gradient-accent); color:#fff;
  font-family:var(--font-display); font-weight:700; font-size:15px;
  margin-bottom:16px;
  box-shadow:0 14px 30px -16px rgba(79,70,229,0.45);
}
.pillar h3{font-family:var(--font-display); font-size:1.15rem; margin:0 0 8px; color:var(--navy);}
.pillar p{margin:0; font-size:0.95rem; opacity:0.82;}

@media (max-width:860px){
  .pillars{grid-template-columns:1fr;}
  .pillar, .pillar-large, .pillar-wide{grid-column:auto;}
}

/* ---------- Steps ---------- */
.steps{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px;
  counter-reset:step;
}
.step{
  position:relative;
  padding:24px 22px;
  border-radius:24px;
  background:rgba(255,255,255,0.86);
  border:1px solid var(--line);
  box-shadow:0 16px 38px -24px rgba(15,23,42,0.22);
}
.step-num{
  font-family:var(--font-display); font-weight:700;
  font-size:34px; color:var(--accent, var(--teal)); margin-bottom:10px;
}
.step h3{font-family:var(--font-display); font-size:1.08rem; margin:0 0 8px; color:var(--navy);}
.step p{margin:0; opacity:0.82; font-size:0.95rem;}

@media (max-width:860px){
  .steps{grid-template-columns:1fr; gap:16px;}
}

/* ---------- Membership tiers ---------- */
.tier-cards{
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px;
  margin-bottom:64px;
}
.tier-card{
  background:var(--ivory-card);
  border:1px solid var(--line);
  border-radius:20px;
  padding:32px 28px;
  display:flex; flex-direction:column;
}
.tier-card-featured{
  background:var(--navy); color:var(--ivory);
  box-shadow:var(--shadow);
  transform:translateY(-6px);
}
.tier-card-featured .tier-eyebrow{color:var(--gold-soft);}
.tier-card-featured h3, .tier-card-featured .tier-price{color:var(--ivory);}
.tier-card-featured .tier-list li::before{color:var(--gold-soft);}
.tier-eyebrow{
  font-size:12px; text-transform:uppercase; letter-spacing:0.1em;
  color:var(--teal); font-weight:700; margin:0 0 10px;
}
.tier-card h3{font-family:var(--font-display); font-size:23px; margin:0 0 6px; color:var(--navy);}
.tier-price{font-weight:700; font-size:17px; margin:0 0 20px;}
.tier-list{list-style:none; margin:0; padding:0; font-size:14.5px;}
.tier-list li{
  position:relative; padding-left:22px; margin-bottom:12px; opacity:0.92;
}
.tier-list li::before{
  content:"—"; position:absolute; left:0; color:var(--teal); font-weight:700;
}

@media (max-width:900px){
  .tier-cards{grid-template-columns:1fr;}
  .tier-card-featured{transform:none;}
}

/* ---------- Elite table ---------- */
.elite-table-wrap{
  border-top:1px solid var(--line);
  padding-top:56px;
}
.elite-title{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(1.4rem,2.6vw,1.9rem); color:var(--navy); margin:0 0 14px;
}
.elite-table{
  border:1px solid var(--line); border-radius:16px; overflow:hidden;
  background:var(--ivory-card);
}
.elite-row{
  display:grid; grid-template-columns:180px 1fr 140px;
  gap:20px; padding:22px 26px; align-items:center;
  border-bottom:1px solid var(--line);
}
.elite-row:last-child{border-bottom:none;}
.elite-row-head{
  background:var(--navy); color:var(--ivory);
  font-size:13px; text-transform:uppercase; letter-spacing:0.08em; font-weight:700;
  padding:16px 26px;
}
.elite-tier-name{
  font-family:var(--font-display); font-weight:600; font-size:19px; color:var(--navy);
  display:flex; flex-direction:column;
}
.elite-tier-name span{
  font-family:var(--font-body); font-weight:500; font-size:12.5px;
  color:var(--teal); text-transform:uppercase; letter-spacing:0.06em; margin-top:2px;
}
.elite-fee{font-weight:700; font-size:17px; color:var(--navy); text-align:right;}
.elite-row-top{background:var(--gold-soft);}
.fine-print{font-size:13px; opacity:0.7; margin-top:18px;}
.fine-print.center{text-align:center;}

@media (max-width:760px){
  .elite-row{grid-template-columns:1fr; text-align:left; gap:8px;}
  .elite-fee{text-align:left;}
  .elite-row-head{display:none;}
}

/* ---------- Privacy ---------- */
.privacy-wrap{
  display:grid; grid-template-columns:1.4fr 1fr; gap:56px; align-items:center;
}
.pledge-list{list-style:none; margin:0; padding:0;}
.pledge-list li{
  position:relative; padding:12px 0 12px 30px;
  border-bottom:1px solid var(--line);
  font-size:15.5px;
}
.pledge-list li:last-child{border-bottom:none;}
.pledge-list li::before{
  content:""; position:absolute; left:0; top:18px;
  width:12px; height:12px; border:2px solid var(--gold); border-radius:50%;
}
.privacy-badge{display:flex; justify-content:center;}
.badge-ring{
  width:220px; height:220px; border-radius:50%;
  border:3px solid var(--navy);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  position:relative;
  background:var(--ivory-card);
}
.badge-ring::before{
  content:""; position:absolute; inset:12px; border:1.5px solid var(--gold); border-radius:50%;
}
.badge-word{font-family:var(--font-display); font-weight:600; font-size:26px; color:var(--navy); letter-spacing:0.02em;}
.badge-word2{font-family:var(--font-body); font-weight:700; font-size:13px; letter-spacing:0.18em; color:var(--gold); margin-top:4px;}

@media (max-width:860px){
  .privacy-wrap{grid-template-columns:1fr;}
  .privacy-badge{order:-1;}
}

/* ---------- Contact ---------- */
.contact-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:22px;
}
.contact-card{
  display:flex; flex-direction:column; gap:6px;
  background:var(--ivory-card); border:1px solid var(--line); border-radius:14px;
  padding:20px 22px; text-decoration:none;
  transition:border-color .2s ease, transform .15s ease;
}
.contact-card:hover{border-color:var(--teal); transform:translateY(-2px);}
.contact-label{font-size:12.5px; text-transform:uppercase; letter-spacing:0.08em; color:var(--teal); font-weight:700;}
.contact-value{font-size:15.5px; color:var(--navy); font-weight:600;}

@media (max-width:760px){
  .contact-grid{grid-template-columns:1fr;}
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--navy); color:var(--ivory);
  padding:56px 0 34px;
}
.footer-logo{
  height:40px; width:auto; margin-bottom:24px;
  filter:brightness(0) invert(1);
  opacity:0.92;
}
.footer-legal{font-size:13.5px; opacity:0.8; max-width:720px; margin:0 0 16px;}
.footer-disclaimer{font-size:13.5px; opacity:0.72; max-width:760px; margin:0 0 24px; line-height:1.7;}
.footer-copy{font-size:12.5px; opacity:0.6; margin:0;}
.placeholder{color:var(--gold-soft); font-style:italic;}

/* ============================================
   Premium visual system (home + all pages)
   ============================================ */
.site-header{
  background:rgba(248,248,241,0.8);
  backdrop-filter:blur(24px) saturate(180%);
  -webkit-backdrop-filter:blur(24px) saturate(180%);
  border-bottom:1px solid rgba(13,52,68,0.10);
  box-shadow:0 14px 44px -28px rgba(13,52,68,0.24);
}
.site-nav a{
  position:relative; padding:6px 0; transition:color .2s ease;
}
.site-nav a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:100%; height:2px;
  background:linear-gradient(90deg, var(--gold), var(--teal)); border-radius:999px;
  transform:scaleX(0); transform-origin:left; transition:transform .25s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after{ transform:scaleX(1); }

.hero{
  padding:92px 0 84px;
}
.hero-shell{
  position:relative; overflow:hidden;
  padding:42px; border-radius:32px;
  background:linear-gradient(135deg, rgba(255,255,255,0.96), rgba(239,243,255,0.92));
  backdrop-filter:blur(24px) saturate(160%);
  -webkit-backdrop-filter:blur(24px) saturate(160%);
  border:1px solid rgba(255,255,255,0.78);
  box-shadow:var(--shadow-strong);
}
.hero-shell::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(340px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(79,70,229,0.16), transparent 70%);
  pointer-events:none; opacity:0.95;
}
.hero-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.1fr 0.9fr; gap:24px; align-items:center;
}
.hero-copy{text-align:left;}
.hero-arcs{ position:absolute; inset:0; pointer-events:none; color: var(--teal-soft); opacity:0.24; }
.arc{position:absolute; width:520px; height:520px;}
.arc-a{top:-140px; right:-160px;}
.arc-b{bottom:-200px; left:-180px; color:var(--gold-soft); opacity:0.7;}
.eyebrow{
  letter-spacing:0.16em; text-transform:uppercase; font-size:13px; font-weight:700;
  color:var(--teal); margin:0 0 16px;
}
.hero-title{
  font-family:var(--font-display); font-weight:800; font-size:clamp(2.6rem, 5.2vw, 4.5rem);
  line-height:1.02; letter-spacing:-0.03em; margin:0 0 20px; color:var(--navy);
}
.hero-sub{
  font-size:1.05rem; line-height:1.8; max-width:650px; margin:0 0 28px; color:var(--navy-ink); opacity:0.85;
}
.hero-actions{ display:flex; gap:14px; justify-content:flex-start; flex-wrap:wrap; margin-bottom:22px; }
.hero-highlights{ display:flex; flex-wrap:wrap; gap:10px; }
.hero-highlights span{
  display:inline-flex; align-items:center; gap:7px; padding:8px 12px; border-radius:999px;
  font-size:0.92rem; font-weight:600; color:var(--teal); background:rgba(79,70,229,0.08);
}
.hero-showcase{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.hero-card{
  padding:18px 18px 20px; border-radius:22px; background:rgba(255,255,255,0.84);
  border:1px solid rgba(15, 23, 42, 0.10); box-shadow:0 14px 34px -24px rgba(15, 23, 42, 0.28);
}
.hero-card-main{ grid-column:1 / -1; min-height:210px; background:linear-gradient(135deg, rgba(79,70,229,0.12), rgba(255,255,255,0.95)); }
.hero-card strong{ display:block; font-size:1.45rem; color:var(--navy); margin-bottom:6px; }
.hero-card p{ margin:0; font-size:0.95rem; color:var(--navy-ink); opacity:0.8; }
.hero-note a{ color:var(--teal); font-weight:700; }
.hero-note a:hover{ color:var(--navy); }

.section{ padding:84px 0; }
.section-alt{
  background:linear-gradient(135deg, rgba(230,229,216,0.62), rgba(247,247,240,0.9));
  border-top:1px solid rgba(13,52,68,0.06);
  border-bottom:1px solid rgba(13,52,68,0.06);
}
.section-title{
  position:relative; display:inline-block; padding-bottom:8px; margin-bottom:20px;
  text-shadow:0 1px 0 rgba(255,255,255,0.6);
}
.section-title::after{
  content:""; position:absolute; left:0; bottom:0; width:74px; height:3px;
  border-radius:999px; background:linear-gradient(90deg, var(--gold), var(--teal));
}
.section-lead{ font-size:17px; line-height:1.8; }

.pillar, .tier-card, .step, .payment-card, .contact-card, .auth-card, .dash-card, .photo-slot, .elite-table, .notice-box, .share-row, .admin-table-wrap, .modal-card {
  background:rgba(255,255,255,0.78);
  backdrop-filter:blur(16px) saturate(140%);
  -webkit-backdrop-filter:blur(16px) saturate(140%);
  border:1px solid rgba(13,52,68,0.12);
  box-shadow:var(--shadow-soft);
}
.pillar, .tier-card, .step, .payment-card, .contact-card{
  transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.pillar:hover, .tier-card:hover, .step:hover, .payment-card:hover, .contact-card:hover, .photo-slot:hover{
  transform:translateY(-8px) scale(1.01);
  box-shadow:0 26px 64px -30px rgba(13,52,68,0.34);
  border-color:rgba(86,119,125,0.4);
}
.pillar{
  border-radius:24px; padding:30px 26px; position:relative; overflow:hidden;
}
.pillar::before{
  content:""; position:absolute; inset:auto -20px -30px auto; width:160px; height:160px;
  border-radius:50%; background:radial-gradient(circle, rgba(184,146,63,0.12), transparent 70%);
}
.pillar-mark{
  width:40px; height:40px; border-radius:50%; background:var(--gradient-accent); color:#fff;
  box-shadow:0 14px 28px -14px rgba(13,52,68,0.4);
}
.tier-card{
  border-radius:24px; padding:32px 28px; position:relative; overflow:hidden;
}
.tier-card-featured{
  background:linear-gradient(135deg, var(--navy), #154c5a 60%, #0f3b4a);
  color:#fff; border-color:rgba(255,255,255,0.15); box-shadow:0 28px 60px -22px rgba(13,52,68,0.5);
}
.tier-card-featured:hover{ transform:translateY(-10px) scale(1.02); }
.tier-card-featured h3, .tier-card-featured .tier-price, .tier-card-featured .tier-eyebrow{ color:#fff; }
.tier-card-featured .tier-list li::before{ color:var(--gold-soft); }

.elite-table{
  border-radius:22px; overflow:hidden; border:1px solid rgba(13,52,68,0.12);
}
.elite-row{ transition:background .2s ease; }
.elite-row:hover{ background:rgba(255,255,255,0.7); }
.elite-row-top{ background:linear-gradient(90deg, rgba(231,214,172,0.75), rgba(255,255,255,0.86)); }

.payment-card{
  border-radius:20px; padding:22px; border-top:4px solid var(--gold);
  position:relative; overflow:hidden;
}
.payment-card::before{
  content:""; position:absolute; inset:auto auto -18px -8px; width:130px; height:130px;
  border-radius:50%; background:radial-gradient(circle, rgba(184,146,63,0.1), transparent 70%);
}
.copy-btn{
  position:relative; overflow:hidden; border:none; font-weight:700; border-radius:999px;
  background:linear-gradient(135deg, rgba(255,255,255,0.95), rgba(238,238,229,0.94));
  color:var(--navy); box-shadow:0 12px 26px -18px rgba(13,52,68,0.3);
}
.copy-btn::before{
  content:""; position:absolute; inset:0; background:linear-gradient(120deg, transparent 12%, rgba(255,255,255,0.35), transparent 88%);
  transform:translateX(-120%); transition:transform .7s ease;
}
.copy-btn:hover::before{ transform:translateX(120%); }
.copy-btn.copied{ background:linear-gradient(135deg, #2c5a22, #3f7a34); color:#fff; }

.auth-shell{ padding:72px 0 90px; }
.auth-card, .dash-card{
  border-radius:28px; padding:36px 32px; box-shadow:0 24px 46px rgba(13,52,68,0.12);
  background:rgba(255,255,255,0.94); border:1px solid rgba(13,52,68,0.08);
}
.auth-card h1, .dash-header h1{ letter-spacing:-0.01em; }

.btn{
  position:relative; overflow:hidden; letter-spacing:0.01em; border:1.5px solid transparent;
  box-shadow:0 16px 34px -20px rgba(13,52,68,0.36);
}
.btn::before{
  content:""; position:absolute; inset:0; background:linear-gradient(120deg, transparent 12%, rgba(255,255,255,0.22), transparent 88%);
  transform:translateX(-120%); transition:transform .7s ease;
}
.btn:hover::before{ transform:translateX(120%); }
.btn-primary{
  background:linear-gradient(135deg, var(--navy), #17495a 55%, var(--teal));
  color:#fff;
}
.btn-primary:hover{ background:linear-gradient(135deg, #103645, var(--navy), var(--teal)); }
.btn-ghost{
  background:rgba(255,255,255,0.72); color:var(--navy); border-color:rgba(13,52,68,0.14);
  backdrop-filter:blur(8px);
}
.btn-ghost:hover{ background:linear-gradient(135deg, var(--navy), var(--teal)); color:#fff; }
.btn-google{ background:rgba(255,255,255,0.96); border-color:rgba(13,52,68,0.12); }
.upload-picker,
.upload-progress-shell{
  background:rgba(255,255,255,0.8); border:1px solid rgba(13,52,68,0.12);
  box-shadow:0 14px 32px -22px rgba(13,52,68,0.24);
}
.upload-picker:hover{ transform:translateY(-2px); box-shadow:0 18px 32px -20px rgba(13,52,68,0.34); }

.field input,
.field select,
.field textarea{
  background:rgba(255,255,255,0.94);
  border:1.5px solid rgba(13,52,68,0.12);
  border-radius:16px;
  box-shadow:inset 0 1px 2px rgba(13,52,68,0.04);
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:rgba(86,119,125,0.7);
  box-shadow:0 0 0 4px rgba(86,119,125,0.15), inset 0 1px 2px rgba(13,52,68,0.04);
}

.tier-badge{
  box-shadow:0 10px 26px -18px rgba(13,52,68,0.35);
}
.verify-pill{ box-shadow:0 6px 16px -12px rgba(13,52,68,0.22); }

.site-footer{
  background:linear-gradient(135deg, rgba(13,52,68,0.98), rgba(8,30,38,0.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08);
}
.footer-social a{
  transform:translateY(0); transition:transform .25s ease, background .25s ease, border-color .25s ease;
}
.footer-social a:hover{
  transform:translateY(-2px) scale(1.04);
  background:rgba(255,255,255,0.14); border-color:rgba(255,255,255,0.3);
}

@media (max-width:860px){
  .hero{ padding:76px 0 72px; }
  .hero-shell{ padding:28px 24px; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-copy{ text-align:left; }
  .hero-actions{ justify-content:flex-start; }
  .section{ padding:72px 0; }
}

@media (prefers-reduced-motion: reduce){
  body::before, body::after, .hero-shell::after, .pillars .pillar, .tier-card, .step, .payment-card, .contact-card{ animation:none !important; }
}

/* ============================================
   Nav auth links (header)
   ============================================ */
.nav-auth{
  display:flex; align-items:center; gap:16px;
  margin-left:20px; font-size:14.5px; font-weight:500;
}
.nav-auth a{text-decoration:none; color:var(--navy);}
.nav-auth a:hover{color:var(--teal);}
.mobile-nav-auth{
  display:flex; flex-direction:column; gap:4px;
  padding-top:10px; margin-top:6px; border-top:1px solid var(--line);
}
.mobile-nav-auth a{padding:8px 0; text-decoration:none; color:var(--navy); font-weight:500;}

@media (max-width:860px){
  .nav-auth{display:none;}
}

/* ============================================
   Footer links row
   ============================================ */
.footer-links{font-size:13.5px; margin:0 0 18px;}
.footer-links a{color:var(--ivory); opacity:0.85; text-decoration:underline; text-underline-offset:3px;}
.footer-links a:hover{opacity:1;}

/* ============================================
   Payment account detail cards (index page)
   ============================================ */
.payment-cards{
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:20px;
}
.payment-card{
  display:flex; flex-direction:column; gap:6px;
  background:var(--ivory-card); border:1.5px solid var(--line); border-radius:16px;
  padding:22px 22px;
  border-top:4px solid var(--gold);
}
.payment-card-label{
  font-size:12.5px; text-transform:uppercase; letter-spacing:0.07em; font-weight:700;
  color:var(--teal); margin-bottom:2px;
}
.payment-card-value{
  font-family:var(--font-display); font-weight:600; font-size:19px; color:var(--navy);
}
.payment-card-sub{font-size:13px; color:var(--navy-ink); opacity:0.8;}
.payment-card-iban{font-weight:600; letter-spacing:0.01em;}

.payment-card-label-jazzcash{color:#B8003D;}
.payment-card-label-upaisa{color:#F5821F;}
.payment-card-label-easypaisa{color:#0C8B44;}
.payment-card-label-bank{color:var(--teal);}
.payment-card-bank{border-top-color:var(--navy);}

@media (max-width:860px){
  .payment-cards{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:560px){
  .payment-cards{grid-template-columns:1fr;}
}

/* ============================================
   Generic inner pages (profile-format, auth pages)
   ============================================ */
.page-head{padding-bottom:36px;}
.page-title{margin-bottom:22px;}
.notice-box{
  border:1.5px solid var(--gold); border-radius:14px;
  padding:18px 22px; background:var(--gold-soft);
  max-width:680px; margin-top:10px;
}
.notice-box p{margin:0 0 6px; font-size:14.5px; color:var(--navy-ink);}
.notice-box p:last-child{margin-bottom:0;}

.format-heading{
  font-family:var(--font-display); font-weight:600; color:var(--navy);
  font-size:22px; margin:36px 0 14px;
}
.format-heading:first-child{margin-top:0;}
.format-list{
  list-style:none; margin:0 0 8px; padding:0;
  max-width:680px;
}
.format-list li{
  position:relative; padding:10px 0 10px 24px;
  border-bottom:1px solid var(--line);
  font-size:15px;
}
.format-list li::before{
  content:"—"; position:absolute; left:0; color:var(--teal); font-weight:700;
}
.format-cta{
  display:flex; gap:16px; flex-wrap:wrap; margin-top:34px;
}

/* ============================================
   Auth forms (signup / login) & dashboard forms
   ============================================ */
input[type="file"]{ display:none; }
.upload-picker{
  display:flex; align-items:center; justify-content:center; width:100%; padding:13px 18px;
  border-radius:999px; border:1px solid rgba(13,52,68,0.14); background:linear-gradient(135deg, rgba(255,255,255,0.94), rgba(238,238,229,0.95));
  color:var(--navy); font-weight:600; cursor:pointer; box-shadow:0 10px 26px -18px rgba(13,52,68,0.28); transition:transform .2s ease, box-shadow .2s ease;
}
.upload-picker:hover{transform:translateY(-1px); box-shadow:0 16px 30px -20px rgba(13,52,68,0.35);}
.upload-picker span{display:inline-flex; align-items:center; gap:8px;}
.upload-picker span::before{content:"＋"; font-size:16px; color:var(--gold);}
.upload-progress-shell{margin-top:10px; padding:12px 14px; border-radius:14px; background:rgba(255,255,255,0.72); border:1px solid rgba(13,52,68,0.1);}
.upload-progress-bar{position:relative; width:100%; height:8px; border-radius:999px; background:rgba(13,52,68,0.08); overflow:hidden;}
.upload-progress-fill{height:100%; width:0%; border-radius:999px; background:linear-gradient(90deg, var(--teal), var(--gold)); transition:width .25s ease;}
.upload-progress-meta{margin:8px 0 0; font-size:13px; color:var(--teal); font-weight:600;}

.auth-shell{
  max-width:520px; margin:0 auto; padding:62px 0 80px;
}
.auth-card{
  background:rgba(255,255,255,0.96); border:1px solid rgba(17,57,85,0.12);
  border-radius:28px; padding:42px 36px; box-shadow:0 28px 68px rgba(12,47,75,0.14);
}
.auth-card h1{
  font-family:var(--font-display); font-weight:700; color:var(--navy);
  font-size:32px; margin:0 0 10px; letter-spacing:-0.02em;
}
.auth-card .auth-sub{font-size:15px; opacity:0.8; margin:0 0 28px; line-height:1.7;}

.field{margin-bottom:18px;}
.field label{
  display:block; font-size:13.5px; font-weight:700; color:var(--navy);
  margin-bottom:6px; letter-spacing:0.01em;
}
.field input,
.field select,
.field textarea{
  width:100%; font-family:var(--font-body); font-size:15px;
  padding:16px 18px; border-radius:20px;
  border:1.5px solid rgba(13,52,68,0.12); background:rgba(255,255,255,0.96); color:var(--navy-ink);
  box-shadow:inset 0 1px 5px rgba(13,52,68,0.05);
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none; border-color:rgba(27,117,120,0.65); box-shadow:0 0 0 4px rgba(27,117,120,0.14);
}
.field textarea{resize:vertical; min-height:100px;}
.field-hint{font-size:13px; opacity:0.72; margin-top:6px;}
.field-row{display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:flex-end;}
@media (max-width:720px){.field-row{grid-template-columns:1fr;}}
@media (max-width:520px){.field-row{grid-template-columns:1fr;}}

.form-actions{margin-top:18px;}
.btn-block{width:100%; text-align:center;}

.gender-group .gender-options{
  display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px;
}
.gender-option{
  display:flex; align-items:center; justify-content:center; gap:10px;
  padding:16px 14px; border-radius:18px;
  border:1.5px solid rgba(13,52,68,0.14);
  background:rgba(255,255,255,0.96); color:var(--navy);
  font-weight:700; cursor:pointer; transition:border-color .2s ease, transform .2s ease, background .2s ease;
}
.gender-option input{position:absolute; opacity:0; pointer-events:none;}
.gender-option:hover{transform:translateY(-1px); border-color:rgba(27,117,120,0.35);}
.gender-option input:checked + span{color:var(--teal);}
.gender-option input:checked + span::before{content:'●'; margin-right:6px; color:var(--teal);}

.consent-card{
  background:rgba(14,51,64,0.05); border:1px solid rgba(13,52,68,0.12);
  border-radius:20px; padding:18px 16px;
}
.consent-label{
  display:flex; gap:12px; align-items:flex-start; font-size:14px; color:var(--navy-ink);
}
.consent-label input{margin-top:3px; width:18px; height:18px;}

.phone-row .phone-country{max-width:190px;}
.phone-row .phone-number{flex:1;}

@media (max-width:720px){
  .phone-row .phone-country{max-width:none;}
}

.btn-google{
  display:flex; align-items:center; justify-content:center; gap:12px;
  background:#fff; color:#202F3A; border:1.5px solid rgba(13,52,68,0.14);
  font-family:var(--font-body); font-weight:700; font-size:15px;
  border-radius:999px; padding:14px 24px; cursor:pointer;
  box-shadow:0 14px 26px rgba(13,52,68,0.12);
  transition:transform .2s ease, border-color .15s ease, background .15s ease;
}
.btn-google:hover{background:#FBFBFA; transform:translateY(-1px); border-color:rgba(13,52,68,0.2);}
.btn-google:hover{background:#F7F7F5; border-color:var(--teal);}
.btn-google:disabled{opacity:0.6; cursor:default;}

.auth-divider{
  display:flex; align-items:center; gap:14px;
  margin:22px 0; font-size:12.5px; color:var(--teal);
  text-transform:uppercase; letter-spacing:0.08em;
}
.auth-divider::before, .auth-divider::after{
  content:""; flex:1; height:1px; background:var(--line);
}

.auth-switch{
  text-align:center; font-size:14px; margin-top:22px; opacity:0.85;
}
.auth-switch a{color:var(--teal); font-weight:600; text-decoration:none;}
.auth-switch a:hover{text-decoration:underline;}

.alert{
  border-radius:12px; padding:13px 16px; font-size:14px;
  margin-bottom:18px; display:none;
}
.alert.show{display:block;}
.alert-error{background:#FBE7E7; color:#8A2A2A; border:1px solid #E5B4B4;}
.alert-success{background:#E5F2E1; color:#2C5A22; border:1px solid #B9DBAE;}
.alert-info{background:var(--gold-soft); color:var(--navy-ink); border:1px solid var(--gold);}

/* ============================================
   Badges (tier pills — used in dashboard/admin)
   ============================================ */
.tier-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 18px; border-radius:999px;
  font-weight:700; font-size:13.5px; letter-spacing:0.02em;
  background:var(--ivory-alt); color:var(--navy); border:1.5px solid var(--line);
}
.tier-badge::before{content:"●"; font-size:10px; color:var(--teal);}
.tier-badge-premium{background:var(--navy); color:var(--ivory); border-color:var(--navy);}
.tier-badge-premium::before{color:var(--gold-soft);}
.tier-badge-elite1,.tier-badge-elite2,.tier-badge-elite3,.tier-badge-elite4{
  background:var(--gold-soft); color:var(--navy); border-color:var(--gold);
}
.tier-badge-elite4::before{content:"★";}

.verify-pill{
  display:inline-flex; align-items:center; gap:6px;
  padding:5px 12px; border-radius:999px; font-size:12.5px; font-weight:600;
  background:#EDEDE2; color:#777763; border:1px solid var(--line);
}
.verify-pill.done{background:#E5F2E1; color:#2C5A22; border-color:#B9DBAE;}
.verify-pill.done::before{content:"✓ "; }
.verify-pill.pending::before{content:"— ";}

/* ============================================
   Dashboard layout
   ============================================ */
.dash-header{
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:16px; margin-bottom:36px;
}
.dash-header h1{
  font-family:var(--font-display); font-weight:600; color:var(--navy);
  font-size:clamp(1.6rem,3vw,2.1rem); margin:0 0 6px;
}
.dash-welcome{opacity:0.75; font-size:14.5px; margin:0;}

.dash-grid{
  display:grid; grid-template-columns:1.3fr 1fr; gap:28px; align-items:start;
}
@media (max-width:900px){ .dash-grid{grid-template-columns:1fr;} }

.dash-card{
  background:rgba(247,247,240,0.88); border:1px solid rgba(13,52,68,0.10);
  border-radius:22px; padding:28px 26px; margin-bottom:24px; box-shadow:0 20px 42px -26px rgba(13,52,68,0.22);
}
.dash-card h2{
  font-family:var(--font-display); font-weight:600; color:var(--navy);
  font-size:19px; margin:0 0 18px;
}
.dash-card-row{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 0; border-bottom:1px solid var(--line); font-size:14.5px;
}
.dash-card-row:last-child{border-bottom:none;}
.dash-card-row .label{opacity:0.7;}

.completion-summary{
  display:flex; align-items:center; justify-content:space-between;
  gap:18px; margin-bottom:14px;
}
.completion-percent{
  font-size:1.85rem; font-weight:700; color:var(--navy);
  min-width:72px; text-align:center;
}
.completion-bar{
  flex:1; background:rgba(13,52,68,0.1); border-radius:999px; height:16px;
  overflow:hidden; box-shadow:inset 0 1px 2px rgba(13,52,68,0.08);
}
.completion-fill{
  height:100%; width:0%; background:linear-gradient(90deg, #4F86FF 0%, #1E3A8A 100%);
  border-radius:999px; transition:width 0.3s ease;
}

.verify-grid{display:flex; flex-wrap:wrap; gap:8px;}

.section-divider-line{border:none; border-top:1px solid var(--line); margin:20px 0;}

/* ============================================
   Admin table
   ============================================ */
.admin-toolbar{
  display:flex; gap:14px; flex-wrap:wrap; align-items:center;
  margin-bottom:22px;
}
.admin-toolbar input[type="search"]{
  padding:11px 14px; border-radius:10px; border:1.5px solid var(--line);
  font-size:14px; min-width:220px; font-family:var(--font-body);
}
.admin-toolbar select{
  padding:11px 14px; border-radius:10px; border:1.5px solid var(--line);
  font-size:14px; font-family:var(--font-body); background:#fff;
}
.admin-table-wrap{overflow-x:auto; border:1px solid var(--line); border-radius:16px; background:var(--ivory-card);}
.admin-table{width:100%; border-collapse:collapse; font-size:14px; min-width:760px;}
.admin-table th{
  text-align:left; padding:14px 16px; background:var(--navy); color:var(--ivory);
  font-size:12.5px; text-transform:uppercase; letter-spacing:0.06em;
}
.admin-table td{padding:14px 16px; border-bottom:1px solid var(--line); vertical-align:top;}
.admin-table tr:last-child td{border-bottom:none;}
.admin-row-name{font-weight:700; color:var(--navy);}
.admin-row-email{opacity:0.65; font-size:12.5px;}

.admin-expand{
  display:none; background:var(--ivory-alt); border-top:1px solid var(--line);
}
.admin-expand.open{display:table-row;}
.admin-expand-inner{padding:20px 22px;}
.admin-detail-grid{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px;
  margin-bottom:18px;
}
.admin-check-grid{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px;}
.admin-check-grid label{
  display:flex; align-items:center; gap:7px; font-size:13.5px;
  background:#fff; border:1px solid var(--line); border-radius:999px; padding:7px 13px;
  cursor:pointer;
}
.btn-tiny{padding:8px 16px; font-size:13px;}

.loading-row td{text-align:center; padding:32px; opacity:0.6; font-style:italic;}
.access-denied{
  max-width:520px; margin:80px auto; text-align:center;
}
.access-denied h1{font-family:var(--font-display); color:var(--navy); font-size:24px;}

/* ============================================
   FIX: nav-auth link specificity bug — the
   "Create account" button was rendering navy
   text on a navy background because ".nav-auth a"
   (2 selectors) beat ".btn-primary" (1 selector).
   ============================================ */
.nav-auth a.btn{
  color:var(--ivory);
}
.nav-auth a.btn-ghost,
.mobile-nav-auth a.btn-ghost{
  color:var(--navy);
}
.mobile-nav-auth a.btn{
  display:inline-block; margin-top:4px;
}

/* ============================================
   Ambient background wash (glassmorphism backdrop)
   Sits behind everything on every page so translucent
   "glass" cards have soft colour to blur against.
   ============================================ */
body{
  position:relative;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(38rem 30rem at 8% -6%, rgba(184,146,63,0.16), transparent 60%),
    radial-gradient(34rem 28rem at 96% 10%, rgba(86,119,125,0.20), transparent 60%),
    radial-gradient(40rem 32rem at 50% 105%, rgba(185,112,122,0.14), transparent 60%),
    var(--ivory);
  background-attachment:fixed;
}

.site-header, .dash-card, .auth-card, .photo-slot, .admin-table-wrap, .tier-card, .pillar, .payment-card, .contact-card, .modal-card, .notice-box, .share-row {
  animation:fadeUp .45s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes fadeUp{
  from{ opacity:0; transform:translateY(12px); }
  to{ opacity:1; transform:translateY(0); }
}
@media (prefers-reduced-motion: no-preference){
  body::before{
    animation:ambientDrift 26s ease-in-out infinite alternate;
  }
}
@keyframes ambientDrift{
  0%{ background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
  100%{ background-position: 4% 3%, 96% 6%, 54% 96%, 0 0; }
}

/* ============================================
   Glassmorphism utility
   ============================================ */
.glass{
  background:rgba(255,255,255,0.52);
  backdrop-filter:blur(16px) saturate(140%);
  -webkit-backdrop-filter:blur(16px) saturate(140%);
  border:1px solid rgba(255,255,255,0.65);
  box-shadow:0 18px 44px -24px rgba(13,52,68,0.32), inset 0 1px 0 rgba(255,255,255,0.5);
}

/* ============================================
   Motion: consistent hover-lift for all card types
   ============================================ */
.pillar, .tier-card, .payment-card, .contact-card,
.dash-card, .auth-card, .admin-table-wrap, .elite-table{
  transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.pillar:hover, .tier-card:hover, .payment-card:hover, .contact-card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 46px -22px rgba(13,52,68,0.28);
  border-color:rgba(86,119,125,0.5);
}
.tier-card-featured:hover{
  transform:translateY(-10px);
}

.btn{
  transition:transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .2s ease, color .2s ease;
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px -12px rgba(13,52,68,0.55);
}
.btn-ghost:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px -14px rgba(13,52,68,0.35);
}

/* Hero arcs — slow ambient drift */
@media (prefers-reduced-motion: no-preference){
  .arc-a{ animation:floatA 16s ease-in-out infinite; }
  .arc-b{ animation:floatB 19s ease-in-out infinite; }
}
@keyframes floatA{
  0%,100%{ transform:translate(0,0) rotate(0deg); }
  50%{ transform:translate(-14px, 12px) rotate(4deg); }
}
@keyframes floatB{
  0%,100%{ transform:translate(0,0) rotate(0deg); }
  50%{ transform:translate(12px, -10px) rotate(-3deg); }
}

/* Verified badge ring — soft glow pulse */
.badge-ring{
  box-shadow:0 0 0 0 rgba(184,146,63,0.35);
}
@media (prefers-reduced-motion: no-preference){
  .badge-ring{ animation:badgePulse 3.6s ease-in-out infinite; }
}
@keyframes badgePulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(184,146,63,0.30); }
  50%{ box-shadow:0 0 0 14px rgba(184,146,63,0); }
}

/* ============================================
   Icon badges (contact cards, footer, payment cards)
   ============================================ */
.icon-badge{
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:50%; flex-shrink:0;
  background:rgba(255,255,255,0.7);
  border:1.5px solid var(--line);
  color:var(--navy);
}
.icon-badge svg{width:20px; height:20px;}

.contact-card{
  display:flex; flex-direction:row; align-items:center; gap:14px;
}
.contact-card .contact-text{display:flex; flex-direction:column; gap:3px;}

.icon-badge-whatsapp{color:#1F9E58; border-color:#BFE6D0;}
.icon-badge-facebook{color:#3159A6; border-color:#C7D3EE;}
.icon-badge-instagram{color:#B23A78; border-color:#EFCBDE;}
.icon-badge-tiktok{color:#111827; border-color:#D8D8D8;}
.icon-badge-youtube{color:#C4291F; border-color:#F2C9C5;}
.icon-badge-email{color:var(--teal); border-color:var(--line);}

.icon-badge-jazzcash{color:#B8003D; border-color:#F0C4D2;}
.icon-badge-upaisa{color:#D96A17; border-color:#F5D8BC;}
.icon-badge-easypaisa{color:#0C8B44; border-color:#BFE6D0;}
.icon-badge-bank{color:var(--navy); border-color:var(--line);}

.payment-card{display:flex; flex-direction:row; align-items:flex-start; gap:14px;}
.payment-card-text{display:flex; flex-direction:column; gap:2px;}

/* ============================================
   Full-size image viewer
   ============================================ */
.image-modal{
  position:fixed; inset:0; z-index:600; display:none; align-items:center; justify-content:center; padding:24px;
}
.image-modal.open{ display:flex; }
.image-modal-backdrop{
  position:absolute; inset:0; background:rgba(10,28,36,0.80); backdrop-filter:blur(10px);
}
.image-modal-shell{
  position:relative; width:min(92vw, 920px); max-height:90vh; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.95); border:1px solid rgba(255,255,255,0.75); border-radius:24px; box-shadow:0 32px 80px -28px rgba(10,28,36,0.65); overflow:hidden;
}
.image-modal-shell img{
  width:100%; max-height:90vh; object-fit:contain; display:block;
}
.image-modal-close{
  position:absolute; top:14px; right:14px; width:42px; height:42px; border:none; border-radius:50%;
  background:rgba(13,52,68,0.8); color:#fff; font-size:24px; cursor:pointer;
  box-shadow:0 14px 24px -16px rgba(10,28,36,0.6);
}

/* ============================================
   Footer social icon row
   ============================================ */
.footer-social{
  display:flex; gap:12px; margin:6px 0 24px;
}
.footer-social a{
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,0.08);
  border:1.5px solid rgba(255,255,255,0.22);
  color:var(--ivory);
  transition:transform .25s cubic-bezier(.2,.8,.2,1), background .25s ease, border-color .25s ease;
}
.footer-social a svg{width:17px; height:17px;}
.footer-social a:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,0.18);
  border-color:rgba(255,255,255,0.4);
}

@media (max-width:520px){
  .contact-card{flex-direction:row;}
}

/* ============================================
   Copy buttons (payment cards)
   ============================================ */
.payment-card{ position:relative; flex-wrap:wrap; }
.copy-btn{
  margin-left:auto;
  align-self:center;
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 14px; border-radius:999px;
  background:var(--navy); color:var(--ivory);
  border:none; font-family:var(--font-body); font-weight:600; font-size:12.5px;
  cursor:pointer;
  transition:background .2s ease, transform .2s ease;
}
.copy-btn::before{
  content:""; width:12px; height:12px; flex-shrink:0;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E") center/contain no-repeat;
}
.copy-btn:hover{ background:var(--teal); transform:translateY(-1px); }
.copy-btn.copied{ background:#2C5A22; }
.copy-btn.copied::before{ display:none; }
@media (max-width:520px){
  .copy-btn{ margin-left:0; margin-top:10px; width:100%; justify-content:center; }
}

/* ============================================
   Avatar (dashboard, admin, public profile)
   ============================================ */
.avatar{
  width:72px; height:72px; border-radius:50%;
  object-fit:cover; background:var(--ivory-alt);
  border:2.5px solid var(--gold-soft);
  flex-shrink:0;
}
.avatar-sm{ width:40px; height:40px; border:2px solid var(--line); }
.avatar-placeholder{
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:600; color:var(--navy);
  background:var(--ivory-alt);
}
.dash-header-identity{ display:flex; align-items:center; gap:18px; }

/* ============================================
   Modal (consent + payment proof)
   ============================================ */
.modal-overlay{
  position:fixed; inset:0; z-index:500;
  background:rgba(10,28,36,0.55);
  backdrop-filter:blur(4px);
  display:none; align-items:flex-start; justify-content:center;
  padding:40px 18px; overflow-y:auto;
}
.modal-overlay.open{ display:flex; }
.modal-card{
  background:rgba(247,247,240,0.92);
  backdrop-filter:blur(18px) saturate(140%);
  border:1px solid rgba(255,255,255,0.7);
  border-radius:22px; max-width:640px; width:100%;
  padding:32px 30px; box-shadow:0 30px 70px -20px rgba(10,28,36,0.5);
  animation:modalPop .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes modalPop{
  from{ opacity:0; transform:translateY(14px) scale(.98); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}
.modal-card h2{
  font-family:var(--font-display); font-weight:600; color:var(--navy);
  font-size:22px; margin:0 0 6px;
}
.modal-sub{ font-size:14px; opacity:0.75; margin:0 0 20px; }
.modal-close{
  position:absolute; top:18px; right:20px;
  background:none; border:none; font-size:22px; line-height:1; cursor:pointer;
  color:var(--navy); opacity:0.6;
}
.modal-close:hover{ opacity:1; }
.modal-card{ position:relative; }

.consent-box{
  max-height:220px; overflow-y:auto;
  border:1.5px solid var(--line); border-radius:14px;
  padding:16px 18px; margin-bottom:16px; background:rgba(255,255,255,0.6);
  font-size:13.5px; line-height:1.7;
}
.consent-en{ margin:0 0 14px; color:var(--navy-ink); }
.consent-ur{
  margin:0; color:var(--navy-ink);
  direction:rtl; text-align:right;
  font-size:15px; line-height:2.1;
  font-family:"Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
  border-top:1px dashed var(--line); padding-top:12px;
}
.consent-agree{
  display:flex; align-items:flex-start; gap:10px;
  font-size:13.5px; margin-bottom:18px; cursor:pointer;
}
.consent-agree input{ margin-top:3px; }

.phone-reminder{
  display:none;
  border:1.5px solid #C79A44; background:var(--gold-soft);
  border-radius:12px; padding:12px 16px; font-size:13.5px;
  color:var(--navy-ink); margin-bottom:16px;
}
.phone-reminder.show{ display:block; }
.phone-reminder a{ color:var(--navy); font-weight:700; }

/* ============================================
   Payment history (dashboard + admin)
   ============================================ */
.payment-history-list{ display:flex; flex-direction:column; gap:10px; }
.payment-history-item{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  border:1px solid var(--line); border-radius:14px; padding:14px 16px;
  background:rgba(255,255,255,0.55);
}
.payment-history-thumb{
  width:48px; height:48px; border-radius:10px; object-fit:cover;
  border:1px solid var(--line); flex-shrink:0; background:var(--ivory-alt);
}
.payment-history-main{ flex:1; min-width:160px; }
.payment-history-tier{ font-weight:700; color:var(--navy); font-size:14px; }
.payment-history-meta{ font-size:12.5px; opacity:0.7; margin-top:2px; }
.status-pill{
  padding:5px 12px; border-radius:999px; font-size:12px; font-weight:700;
  text-transform:uppercase; letter-spacing:0.04em;
}
.status-pill-pending{ background:var(--gold-soft); color:#7A5B1E; }
.status-pill-confirmed{ background:#E5F2E1; color:#2C5A22; }
.status-pill-rejected{ background:#FBE7E7; color:#8A2A2A; }
.payment-history-empty{ font-size:14px; opacity:0.6; font-style:italic; padding:14px 0; }

/* ============================================
   Share profile (admin + public view page)
   ============================================ */
.share-row{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  margin-top:6px;
}
.toggle-switch{
  position:relative; display:inline-block; width:42px; height:24px; flex-shrink:0;
}
.toggle-switch input{ opacity:0; width:0; height:0; }
.toggle-slider{
  position:absolute; inset:0; background:var(--ivory-alt);
  border:1.5px solid var(--line); border-radius:999px; cursor:pointer;
  transition:background .2s ease;
}
.toggle-slider::before{
  content:""; position:absolute; width:16px; height:16px; left:3px; top:2.5px;
  background:#fff; border-radius:50%; transition:transform .2s ease;
  box-shadow:0 1px 3px rgba(0,0,0,0.3);
}
.toggle-switch input:checked + .toggle-slider{ background:var(--teal); }
.toggle-switch input:checked + .toggle-slider::before{ transform:translateX(18px); }

/* ============================================
   Public profile page (view-profile.html)
   ============================================ */
.public-profile-hero{
  display:flex; align-items:center; gap:22px; flex-wrap:wrap;
  margin-bottom:8px;
}
.public-profile-name{
  font-family:var(--font-display); font-weight:600; color:var(--navy);
  font-size:clamp(1.5rem,3vw,2rem); margin:0 0 8px;
}
.public-profile-meta{ font-size:14.5px; opacity:0.75; }
.public-profile-section{ margin-top:30px; }
.public-profile-section h3{
  font-family:var(--font-display); font-weight:600; color:var(--navy);
  font-size:18px; margin:0 0 12px;
}
.public-detail-grid{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:14px;
}
.public-detail-item{
  background:rgba(255,255,255,0.55); border:1px solid var(--line);
  border-radius:12px; padding:12px 16px;
}
.public-detail-item .label{ font-size:11.5px; text-transform:uppercase; letter-spacing:0.06em; color:var(--teal); font-weight:700; display:block; margin-bottom:3px; }
.public-detail-item .value{ font-size:14.5px; color:var(--navy-ink); font-weight:600; }

/* ============================================
   Profile form section headers
   ============================================ */
.form-section-title{
  font-family:var(--font-display); font-weight:600; color:var(--navy);
  font-size:16px; margin:26px 0 14px; padding-top:16px;
  border-top:1px solid var(--line);
}
.form-section-title:first-child{ margin-top:0; padding-top:0; border-top:none; }

/* ============================================
   Profile photo manager (dashboard)
   ============================================ */
.photo-grid{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:16px;
}
.photo-slot{
  position:relative; border:1px solid rgba(13,52,68,0.1); border-radius:18px;
  overflow:hidden; background:linear-gradient(145deg, rgba(247,247,240,0.95), rgba(232,230,217,0.96));
  display:flex; flex-direction:column; box-shadow:0 18px 34px -24px rgba(13,52,68,0.28);
  transition:transform .2s ease, box-shadow .2s ease;
}
.photo-slot:hover{transform:translateY(-3px); box-shadow:0 22px 38px -22px rgba(13,52,68,0.33);}
.photo-slot-image-wrap{
  position:relative; width:100%; aspect-ratio:1/1; background:linear-gradient(135deg, rgba(255,255,255,0.8), rgba(234,231,220,0.95));
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.photo-slot-image-wrap img{
  width:100%; height:100%; object-fit:contain; padding:8px;
  transition:filter .3s ease, transform .3s ease;
}
.photo-slot-image-wrap img.is-blurred{ filter:blur(14px) saturate(0.9); }
.is-blurred{ filter:blur(14px) saturate(0.9) !important; }
.photo-slot-trigger{
  border:none; background:none; padding:0; width:100%; cursor:zoom-in; text-align:left;
}
.photo-slot-trigger:focus-visible{
  outline:2px solid var(--gold); outline-offset:3px;
}
.photo-slot-loading{ font-size:12px; opacity:0.55; font-style:italic; }
.photo-slot-main-badge{
  position:absolute; top:6px; left:6px;
  background:var(--gold); color:#fff; font-size:10.5px; font-weight:700;
  padding:3px 9px; border-radius:999px; text-transform:uppercase; letter-spacing:0.04em;
}
.photo-slot-body{ padding:10px; display:flex; flex-direction:column; gap:8px; }
.photo-slot-body select{
  width:100%; font-size:12px; padding:8px 10px; border-radius:10px;
  border:1px solid rgba(13,52,68,0.14); font-family:var(--font-body); background:#fff;
  box-shadow:inset 0 1px 2px rgba(13,52,68,0.04);
}
.photo-slot-actions{ display:flex; gap:6px; }
.photo-slot-actions button{
  flex:1; font-size:11px; padding:7px 4px; border-radius:999px;
  border:1px solid rgba(13,52,68,0.14); background:#fff; color:var(--navy);
  cursor:pointer; font-family:var(--font-body); font-weight:600; transition:transform .2s ease, box-shadow .2s ease;
}
.photo-slot-actions button:hover{ transform:translateY(-1px); box-shadow:0 10px 20px -16px rgba(13,52,68,0.3); }
.photo-slot-actions button.is-active{ background:var(--navy); color:var(--ivory); border-color:var(--navy); }
.photo-slot-empty{
  aspect-ratio:1/1; border:1.5px dashed var(--line); border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-size:12px; opacity:0.5; text-align:center; padding:10px;
}

/* Public/shared "shielded" placeholder — shown when the viewer isn't
   signed in and therefore can't fetch even a blurred photo's bytes. */
.photo-locked{
  aspect-ratio:1/1; border-radius:14px; background:var(--ivory-alt);
  border:1.5px dashed var(--line);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:8px; padding:16px; text-align:center;
}
.photo-locked svg{ width:26px; height:26px; color:var(--teal); }
.photo-locked span{ font-size:12px; opacity:0.75; }
