/* ═══════════════════════════════════════════════════════════
   Local Fonts
═══════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bebas-neue-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bebas-neue-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/barlow-300italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/barlow-300italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/barlow-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/barlow-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-condensed-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-condensed-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-condensed-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-condensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-condensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══════════════════════════════════════════════════════════
   Base Variables & Theme
═══════════════════════════════════════════════════════════ */
:root {
  --bg: #1e1e2f;
  --panel: #2a2a40;
  --accent: #4f80ff;
  --text: #e0e0e0;
  --tab-inactive: #3a3a55;

  --toast-bg: #333;
  --toast-text: #fff;

  /* Generator extras */
  --input-bg: #1a1a2e;
  --input-border: #3a3a55;
  --input-border-ok: #3aad6e;
  --input-border-err: #e05555;
  --section-title-color: var(--accent);
  --subhead-color: #8888aa;
  --hint-color: #6677aa;
  --mandatory-color: #e05555;
  --banner-err-bg: rgba(224,85,85,0.15);
  --banner-err-border: #e05555;
}

body.light {
  --bg: #f0f0f0;
  --panel: #ffffff;
  --accent: #0077cc;
  --text: #111;
  --tab-inactive: #ddd;

  --toast-bg: #222;
  --toast-text: #fff;

  --input-bg: #f8f8ff;
  --input-border: #ccd;
  --input-border-ok: #2e9e5e;
  --input-border-err: #cc3333;
  --section-title-color: var(--accent);
  --subhead-color: #778;
  --hint-color: #99a;
  --banner-err-bg: rgba(204,51,51,0.08);
  --banner-err-border: #cc3333;
}

/* ═══════════════════════════════════════════════════════════
   Reset & Base
═══════════════════════════════════════════════════════════ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════
   Original Layout (Map / Video tool)
═══════════════════════════════════════════════════════════ */
#container {
  display: flex;
  height: 100vh;
  width: 100vw;
}

#left {
  width: 40%;
  min-width: 250px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  background: var(--panel);
}

#videoContainer {
  flex: 1;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

video {
  width: 100%;
  height: 100%;
}

#fullscreenBtn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 0.9em;
  z-index: 10;
}

#streamStatus {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 0.85em;
  color: #fff;
  z-index: 10;
}

#vertical-resizer {
  height: 6px;
  background: #555;
  cursor: row-resize;
}

#tabs {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #444;
  background-color: var(--panel);
}

#tab-buttons {
  display: flex;
  justify-content: space-around;
  background: var(--tab-inactive);
}

.tab-button {
  flex: 1;
  padding: 12px 0;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.tab-button:hover {
  background: var(--accent);
}

.tab-button.active {
  background: var(--panel);
  color: var(--accent);
  font-weight: bold;
}

.tab-content {
  flex: 1;
  padding: 15px;
  display: none;
}

.tab-content.active {
  display: block;
}

#resizer {
  width: 6px;
  background: #555;
  cursor: col-resize;
}

#map {
  flex: 1;
  border: none;
}

/* ═══════════════════════════════════════════════════════════
   Shared UI Elements
═══════════════════════════════════════════════════════════ */
select, input, button {
  padding: 10px;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  margin-top: 10px;
}

select, input {
  width: 70%;
  background: #333;
  color: #eee;
}

body.light select, body.light input {
  background: #eee;
  color: #000;
}

button {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

button:hover {
  background: #3a6be0;
}

#themeToggle {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background: var(--panel);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1em;
  border: none;
  margin-top: 0;
}

#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--toast-bg);
  color: var(--toast-text);
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: opacity 0.3s ease;
}

#toast.hidden {
  opacity: 0;
  pointer-events: none;
}

.hidden {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════
   Responsive (original tool)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) and (orientation: portrait) {
  #container { flex-direction: column; }
  #left { width: 100%; height: 50%; border-right: none; }
  #resizer { height: 6px; width: 100%; cursor: row-resize; }
  #map { width: 100%; height: 50%; }
}

@media (max-width: 768px) and (orientation: landscape) {
  #container { flex-direction: row; }
  #left { width: 50%; height: 100%; }
  #map { width: 50%; height: 100%; }
  #resizer { width: 6px; height: 100%; cursor: col-resize; }
}

