/**
 * lynk.css — Lynk Insights Shared Design System  v2.0
 *
 * Single source of truth for all design tokens and reusable UI components.
 * Every HTML page in the app links to this file.
 *
 * Sections:
 *   1. Design Tokens (CSS custom properties)
 *   2. Reset & Base
 *   3. Background Glow Effects
 *   4. Logo
 *   5. Cards
 *   6. Buttons
 *   7. Form Controls (labels, inputs, password toggle)
 *   8. Alerts
 *   9. Spinner
 *  10. Tab Switcher
 *  11. Divider
 *  12. Navigation (back link, lang switcher)
 *  13. Info Box
 *  14. Password Strength Indicator
 *  15. Footer Note
 *  16. Animations
 *  17. Utilities
 *  18. Responsive (auth/shared)
 *  19. Marketing Layout   — scoped to .marketing-page body class
 *  20. Marketing Typography
 *  21. Marketing Nav (.mkt-nav)
 *  22. Language Content Switcher (.en / .el / .el-block)
 *  23. Pill Badges (.pill, .dot, dotpulse keyframe)
 *  24. Marketing Section Header (.section-header)
 *  25. Marketing Animations (fade-up, fade-in, stagger-*)
 */


/* ═══════════════════════════════════════════════════════════════════
   1. DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --accent:         #0057FF;
  --accent-hover:   #0044CC;
  --accent-light:   rgba(0, 87, 255, .10);
  --accent-glow:    rgba(0, 87, 255, .35);

  /* Semantic colours */
  --pos:      #22C55E;
  --pos-bg:   rgba(34, 197, 94, .10);
  --neg:      #EF4444;
  --neg-bg:   rgba(239, 68, 68, .10);
  --warn:     #F59E0B;
  --warn-bg:  rgba(245, 158, 11, .10);
  --purple:   #8B5CF6;
  --teal:     #14B8A6;
  --orange:   #F97316;

  /* Surfaces — dark (default) */
  --bg:           #060B18;
  --bg2:          #0A0F1E;
  --bg3:          #0F1629;
  --card:         #0E1525;
  --card2:        #111B30;
  --input-bg:     #060B18;

  /* Borders — dark */
  --border:        rgba(255, 255, 255, .07);
  --border-strong: rgba(255, 255, 255, .13);
  --border-solid:  #1E2A3E;

  /* Text — dark */
  --text:   #F0F4FF;
  --text-2: #C8D3EE;
  --muted:  #6B7A99;

  /* Transitions */
  --tr: .18s cubic-bezier(.4, 0, .2, 1);

  /* Radii */
  --radius:    16px;
  --radius-sm: 10px;
  --radius-xs: 8px;

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

/* ── Light-mode overrides ─────────────────────────────────────────── */
[data-theme="light"] {
  /* Surfaces */
  --bg:           #F5F7FC;
  --bg2:          #EDF0F7;
  --bg3:          #E2E7F2;
  --card:         #FFFFFF;
  --card2:        #F8FAFD;
  --input-bg:     #FFFFFF;

  /* Borders */
  --border:        rgba(15, 23, 42, .07);
  --border-strong: rgba(15, 23, 42, .13);
  --border-solid:  #CBD5E1;

  /* Text */
  --text:   #0F172A;
  --text-2: #334155;
  --muted:  #64748B;

  /* Semantic — slightly desaturated for light backgrounds */
  --pos-bg:   rgba(34, 197, 94, .09);
  --neg-bg:   rgba(239, 68, 68, .09);
  --warn-bg:  rgba(245, 158, 11, .09);
  --accent-light: rgba(0, 87, 255, .07);
  --accent-glow:  rgba(0, 87, 255, .25);
}


/* ═══════════════════════════════════════════════════════════════════
   2. RESET & BASE
   ═══════════════════════════════════════════════════════════════════ */

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

