/* ═══════════════════════════════════════════════════════════
   GNP Global LLC — Global Stylesheet
═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --gold-bright: #c8952a;
  --gold-mid:    #b07d20;
  --gold-soft:   rgba(200,149,42,0.18);
  --gold-border: rgba(200,149,42,0.22);
  --navy-deep:   #040916;
  --navy-mid:    #071228;
  --text-primary:   #f0e8d0;
  --text-secondary: rgba(240,232,208,0.65);
  --text-muted:     rgba(240,232,208,0.38);
  --glass-bg:       rgba(8,20,60,0.45);
  --glass-border:   rgba(255,255,255,0.07);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --radius-card:  20px;
  --transition:   0.28s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Canvas Background ── */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Loader ── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #040916;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold-bright);
  letter-spacing: 0.15em;
}
.loader-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.loader-bar {
  width: 160px;
  height: 2px;
  background: rgba(200,149,42,0.15);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 20px;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  animation: loadbar 2s ease forwards;
}
@keyframes loadbar { to { width: 100%; } }

/* ── Page Wrapper ── */
#page-wrap {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}

/* ── Header ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 80px;
  background: rgba(4,9,22,0.75);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(200,149,42,0.12);
  transition: background var(--transition);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-badge {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(200,149,42,0.9), rgba(160,110,15,0.9));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  box-shadow: 0 4px 16px rgba(200,149,42,0.3);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .accent { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--gold-bright); }
.logo-text .dim    { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; }

/* Desktop Nav */
.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-bright);
  background: rgba(200,149,42,0.08);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.lang-btn {
  padding: 6px 10px;
  border: 1px solid rgba(200,149,42,0.2);
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
}
.lang-btn:hover, .lang-btn.active {
  background: rgba(200,149,42,0.12);
  border-color: rgba(200,149,42,0.5);
  color: var(--gold-bright);
}

/* Auth button */
.auth-btn {
  padding: 8px 18px;
  border: 1px solid rgba(200,149,42,0.4);
  border-radius: 8px;
  background: rgba(200,149,42,0.08);
  color: var(--gold-bright);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.auth-btn:hover {
  background: rgba(200,149,42,0.18);
  border-color: var(--gold-bright);
}

/* User avatar dropdown */
.user-menu-wrap {
  position: relative;
  flex-shrink: 0;
}
.user-avatar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  background: rgba(200,149,42,0.07);
  cursor: pointer;
  transition: all var(--transition);
}
.user-avatar-btn:hover { background: rgba(200,149,42,0.14); }
.user-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}
.user-name-short {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(4,12,30,0.97);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 8px;
  min-width: 160px;
  backdrop-filter: blur(16px);
  display: none;
  z-index: 200;
}
.user-dropdown.open { display: block; }
.user-dropdown a, .user-dropdown button {
  display: block;
  width: 100%;
  padding: 9px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
}
.user-dropdown a:hover, .user-dropdown button:hover {
  color: var(--gold-bright);
  background: rgba(200,149,42,0.08);
}
.user-dropdown .sep {
  height: 1px;
  background: var(--gold-border);
  margin: 6px 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  z-index: 99;
  background: rgba(4,9,22,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  padding: 20px 32px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 0.9rem; }

/* ── Section Layout ── */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(200,149,42,0.06);
}

/* ── Glass Card ── */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-card);
}

/* ── Buttons ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-mid));
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(200,149,42,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,149,42,0.45);
}
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(200,149,42,0.1);
  border-color: rgba(200,149,42,0.35);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

/* ── Gold Divider ── */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,149,42,0.4), transparent);
  margin: 0;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 32px;
  overflow: hidden;
}

.deco-rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(200,149,42,0.06);
  pointer-events: none;
}
.deco-rings::before {
  content: '';
  position: absolute;
  inset: -80px;
  border-radius: 50%;
  border: 1px solid rgba(200,149,42,0.04);
}
.deco-rings::after {
  content: '';
  position: absolute;
  inset: -160px;
  border-radius: 50%;
  border: 1px solid rgba(200,149,42,0.025);
}

.hero-badge { margin-bottom: 32px; }

