/* =====================================================
   PayLink.ai — Mint-to-Deploy (MTD) Gold Obsidian
   CLEAN CSS ONLY (no HTML inside)
   ===================================================== */

:root{
  --bg:#050505;
  --bg2:#0b0b0c;
  --card:#0e0e10;
  --text:#f5f5f5;
  --muted:#cfcfcf;

  /* GOLD / YELLOW (restored) */
  --gold:#ffd36a;
  --gold2:#f6b10a;
  --amber:#ffb900;
  --cream:#EAE0C8;

  --border: 1px solid rgba(255,211,106,.20);
  --shadow: 0 0 24px rgba(255,211,106,.18);

  --maxw: 1120px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
img, video { max-width:100%; height:auto; display:block; }
a { color: var(--gold); text-decoration:none; }

/* Scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--amber));
  border-radius: 10px;
  border: 3px solid #0a0a0a;
}

/* Scroll progress */
#scroll-progress{
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  z-index: 99999;
}

/* Layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
section { width: 100%; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.10); padding: 78px 0; scroll-margin-top: 110px; }

/* NAV */
.nav-pin { position: sticky; top: 0; z-index: 9999; }
.nav{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(8, 8, 10, 0.65);
  backdrop-filter: blur(8px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.12);
  overflow: visible; /* keep sticky safe */
}
.nav::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:420px;
  height:100%;
  background: url(images/hero-loop.png) no-repeat top right;
  background-size: contain;
  opacity: 0.22;
  filter: brightness(1.2) saturate(1.1);
  mix-blend-mode: screen;
  pointer-events:none;
  z-index:0;
}
.nav > *{ position: relative; z-index: 2; }