/* ═══════════════════════════════════════════════════════════
   SEDAP Generator — App Shell
═══════════════════════════════════════════════════════════ */
#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.sdx-header {
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 20px 10px;
  background: var(--panel);
  border-bottom: 1px solid var(--input-border);
}

.sdx-header-title {
  font-size: 1.15em;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sdx-logo {
  font-size: 1.3em;
  opacity: 0.8;
}

.sdx-header-sub {
  font-size: 0.8em;
  opacity: 0.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   SEDAP Generator — Type Selector Bar
═══════════════════════════════════════════════════════════ */
.sdx-type-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  background: var(--panel);
  border-bottom: 1px solid var(--input-border);
}

.sdx-type-label {
  font-size: 0.82em;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.sdx-type-buttons {
  display: flex;
  gap: 8px;
}

.type-btn {
  padding: 6px 18px;
  margin-top: 0;
  font-size: 0.88em;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: var(--tab-inactive);
  color: var(--text);
  border: 1px solid var(--input-border);
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.type-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.type-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   SEDAP Generator — Form Area
═══════════════════════════════════════════════════════════ */
.idle-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 14px;
  opacity: 0.35;
}

.idle-icon {
  font-size: 3em;
}

.idle-text {
  font-size: 1em;
  letter-spacing: 0.04em;
}

.form-area {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 30px;
}

/* Scrollbar style */
.form-area::-webkit-scrollbar { width: 6px; }
.form-area::-webkit-scrollbar-track { background: transparent; }
.form-area::-webkit-scrollbar-thumb { background: var(--input-border); border-radius: 3px; }

/* ═══════════════════════════════════════════════════════════
   SEDAP Generator — Section Titles
═══════════════════════════════════════════════════════════ */
.section-title {
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--section-title-color);
  border-bottom: 1px solid var(--input-border);
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.gen-subhead {
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subhead-color);
  margin: 14px 0 6px;
}

/* ═══════════════════════════════════════════════════════════
   SEDAP Generator — Grid & Fields
═══════════════════════════════════════════════════════════ */
.gen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 16px;
  margin-bottom: 4px;
}

.gen-grid-wide {
  grid-template-columns: 1fr 1fr;
}

.gen-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gen-field label {
  font-size: 0.78em;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hint {
  font-size: 0.85em;
  color: var(--hint-color);
  font-style: italic;
}

.hint a {
  color: var(--accent);
  text-decoration: none;
}

.hint a:hover {
  text-decoration: underline;
}

.mandatory {
  font-size: 0.8em;
  color: var(--mandatory-color);
  font-weight: 700;
}

/* Override global input width inside gen-grid */
.gen-field input,
.gen-field select {
  width: 100%;
  margin-top: 0;
  padding: 7px 9px;
  font-size: 0.9em;
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--input-border);
  border-radius: 5px;
  outline: none;
  transition: border-color 0.15s;
}

body.light .gen-field input,
body.light .gen-field select {
  background: var(--input-bg);
  color: var(--text);
}

.gen-field input:focus,
.gen-field select:focus {
  border-color: var(--accent);
}

.gen-field input.field-ok {
  border-color: var(--input-border-ok);
}

.gen-field input.field-invalid {
  border-color: var(--input-border-err);
}

.field-err {
  font-size: 0.72em;
  color: var(--input-border-err);
  display: none;
  min-height: 1em;
}

/* ═══════════════════════════════════════════════════════════
   SEDAP Generator — Actions & Output
═══════════════════════════════════════════════════════════ */
.gen-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gen-action-buttons {
  display: flex;
  gap: 10px;
}

.gen-btn {
  padding: 9px 22px;
  margin-top: 0;
  font-size: 0.92em;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.gen-btn:hover {
  background: #3a6be0;
}

.gen-btn-clear {
  background: #55334a;
}

.gen-btn-clear:hover {
  background: #7a3a5e;
}

body.light .gen-btn-clear {
  background: #c0505050;
  color: var(--text);
}

body.light .gen-btn-clear:hover {
  background: #b03030;
  color: #fff;
}

.banner {
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.85em;
  font-weight: 500;
}

.banner-error {
  background: var(--banner-err-bg);
  border: 1px solid var(--banner-err-border);
  color: var(--input-border-err);
}

.gen-output {
  margin-top: 16px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 7px;
  overflow: hidden;
}

.gen-output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: var(--tab-inactive);
  border-bottom: 1px solid var(--input-border);
}

