/* ============================================================
   Brethof Design System — built 2026-04-26T18:13:24Z
   DO NOT EDIT THIS FILE DIRECTLY.
   Edit source files in /mnt/AI/Programming/Brethof-design/
   then run ./build.sh to regenerate.
   ============================================================ */


/* ---------- tokens.css ---------- */
/* ============================================================
   Brethof Design System — Tokens
   Custom properties for the entire Brethof brand.
   Edit here once; every site updates.
   ============================================================ */

:root {
  /* ---- Color scheme ---- */
  /* Tells browsers to render native UI (form controls, scrollbars,
     autofill, search-cancel button) in dark mode by default. */
  color-scheme: dark;

  /* ---- Backgrounds ---- */
  --bg:          #05080f;
  --bg-card:     #0c1220;
  --bg-card-2:   #0f1729;

  /* ---- Borders ---- */
  --border:      rgba(0, 229, 255, 0.12);
  --border-mid:  rgba(0, 184, 255, 0.25);

  /* ---- Brand colors ---- */
  --cyan:        #00e5ff;
  --blue:        #00b8ff;
  --purple:      #7c5cff;

  /* ---- Semantic colors ---- */
  --green:       #34d399;
  --amber:       #fbbf24;
  --red:         #ef4444;

  /* ---- Text ---- */
  --text:        #e8edf5;
  --text-muted:  #7a8a9e;
  --text-dim:    #4a5a6e;

  /* ---- Radius ---- */
  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   20px;

  /* ---- Shadows / glows ---- */
  --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.08);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);

  /* ---- Motion ---- */
  --transition:  0.2s ease;

  /* ---- Typography ---- */
  --font-sans:   'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
}

/* ---------- reset.css ---------- */
/* ============================================================
   Brethof Design System — Reset
   Universal reset applied to every site.
   ============================================================ */

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

/* ---------- base.css ---------- */
/* ============================================================
   Brethof Design System — Base
   Document defaults, typography, animations, scrollbar, selection.
   Depends on: tokens.css
   ============================================================ */

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}
a:hover { color: #fff; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p  { color: var(--text-muted); }
ul { list-style: none; }

/* ---------- Typography helpers ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: brightness(1.3);
}

.gradient-text-cyan {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0, 229, 255, 0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 229, 255, 0.4); }

/* ---------- Text selection ---------- */
::selection {
  background: rgba(0, 229, 255, 0.2);
  color: var(--text);
}

/* ---------- components/grid.css ---------- */
/* ============================================================
   Brethof Design System — Grid
   Reusable grid layouts used by catalog, feature lists, etc.
   ============================================================ */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ---------- Auto-fill grids (responsive without breakpoints) ---------- */
.grid-auto-280 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-auto-320 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

/* ---------- Feature grid alias ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- components/buttons.css ---------- */
/* ============================================================
   Brethof Design System — Buttons
   .btn (base) + .btn-primary, .btn-secondary, .btn-ghost, .btn-purple
   Sizes: .btn-sm (default), .btn-lg, .btn-xl
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}
.btn-primary:hover {
  color: #000;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}
.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.15);
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-mid);
  background: rgba(255, 255, 255, 0.04);
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple), #5a3cdd);
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 92, 255, 0.3);
}
.btn-purple:hover {
  color: #fff;
  box-shadow: 0 0 30px rgba(124, 92, 255, 0.5);
  transform: translateY(-1px);
}

/* ---------- Sizes ---------- */
.btn-sm { padding: 0.45rem 1rem;   font-size: 0.8rem; }
.btn-lg { padding: 0.85rem 2rem;   font-size: 1rem;   border-radius: 10px; }
.btn-xl { padding: 1rem 2.5rem;    font-size: 1.05rem; border-radius: var(--radius); }

/* ---------- components/badge.css ---------- */
/* ============================================================
   Brethof Design System — Badges
   Small pill labels for tags, status, categories.
   ============================================================ */

.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.badge-purple {
  background: rgba(124, 92, 255, 0.12);
  color: var(--purple);
  border: 1px solid rgba(124, 92, 255, 0.3);
}

.badge-green {
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.badge-amber {
  background: rgba(251, 191, 36, 0.12);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-red {
  background: rgba(239, 68, 68, 0.12);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ---------- Status badges ---------- */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 999px;
  padding: 0.45rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
}

/* ---------- components/card.css ---------- */
/* ============================================================
   Brethof Design System — Card
   Generic content card with hover glow.
   ============================================================ */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

/* ---------- Surrealist-style corner glows on hover ---------- */
.card::before,
.card::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.card::before {
  top: -40px;
  left: -40px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.5) 0%, rgba(124, 92, 255, 0) 70%);
}

.card::after {
  bottom: -40px;
  right: -40px;
  background: radial-gradient(circle, rgba(0, 184, 255, 0.4) 0%, rgba(0, 184, 255, 0) 70%);
}

.card:hover::before,
.card:hover::after { opacity: 1; }

.card:hover {
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: 0 0 30px rgba(124, 92, 255, 0.08), 0 0 60px rgba(0, 184, 255, 0.05);
  transform: translateY(-2px);
}

.card > * { position: relative; z-index: 1; }

/* ---------- Card icon ---------- */
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card-icon.purple { background: rgba(124, 92, 255, 0.1); }
.card-icon.blue   { background: rgba(0, 184, 255, 0.1); }

.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p  { font-size: 0.9rem; }

/* ---------- components/form.css ---------- */
/* ============================================================
   Brethof Design System — Form
   Form fields, error states, modal overlay (used with auth/forms).
   ============================================================ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.65rem 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ---------- Native control resets (apply to all <select> + search input) ---------- */
select,
.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%237a8a9e' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 12px 8px;
  padding-right: 2.25rem;
}

