/* ==========================================
   PATRIOT PAGE — patriot.css
   ========================================== */

:root {
  --p-red: #c8102e;
  --p-red-light: #e8334a;
  --p-gold: #ffd700;
  --p-gold-light: #ffe44d;
  --p-navy: #0a0a1a;
  --p-grad: linear-gradient(135deg, #c8102e 0%, #ffd700 100%);
  --p-grad-2: linear-gradient(135deg, #ffd700 0%, #c8102e 100%);
}

/* ── BODY OVERRIDE ── */
.patriot-page { background: var(--p-navy); }

/* ── NAV ACTIVE ── */
.nav-active {
  color: var(--p-gold) !important;
  font-weight: 600 !important;
}

/* ── SHARED PATRIOT UTILS ── */
.p-gradient-text {
  background: var(--p-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.p-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--p-gold);
  border: 1px solid rgba(255,215,0,0.35);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.p-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}
.p-section-header { text-align: center; margin-bottom: 60px; }
.p-section-subtitle { color: var(--text-muted); font-size: 17px; max-width: 560px; margin: 0 auto; }
.p-section { padding: 100px 0; }

/* ── BUTTONS ── */
.p-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--p-grad);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(200,16,46,0.4);
}
.p-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(200,16,46,0.6); }
.p-btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid rgba(255,215,0,0.3);
  transition: border-color 0.2s, color 0.2s;
}
.p-btn-ghost:hover { border-color: var(--p-gold); color: var(--p-gold); }

/* ── HERO ── */
.p-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
  text-align: center;
}
#patriotCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.p-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(200,16,46,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(255,215,0,0.07) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.p-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}
.p-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--p-gold);
  border: 1px solid rgba(255,215,0,0.3);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
  background: rgba(255,215,0,0.05);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.p-star { font-size: 10px; }
.p-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: #fff;
}
.p-hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.p-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.p-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: var(--radius);
  padding: 28px 48px;
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
  gap: 0;
}
.p-stat { text-align: center; padding: 0 40px; }
.p-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  background: var(--p-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.p-stat-unit { font-size: 26px; font-weight: 700; background: var(--p-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.p-stat-label { display: block; font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.p-stat-divider { width: 1px; height: 60px; background: rgba(255,215,0,0.15); flex-shrink: 0; }

/* ── VISION ── */
.p-vision { background: var(--bg-2); }
.p-vision-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.p-vision-left p { color: var(--text-muted); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.p-vision-right { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.p-reason-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  transition: border-color 0.3s, transform 0.3s;
}
.p-reason-card:hover { border-color: rgba(255,215,0,0.3); transform: translateY(-3px); }
.p-reason-icon { font-size: 24px; margin-bottom: 12px; }
.p-reason-card h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.p-reason-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── HOW IT WORKS ── */
.p-how { background: var(--p-navy); }
.p-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.p-step {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.p-step:hover { transform: translateY(-5px); border-color: rgba(255,215,0,0.35); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.p-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 800;
  background: var(--p-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}
.p-step-icon { font-size: 28px; margin-bottom: 12px; }
.p-step h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.p-step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.p-step-arrow {
  font-size: 24px;
  color: rgba(255,215,0,0.4);
  align-self: center;
  padding: 0 8px;
  flex-shrink: 0;
}

/* ── BLOCKCHAIN ARCH ── */
.p-arch { background: var(--bg-2); }
.p-arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.p-arch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s, border-color 0.3s;
}
.p-arch-card:hover { transform: translateY(-4px); border-color: rgba(200,16,46,0.4); }
.p-arch-icon { font-size: 32px; margin-bottom: 16px; }
.p-arch-card h4 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.p-arch-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── MERCHANTS ── */
.p-merchants { background: var(--p-navy); }
.p-merchant-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.p-merchant-row {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.4fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 18px 28px;
  align-items: center;
  transition: background 0.2s;
}
.p-merchant-row:last-child { border-bottom: none; }
.p-merchant-row:not(.p-merchant-header):hover { background: rgba(255,215,0,0.04); }
.p-merchant-header {
  background: rgba(255,215,0,0.06);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--p-gold);
}
.p-merchant-row span { font-size: 14px; color: var(--text-muted); }
.p-merchant-row:not(.p-merchant-header) span:first-child { color: #fff; font-weight: 500; }
.p-merchant-icon { margin-right: 8px; }

/* ── VERIFICATION ── */
.p-verify { background: var(--bg-2); }
.p-verify-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: center; }
.p-verify-left p { color: var(--text-muted); font-size: 16px; line-height: 1.75; margin-top: 16px; }
.p-verify-right { display: flex; flex-direction: column; gap: 0; }
.p-verify-item {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.2s;
}
.p-verify-item:first-child { border-top: 1px solid var(--border); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.p-verify-item:last-child { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.p-verify-item:hover { background: rgba(200,16,46,0.05); }
.p-verify-layer {
  font-size: 13px;
  font-weight: 700;
  color: var(--p-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.p-verify-method { font-size: 13px; color: #fff; font-weight: 500; }
.p-verify-purpose { font-size: 13px; color: var(--text-muted); }

/* ── IMPACT ── */
.p-impact { background: var(--p-navy); }
.p-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.p-impact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.p-impact-card:hover { transform: translateY(-4px); border-color: rgba(255,215,0,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.p-impact-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 800;
  background: var(--p-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.p-impact-card h4 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.p-impact-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── CTA ── */
.p-cta {
  padding: 100px 0;
  background: linear-gradient(160deg, #0f0010 0%, #1a0008 50%, #0a0a00 100%);
  border-top: 1px solid rgba(255,215,0,0.1);
  text-align: center;
}
.p-cta-inner { max-width: 700px; margin: 0 auto; }
.p-stars { font-size: 20px; color: var(--p-gold); letter-spacing: 8px; margin-bottom: 24px; opacity: 0.8; }
.p-cta-inner .p-section-title { font-size: clamp(32px, 4vw, 48px); margin-bottom: 20px; }
.p-cta-inner p { color: var(--text-muted); font-size: 17px; line-height: 1.7; margin-bottom: 40px; }
.p-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .p-arch-grid { grid-template-columns: repeat(2, 1fr); }
  .p-impact-grid { grid-template-columns: repeat(2, 1fr); }
  .p-vision-inner { gap: 48px; }
  .p-verify-inner { gap: 48px; }
}
@media (max-width: 768px) {
  .p-vision-inner { grid-template-columns: 1fr; }
  .p-vision-right { grid-template-columns: 1fr 1fr; }
  .p-verify-inner { grid-template-columns: 1fr; }
  .p-arch-grid { grid-template-columns: 1fr; }
  .p-impact-grid { grid-template-columns: 1fr; }
  .p-steps { flex-direction: column; align-items: stretch; }
  .p-step { max-width: 100%; }
  .p-step-arrow { display: none; }
  .p-hero-stats { padding: 20px 24px; }
  .p-stat { padding: 0 20px; }
  .p-stat-number { font-size: 32px; }
  .p-merchant-row { grid-template-columns: 1fr; gap: 4px; }
  .p-merchant-header { display: none; }
  .p-verify-item { grid-template-columns: 1fr; gap: 4px; padding: 16px; }
}