.brand{ display:flex; align-items:center; gap:.8rem; }
.brand-mark{
  width:46px;
  height:46px;
  border-radius:999px;
  background:#0c0c0c;
  display:grid;
  place-items:center;
  box-shadow: 0 0 0 2px #111;
}
.brand-mark img{
  width:46px;
  height:46px;
  border-radius:50%;
  filter: drop-shadow(0 0 10px rgba(255,211,106,.35));
}
.brand-name{
  font-family: Cinzel, serif;
  font-weight: 800;
  letter-spacing: .6px;
  background: linear-gradient(90deg, var(--cream), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* NAV LINKS (gold restored) */
.nav-list{ list-style:none; display:flex; gap:12px; margin:0; padding:0; align-items:center; flex-wrap:wrap; }
.nav-list a{
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
  color: var(--gold);
  border: 1px solid rgba(255,211,106,.0);
}
.nav-list a:hover,
.nav-list a.active{
  background: rgba(255,211,106,.14);
  border-color: rgba(255,211,106,.18);
}

/* Buttons */
.nav-cta{ display:flex; gap:10px; align-items:center; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0b0b0c;
  color: #f0e6d5;
  font-weight: 900;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.btn.primary{
  background: linear-gradient(90deg, var(--gold), var(--gold2) 60%, var(--amber));
  color: #111;
  border-color: rgba(0,0,0,0.25);
}
.btn.ghost{
  background: transparent;
  border-color: rgba(255,211,106,.28);
  box-shadow: none;
}
.btn:hover{ transform: translateY(-1px); transition: 0.15s ease; }

/* HERO */
.hero{
  position: relative;
  min-height: 68vh;
  display:grid;
  place-items:center;
  text-align:center;
  overflow:hidden;
  background: radial-gradient(1000px 600px at 50% -14%, rgba(255,211,106,0.040), transparent 72%);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("images/hero-loop.png") repeat;
  background-size: 900px 900px;
  opacity: 0.08;
  animation: loopPan 28s linear infinite;
  z-index:0;
  pointer-events:none;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 50% -18%, rgba(255,211,106,0.016), transparent 58%);
  z-index:1;
  pointer-events:none;
}
@keyframes loopPan { 0%{background-position:0 0} 100%{background-position:-900px 900px} }

.hero-inner{ position:relative; z-index:1; padding: 58px 18px; max-width: 1020px; }
.hero-logo{
  width: min(320px, 40vw);
  margin: 0 auto 14px;
  filter: drop-shadow(0 0 22px rgba(255,211,106,.45));
}
.kicker{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:6px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .85rem;
}
.kicker-divider{ opacity:.65; font-size: .85em; }
.h1{
  font-family: Cinzel, serif;
  font-weight: 800;
  font-size: clamp(2rem, 5.2vw, 3.1rem);
  line-height: 1.12;
  margin: .55rem 0 .65rem;
  background: linear-gradient(90deg, var(--cream), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead{
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  max-width: 1040px;
  margin: 0 auto;
}
.cta-row{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-top: 22px; }

.tag-row{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top: 16px; }
.tag{
  font-size: 0.85rem;
  color: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  padding: 6px 10px;
  border-radius: 999px;
}
.tag.gold{
  border-color: rgba(255,211,106,.28);
  background: rgba(255,211,106,.08);
}

/* SECTION HEADINGS */
.section-heading-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 14px;
  margin: 0 auto 22px;
  max-width: 1200px;
  padding: 0 2rem;
}
.section-heading{
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  text-align:center;
}

/* Cards / grids */
.domain-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.0rem;
  align-items: start;
  justify-items: stretch;
  padding: 16px 0 0;
}
.domain-grid.four-up{
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 1.4rem;
}
#monetization .domain-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#roadmap .domain-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#safeguards .domain-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.category-block{
  background: #000;
  border-radius: 16px;
  padding: 22px;
  text-align:left;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.08);
}
.category-block:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,.55);
  border-color: rgba(255,211,106,.18);
}
.glossy-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.25)),
    linear-gradient(90deg, #12131b, #0b0b0f);
}
.domain-title{ margin: 0 0 .5rem; font-size: 1.15rem; color:#fff; }
.domain-description{ margin:0; color: rgba(255,255,255,0.74); font-size: .98rem; line-height: 1.55; }

/* FAQ */
.faq details{
  background:#0a0a11;
  border: var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 10px;
}
.faq summary{ cursor:pointer; font-weight:900; }
.faq p{ margin: 10px 0 0; color: rgba(255,255,255,0.82); }
.faq details.gfd{
  border: 1px solid rgba(255,211,106,0.18);
  box-shadow: 0 0 14px rgba(255,211,106,0.06);
}
.faq details.gfd strong{ color: var(--gold); }
.faq details.gfd .tagline{
  display:inline-block;
  margin-top: 6px;
  color: rgba(255,255,255,0.78);
  font-style: italic;
}

/* Acquire + Contact */
.acquire, .contact{
  text-align:center;
  background: #050505;
}
.h2.gold{
  font-family: 'Cinzel', serif;
  font-size: 2.3rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--gold), var(--gold2) 60%, var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: .6rem;
}
.domain-line{ color: rgba(255,255,255,0.82); margin-bottom: 1.4rem; }
.grid{ display:grid; gap: 16px; }
.cols-3{ grid-template-columns: repeat(3, 1fr); }
.card{
  background: #101014;
  border-radius: 18px;
  padding: 28px 22px;
  border: 1px solid rgba(255,211,106,0.14);
  box-shadow: 0 0 18px rgba(255,211,106,0.06);
}
.card h3{ color: var(--gold); margin: 0 0 .35rem; }
.card p{ margin:0; color: rgba(255,255,255,0.78); }