.raw-label {
  font-size: 0.7em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  font-weight: 700;
}

.gen-copy-btn {
  padding: 3px 10px;
  margin-top: 0;
  font-size: 0.78em;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.gen-copy-btn:hover {
  background: #3a6be0;
}

.gen-output-code {
  display: block;
  padding: 12px 14px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.85em;
  word-break: break-all;
  white-space: pre-wrap;
  color: #a8d8a8;
  line-height: 1.5;
}

body.light .gen-output-code {
  color: #1a6e1a;
}

/* ═══════════════════════════════════════════════════════════
   index.html — Site Header & Nav (from RBL site)
═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 12, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(79, 128, 255, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 60px;
  max-width: 1280px;
  margin: 0 auto;
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-rbl {
  display: flex;
  align-items: center;
}

.ex-logo-mark {
  width: 38px;
  height: 38px;
  background: rgba(79, 128, 255, 0.15);
  border: 1px solid rgba(79, 128, 255, 0.4);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ex-sigil {
  font-size: 1.1em;
  color: var(--accent);
}

.rbl-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.15);
}

.club-name {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.club-abbr {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1em;
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1;
}

.club-abbr a,
.club-full a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.club-abbr a:hover,
.club-full a:hover {
  color: var(--accent);
}

.club-full {
  font-size: 0.68em;
  opacity: 0.5;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

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

.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(10,12,20,0.97);
  padding: 16px 28px;
  gap: 14px;
  border-bottom: 1px solid rgba(79,128,255,0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  margin-top: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   index.html — Hero Section
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a0c14 0%, #0d1a2e 50%, #0a1520 100%);
  padding: 80px 28px 60px;
  overflow: hidden;
}

.hero-water-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(79,128,255,0.04) 60px,
      rgba(79,128,255,0.04) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(79,128,255,0.03) 80px,
      rgba(79,128,255,0.03) 81px
    );
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(79,128,255,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  flex: 1;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  line-height: 0.9;
  margin: 0 0 18px;
}

.hero-title-top {
  display: block;
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: #fff;
  letter-spacing: 0.04em;
}

.hero-title-bottom {
  display: block;
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--accent);
  letter-spacing: 0.04em;
}

.hero-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 1em;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 5px 12px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #3aad6e;
  border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-image-slot {
  position: relative;
  z-index: 2;
  flex: 0 0 420px;
  max-width: 420px;
}

.image-placeholder {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(79,128,255,0.15);
}

.team-hero-img {
  width: 100%;
  display: block;
  opacity: 0.9;
}

.placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.2);
}

.placeholder-icon {
  width: 60px;
  height: 45px;
}

.placeholder-inner p {
  font-size: 0.75em;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  z-index: 2;
}

.scroll-arrow {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scroll-drop 1.6s ease-in-out infinite;
}

@keyframes scroll-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════════════════════
   TOOLS BAR (sticky inside #tools section)
═══════════════════════════════════════════════════════════ */
.tools-bar {
  position: sticky;
  top: 60px;
  z-index: 90;
  background: rgba(10, 12, 20, 0.97);
  border-bottom: 2px solid rgba(79, 128, 255, 0.3);
  margin: 0 -28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.tools-bar--scrolled {
  border-color: var(--accent);
  box-shadow: 0 2px 20px rgba(79, 128, 255, 0.15);
}

.tools-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 52px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 20px;
}

.tools-bar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

.tools-bar-sigil {
  color: var(--accent);
  font-size: 1.1em;
}

.tools-bar-links {
  display: flex;
  gap: 10px;
}

.tool-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  border: 1px solid transparent;
}

.tool-link:hover {
  transform: translateY(-1px);
}

.tool-link--primary {
  background: rgba(79, 128, 255, 0.12);
  border-color: rgba(79, 128, 255, 0.35);
  color: #fff;
}

.tool-link--primary:hover {
  background: rgba(79, 128, 255, 0.22);
  border-color: var(--accent);
}

.tool-link--secondary {
  background: rgba(58, 173, 110, 0.1);
  border-color: rgba(58, 173, 110, 0.3);
  color: #fff;
}