html, body {
  height: 100%;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ═══════════════════════════════════════════════════════════════════
   3. BACKGROUND GLOW EFFECTS
   ═══════════════════════════════════════════════════════════════════ */

.bg-glow {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 440px;
  background: radial-gradient(ellipse, rgba(0, 87, 255, .14) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow2 {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(0, 87, 255, .06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .bg-glow {
  background: radial-gradient(ellipse, rgba(0, 87, 255, .07) 0%, transparent 68%);
}
[data-theme="light"] .bg-glow2 {
  background: radial-gradient(ellipse, rgba(0, 87, 255, .04) 0%, transparent 65%);
}


/* ═══════════════════════════════════════════════════════════════════
   4. LOGO
   ═══════════════════════════════════════════════════════════════════ */

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 32px;
}

.logo svg {
  display: block;
  fill: rgba(255, 255, 255, .92);
  transition: fill var(--tr);
}

[data-theme="light"] .logo svg {
  fill: #0D1424;
}


/* ═══════════════════════════════════════════════════════════════════
   5. CARDS
   ═══════════════════════════════════════════════════════════════════ */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  width: 100%;
  position: relative;
}

/* Auth-specific: max-width constraint is applied by the parent layout */
.auth-layout .card {
  max-width: 460px;
}

/* Full-bleed centred layout for auth pages (login, reset-password) */
.auth-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 20px;
}

[data-theme="light"] .card {
  box-shadow: 0 2px 16px rgba(15, 23, 42, .06), 0 0 0 1px var(--border);
}


/* ═══════════════════════════════════════════════════════════════════
   6. BUTTONS
   ═══════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: -.01em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background var(--tr), box-shadow var(--tr), transform var(--tr), border-color var(--tr), color var(--tr);
  white-space: nowrap;
}

/* Full-width block button (auth forms) */
.btn-block {
  width: 100%;
  margin-top: 4px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 87, 255, .2);
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 87, 255, .2);
}
.btn-primary:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border-strong);
  color: var(--muted);
}
.btn-ghost:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .22);
  color: var(--text);
}
.btn-outline-white:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .06);
}

.btn-xl {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 12px;
  font-weight: 700;
}


/* ═══════════════════════════════════════════════════════════════════
   7. FORM CONTROLS
   ═══════════════════════════════════════════════════════════════════ */

.field {
  margin-bottom: 18px;
}

label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 7px;
}

.input-wrap {
  position: relative;
}

.input-wrap input,
input.lynk-input {
  width: 100%;
  background: var(--input-bg);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 44px 13px 14px;
  font-size: .95rem;
  color: var(--text);
  font-family: var(--sans);
  outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.input-wrap input:focus,
input.lynk-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.input-wrap input::placeholder,
input.lynk-input::placeholder {
  color: var(--muted);
  opacity: .65;
}
.input-wrap input.error {
  border-color: rgba(239, 68, 68, .6);
}

[data-theme="light"] .input-wrap input,
[data-theme="light"] input.lynk-input {
  border-color: var(--border-solid);
}

/* Password show/hide toggle */
.toggle-vis {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: .85rem;
  padding: 4px;
  line-height: 1;
  transition: color var(--tr);
}
.toggle-vis:hover {
  color: var(--text);
}

/* Inline hints and per-field validation errors */
.field-hint {
  font-size: .76rem;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}
.field-hint a {
  color: var(--accent);
  text-decoration: none;
}
.field-hint a:hover {
  text-decoration: underline;
}

.field-error {
  font-size: .76rem;
  color: #FCA5A5;
  margin-top: 6px;
  display: none;
}
.field-error.show {
  display: block;
}

[data-theme="light"] .field-error {
  color: var(--neg);
}

/* Auth form headings */
.form-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.04em;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.15;
}

.form-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: .875rem;
  margin-bottom: 28px;
  line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════════════
   8. ALERTS
   ═══════════════════════════════════════════════════════════════════ */

.alert {
  display: none;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 20px;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.alert.show {
  display: flex;
}

.alert-error {
  background: var(--neg-bg);
  border: 1px solid rgba(239, 68, 68, .25);
  color: #FCA5A5;
}
[data-theme="light"] .alert-error {
  color: #C53030;
  background: rgba(239, 68, 68, .07);
  border-color: rgba(239, 68, 68, .22);
}

.alert-success {
  background: var(--pos-bg);
  border: 1px solid rgba(34, 197, 94, .25);
  color: #86EFAC;
}
[data-theme="light"] .alert-success {
  color: #166534;
  background: rgba(34, 197, 94, .07);
  border-color: rgba(34, 197, 94, .22);
}

.alert-warn {
  background: var(--warn-bg);
  border: 1px solid rgba(245, 158, 11, .3);
  color: #FDE68A;
}
[data-theme="light"] .alert-warn {
  color: #92400E;
  background: rgba(245, 158, 11, .07);
  border-color: rgba(245, 158, 11, .25);
}


/* ═══════════════════════════════════════════════════════════════════
   9. SPINNER
   ═══════════════════════════════════════════════════════════════════ */

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ═══════════════════════════════════════════════════════════════════
   10. TAB SWITCHER
   ═══════════════════════════════════════════════════════════════════ */

.tabs {
  display: flex;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 32px;
  gap: 4px;
}

.tab {
  flex: 1;
  padding: 9px 12px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  letter-spacing: -.01em;
  transition: all var(--tr);
}
.tab:hover:not(.active) {
  color: var(--text-2);
  background: rgba(255, 255, 255, .04);
}
.tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 87, 255, .3);
}

[data-theme="light"] .tab:hover:not(.active) {
  background: rgba(0, 0, 0, .03);
}


/* ═══════════════════════════════════════════════════════════════════
   11. DIVIDER
   ═══════════════════════════════════════════════════════════════════ */

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--muted);
  font-size: .8rem;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-strong);
}