/* Footer */
footer{
  padding: 46px 0;
  background:#040404;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-row{ display:flex; flex-direction:column; align-items:center; gap: 10px; text-align:center; padding: 0 18px; }
.footer-logo{ max-height: 80px; filter: drop-shadow(0 0 8px rgba(255,255,255,.06)); }
.footer-attribution{ font-size: .85rem; color: rgba(255,255,255,0.55); }
.footer-attribution a{ color: var(--gold); font-weight: 800; }
.footer-attribution a:hover{ color: var(--amber); text-decoration: underline; }
.footer-copy{ font-size:.9rem; color: rgba(255,255,255,0.70); }

/* Back to top */
.back-to-top{
  position:fixed;
  right: 20px;
  bottom: 22px;
  background:none;
  border:none;
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transition: .3s;
}
.back-to-top svg{ width: 44px; height: 44px; fill: var(--gold); filter: drop-shadow(0 0 6px rgba(255,211,106,.35)); }
.back-to-top.show{ opacity: 1; pointer-events:auto; }

/* Reveal */
.reveal{ opacity:0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* Modal */
.modalBackdrop{
  position:fixed;
  inset:0;
  z-index: 99999;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(10px);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 22px;
}
.modal{
  width: min(720px, 100%);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16,16,24,.96), rgba(10,10,16,.94));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 28px 90px rgba(0,0,0,.70);
  overflow:hidden;
}
.modalHeader{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.modalHeader .title{ margin:0; font-weight: 900; }
.close{
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
  font-weight: 900;
}
.modalBody{ padding: 16px; }
.mini{ font-size: 12px; color: rgba(255,255,255,.70); line-height: 1.5; margin: 0; }
.hr{ height:1px; background: rgba(255,255,255,.08); margin: 14px 0; }
.split{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.miniCard{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 14px;
}
.miniCard h4{ margin: 0 0 6px; font-size: 13px; }
.miniCard p{ margin:0; color: rgba(255,255,255,.72); font-size: 12.5px; line-height: 1.55; }
.formRow{ display:grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 10px; }
input[type="email"]{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.20);
  color: rgba(255,255,255,.92);
  outline:none;
}
input[type="email"]::placeholder{ color: rgba(255,255,255,.46); }
.tiny{ font-size: 12px; color: rgba(255,255,255,.58); line-height: 1.5; margin: 10px 0 0; }
.status{ margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.78); }
.status b{ color: var(--gold); }

/* Responsive */
@media (max-width: 980px){
  .cols-3{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .domain-grid.four-up{ grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}
@media (max-width: 640px){
  section{ padding: 56px 0; }
  .nav{ flex-wrap: wrap; justify-content:center; padding: 10px 14px; }
  .nav::after{ display:none; }
  .nav-list{ justify-content:center; width: 100%; }
  .nav-cta{ width: 100%; justify-content:center; }
  .cta-row .btn{ width:auto; max-width:260px; padding: 12px 16px; }
  .hero{ min-height: 64vh; }
  .hero-inner{ padding: 44px 14px; }
  .hero-logo{ width: clamp(180px, 42vw, 240px); }
  .lead{ font-size: 1rem; max-width: 92%; }
  .domain-grid.four-up{ grid-template-columns: 1fr; }
}
/* ============================
   NAV DROPDOWNS (MTD CLEAN)
   ============================ */

.nav-list {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Dropdown wrapper */
.nav-list .dropdown {
  position: relative;
}

/* Dropdown button */
.dropbtn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropbtn:hover,
.dropdown.open .dropbtn {
  background: rgba(255, 211, 106, 0.14);
}

/* Caret */
.caret {
  font-size: 0.7em;
  opacity: 0.7;
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 211, 106, 0.18);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  list-style: none;
  padding: 8px;
  margin: 0;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

/* Show menu */
.dropdown.open .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dropdown links */
.dropdown-menu li a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.dropdown-menu li a:hover {
  background: rgba(255, 211, 106, 0.14);
  color: var(--gold);
}

/* Mobile fallback: stack cleanly */
@media (max-width: 860px) {
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 0 0 12px;
  }

  .dropdown-menu li a {
    padding: 8px 0;
  }
}
#pro .section-heading-wrap {
  margin-bottom: 0.2rem;
}
#pro .lead {
  text-align: center;
  max-width: 820px;
  margin: 0.25rem auto 0;
  line-height: 1.5;
  text-wrap: balance;
}
#pro .no-wrap {
  white-space: nowrap;
}
/* ============================
   MOBILE NAV (HAMBURGER)
   ============================ */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile behavior */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 10, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: none;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list a,
  .dropbtn {
    width: 100%;
    justify-content: space-between;
  }

  .nav-cta {
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 10px;
  }
}
