/* RSG Physical Security Testing: page styles, moved from the old plugin template. Menu and footer rules removed (they live in base.css). */
/* ============================================================
   RSG BRAND TOKENS
   ============================================================ */
:root {
  --rsg-black:     #000000;
  --rsg-ink:       #1A1E2D;
  --rsg-ink-mid:   #252A3A;
  --rsg-ink-light: #2F3447;
  --rsg-red:       #BE3431;
  --rsg-red-deep:  #8E2724;
  --rsg-red-soft:  #D55F5B;
  --rsg-white:     #FFFFFF;
  --rsg-paper:     #F2F2F2;
  --rsg-dim:       rgba(255,255,255,0.65);
  --rsg-dimmer:    rgba(255,255,255,0.42);
  --rsg-border:    rgba(255,255,255,0.09);
  --rsg-red-glow:  rgba(190,52,49,0.12);
  --font: 'Red Hat Display', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1160px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--rsg-black);
  color: var(--rsg-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   NAV
   ============================================================ */

/* Mobile nav */

/* ── CI DROPDOWN ───────────────────────────────────────────── */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rsg-black);
  overflow: hidden;
  padding: 120px 32px 80px;
}

/* Background shape layers */
.hero-shapes-back,
.hero-shapes-mid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Back layer shapes */
.shape-rect-outline {
  position: absolute;
  width: 360px; height: 220px;
  border: 1.5px solid rgba(190,52,49,0.14);
  border-radius: 6px;
  top: 11%; right: 6%;
  animation: floatA 9s ease-in-out infinite;
}
.shape-circle-fill {
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(190,52,49,0.07);
  bottom: 20%; left: 7%;
  animation: floatB 11s ease-in-out infinite 1s;
}
/* Mid layer shapes */
.shape-diamond {
  position: absolute;
  width: 50px; height: 50px;
  background: rgba(213,95,91,0.15);
  transform: rotate(45deg);
  top: 60%; right: 15%;
  animation: floatC 7s ease-in-out infinite 0.5s;
}
.shape-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rsg-red);
  opacity: 0.7;
  top: 29%; left: 6%;
  animation: floatA 8s ease-in-out infinite 2s;
}
.shape-line-h {
  position: absolute;
  width: 120px; height: 1px;
  background: rgba(190,52,49,0.2);
  bottom: 35%; right: 9%;
  animation: floatB 10s ease-in-out infinite 3s;
}
.shape-corner {
  position: absolute;
  width: 40px; height: 40px;
  border-left: 2px solid rgba(190,52,49,0.25);
  border-bottom: 2px solid rgba(190,52,49,0.25);
  top: 18%; left: 14%;
  animation: floatC 12s ease-in-out infinite 1.5s;
}

@keyframes floatA {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(3deg); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes floatC {
  0%, 100% { transform: rotate(45deg) translateY(0px); }
  50%       { transform: rotate(50deg) translateY(-10px); }
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(190,52,49,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190,52,49,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(190,52,49,0.14);
  color: var(--rsg-red-soft);
  border: 1px solid rgba(190,52,49,0.32);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rsg-red);
}
.hero-title {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--rsg-white);
}
.hero-title em {
  font-style: normal;
  color: var(--rsg-red-soft);
}
.hero-subtitle {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--rsg-dim);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 40px;
  font-weight: 400;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--rsg-red);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--rsg-red-soft);
  transform: translateY(-2px);
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounceDown 2.2s ease-in-out infinite;
  cursor: pointer;
  opacity: 0.55;
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ============================================================
   SECTION: THREAT MODEL STATEMENT
   ============================================================ */
.threat-statement {
  background: var(--rsg-ink);
  padding: 80px 32px;
  border-top: 1px solid var(--rsg-border);
  border-bottom: 1px solid var(--rsg-border);
}
.threat-statement-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 800px) {
  .threat-statement-inner { grid-template-columns: 1fr; gap: 36px; }}
.statement-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--rsg-red-soft);
  margin-bottom: 20px;
}
.statement-heading {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}
.statement-body p {
  font-size: 16px;
  color: var(--rsg-dim);
  line-height: 1.75;
  margin-bottom: 18px;
}
.statement-body p:last-child { margin-bottom: 0; }
.statement-body strong { color: var(--rsg-white); font-weight: 600; }