select:hover,
.form-group select:hover { border-color: rgba(0, 229, 255, 0.4); }

/* The dropdown <option> list is OS-native, but on dark color-scheme
   it renders dark on most modern browsers. Some explicit styling helps
   on the few browsers that still ignore it: */
select option {
  background: var(--bg-card);
  color: var(--text);
}

/* ---------- <input type="search"> — strip Chrome/Safari cancel chrome ---------- */
input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

/* ---------- Placeholder color (consistent across browsers) ---------- */
input::placeholder,
textarea::placeholder { color: var(--text-dim); opacity: 1; }

/* ---------- Autofill (Chrome paints autofilled inputs yellow by default) ---------- */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
  caret-color: var(--text);
  transition: background-color 5000s ease-in-out 0s;
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ff6b6b;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.form-success {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--green);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  text-align: center;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

/* ---------- components/auth.css ---------- */
/* ============================================================
   Brethof Design System — Auth
   Login / register / forgot / reset card layouts.
   Depends on: form.css
   ============================================================ */

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8rem 2rem 2rem;
}

body.has-announce .auth-container {
  padding-top: calc(8rem + 32px);
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
}

.auth-card::before,
.auth-card::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  pointer-events: none;
}

.auth-card::before {
  top: -60px;
  left: -60px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.3) 0%, transparent 70%);
}

.auth-card::after {
  bottom: -60px;
  right: -60px;
  background: radial-gradient(circle, rgba(0, 184, 255, 0.25) 0%, transparent 70%);
}

.auth-card > * { position: relative; z-index: 1; }

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}
.auth-header h1 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.auth-header p  { font-size: 0.9rem; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-dim);
  font-size: 0.82rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.auth-footer a { font-weight: 600; }

.auth-links {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.88rem;
}

/* ---------- components/nav.css ---------- */
/* ============================================================
   Brethof Design System — Navigation
   Top nav, mobile nav, hamburger, language picker, announcement bar.
   ============================================================ */

/* ---------- Announcement bar (above nav) ---------- */
.announce-bar {
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.15), rgba(0, 229, 255, 0.15));
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}
.announce-bar strong { color: var(--cyan); }

body.has-announce .nav        { top: 32px; }
body.has-announce .nav-mobile { top: calc(32px + 64px); }
body.has-announce .hero       { padding-top: calc(8rem + 32px); }