.hero-headline { margin-bottom: 24px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-primary);
}
.hero-title-accent {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--gold-bright);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Search bar */
.search-bar {
  display: flex;
  gap: 0;
  max-width: 520px;
  width: 100%;
  border: 1px solid rgba(200,149,42,0.25);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(8,20,55,0.5);
  backdrop-filter: blur(10px);
}
.search-bar input {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar .btn-gold {
  border-radius: 0 10px 10px 0;
  padding: 14px 24px;
  font-size: 0.75rem;
}

/* Hero actions */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Ticker ── */
.ticker-wrap {
  overflow: hidden;
  padding: 14px 0;
  background: rgba(200,149,42,0.06);
  border-top: 1px solid rgba(200,149,42,0.12);
  border-bottom: 1px solid rgba(200,149,42,0.12);
  position: relative;
  z-index: 1;
}
.ticker-inner {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-item {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(200,149,42,0.65);
  display: flex;
  align-items: center;
  gap: 12px;
}
.ticker-item::after {
  content: '◆';
  font-size: 0.5rem;
  color: rgba(200,149,42,0.4);
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── About Cards ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.about-card { padding: 40px; border-radius: 20px; }
.about-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(200,149,42,0.1);
  border: 1px solid rgba(200,149,42,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 12px;
}
.about-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ── Categories Grid ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.cat-card {
  padding: 32px 28px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.28s ease;
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,149,42,0.3);
  background: rgba(200,149,42,0.08);
}
.cat-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
  color: var(--gold-mid);
  transition: color 0.2s;
}
.cat-card:hover .cat-icon { color: var(--gold-bright); }
.cat-card h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.cat-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.feature-card { padding: 36px 32px; border-radius: 16px; }
.feature-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: rgba(200,149,42,0.18);
  line-height: 1;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── CTA Section ── */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 80px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(200,149,42,0.06) 0%, rgba(10,18,45,0.4) 100%);
  border-top: 1px solid rgba(200,149,42,0.12);
  border-bottom: 1px solid rgba(200,149,42,0.12);
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.cta-section h2 span { color: var(--gold-bright); font-weight: 600; }
.cta-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ── Footer ── */
#site-footer {
  position: relative;
  z-index: 1;
  background: rgba(2,6,14,0.9);
  backdrop-filter: blur(20px);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Page Header (inner pages) ── */
.page-header {
  text-align: center;
  padding: 80px 32px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-primary);
  margin-top: 20px;
}
.page-header h1 span { color: var(--gold-bright); font-weight: 600; }
.page-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 20px auto 0;
  line-height: 1.8;
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: rgba(4,12,30,0.98);
  border: 1px solid var(--gold-border);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  position: relative;
  backdrop-filter: blur(20px);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--gold-bright); }
.modal-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 4px;
}
.modal-tab {
  flex: 1;
  padding: 9px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
}
.modal-tab.active {
  background: rgba(200,149,42,0.15);
  color: var(--gold-bright);
}
.modal-form { display: none; }
.modal-form.active { display: block; }
.modal-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* Form fields */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-input:focus { border-color: rgba(200,149,42,0.5); }
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 100px; }
select.form-input {
  appearance: none;
  cursor: pointer;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-msg {
  font-size: 0.8rem;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  display: none;
}
.form-msg.success {
  display: block;
  background: rgba(50,200,100,0.1);
  border: 1px solid rgba(50,200,100,0.3);
  color: #5ce07a;
}
.form-msg.error {
  display: block;
  background: rgba(220,50,50,0.1);
  border: 1px solid rgba(220,50,50,0.3);
  color: #f07070;
}

/* ── Chat Widget ── */
.chat-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-mid));
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 24px rgba(200,149,42,0.45);
  transition: all var(--transition);
}
.chat-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(200,149,42,0.6); }
.chat-badge {
  position: absolute;
  top: -2px; right: -2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #e04040;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  display: none;
}

.chat-window {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 299;
  width: 340px;
  max-height: 480px;
  background: rgba(4,12,30,0.97);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 60px rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s ease;
}
.chat-window.open { opacity: 1; visibility: visible; transform: translateY(0); }

.chat-head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(200,149,42,0.05);
}
.chat-head-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.chat-head-info h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}
.chat-head-info span {
  font-size: 0.72rem;
  color: #5ce07a;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(200,149,42,0.2) transparent;
}
.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.83rem;
  line-height: 1.5;
}
.chat-msg.bot {
  background: rgba(200,149,42,0.08);
  border: 1px solid rgba(200,149,42,0.15);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: linear-gradient(135deg, rgba(200,149,42,0.25), rgba(200,149,42,0.15));
  border: 1px solid rgba(200,149,42,0.3);
  color: var(--text-primary);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-msg-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 3px;
}
.chat-input-wrap {
  padding: 12px;
  border-top: 1px solid var(--gold-border);
  display: flex;
  gap: 8px;
}
.chat-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition);
}
.chat-input:focus { border-color: rgba(200,149,42,0.4); }
.chat-send {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-mid));
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.chat-send:hover { transform: scale(1.05); }
.chat-login-prompt {
  padding: 24px;
  text-align: center;
}
.chat-login-prompt p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ── Toast Notification ── */
.toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 600;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success {
  background: rgba(50,200,100,0.2);
  border: 1px solid rgba(50,200,100,0.4);
}
.toast.error {
  background: rgba(220,50,50,0.2);
  border: 1px solid rgba(220,50,50,0.4);
}
.toast.info {
  background: rgba(200,149,42,0.2);
  border: 1px solid rgba(200,149,42,0.4);
  color: var(--gold-bright);
}

