/* Strategnik Audit - Unified Design System */

/* Söhne Breit Fonts */
@font-face {
  font-family: 'Soehne Breit';
  src: url('/fonts/soehne-breit-buch-kursiv.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Soehne Breit';
  src: url('/fonts/soehne-breit-kraftig.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Shadow Grey palette - matches strategnik.com */
  --white: #FFFFFF;
  --off-white: #f2f2f3;
  --black: #111113;
  --bg-primary: #000000;
  --gray-950: #111113;
  --gray-900: #18181b;
  --gray-800: #313135;
  --gray-700: #494950;
  --gray-600: #62626a;
  --gray-500: #7a7a85;
  --gray-400: #95959d;
  --gray-300: #afafb6;
  --gray-200: #cacace;
  --gray-100: #e4e4e7;
  --gray-50: #f2f2f3;

  /* Turquoise accent colors */
  --accent: #1de2c4;
  --accent-hover: #4ae8d0;
  --accent-muted: #17b59d;

  /* Severity colors */
  --critical: #ef4444;
  --high: #f97316;
  --medium: #eab308;
  --success: #22c55e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Soehne Breit', system-ui, sans-serif;
  font-style: italic;
  background: var(--bg-primary);
  color: var(--white);
  line-height: 1.75;
  font-size: 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Soehne Breit', system-ui, sans-serif;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
  line-height: 1.4;
}

p {
  color: var(--gray-300);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

::selection {
  background: var(--accent);
  color: var(--black);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 48px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-800);
  z-index: 100;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 112px;
  width: auto;
}

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

.nav-links a {
  color: var(--gray-300);
  font-style: normal;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
}

.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
}

.mobile-nav {
  display: none;
  background: var(--gray-900);
  border-top: 1px solid var(--gray-800);
  padding: 16px 24px;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--white);
  font-style: normal;
  border-bottom: 1px solid var(--gray-800);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: 'Soehne Breit', system-ui, sans-serif;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--gray-200);
  color: var(--black);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray-700);
}

.btn-secondary:hover {
  background: var(--gray-900);
  border-color: var(--gray-500);
  color: var(--white);
}

/* Hero */
.hero {
  padding: 80px 24px 100px;
  border-bottom: 1px solid var(--gray-800);
}

.hero .container {
  max-width: 720px;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 24px;
  font-style: normal;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero h1 .text-accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.hero-insight {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.hero-insight p {
  color: var(--gray-300);
  font-size: 1.125rem;
  line-height: 1.7;
}

.hero-insight strong {
  color: var(--white);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 80px 24px;
  border-bottom: 1px solid var(--gray-800);
}

@media (min-width: 768px) {
  .section {
    padding: 112px 32px;
  }
}

.section h2 {
  margin-bottom: 16px;
}

.section h2 .text-accent {
  color: var(--accent);
}

.section h2 .text-critical {
  color: var(--critical);
}

.section-intro {
  color: var(--gray-300);
  font-size: 1.125rem;
  max-width: 700px;
  margin-bottom: 48px;
  line-height: 1.75;
}

.section-header-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-header-badge.critical {
  background: rgba(239, 68, 68, 0.15);
  color: var(--critical);
}

.section-header-badge.accent {
  background: rgba(94, 234, 212, 0.15);
  color: var(--accent);
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.metric-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 32px;
}

.metric-value {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1;
}

.metric-label {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
  margin-bottom: 8px;
}

.metric-desc {
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* Gap Cards */
.gaps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.gap-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 24px;
}

.gap-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.gap-header h3 {
  font-size: 1.25rem;
}

.severity-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
}

.severity-badge.critical {
  background: rgba(239, 68, 68, 0.15);
  color: var(--critical);
}

.severity-badge.high {
  background: rgba(249, 115, 22, 0.15);
  color: var(--high);
}

.gap-detail {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.gap-comparison {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-800);
}

.gap-stat {
  text-align: center;
}

.gap-label {
  display: block;
  font-size: 0.7rem;
  font-style: normal;
  color: var(--gray-500);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gap-value {
  font-size: 0.9rem;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
}

.gap-value.critical { color: var(--critical); }
.gap-value.high { color: var(--high); }

/* Competitor Cards */
.competitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.competitor-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 24px;
}

.competitor-card.main-threat {
  border-color: var(--critical);
  background: rgba(239, 68, 68, 0.05);
}

.competitor-card.highlight {
  border-color: var(--accent);
  background: rgba(94, 234, 212, 0.05);
}

.competitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.competitor-header h3 {
  font-size: 1.5rem;
}

.threat-badge {
  padding: 4px 10px;
  background: var(--critical);
  color: var(--white);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
}

.competitor-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comp-stat {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-800);
}

