/* Shanghai Guizang Investment Management - Shared Styles */
/* Color Palette: Charcoal Black #191E29 + Gilt Gold #C8A468 */

:root {
  --color-charcoal: #191E29;
  --color-charcoal-light: #252B3B;
  --color-charcoal-dark: #121620;
  --color-gold: #C8A468;
  --color-gold-light: #D4B67E;
  --color-gold-dark: #B08D4F;
  --color-white: #FFFFFF;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
.font-serif {
  font-family: 'Noto Serif SC', 'Playfair Display', Georgia, serif;
}

.font-display {
  font-family: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
}

/* Colors */
.bg-charcoal { background-color: var(--color-charcoal); }
.bg-charcoal-light { background-color: var(--color-charcoal-light); }
.bg-charcoal-dark { background-color: var(--color-charcoal-dark); }
.bg-gold { background-color: var(--color-gold); }
.bg-gold-light { background-color: var(--color-gold-light); }
.text-charcoal { color: var(--color-charcoal); }
.text-gold { color: var(--color-gold); }
.text-gold-light { color: var(--color-gold-light); }
.border-gold { border-color: var(--color-gold); }

/* Gradient backgrounds */
.bg-gradient-charcoal {
  background: linear-gradient(135deg, #121620 0%, #191E29 50%, #252B3B 100%);
}

.bg-gradient-gold {
  background: linear-gradient(135deg, #B08D4F 0%, #C8A468 50%, #D4B67E 100%);
}

.bg-gradient-hero {
  background: linear-gradient(135deg, rgba(18, 22, 32, 0.92) 0%, rgba(25, 30, 41, 0.85) 50%, rgba(37, 43, 59, 0.88) 100%);
}

/* Hero overlay */
.hero-overlay {
  position: relative;
}
.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 22, 32, 0.95) 0%, rgba(25, 30, 41, 0.75) 50%, rgba(18, 22, 32, 0.9) 100%);
  z-index: 1;
}
.hero-overlay > * {
  position: relative;
  z-index: 2;
}

/* Gold accent line */
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  display: inline-block;
}

.gold-line-center {
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 0 auto;
}

/* Cards */
.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(200, 164, 104, 0.15);
  border-color: var(--color-gold);
}

/* Navigation */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

/* Buttons */
.btn-gold {
  background: var(--color-gold);
  color: var(--color-charcoal);
  padding: 14px 36px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid var(--color-gold);
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}
.btn-gold:hover {
  background: transparent;
  color: var(--color-gold);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  padding: 14px 36px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid var(--color-gold);
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}
.btn-outline-gold:hover {
  background: var(--color-gold);
  color: var(--color-charcoal);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 14px 36px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid var(--color-white);
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}
.btn-white:hover {
  background: transparent;
  color: var(--color-white);
}

/* Section padding */
.section-padding {
  padding: 100px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

/* Stats counter */
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

/* Timeline */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-gold);
  transform: translateX(-50%);
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--color-gold);
  border-radius: 50%;
  border: 3px solid var(--color-charcoal);
}

/* Form */
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 15px;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(200, 164, 104, 0.1);
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}
.mobile-menu.open {
  transform: translateX(0);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

/* Partner logo grid */
.partner-logo {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}
.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-charcoal);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 4px;
}

/* Right-click protection */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