/* ---------- Top nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.nav.scrolled {
  background: rgba(5, 8, 15, 0.97);
  border-bottom-color: rgba(0, 229, 255, 0.2);
}

.nav-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-logo span {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-divider {
  color: var(--text-dim);
  font-weight: 400;
  margin: 0 0.1rem;
}

.nav-sub {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  -webkit-text-fill-color: initial;
  background: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.nav-ext::after {
  content: '\2197';
  font-size: 0.8em;
  margin-left: 0.2em;
  color: var(--text-dim);
}

.nav-cta {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

/* ---------- Hamburger ---------- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

/* ---------- Mobile nav ---------- */
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(5, 8, 15, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 999;
}

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

.nav-mobile a {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-mobile a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-mobile .btn { margin-top: 0.5rem; text-align: center; }

/* ---------- Language picker ---------- */
.lang-picker {
  position: relative;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.lang-picker-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.lang-picker-btn:hover {
  border-color: var(--cyan);
  color: var(--text);
}

.lang-picker-label {
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-picker-arrow { transition: transform var(--transition); }
.lang-picker.open .lang-picker-arrow { transform: rotate(180deg); }

.lang-picker-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: 180px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  padding: 0.25rem 0;
}

.lang-picker.open .lang-picker-dropdown { display: block; }

.lang-picker-dropdown a {
  display: block;
  padding: 0.45rem 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: background 0.15s, color 0.15s;
}

.lang-picker-dropdown a:hover {
  background: rgba(0, 229, 255, 0.08);
  color: var(--text);
}

.lang-picker-dropdown a.active {
  color: var(--cyan);
  font-weight: 600;
}

.lang-picker-dropdown::-webkit-scrollbar       { width: 6px; }
.lang-picker-dropdown::-webkit-scrollbar-track { background: transparent; }
.lang-picker-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

/* ---------- Mobile language picker ---------- */
.lang-picker-mobile {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
}

.lang-picker-mobile select {
  width: 100%;
  padding: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ---------- components/hero.css ---------- */
/* ============================================================
   Brethof Design System — Hero
   .hero (homepage), .page-hero (inner pages)
   ============================================================ */

.hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 1.75rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 184, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero { padding: 6rem 0 4rem; }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- components/trust-bar.css ---------- */
/* ============================================================
   Brethof Design System — Trust Bar
   Horizontal strip of trust signals below the hero.
   ============================================================ */

.trust-bar {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(12, 18, 32, 0.5);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.trust-item .icon { font-size: 1.1rem; opacity: 0.9; }
.trust-item strong { color: var(--text); font-weight: 600; }

@media (max-width: 600px) {
  .trust-bar-inner { gap: 1.25rem; }
}

/* ---------- components/pricing.css ---------- */
/* ============================================================
   Brethof Design System — Pricing
   Pricing card grid, popular badge, price formatting.
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.pricing-card.popular,
.pricing-card.featured {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.1);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name,
.pricing-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.pricing-price .amount {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.pricing-price .currency {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-price .period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-range {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
}

.pricing-original {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.pricing-promo {
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-features li.dim { color: var(--text-dim); }

.pricing-features li .feat-check {
  color: var(--green);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pricing-features li .feat-cross {
  color: var(--text-dim);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ---------- Compact price tag ---------- */
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
}
.price-tag .amount { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.price-tag .label  { font-size: 0.8rem; color: var(--text-dim); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ---------- components/comparison-table.css ---------- */
/* ============================================================
   Brethof Design System — Comparison Table
   Generic feature-comparison grid (e.g. Personal vs Commercial).
   ============================================================ */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.comparison-table th {
  background: rgba(0, 229, 255, 0.04);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comparison-table th.highlight,
.comparison-table td.highlight {
  background: rgba(0, 229, 255, 0.06);
  color: var(--cyan);
}

.comparison-table td.feature-col {
  text-align: left;
  color: var(--text-muted);
}

.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

.check   { color: var(--green); font-size: 1.1rem; }
.cross   { color: var(--red);   font-size: 1.1rem; }
.partial { color: var(--amber); font-size: 1.1rem; }

@media (max-width: 768px) {
  .comparison-table th,
  .comparison-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* ---------- components/faq.css ---------- */
/* ============================================================
   Brethof Design System — FAQ
   Accordion-style question/answer list.
   ============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--cyan); }

.faq-question .faq-arrow {
  font-size: 1rem;
  color: var(--text-dim);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--cyan);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
}

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ---------- components/steps.css ---------- */
/* ============================================================
   Brethof Design System — Steps
   Numbered "how it works" / quick-start step list.
   Two layouts: vertical (.steps-list > .step) and horizontal (.steps).
   ============================================================ */

/* ---------- Vertical numbered list ---------- */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cyan);
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Horizontal flow with arrows ---------- */
.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.steps .step {
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 180px;
  max-width: 220px;
  gap: 0.5rem;
}

.step-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .steps { flex-direction: column; align-items: stretch; }
  .steps .step { max-width: 100%; }
  .step-arrow { transform: rotate(90deg); align-self: center; }
}

/* ---------- components/features.css ---------- */
/* ============================================================
   Brethof Design System — Feature blocks
   Multiple patterns for showing features:
   - .feat-alt: alternating image+text rows
   - .feature-detail: detail section with checklist
   - .feature-list: checkmark bullets
   - .features-screenshots: 2-up screenshot grid
   - .screenshot-wrap: single screenshot with vignette
   - .contact-grid: contact card row
   ============================================================ */

/* ---------- Alternating image + text ---------- */
.feat-alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.feat-alt:last-child { border-bottom: none; }

.feat-alt.reverse .feat-text { order: 2; }
.feat-alt.reverse .feat-img  { order: 1; }

.feat-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 1rem;
}

.feat-text p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.feat-text .feat-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feat-text .feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feat-text .feat-list li::before {
  content: '\2192';
  color: var(--cyan);
  flex-shrink: 0;
}

.feat-img { position: relative; }

.feat-img img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), 0 0 60px rgba(0, 229, 255, 0.06);
  width: 100%;
}

.feat-img-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.feat-img-placeholder .placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.5;
}

/* ---------- Feature detail section ---------- */
.feature-detail {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-detail:last-child { border-bottom: none; }

.feature-detail h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-detail > .feature-detail-text > p {
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* ---------- Checkmark feature list ---------- */
.feature-list {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.feature-list li strong { color: var(--text); }

/* ---------- 2-up screenshots ---------- */
.features-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.features-screenshot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Single screenshot with vignette ---------- */
.screenshot-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), 0 0 80px rgba(0, 229, 255, 0.08);
}

.screenshot-wrap img {
  width: 100%;
  display: block;
}

.screenshot-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 8, 15, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ---------- Contact grid ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contact-grid .card p { color: var(--text-muted); }

/* ---------- Cross-promo block ---------- */
.cross-promo {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.08), rgba(0, 229, 255, 0.08));
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}

