/* ═══════════════════════════════════════════════════════
   SCHWIHA.AI — Design System
   Font: Instrument Serif (display) + Geist (body)
   Theme: Deep dark, clean whites, green/blue accents
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@300;400;500;600;700;800;900&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Geist', system-ui, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { max-width: 100%; }

/* ── CSS VARIABLES ── */
:root {
  --bg: #08080a;
  --bg-2: #0d0d10;
  --surface: #111115;
  --surface-2: #16161b;
  --surface-3: #1e1e25;
  --border: rgba(255,255,255,0.07);
  --border-light: rgba(255,255,255,0.04);
  --border-med: rgba(255,255,255,0.12);
  --text: #f5f5f7;
  --text-muted: #8e8ea0;
  --text-dim: #4a4a5e;
  --green: #3ddc84;
  --green-dim: rgba(61,220,132,0.15);
  --blue: #4f9cf9;
  --blue-dim: rgba(79,156,249,0.15);
  --purple: #8b5cf6;
  --amber: #f59e0b;
  --red: #ef4444;
  --nav-h: 84px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --max: 1160px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.6);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.7);
}

/* ── TYPOGRAPHY ── */
.serif { font-family: 'Instrument Serif', Georgia, serif; }
h1, h2, h3, h4, h5 { letter-spacing: -0.02em; line-height: 1.15; }
.text-gradient {
  background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.55));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(8,8,10,0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 0;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-size: 19px; font-weight: 700; letter-spacing: -0.02em;
  white-space: nowrap; flex-shrink: 0; text-decoration: none; color: var(--text);
}
.logo-icon {
  width: 38px; height: 38px; background: #fff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-icon svg { width: 18px; height: 18px; }
.nav-links {
  display: flex; align-items: center; gap: 2px; margin-left: 28px;
}
.nav-links a, .nav-links button {
  padding: 9px 16px; border-radius: var(--radius-sm); font-size: 15px;
  color: var(--text-muted); transition: all 0.15s; text-decoration: none;
  background: none; border: none; cursor: pointer;
}
.nav-links a:hover, .nav-links button:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ── LANGUAGE PILL ── */
.lang-pill { display: flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; padding: 3px; gap: 2px; }
.lang-btn { background: none; border: none; color: var(--text-muted); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 16px; transition: all 0.15s; letter-spacing: 0.06em; }
.lang-btn.active { background: var(--surface-3); color: var(--text); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 600;
  transition: all 0.18s; cursor: pointer; text-decoration: none; border: 1px solid transparent;
  white-space: nowrap; font-family: 'Geist', sans-serif;
}
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-med); }
.btn-outline:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.2); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); }
.btn-green { background: var(--green); color: #000; font-weight: 700; }
.btn-green:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-lg); }
.nav-cta { background: #fff; color: #000; padding: 11px 26px; border-radius: var(--radius); font-size: 15px; font-weight: 700; transition: opacity 0.15s; text-decoration: none; }
.nav-cta:hover { opacity: 0.88; }

/* ── LAYOUT ── */
.section { padding: 96px 24px; position: relative; z-index: 1; }
.section-sm { padding: 64px 24px; position: relative; z-index: 1; }
.container { max-width: var(--max); margin: 0 auto; }
.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
}
.section-desc { font-size: 16px; color: var(--text-muted); max-width: 540px; line-height: 1.7; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); max-width: var(--max); margin: 0 auto; }

/* ── AVATAR STACK ── */
.avatar-stack { display: flex; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }

/* ── TICKER ── */
.ticker-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; position: relative; z-index: 1; background: var(--bg); }
.ticker-track { display: flex; gap: 0; white-space: nowrap; animation: ticker 35s linear infinite; width: max-content; }
.ticker-item {
  padding: 0 20px; font-size: 12px; color: var(--text-dim); border-right: 1px solid var(--border);
  display: inline-flex; align-items: center; gap: 6px; font-weight: 500; letter-spacing: 0.04em;
}
.ticker-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.anim-fade-up { animation: fadeUp 0.6s ease both; }
.anim-delay-1 { animation-delay: 0.08s; }
.anim-delay-2 { animation-delay: 0.16s; }
.anim-delay-3 { animation-delay: 0.24s; }
.anim-delay-4 { animation-delay: 0.32s; }

/* ── FOOTER ── */
footer { background: var(--surface); border-top: 1px solid var(--border); position: relative; z-index: 1; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 64px 24px 32px; }
.footer-top { display: grid; grid-template-columns: 280px 1fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.footer-brand p { font-size: 13px; color: var(--text-muted); margin-top: 12px; line-height: 1.7; max-width: 220px; }
.flag-line { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { font-size: 12px; color: var(--text-muted); transition: color 0.15s; }
.footer-social a:hover { color: var(--text); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: var(--text); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a, .footer-col span {
  display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 10px;
  transition: color 0.15s; cursor: pointer; text-decoration: none;
}
.footer-col a:hover, .footer-col span:hover { color: var(--text); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: var(--text-dim); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 12px; color: var(--text-dim); transition: color 0.15s; }
.footer-bottom-links a:hover { color: var(--text-muted); }

/* ── SCHWIHA PILL ── */
.schwiha-pill { display: inline-block; border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; font-size: 11px; color: var(--text-muted); margin-top: 6px; }

/* ── UTILITY ── */
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .footer-cols { grid-template-columns: 1fr; }
  .section { padding: 64px 16px; }
}

/* ── FOOTER COMPANY INFO ── */
.footer-company-info { margin-top: 10px; display: flex; flex-direction: column; gap: 3px; }
.footer-company-info span { font-size: 12px; color: var(--text-dim); line-height: 1.5; }
.footer-ext-link {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 10px;
  font-size: 12px; color: var(--text-muted); border: 1px solid var(--border);
  border-radius: 6px; padding: 4px 10px; transition: all 0.15s; width: fit-content;
}
.footer-ext-link:hover { color: var(--text); border-color: var(--border-med); }