.comp-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.comp-stat span { color: var(--gray-400); }
.comp-stat strong {
  color: var(--white);
  font-style: normal;
}

.vulnerability-alert {
  margin-top: 16px;
  padding: 12px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--gray-300);
}

.vulnerability-alert strong {
  color: var(--high);
  font-style: normal;
}

/* Tactics Table */
.tactics-table {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 24px;
  overflow-x: auto;
}

.tactics-table h3 {
  margin-bottom: 20px;
}

.tactics-table table {
  width: 100%;
  border-collapse: collapse;
}

.tactics-table th,
.tactics-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--gray-800);
}

.tactics-table th {
  font-weight: 700;
  font-style: normal;
  color: var(--gray-400);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tactics-table td:first-child {
  text-align: left;
  color: var(--white);
}

.check { color: var(--success); font-style: normal; }
.missing { color: var(--critical); font-style: normal; }
.unknown { color: var(--gray-500); font-style: normal; }

/* Recommendations */
.recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.recommendation-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  gap: 24px;
}

@media (max-width: 768px) {
  .recommendation-card {
    flex-direction: column;
  }
}

.rec-priority {
  flex-shrink: 0;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--black);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  font-style: normal;
  height: fit-content;
}

.rec-content h3 {
  margin-bottom: 8px;
}

.rec-meta {
  font-size: 0.875rem;
  color: var(--accent);
  font-style: normal;
  margin-bottom: 12px;
}

.rec-content > p {
  color: var(--gray-400);
  margin-bottom: 16px;
  line-height: 1.6;
}

.rec-tactics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  list-style: none;
}

.rec-tactics li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-300);
}

.rec-tactics li::before {
  content: "→";
  color: var(--accent);
  font-style: normal;
  flex-shrink: 0;
}

/* CTA Box */
.cta-box {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
}

.cta-box h3 {
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--gray-400);
  margin-bottom: 24px;
}

/* Positioning Grid */
.positioning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.positioning-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 24px;
}

.positioning-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.positioning-card .vs {
  color: var(--accent);
  font-size: 0.875rem;
  font-style: normal;
  margin-bottom: 12px;
}

.positioning-card > p {
  color: var(--gray-400);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.key-message {
  background: var(--bg-primary);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  padding: 12px;
  font-size: 0.9rem;
  color: var(--gray-300);
}

.key-message strong {
  color: var(--accent);
  font-style: normal;
}

/* Quote Box */
.quote-box {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.quote-box p {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.6;
}

.quote-box strong {
  color: var(--accent);
  font-style: normal;
}

.quote-box .quote-footer {
  font-size: 1rem;
  color: var(--gray-400);
}

/* Contact */
.contact-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 16px;
  padding: 48px;
}

.contact-box h2 {
  margin-bottom: 12px;
}

.contact-box > p {
  color: var(--gray-400);
  margin-bottom: 32px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.contact-title {
  color: var(--accent);
  font-style: normal;
  margin-bottom: 24px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.contact-link {
  color: var(--white);
  font-style: normal;
}

.contact-link:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: var(--bg-primary);
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--gray-800);
}

.site-footer img {
  margin-bottom: 16px;
  height: 40px;
}

.site-footer p {
  margin-bottom: 8px;
  color: var(--gray-400);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--white);
}

.site-footer a:hover {
  color: var(--accent);
}

.confidential {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-800);
}

/* Section Dark Override */
.section-dark {
  background: var(--gray-900);
}

.section-alt {
  background: var(--bg-primary);
}

.section-intro.light {
  color: var(--gray-300);
}