/* ═══════════════════════════════════════════════════════════════════
   12. NAVIGATION — BACK LINK & LANGUAGE SWITCHER
   ═══════════════════════════════════════════════════════════════════ */

.back-link {
  position: fixed;
  top: 20px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: .85rem;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--tr);
  z-index: 10;
}
.back-link:hover {
  color: var(--text);
}

/* Inline / block variant (used on reset page) */
.back-link-inline {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: .82rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity var(--tr);
}
.back-link-inline:hover {
  opacity: .75;
  text-decoration: underline;
}

/* Language switcher */
.lang-switch {
  position: fixed;
  top: 20px;
  right: 24px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.lang-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  transition: all var(--tr);
}
.lang-btn:hover,
.lang-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}


/* ═══════════════════════════════════════════════════════════════════
   13. INFO BOX
   ═══════════════════════════════════════════════════════════════════ */

.info-box {
  background: var(--accent-light);
  border: 1px solid rgba(0, 87, 255, .2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}
.info-box strong {
  color: var(--text);
}
.info-box .stat {
  display: inline-block;
  background: rgba(0, 87, 255, .15);
  border-radius: 5px;
  padding: 2px 8px;
  color: #93C5FD;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

[data-theme="light"] .info-box .stat {
  color: var(--accent);
}


/* ═══════════════════════════════════════════════════════════════════
   14. PASSWORD STRENGTH INDICATOR
   ═══════════════════════════════════════════════════════════════════ */

.pw-strength {
  height: 3px;
  border-radius: 2px;
  margin-top: 6px;
  background: var(--border-strong);
  overflow: hidden;
  transition: all .3s;
}
.pw-strength-bar {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: all .3s;
}

.pw-weak   .pw-strength-bar { width: 33%;  background: var(--neg); }
.pw-medium .pw-strength-bar { width: 66%;  background: var(--warn); }
.pw-strong .pw-strength-bar { width: 100%; background: var(--pos); }


/* ═══════════════════════════════════════════════════════════════════
   15. FOOTER NOTE
   ═══════════════════════════════════════════════════════════════════ */

.footer-note {
  margin-top: 24px;
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
}
.footer-note a {
  color: var(--accent);
  text-decoration: none;
}
.footer-note a:hover {
  text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════════
   16. ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */

@keyframes shake {
  0%,  100% { transform: translateX(0); }
  20%        { transform: translateX(-8px); }
  40%        { transform: translateX( 8px); }
  60%        { transform: translateX(-6px); }
  80%        { transform: translateX( 6px); }
}

.shake {
  animation: shake .35s ease;
}


/* ═══════════════════════════════════════════════════════════════════
   17. UTILITIES
   ═══════════════════════════════════════════════════════════════════ */

.view        { display: none; }
.view.active { display: block; }

.text-muted  { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-pos    { color: var(--pos); }
.text-neg    { color: var(--neg); }
.text-center { text-align: center; }

.mt-4  { margin-top: 4px;  }
.mt-8  { margin-top: 8px;  }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px;  }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

.link-blue {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.link-blue:hover {
  text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════════
   18. RESPONSIVE  (auth/shared components)
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  .auth-layout .card {
    padding: 28px 20px;
  }
  .btn-xl {
    padding: 14px 24px;
    font-size: .95rem;
  }
  .back-link,
  .lang-switch {
    top: 12px;
  }
  .back-link  { left: 16px; }
  .lang-switch { right: 16px; }
}


/* ═══════════════════════════════════════════════════════════════════
   19. MARKETING LAYOUT
   Scoped to .marketing-page body class (homepage, contact, and any
   future marketing page). NOT applied to the SPA or auth pages.
   ═══════════════════════════════════════════════════════════════════ */

.marketing-page .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.marketing-page .container-sm {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 28px;
}

.marketing-page section {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .marketing-page section { padding: 72px 0; }
  .marketing-page .container,
  .marketing-page .container-sm { padding: 0 20px; }
}


/* ═══════════════════════════════════════════════════════════════════
   20. MARKETING TYPOGRAPHY
   Display headings, section headings, card headings, small labels.
   Scoped to .marketing-page to avoid bleeding into SPA/auth.
   ═══════════════════════════════════════════════════════════════════ */

.display {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.marketing-page h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.marketing-page h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
}

/* Small uppercase section label (e.g. "NEW · COMPETITOR INSIGHTS") */
.label-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}


/* ═══════════════════════════════════════════════════════════════════
   21. MARKETING NAV  (.mkt-nav)
   Sticky top navigation bar for marketing pages only.
   Uses .mkt-nav class to avoid conflicting with SPA's <nav class="sidebar">.
   ═══════════════════════════════════════════════════════════════════ */

.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 64px;
  padding: 0;
  background: rgba(6, 11, 24, .88);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background var(--tr);
}

[data-theme="light"] .mkt-nav {
  background: rgba(245, 247, 252, .92);
  border-bottom-color: var(--border-solid);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo svg {
  height: 20px;
  fill: var(--text);
  transition: fill var(--tr);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all var(--tr);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .05);
}

[data-theme="light"] .nav-link:hover {
  background: rgba(0, 0, 0, .04);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Nav bar sized CTA button */
.nav-actions .btn {
  padding: 9px 22px;
  font-size: .85rem;
}

/* Square icon-only button used in nav (theme toggle, lang switcher) */
.icon-btn {
  background: none;
  border: 1.5px solid var(--border-strong);
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--tr);
  flex-shrink: 0;
  font-family: var(--sans);
}

.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.icon-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* Hamburger button — visible only on mobile */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* Full-screen mobile navigation drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg2);
  z-index: 199;
  padding: 20px 24px;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}

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

