/* ============================================================
   VÖLIÁ SYSTEMS — Global Styles
   ============================================================ */

:root {
  --bg:       #07090f;
  --surface:  #0d1117;
  --surface2: #131720;
  --surface3: #181d27;
  --border:   #1e2535;
  --border2:  #252d40;
  --accent:   #2563eb;
  --accent-h: #1d4ed8;
  --accent2:  #0ea5e9;
  --text:     #e8edf5;
  --text2:    #a0aec0;
  --muted:    #566070;
  --ok:       #10b981;
  --radius:   12px;
  --radius-lg:18px;
  --max:      1140px;
  --nav-h:    64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY ─── */
h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
p  { color: var(--text2); line-height: 1.7; }
a  { color: inherit; text-decoration: none; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: rgba(7,9,15,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--text);
}
.nav-logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text2);
  padding: 8px 14px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.activo { color: var(--text); background: var(--surface2); }
.nav-cta {
  background: var(--accent); color: #fff !important;
  font-size: 14px; font-weight: 600;
  padding: 9px 22px; border-radius: 99px;
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--accent-h) !important; transform: translateY(-1px); }
.nav-mobile-btn { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 8px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; border-radius: 99px;
  padding: 13px 28px; cursor: pointer; border: none;
  transition: all .15s; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-h); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover { background: var(--surface2); border-color: var(--border2); }
.btn svg { width: 16px; height: 16px; }

/* ─── SECTION BASE ─── */
section { padding: 88px 24px; }
.container { max-width: var(--max); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--accent2); border-radius: 2px; }
.section-header { max-width: 620px; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 17px; }

/* ─── CARDS ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--border2); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14px; line-height: 1.6; }

/* ─── DIVIDER ─── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── BADGE ─── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 5px 12px;
  border-radius: 99px; border: 1px solid;
}
.badge-blue  { background: rgba(37,99,235,.1); border-color: rgba(37,99,235,.3); color: #60a5fa; }
.badge-green { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.3); color: #34d399; }
.badge-sky   { background: rgba(14,165,233,.1); border-color: rgba(14,165,233,.3); color: #38bdf8; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 40px 32px;
}
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 260px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--text2); margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 12px;
}

/* ─── UTILITIES ─── */
.text-accent  { color: var(--accent2); }
.text-muted   { color: var(--muted); }
.surface-dark { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-3 { gap: 12px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-6 { margin-bottom: 24px; }

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 20px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── VÖLIÁ LOGO IMAGES ─── */
.nav-logo-image {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-image {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 18px;
}

/* VÖLIÁ gold premium overrides */
:root {
  --accent: #d4af37;
  --accent-h: #b99125;
  --accent2: #f4d57a;
}

.nav-cta,
.btn-primary {
  background: linear-gradient(135deg, #d4af37, #f4d57a);
  color: #050505 !important;
}

.nav-cta:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #f4d57a, #d4af37) !important;
}

.eyebrow,
.text-accent {
  color: #f4d57a;
}

.eyebrow::before {
  background: #d4af37;
}
/* ─── VÖLIÁ ASSISTANT ─── */
.volia-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
}

.volia-chat-button {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #050505;
  border: 2px solid #d4af37;
  cursor: pointer;
  box-shadow:
    0 0 20px rgba(212,175,55,.45),
    0 0 45px rgba(212,175,55,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}

.volia-chat-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 0 30px rgba(212,175,55,.65),
    0 0 60px rgba(212,175,55,.35);
}
.volia-chat-panel {
  position: absolute;
  right: 0;
  bottom: 82px;
  width: 360px;
  background: #080808;
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
  display: none;
}

.volia-chat-panel.open {
  display: block;
}

.volia-chat-header {
  padding: 20px;
  background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(255,255,255,.02));
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.volia-chat-header strong {
  display: block;
  font-size: 15px;
  letter-spacing: .03em;
}

.volia-chat-header small {
  display: block;
  color: var(--accent2);
  font-size: 11px;
  margin-top: 3px;
}

.volia-chat-header button {
  background: transparent;
  border: none;
  color: var(--text2);
  font-size: 26px;
  cursor: pointer;
}

.volia-chat-body {
  padding: 20px;
}

.volia-message {
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.volia-message.assistant {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--border);
  color: var(--text);
}

.volia-quick-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.volia-quick-actions button {
  background: rgba(212,175,55,.07);
  border: 1px solid rgba(212,175,55,.22);
  color: var(--text);
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.volia-quick-actions button:hover {
  border-color: rgba(212,175,55,.55);
  background: rgba(212,175,55,.12);
}

.volia-chat-input {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--border);
}

.volia-chat-input input {
  flex: 1;
  background: #111;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 11px 14px;
}

.volia-chat-input button {
  border: none;
  border-radius: 999px;
  padding: 0 16px;
  background: linear-gradient(135deg, #d4af37, #f4d57a);
  color: #050505;
  font-weight: 700;
}

@media(max-width:600px) {
  .volia-chat {
    right: 16px;
    bottom: 16px;
  }

  .volia-chat-panel {
    width: calc(100vw - 32px);
  }
}

.volia-chat-button img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.volia-message.user {
  background: linear-gradient(135deg, #d4af37, #f4d57a);
  color: #050505;
  margin-left: 46px;
  margin-top: 12px;
  font-weight: 600;
}

.volia-message.assistant + .volia-message.assistant,
.volia-message.user + .volia-message.assistant {
  margin-top: 12px;
}