/* ── CRM Styles ── */
.crm-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 80px);
  gap: 0;
}
.crm-sidebar {
  background: rgba(4,9,22,0.8);
  border-right: 1px solid var(--gold-border);
  padding: 32px 16px;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
}
.crm-sidebar h3 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 12px;
  margin-bottom: 12px;
}
.crm-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  margin-bottom: 2px;
  transition: all var(--transition);
}
.crm-nav-btn:hover, .crm-nav-btn.active {
  background: rgba(200,149,42,0.1);
  color: var(--gold-bright);
}
.crm-main { padding: 40px 48px; overflow-y: auto; }
.crm-section { display: none; }
.crm-section.active { display: block; }
.crm-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.crm-section > p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 32px;
}

/* Stats cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.stat-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}
.stat-card-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1;
}
.stat-card-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* Table */
.crm-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--glass-border); }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
}
thead th {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(200,149,42,0.06);
  border-bottom: 1px solid var(--glass-border);
}
tbody td {
  padding: 13px 18px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
tbody tr:hover td { background: rgba(200,149,42,0.04); }
tbody tr:last-child td { border-bottom: none; }
.table-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid;
  background: transparent;
  transition: all var(--transition);
}
.table-btn.danger {
  color: #f07070;
  border-color: rgba(220,50,50,0.35);
}
.table-btn.danger:hover { background: rgba(220,50,50,0.1); }
.table-btn.success {
  color: #5ce07a;
  border-color: rgba(50,200,100,0.35);
}
.table-btn.success:hover { background: rgba(50,200,100,0.1); }
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}
.status-badge.new {
  background: rgba(200,149,42,0.15);
  color: var(--gold-bright);
}
.status-badge.done {
  background: rgba(50,200,100,0.1);
  color: #5ce07a;
}

/* Chat list in CRM */
.chat-list-item {
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.chat-list-item:hover { background: rgba(200,149,42,0.05); }
.chat-list-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.chat-list-info h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.chat-list-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.crm-chat-dialog {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 20px;
}
.crm-chat-messages {
  padding: 20px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.crm-chat-reply {
  padding: 16px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 10px;
}
.crm-chat-reply input {
  flex: 1;
  padding: 10px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}
.crm-chat-reply input:focus { border-color: rgba(200,149,42,0.4); }

/* ── Services page extras ── */
.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}
.service-detail-card {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: all var(--transition);
}
.service-detail-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}
.service-detail-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-bright);
  margin-bottom: 12px;
}
.service-detail-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  padding: 36px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}
.team-avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,149,42,0.2), rgba(200,149,42,0.05));
  border: 2px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.team-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.team-card .role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.team-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-bright), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 2px solid var(--navy-deep);
  box-shadow: 0 0 0 4px rgba(200,149,42,0.15);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 6px;
}
.timeline-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.timeline-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  margin-top: 48px;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: rgba(200,149,42,0.1);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-item p, .contact-item a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--gold-bright); }

.contact-form-wrap {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
}
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 24px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .crm-layout { grid-template-columns: 1fr; }
  .crm-sidebar { position: static; height: auto; padding: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid   { grid-template-columns: 1fr 1fr; }
  .team-grid       { grid-template-columns: 1fr 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .services-intro  { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-center, .lang-switcher { display: none; }
  .hamburger { display: flex; }
  .header-inner { gap: 12px; }
  .auth-btn { font-size: 0.7rem; padding: 7px 12px; }
}
@media (max-width: 768px) {
  .about-grid      { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .features-grid   { grid-template-columns: 1fr; }
  .cta-section     { padding: 60px 24px; }
  .footer-inner    { grid-template-columns: 1fr; padding: 40px 24px 32px; }
  .footer-bottom   { flex-direction: column; gap: 8px; text-align: center; }
  .section         { padding: 56px 20px; }
  .team-grid       { grid-template-columns: 1fr; }
  .crm-main        { padding: 24px 20px; }
  .stats-grid      { grid-template-columns: 1fr 1fr; }
  .chat-window     { width: calc(100vw - 32px); right: 16px; bottom: 88px; }
}
@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .cat-card        { padding: 20px 14px; }
  .hero-stats      { gap: 24px; }
  .form-row        { grid-template-columns: 1fr; }
}
