/*
Theme Name: GunJitsu Pro
Theme URI: https://gunjitsu.local
Author: Bob / OpenClaw
Description: Professional firearms training theme for GunJitsu.
Version: 0.1.4
License: Private
Text Domain: gunjitsu-pro
*/

:root {
  --bg: #060607;
  --bg-2: #111113;
  --panel: rgba(18, 18, 20, 0.86);
  --panel-solid: #151518;
  --text: #f7f7f4;
  --muted: #b6b1ad;
  --line: rgba(255,255,255,0.12);
  --gold: #d71920;
  --gold-2: #ff353d;
  --olive: #2a2a2d;
  --danger: #d71920;
  --shadow: 0 24px 80px rgba(0,0,0,0.38);
  --radius: 22px;
  --font-display: 'Rajdhani', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(215,25,32,.24), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255,255,255,.08), transparent 30%),
    linear-gradient(180deg, #040405 0%, #111113 52%, #060607 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(9, 11, 13, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.logo-lockup { display: block; width: clamp(172px, 20vw, 246px); filter: drop-shadow(0 10px 22px rgba(0,0,0,.38)); }
.logo-lockup img { width: 100%; height: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 999px; font-weight: 750; border: 1px solid transparent; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #d71920, #ff353d); color: #fff; box-shadow: 0 14px 35px rgba(215,25,32,.28); }
.btn-secondary { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: var(--text); }

.hero { position: relative; padding: 92px 0 72px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, black, transparent 82%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.eyebrow { color: var(--gold-2); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 800; }
h1, h2, h3 { font-family: var(--font-display); line-height: .95; margin: 0; text-transform: uppercase; letter-spacing: .02em; }
h1 { font-size: clamp(58px, 9vw, 112px); margin-top: 16px; }
.hero p { font-size: 18px; color: var(--muted); max-width: 650px; margin: 26px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; color: var(--muted); font-size: 13px; }
.trust-row span { padding-left: 18px; position: relative; }
.trust-row span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); position: absolute; left: 0; top: 8px; }
.hero-card { border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); box-shadow: var(--shadow); padding: 20px; min-height: 560px; position: relative; overflow: hidden; }
.hero-card::before { content: ''; position: absolute; inset: 20px; border-radius: 26px; background: linear-gradient(140deg, rgba(0,0,0,.18), rgba(0,0,0,.72)), url('https://images.unsplash.com/photo-1595590424283-b8f17842773f?auto=format&fit=crop&w=1100&q=80') center/cover; filter: saturate(.35) contrast(1.16); }
.hero-card::after { content: 'Mindset • Mechanics • Mastery'; position: absolute; right: 28px; bottom: 28px; color: rgba(255,255,255,.78); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.stat-strip { position: absolute; left: 36px; right: 36px; bottom: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: rgba(8,10,12,.72); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 16px; backdrop-filter: blur(12px); }
.stat strong { display: block; color: var(--gold-2); font-family: var(--font-display); font-size: 28px; line-height: 1; }
.stat small { color: var(--muted); font-size: 12px; }

.section { padding: 82px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 34px; }
.section h2 { font-size: clamp(40px, 5vw, 68px); max-width: 760px; }
.section-head p { color: var(--muted); max-width: 430px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 18px 60px rgba(0,0,0,.16); min-height: 280px; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 0%, rgba(215,25,32,.18), transparent 34%); opacity: 0; transition: opacity .2s ease; }
.card:hover::before { opacity: 1; }
.card .icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(215,25,32,.15); color: #ff4b51; display: grid; place-items: center; margin-bottom: 48px; }
.card h3 { font-size: 28px; margin-bottom: 10px; position: relative; }
.card p { color: var(--muted); margin: 0; position: relative; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.method-visual {
  min-height: 520px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 34%, rgba(215,25,32,.34), transparent 24%),
    linear-gradient(145deg, #1b1b1e 0%, #0b0b0d 62%, #18181b 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
  box-shadow: var(--shadow);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.method-visual::before {
  content: '';
  position: absolute;
  inset: 26px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.10);
  pointer-events: none;
}
.method-visual__topline {
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.method-visual__target {
  width: min(72%, 310px);
  aspect-ratio: 1;
  margin: 42px auto 34px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0 2px, transparent 3px);
}
.method-visual__target::before,
.method-visual__target::after,
.method-visual__target span {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
}
.method-visual__target::before { inset: 16%; }
.method-visual__target::after { inset: 32%; border-color: rgba(215,25,32,.55); }
.method-visual__target span:nth-child(1) { width: 10px; height: 10px; background: var(--gold); border: 0; left: 24%; top: 31%; box-shadow: 0 0 24px rgba(215,25,32,.85); }
.method-visual__target span:nth-child(2) { width: 8px; height: 8px; background: #fff; border: 0; right: 26%; top: 47%; opacity: .9; }
.method-visual__target span:nth-child(3) { width: 9px; height: 9px; background: var(--gold-2); border: 0; left: 47%; bottom: 24%; box-shadow: 0 0 22px rgba(255,53,61,.8); }
.method-visual__steps {
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 2;
}
.method-visual__steps div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: baseline;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(6,6,7,.68);
  padding: 13px 16px;
}
.method-visual__steps strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}
.method-visual__steps small { color: var(--muted); font-size: 13px; }
.method-visual__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-top: 22px;
  text-transform: uppercase;
}
.method-visual__footer b {
  width: 34px;
  height: 1px;
  background: rgba(215,25,32,.72);
}
.content-panel { border-radius: 30px; border: 1px solid var(--line); background: rgba(255,255,255,.045); padding: 42px; }
.check-list { display: grid; gap: 18px; margin-top: 28px; }
.check { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.check strong { color: var(--text); display: block; }
.check b { width: 26px; height: 26px; border-radius: 50%; background: rgba(215,25,32,.16); color: #ff4b51; display: grid; place-items: center; flex: 0 0 auto; }

.cta { margin: 72px 0; border-radius: 34px; padding: 48px; border: 1px solid rgba(215,25,32,.42); background: linear-gradient(135deg, rgba(215,25,32,.20), rgba(255,255,255,.045)), #111113; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta h2 { font-size: clamp(40px, 5vw, 64px); }
.cta p { color: var(--muted); margin: 16px 0 0; max-width: 660px; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid, .split, .cta { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .hero-card { min-height: 420px; }
  .cards { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 16px; }
  .stat-strip { left: 26px; right: 26px; bottom: 44px; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero-actions, .trust-row, .footer-grid { flex-direction: column; align-items: stretch; }
  .stat-strip { grid-template-columns: 1fr; position: relative; left: auto; right: auto; bottom: auto; margin-top: 280px; }
  .hero-card { min-height: auto; }
  .hero-card::before { bottom: auto; height: 280px; }
  .cta { padding: 28px; }
  .method-visual { min-height: 0; padding: 24px; }
  .method-visual__steps div { grid-template-columns: 1fr; gap: 6px; }
  .method-visual__target { width: 78%; margin: 34px auto 28px; }
  .method-visual__footer { flex-wrap: wrap; }
}

@media (max-width: 560px) { .logo-lockup { width: 168px; } .nav { gap: 14px; } .btn { padding: 0 14px; } }