.tool-link--secondary:hover {
  background: rgba(58, 173, 110, 0.2);
  border-color: #3aad6e;
}

.tool-link-icon {
  font-size: 0.8em;
  opacity: 0.8;
}

.tool-link-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.tool-link-text strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.tool-link-text small {
  font-size: 0.68em;
  opacity: 0.5;
  font-family: 'Barlow', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   Coming Soon Banner
═══════════════════════════════════════════════════════════ */
.coming-soon-banner {
  background: rgba(79, 128, 255, 0.07);
  border-top: 1px solid rgba(79, 128, 255, 0.15);
  border-bottom: 1px solid rgba(79, 128, 255, 0.15);
}

.banner-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 28px;
  max-width: 1280px;
  margin: 0 auto;
  font-family: 'Barlow', sans-serif;
  font-size: 0.88em;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.banner-icon {
  font-size: 1.2em;
  flex-shrink: 0;
  margin-top: 1px;
}

.banner-inner strong {
  color: rgba(255,255,255,0.85);
}

/* ═══════════════════════════════════════════════════════════
   Sections
═══════════════════════════════════════════════════════════ */
.section {
  padding: 80px 28px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  scroll-margin-top: 80px;
}

.section.revealed {
  opacity: 1;
  transform: none;
}

.section--dark {
  background: #0d0f1c;
}

.section--accent {
  background: #0a1020;
  border-top: 1px solid rgba(79,128,255,0.1);
  border-bottom: 1px solid rgba(79,128,255,0.1);
}

.section--light {
  background: #111328;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  opacity: 0.8;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 14px;
}

.section-intro {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95em;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 36px;
}

/* ═══════════════════════════════════════════════════════════
   Card Grid
═══════════════════════════════════════════════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s;
}

.card.revealed {
  opacity: 1;
  transform: none;
}

.card:hover {
  border-color: rgba(79,128,255,0.3);
}

.card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(79,128,255,0.1);
  border: 1px solid rgba(79,128,255,0.2);
  flex-shrink: 0;
}

.card-avatar--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  border-radius: 8px;
}

.card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95em;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
}

.card-role {
  font-size: 0.75em;
  color: rgba(255,255,255,0.4);
  margin-top: 3px;
  font-family: 'Barlow', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   Timeline
═══════════════════════════════════════════════════════════ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid rgba(79,128,255,0.2);
  padding-left: 28px;
  margin-left: 8px;
}

.timeline-item {
  position: relative;
  padding: 0 0 32px 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline-item.revealed {
  opacity: 1;
  transform: none;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #0a1020;
  box-shadow: 0 0 8px rgba(79,128,255,0.4);
}

.timeline-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.timeline-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05em;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
}

.timeline-content p {
  font-size: 0.85em;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   Results Table
═══════════════════════════════════════════════════════════ */
.results-placeholder {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  overflow: hidden;
}

.result-row {
  display: grid;
  grid-template-columns: 120px 1fr 80px 100px;
  gap: 0;
  padding: 10px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88em;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.5);
}

.result-row:last-child {
  border-bottom: none;
}

.result-row--header {
  background: rgba(79,128,255,0.08);
  font-weight: 700;
  font-size: 0.75em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════════
   Tool Cards (Tools section)
═══════════════════════════════════════════════════════════ */
.tool-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 22px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s, background 0.2s, transform 0.18s;
  opacity: 0;
  transform: translateY(12px);
}

.tool-card.revealed {
  opacity: 1;
  transform: none;
}

.tool-card--generator {
  background: rgba(79, 128, 255, 0.06);
}

.tool-card--generator:hover {
  background: rgba(79, 128, 255, 0.12);
  border-color: rgba(79, 128, 255, 0.4);
  transform: translateY(-2px);
}

.tool-card--validator {
  background: rgba(58, 173, 110, 0.06);
}

.tool-card--validator:hover {
  background: rgba(58, 173, 110, 0.12);
  border-color: rgba(58, 173, 110, 0.4);
  transform: translateY(-2px);
}

.tool-card-icon {
  font-size: 1.6em;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}

.tool-card-body {
  flex: 1;
}

.tool-card-body h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2em;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0 0 5px;
}

.tool-card-body p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.82em;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  margin: 0;
}