.cross-promo-content { max-width: 600px; margin: 0 auto; }

.cross-promo-content p {
  color: var(--text-muted);
  margin: 0.5rem auto 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feat-alt {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feat-alt.reverse .feat-text { order: 0; }
  .feat-alt.reverse .feat-img  { order: 0; }
}

@media (max-width: 600px) {
  .features-screenshots { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- components/footer.css ---------- */
/* ============================================================
   Brethof Design System — Footer
   Site footer with brand, link columns, copyright bar.
   ============================================================ */

.footer {
  background: rgba(8, 12, 20, 0.9);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand .nav-logo { margin-bottom: 0.75rem; }
.footer-brand h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a,
.footer-col ul a {
  display: block;
  color: var(--text-dim);
  font-size: 0.88rem;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.footer-col a:hover,
.footer-col ul a:hover { color: var(--cyan); }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- utilities.css ---------- */
/* ============================================================
   Brethof Design System — Utilities
   Always loaded LAST so utilities win the cascade.
   Depends on: tokens.css
   ============================================================ */

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .section-sub { margin: 0 auto; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 3rem 0;
}

/* ---------- Text ---------- */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }

/* ---------- Spacing ---------- */
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }

/* ---------- Sizing ---------- */
.w-full { width: 100%; }

/* ---------- Section spacing on small screens ---------- */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
}
