/* ==========================================================================
   Andes Silver Trading — Design System
   ========================================================================== */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --color-navy: #0A1628;
  --color-navy-light: #1A2A4A;
  --color-navy-medium: #0F1F3A;
  --color-charcoal: #1A1A1A;
  --color-charcoal-light: #2A2A2A;
  --color-silver: #C0C0C0;
  --color-silver-light: #E8E8E8;
  --color-silver-dark: #A0A0A0;
  --color-gold: #C9A94E;
  --color-gold-light: #D4B96A;
  --color-gold-dark: #B8942E;
  --color-white: #FFFFFF;
  --color-off-white: #F8F8F6;
  --color-light-gray: #F5F5F5;
  --color-mid-gray: #D0D0D0;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-lighter: #999999;
  --color-border: #E5E5E5;

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Inter', 'Helvetica Neue', 'Arial', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 100px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 8px 30px rgba(10, 22, 40, 0.15);
  --shadow-xl: 0 20px 60px rgba(10, 22, 40, 0.2);

  /* Gradients */
  --gradient-navy: linear-gradient(135deg, #0A1628 0%, #1A2A4A 100%);
  --gradient-gold: linear-gradient(135deg, #C9A94E 0%, #D4B96A 100%);
  --gradient-silver: linear-gradient(180deg, #E8E8E8 0%, #C0C0C0 100%);
  --gradient-hero: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.6) 100%);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

.heading-xl {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

.heading-lg {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.015em;
}

.heading-md {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.01em;
}

.heading-sm {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: -0.005em;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.text-large {
  font-size: 1.15rem;
  line-height: 1.8;
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 2px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-navy);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 169, 78, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
}

.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-gold-outline {
  background: transparent;
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
}

.btn-gold-outline:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-logo img {
  height: 84px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.main-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.3px;
  position: relative;
  padding: 0.25rem 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width var(--transition-base);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--color-gold-dark);
}

.nav-cta {
  background: var(--color-navy);
  color: var(--color-white) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 2px;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-gold-dark) !important;
  color: var(--color-navy) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-navy);
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: var(--space-4xl) 0;
}

.hero-suptitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Silver bar decorative element */
.hero-accent {
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 192, 192, 0.06) 0%, transparent 70%);
  z-index: 1;
}

.hero-accent-2 {
  position: absolute;
  right: 10%;
  top: 20%;
  width: 2px;
  height: 200px;
  background: linear-gradient(180deg, transparent, var(--color-gold), transparent);
  opacity: 0.3;
  z-index: 1;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.5px;
}

.trust-item .icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Section Base --- */
.section {
  padding: var(--space-5xl) 0;
}

.section-dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-light {
  background: var(--color-off-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
}

.section-header-left {
  text-align: left;
  margin-left: 0;
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border-radius: 4px;
  padding: var(--space-2xl);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-silver);
}

.card-dark {
  background: var(--color-navy-medium);
  border-color: rgba(255, 255, 255, 0.1);
}

.card-dark:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 30px rgba(201, 169, 78, 0.1);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-off-white);
}

.card-icon.gold {
  background: rgba(201, 169, 78, 0.1);
  color: var(--color-gold);
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.card p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* --- Product Cards --- */
.product-card {
  background: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  height: 220px;
  background: var(--gradient-silver);
  position: relative;
  overflow: hidden;
}

.product-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: var(--space-xl);
}

.product-card-body .purity-badge {
  display: inline-block;
  background: rgba(201, 169, 78, 0.1);
  color: var(--color-gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  margin-bottom: var(--space-md);
  letter-spacing: 0.5px;
}

.product-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.product-card-body p {
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.product-card-body .product-details {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.product-card-body .product-details li {
  font-size: 0.85rem;
  color: var(--color-text-light);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.product-card-body .product-details li:last-child {
  border-bottom: none;
}

/* --- Process Flow --- */
.process-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-2xl) 0;
  flex-wrap: wrap;
}

.process-step {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.process-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto var(--space-md);
}

.process-step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.process-arrow {
  font-size: 1.5rem;
  color: var(--color-gold);
  opacity: 0.5;
  flex-shrink: 0;
}

/* --- Market Ticker --- */
.market-ticker {
  background: var(--color-navy);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  gap: var(--space-3xl);
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.ticker-item .ticker-label {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
}

.ticker-item .ticker-value {
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.ticker-item .ticker-change {
  font-size: 0.8rem;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}

.ticker-item .ticker-change.positive {
  color: #4CAF50;
  background: rgba(76, 175, 80, 0.1);
}

.ticker-item .ticker-change.negative {
  color: #F44336;
  background: rgba(244, 67, 54, 0.1);
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Stats / Numbers --- */
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
}

.section-dark .stat-number {
  color: var(--color-white);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  margin-top: var(--space-sm);
}

.section-dark .stat-label {
  color: rgba(255, 255, 255, 0.6);
}

/* --- Gold Divider --- */
.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  margin: var(--space-lg) 0;
}

.gold-divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 78, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-navy);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-gold-dark);
}