.mobile-nav-link {
  color: var(--text-2);
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 16px;
  border-radius: 8px;
  transition: all var(--tr);
  text-decoration: none;
}

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

[data-theme="light"] .mobile-nav-link:hover {
  background: rgba(0, 0, 0, .04);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.mobile-nav-actions {
  display: flex;
  gap: 10px;
  padding-top: 8px;
}

.mobile-nav-actions .btn {
  flex: 1;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  .nav-links,
  .nav-actions { display: none; }
  .mobile-menu-btn { display: flex; }
}


/* ═══════════════════════════════════════════════════════════════════
   22. LANGUAGE CONTENT SWITCHER
   Body class .lang-el shows Greek content, hides English, and vice-versa.
   Wrap English text in .en, Greek text in .el / .el-block / .el-flex.
   ═══════════════════════════════════════════════════════════════════ */

.el        { display: none; }
.el-block  { display: none; }
.el-flex   { display: none; }

body.lang-el .en       { display: none; }
body.lang-el .el       { display: initial; }
body.lang-el .el-block { display: block; }
body.lang-el .el-flex  { display: flex; }


/* ═══════════════════════════════════════════════════════════════════
   23. PILL BADGES
   Small inline status / category chips.
   ═══════════════════════════════════════════════════════════════════ */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 100px;
}

/* Dark-mode pill colours */
.pill-blue   { background: rgba(0,87,255,.12);   border: 1px solid rgba(0,87,255,.22);   color: #60A5FA; }
.pill-green  { background: var(--pos-bg);         border: 1px solid rgba(34,197,94,.22);  color: #4ADE80; }
.pill-purple { background: rgba(139,92,246,.1);   border: 1px solid rgba(139,92,246,.22); color: #A78BFA; }
.pill-amber  { background: rgba(245,158,11,.1);   border: 1px solid rgba(245,158,11,.22); color: #FCD34D; }
.pill-teal   { background: rgba(20,184,166,.1);   border: 1px solid rgba(20,184,166,.22); color: #2DD4BF; }

/* Light-mode overrides — adjust text to darker, legible shades */
[data-theme="light"] .pill-blue   { color: #1D4ED8; background: rgba(0,87,255,.07);  border-color: rgba(0,87,255,.18); }
[data-theme="light"] .pill-green  { color: #15803D; background: rgba(34,197,94,.08);  border-color: rgba(34,197,94,.2); }
[data-theme="light"] .pill-purple { color: #6D28D9; background: rgba(139,92,246,.07); border-color: rgba(139,92,246,.2); }
[data-theme="light"] .pill-amber  { color: #92400E; background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.2); }
[data-theme="light"] .pill-teal   { color: #0D7A5F; background: rgba(20,184,166,.07); border-color: rgba(20,184,166,.2); }

/* Animated dot used inside pills or standalone */
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  animation: dotpulse 2.2s infinite;
}

@keyframes dotpulse {
  0%, 100% { opacity: 1;  transform: scale(1);  }
  50%       { opacity: .3; transform: scale(.7); }
}


/* ═══════════════════════════════════════════════════════════════════
   24. MARKETING SECTION HEADER
   Centred section heading with optional lead paragraph.
   ═══════════════════════════════════════════════════════════════════ */

.section-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-header p {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.65;
}


/* ═══════════════════════════════════════════════════════════════════
   25. MARKETING ANIMATIONS
   Scroll-reveal and stagger delays for marketing pages.
   ═══════════════════════════════════════════════════════════════════ */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity .65s cubic-bezier(.22,1,.36,1);
}
.fade-in.visible { opacity: 1; }

.stagger-1 { transition-delay: .05s; }
.stagger-2 { transition-delay: .10s; }
.stagger-3 { transition-delay: .15s; }
.stagger-4 { transition-delay: .20s; }
.stagger-5 { transition-delay: .25s; }
.stagger-6 { transition-delay: .30s; }