.tool-card-arrow {
  font-size: 1.2em;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.tool-card:hover .tool-card-arrow {
  color: rgba(255,255,255,0.6);
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════
   Info Blocks
═══════════════════════════════════════════════════════════ */
.info-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.info-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 22px 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s;
}

.info-block.revealed {
  opacity: 1;
  transform: none;
}

.info-block:hover {
  border-color: rgba(79,128,255,0.25);
}

.info-icon {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.info-block h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 6px;
}

.info-block p {
  font-size: 0.8em;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   Gallery
═══════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item.revealed {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════════════════
   Kontakt Cards
═══════════════════════════════════════════════════════════ */
.kontakt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.kontakt-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 20px 18px;
}

.kontakt-icon {
  font-size: 1.4em;
  margin-bottom: 8px;
}

.kontakt-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 6px;
}

.kontakt-card p,
.kontakt-card a {
  font-size: 0.88em;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 0;
  text-decoration: none;
}

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

/* ═══════════════════════════════════════════════════════════
   Footer
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: #08090f;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-rbl-logo {
  height: 28px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(1);
  transition: opacity 0.2s, filter 0.2s;
}

.footer-rbl-logo:hover {
  opacity: 1;
  filter: none;
}

.footer-sigil {
  font-size: 1.2em;
  color: var(--accent);
  opacity: 0.7;
}

.footer-ex-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1em;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}

.footer-text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.78em;
  color: rgba(255,255,255,0.3);
  text-align: center;
  line-height: 1.6;
}

.footer-text a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

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

.footer-sub {
  opacity: 0.6;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ═══════════════════════════════════════════════════════════
   Tools section — tools-bar is first child, re-add top padding
═══════════════════════════════════════════════════════════ */
#tools {
  padding-top: 0;
}

#tools > .section-inner {
  padding-top: 60px;
}

/* ═══════════════════════════════════════════════════════════
   Services Grid
═══════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.service-tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 20px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #fff;
  transition: border-color 0.2s, background 0.2s, transform 0.18s;
  opacity: 0;
  transform: translateY(12px);
}

.service-tile.revealed {
  opacity: 1;
  transform: none;
}

.service-tile:hover {
  background: rgba(79,128,255,0.08);
  border-color: rgba(79,128,255,0.3);
  transform: translateY(-2px);
}

.service-tile-icon {
  font-size: 1.6em;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79,128,255,0.1);
  border: 1px solid rgba(79,128,255,0.2);
  border-radius: 10px;
  flex-shrink: 0;
}

.service-tile-body h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15em;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0 0 5px;
}

.service-tile-body p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.8em;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  margin: 0;
}

.service-tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.service-tile-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  padding: 2px 7px;
}

.service-tile-arrow {
  font-size: 1em;
  color: rgba(255,255,255,0.2);
  transition: color 0.2s, transform 0.2s;
}

.service-tile:hover .service-tile-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════
   Page Hero (Impressum / Datenschutz)
═══════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #0a0c14 0%, #0d1a2e 100%);
  padding: 120px 28px 60px;
  border-bottom: 1px solid rgba(79,128,255,0.15);
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  opacity: 0.8;
}

.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 28px 80px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95em;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.page-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6em;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 44px 0 12px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  margin: 0 0 14px;
}

.page-content a {
  color: var(--accent);
  text-decoration: none;
}

.page-content a:hover {
  text-decoration: underline;
}

.placeholder-text {
  background: rgba(79,128,255,0.08);
  border: 1px dashed rgba(79,128,255,0.3);
  border-radius: 4px;
  padding: 1px 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88em;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   Responsive
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding-top: 100px;
    gap: 40px;
  }

  .hero-image-slot {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .main-nav:not(.open) {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .tools-bar-inner {
    flex-direction: column;
    height: auto;
    padding: 10px 16px;
    gap: 8px;
  }

  .tools-bar-label {
    display: none;
  }

  .tools-bar-links {
    width: 100%;
  }

  .tool-link {
    flex: 1;
    justify-content: center;
  }

  .result-row {
    grid-template-columns: 80px 1fr 60px 80px;
    font-size: 0.78em;
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding: 0 16px;
  }

  .section {
    padding: 50px 16px;
  }

  .tool-cards {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