.faq-question .faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform var(--transition-base);
  flex-shrink: 0;
  color: var(--color-gold);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-top: var(--space-md);
  font-size: 0.95rem;
}

/* --- Chatbot --- */
.chatbot-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-navy);
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  font-size: 1.5rem;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(201, 169, 78, 0.3);
}

.chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 360px;
  max-height: 520px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  z-index: 998;
  overflow: hidden;
  display: none;
  flex-direction: column;
  border: 1px solid var(--color-border);
}

.chatbot-window.open {
  display: flex;
  animation: chatSlideUp 0.3s ease;
}

@keyframes chatSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatbot-header {
  background: var(--gradient-navy);
  padding: var(--space-md) var(--space-lg);
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.9rem;
}

.chatbot-header-info h4 {
  font-size: 0.95rem;
  color: var(--color-white);
  margin-bottom: 0;
}

.chatbot-header-info span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

.chatbot-close {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.chatbot-close:hover {
  color: var(--color-white);
}

.chatbot-messages {
  flex: 1;
  padding: var(--space-md);
  overflow-y: auto;
  max-height: 320px;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.chatbot-message {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: messageIn 0.3s ease;
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chatbot-message.bot {
  background: var(--color-light-gray);
  color: var(--color-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chatbot-message.user {
  background: var(--color-navy);
  color: var(--color-white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-input {
  display: flex;
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--color-border);
  gap: var(--space-sm);
}

.chatbot-input input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.chatbot-input input:focus {
  border-color: var(--color-gold);
}

.chatbot-input button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-navy);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  flex-shrink: 0;
}

.chatbot-input button:hover {
  transform: scale(1.05);
}

/* --- Footer --- */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
}

.footer-brand svg {
  height: 40px;
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-3xl);
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.page-header p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: var(--space-3xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-gold);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-3xl) + 7px);
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-white);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.timeline-title {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* --- CTA Banner --- */
.cta-banner {
  padding: var(--space-4xl) 0;
  text-align: center;
  background: var(--gradient-navy);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(192, 192, 192, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* --- Portal Cards --- */
.portal-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: var(--space-2xl);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.portal-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.portal-card .portal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201, 169, 78, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.75rem;
  color: var(--color-gold);
}

.portal-card h3 {
  margin-bottom: var(--space-sm);
}

.portal-card p {
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.coming-soon-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  background: var(--color-light-gray);
  color: var(--color-text-lighter);
}

/* --- Blog Card --- */
.blog-card {
  background: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  height: 200px;
  background: var(--gradient-silver);
  opacity: 0.8;
}

.blog-card-body {
  padding: var(--space-xl);
}

.blog-card-body .blog-category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.blog-card-body p {
  font-size: 0.88rem;
  color: var(--color-text-lighter);
  margin-bottom: var(--space-md);
}

.blog-card-body .blog-date {
  font-size: 0.78rem;
  color: var(--color-text-lighter);
}

/* --- Table Styles --- */
.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  text-align: left;
  padding: var(--space-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  background: var(--color-navy);
  color: var(--color-white);
}

.data-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
}

.data-table tr:hover td {
  background: var(--color-off-white);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-base);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .menu-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: var(--space-3xl) 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .process-flow {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .process-arrow {
    transform: rotate(90deg);
  }

  .trust-bar-inner {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .chatbot-window {
    width: calc(100% - 40px);
    right: 20px;
    bottom: 90px;
    max-height: 450px;
  }

  .timeline {
    padding-left: var(--space-xl);
  }

  .timeline-item::before {
    left: calc(-1 * var(--space-xl) + 7px);
  }

  .market-ticker {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .heading-xl {
    font-size: 2rem;
  }

  .header-logo img {
    height: 58px;
  }
}

/* --- Print Styles --- */
@media print {
  .site-header,
  .chatbot-toggle,
  .chatbot-window,
  .market-ticker {
    display: none !important;
  }

  .section {
    padding: var(--space-xl) 0;
    page-break-inside: avoid;
  }

  .hero {
    min-height: auto;
    padding: var(--space-3xl) 0;
  }
}