/* ============================================================
   SECTION: WHAT WE TEST
   ============================================================ */
.test-section {
  background: var(--rsg-black);
  padding: 100px 32px;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--rsg-red-soft);
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.section-subtext {
  font-size: 17px;
  color: var(--rsg-dim);
  line-height: 1.6;
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (max-width: 900px) { .test-grid { grid-template-columns: repeat(2, 1fr); }}
@media (max-width: 560px) { .test-grid { grid-template-columns: 1fr; }}

.test-card {
  background: var(--rsg-ink);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 2px solid var(--rsg-red);
  border-radius: 0;
  padding: 36px 28px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.test-card:hover {
  background: var(--rsg-ink-mid);
  border-color: rgba(190,52,49,0.5);
  transform: translateY(-4px);
}
.test-card-icon {
  width: 44px; height: 44px;
  margin-bottom: 20px;
  color: var(--rsg-red-soft);
}
.test-card-icon svg { display: block; width: 100%; height: 100%; }
.test-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--rsg-white);
}
.test-card p {
  font-size: 14px;
  color: var(--rsg-dim);
  line-height: 1.7;
}

/* ============================================================
   SECTION: HOW IT WORKS
   ============================================================ */
.process-section {
  background: var(--rsg-ink);
  padding: 100px 32px;
  border-top: 1px solid var(--rsg-border);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.6% + 20px);
  right: calc(16.6% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--rsg-red), rgba(190,52,49,0.3));
  pointer-events: none;
}
@media (max-width: 760px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }}
.process-step { position: relative; }
.step-number {
  width: 56px; height: 56px;
  background: var(--rsg-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.process-step h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--rsg-white);
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 15px;
  color: var(--rsg-dim);
  line-height: 1.7;
}

/* ============================================================
   SECTION: DELIVERABLES
   ============================================================ */
.deliverables-section {
  background: var(--rsg-black);
  padding: 100px 32px;
  border-top: 1px solid var(--rsg-border);
}
.deliverables-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 800px) {
  .deliverables-inner { grid-template-columns: 1fr; gap: 48px; }}
.deliverables-copy h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.deliverables-copy p {
  font-size: 16px;
  color: var(--rsg-dim);
  line-height: 1.75;
  margin-bottom: 16px;
}
.deliverables-copy p:last-child { margin-bottom: 0; }
.deliverables-copy strong { color: var(--rsg-white); font-weight: 600; }
.deliverables-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: var(--rsg-ink);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--rsg-red);
}
.deliverable-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--rsg-red-soft);
}
.deliverable-item-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--rsg-white);
  margin-bottom: 4px;
}
.deliverable-item-text p {
  font-size: 13px;
  color: var(--rsg-dimmer);
  line-height: 1.55;
}

/* ============================================================
   SECTION: WHO THIS IS FOR
   ============================================================ */
.audience-section {
  background: var(--rsg-ink);
  padding: 80px 32px;
  border-top: 1px solid var(--rsg-border);
  border-bottom: 1px solid var(--rsg-border);
}
.audience-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
@media (max-width: 900px) { .audience-grid { grid-template-columns: repeat(2, 1fr); }}
@media (max-width: 500px) { .audience-grid { grid-template-columns: 1fr; }}
.audience-card {
  padding: 28px 24px;
  background: var(--rsg-ink-mid);
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.audience-card svg {
  display: block;
  margin: 0 auto 16px;
  color: var(--rsg-red-soft);
}
.audience-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--rsg-white);
  margin-bottom: 8px;
}
.audience-card p {
  font-size: 13px;
  color: var(--rsg-dimmer);
  line-height: 1.55;
}

/* ============================================================
   SECTION: CLOSING CTA
   ============================================================ */
.closing-section {
  position: relative;
  background: var(--rsg-black);
  padding: 120px 32px;
  text-align: center;
  overflow: hidden;
}
.closing-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(190,52,49,0.10), transparent 70%);
  pointer-events: none;
}
.closing-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.closing-content h2 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.closing-content p {
  font-size: 18px;
  color: var(--rsg-dim);
  margin-bottom: 40px;
  line-height: 1.6;
}
.closing-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--rsg-dimmer);
}

/* ============================================================
   FOOTER
   ============================================================ */

/* ============================================================
   UTILITY
   ============================================================ */
.red-accent { color: var(--rsg-red-soft); }
