@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --bg-primary: #070B14;
  --bg-secondary: #0D1424;
  --bg-card: rgba(15, 23, 42, 0.72);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-gold: rgba(245, 158, 11, 0.35);
  --border-emerald: rgba(16, 185, 129, 0.35);
  --emerald: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --gold: #F59E0B;
  --gold-light: #FBBF24;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.08) 0%, transparent 42%),
    radial-gradient(circle at 85% 25%, rgba(245, 158, 11, 0.07) 0%, transparent 40%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  overflow-x: hidden;
}

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

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-emerald);
  box-shadow: 0 18px 40px -15px rgba(16, 185, 129, 0.18);
}

.glass-card-gold:hover {
  border-color: var(--border-gold);
  box-shadow: 0 18px 40px -15px rgba(245, 158, 11, 0.18);
}

/* Buttons */
.btn-emerald {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #03150E;
  font-weight: 600;
  box-shadow: 0 8px 24px -6px rgba(16, 185, 129, 0.45);
  transition: all 0.3s ease;
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(16, 185, 129, 0.65);
  filter: brightness(1.06);
}

.btn-gold {
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  color: #0F172A;
  font-weight: 600;
  box-shadow: 0 8px 24px -6px rgba(245, 158, 11, 0.4);
  transition: all 0.3s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(245, 158, 11, 0.6);
  filter: brightness(1.06);
}

.btn-outline {
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #F8FAFC;
  background: rgba(15, 23, 42, 0.55);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: #FBBF24;
  background: rgba(245, 158, 11, 0.12);
  transform: translateY(-2px);
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Candlestick & Chart Subtle Float Animation */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: floatSlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.95; }
}

.animate-pulse-glow {
  animation: pulseGlow 3.5s ease-in-out infinite;
}

/* Form Inputs */
.dark-input {
  background-color: rgba(7, 11, 20, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #F8FAFC;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.dark-input:focus {
  outline: none;
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.brand-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.brand-logo-img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 12px rgba(243, 111, 33, 0.35));
}
@media (min-width: 640px) {
  .brand-logo-img {
    height: 62px;
  }
}
/* Move WhatsApp button to bottom-left away from Netlify badge */
a[href*="wa.me"],
a[href*="whatsapp.com"] {
  position: fixed !important;
  left: 1.5rem !important;
  right: auto !important;
  bottom: 1.5rem !important;
  z-index: 9999 !important;
}
