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

:root {
  --bg:          #0d0a07;
  --surface:     #151009;
  --surface-2:   #1c1610;
  --border:      #2d2318;
  --accent:      #c9973a;
  --accent-dim:  #9b6e24;
  --accent-glow: rgba(201, 151, 58, 0.15);
  --text:        #ede8df;
  --text-muted:  #8a7b68;
  --radius:      14px;
  --radius-sm:   8px;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(
      18deg,
      transparent 0px,
      transparent 3px,
      rgba(200, 140, 50, 0.018) 3px,
      rgba(200, 140, 50, 0.018) 4px
    );
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout helpers ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 10, 7, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.nav-logo img {
  height: 40px;
  width: auto;
  /* invert logo so it reads well on dark background */
  filter: invert(1) sepia(0.3) saturate(2) hue-rotate(5deg) brightness(1.1);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ── HERO ── */
#hero {
  padding: 120px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(201,151,58,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo {
  width: 140px;
  margin: 0 auto 36px;
  filter: invert(1) sepia(0.4) saturate(2.5) hue-rotate(5deg) brightness(1.05);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

#hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

#hero h1 span {
  color: var(--accent);
}

#hero p.tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 44px;
}

.btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #0d0a07;
}

.btn-primary:hover {
  background: #d9a842;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,151,58,0.38);
  text-decoration: none;
  color: #0d0a07;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--accent);
}

/* ── WHAT ARE CONTACT COINS ── */
#what {
  background: var(--surface);
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.coin-visual {
  display: flex;
  justify-content: center;
}

.coin-mockup {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(255,200,100,0.07) 0%, transparent 55%),
    radial-gradient(circle at 35% 35%, #4a3318, #1e1208);
  box-shadow:
    0 0 0 6px #332414,
    0 0 0 10px #1e1208,
    0 0 0 22px rgba(180, 110, 30, 0.12),
    0 24px 64px rgba(0,0,0,0.75),
    inset 0 2px 10px rgba(255,200,120,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.coin-mockup img {
  width: 120px;
  filter: invert(1) sepia(0.4) saturate(2) hue-rotate(5deg) brightness(0.9);
  opacity: 0.9;
}

/* ── FEATURES ── */
#features {
  background: var(--bg);
}

.features-header {
  text-align: center;
  margin-bottom: 56px;
}

.features-header .section-body {
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px var(--accent-dim);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ── NFC SECTION ── */
#nfc {
  background: var(--surface);
}

.nfc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.nfc-tap-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.nfc-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(255,200,100,0.06) 0%, transparent 55%),
    radial-gradient(circle at 40% 40%, #4a3318, #1e1208);
  box-shadow:
    0 0 0 5px #332414,
    0 0 0 8px #1e1208,
    0 0 0 30px rgba(201,151,58,0.07),
    0 0 0 55px rgba(201,151,58,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow:
    0 0 0 5px #332414,
    0 0 0 8px #1e1208,
    0 0 0 28px rgba(201,151,58,0.07),
    0 0 0 52px rgba(201,151,58,0.03); }
  50%       { box-shadow:
    0 0 0 5px #332414,
    0 0 0 8px #1e1208,
    0 0 0 40px rgba(201,151,58,0.13),
    0 0 0 70px rgba(201,151,58,0.06); }
}

.nfc-ring img {
  width: 80px;
  filter: invert(1) sepia(0.4) saturate(2) hue-rotate(5deg) brightness(0.95);
  opacity: 0.85;
}

.nfc-steps {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nfc-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #0d0a07;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── USE CASES ── */
#usecases {
  background: var(--bg);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.pill {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: border-color .2s, color .2s;
}

.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  cursor: default;
}

.pill .emoji { margin-right: 6px; }

/* ── CTA ── */
#cta {
  background: var(--surface);
  text-align: center;
}

#cta .section-title { max-width: 640px; margin: 0 auto 14px; }
#cta .section-body  { margin: 0 auto 36px; text-align: center; }

/* ── FOOTER ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer .foot-logo {
  height: 32px;
  margin: 0 auto 12px;
  filter: invert(1) sepia(0.3) saturate(1.5) hue-rotate(5deg) brightness(0.7);
}

/* ── Responsive ── */
@media (max-width: 740px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .coin-visual { order: -1; }
  .nav-links { display: none; }
  section { padding: 72px 0; }
  #hero { padding: 80px 0 64px; }
}
