/* ==========================================================================
   PrivaxisOS - site.css
   Shared base used by every page: reset, navigation, language selector, and
   footer link group. These rules were byte-identical across all pages and are
   now centralized here. Page-specific styles (hero, sections, buttons, etc.)
   remain in each page. Link this BEFORE any page-specific styles.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #1e293b; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; }
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    padding: 0 40px; height: 72px;
    display: flex; align-items: center; justify-content: space-between;
  }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #64748b; transition: color 0.2s; }
.nav-links a:hover { color: #214663; }
.nav-links a.active { color: #214663; font-weight: 600; }
.lang-selector { position: relative; margin-left: 8px; }
.lang-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 14px; border: 1px solid #e2e8f0; border-radius: 8px;
    background: #fff; cursor: pointer; font-size: 13px; font-weight: 500;
    color: #475569; transition: all 0.2s;
  }
.lang-btn:hover { border-color: #94a3b8; background: #f8fafc; }
.lang-btn .flag { font-size: 16px; line-height: 1; }
.lang-btn .arrow { font-size: 10px; color: #94a3b8; transition: transform 0.2s; }
.lang-dropdown {
    position: absolute; top: calc(100% + 6px); right: 0;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1); min-width: 160px;
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: all 0.2s; z-index: 200;
  }
.lang-selector:hover .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-selector:hover .arrow { transform: rotate(180deg); }
.lang-option {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; font-size: 14px; font-weight: 500; color: #475569;
    transition: background 0.15s; cursor: pointer;
  }
.lang-option:first-child { border-radius: 10px 10px 0 0; }
.lang-option:last-child { border-radius: 0 0 10px 10px; }
.lang-option:hover { background: #f1f5f9; color: #214663; }
.lang-option.active { background: #f0fdfa; color: #1a8d93; font-weight: 600; }
.lang-option .flag { font-size: 18px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-brand { font-size: 18px; font-weight: 700; color: #fff; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: #64748b; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { text-align: center; padding-top: 24px; margin-top: 24px; border-top: 1px solid #1e293b; font-size: 13px; max-width: 1200px; margin-left: auto; margin-right: auto; }
