/* ═══════════════════════════════════════════════════════════════════
   GLOBAL FISHERS INVESTMENT — DESIGN SYSTEM
   Premium FinTech Design System v1.0
   ═══════════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ──────────────────────────────────────────────── */
:root {
  /* Color — Primary Green Palette */
  --color-forest:        #0D3B2E;
  --color-forest-dark:   #081F18;
  --color-forest-mid:    #0F4A38;
  --color-emerald:       #1A6B4A;
  --color-emerald-light: #2EAA6F;
  --color-mint:          #4FC990;
  --color-sage:          #8ABBA3;

  /* Color — Gold Accent */
  --color-gold:          #C9A84C;
  --color-gold-light:    #DFC375;
  --color-gold-dark:     #8A6B1A;
  --color-gold-subtle:   rgba(201, 168, 76, 0.12);

  /* Color — Neutral */
  --color-charcoal:      #1C2433;
  --color-slate:         #2D3748;
  --color-steel:         #4A5568;
  --color-muted:         #718096;
  --color-subtle:        #A0AEC0;
  --color-light:         #E2E8F0;
  --color-lighter:       #F0F4F8;
  --color-off-white:     #F7F9FC;
  --color-white:         #FFFFFF;

  /* Color — Dark Theme Surface */
  --surface-dark-1:      #070F0C;
  --surface-dark-2:      #0D1A14;
  --surface-dark-3:      #111F18;
  --surface-dark-4:      #162B20;
  --surface-dark-5:      #1B3628;

  /* Color — Semantic */
  --color-success:       #2EAA6F;
  --color-success-bg:    rgba(46, 170, 111, 0.1);
  --color-warning:       #C9A84C;
  --color-warning-bg:    rgba(201, 168, 76, 0.1);
  --color-error:         #E53E3E;
  --color-error-bg:      rgba(229, 62, 62, 0.1);
  --color-info:          #3182CE;
  --color-info-bg:       rgba(49, 130, 206, 0.1);

  /* Typography */
  --font-display:        'Playfair Display', Georgia, serif;
  --font-sans:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:           'JetBrains Mono', 'Fira Code', monospace;

  /* Type Scale */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-md:    1.125rem;   /* 18px */
  --text-lg:    1.25rem;    /* 20px */
  --text-xl:    1.5rem;     /* 24px */
  --text-2xl:   2rem;       /* 32px */
  --text-3xl:   2.5rem;     /* 40px */
  --text-4xl:   3rem;       /* 48px */
  --text-5xl:   3.75rem;    /* 60px */
  --text-6xl:   4.5rem;     /* 72px */

  /* Spacing */
  --space-1:  0.25rem;   /* 4px */
  --space-2:  0.5rem;    /* 8px */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-5:  1.25rem;   /* 20px */
  --space-6:  1.5rem;    /* 24px */
  --space-8:  2rem;      /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */
  --space-32: 8rem;      /* 128px */

  /* Border */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl:  0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px rgba(0,0,0,0.25);
  --shadow-green: 0 4px 24px rgba(46, 170, 111, 0.2);
  --shadow-gold:  0 4px 24px rgba(201, 168, 76, 0.2);

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1.5rem, 5vw, 4rem);
  --nav-height:    80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-charcoal);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul { list-style: none; }

/* ─── UTILITIES ──────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.desktop-only { display: none; }
@media (min-width: 1024px) { .desktop-only { display: inline; } }

.text-gold { color: var(--color-gold); }
.text-green { color: var(--color-emerald-light); }
.text-muted { color: var(--color-muted); }

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--color-emerald-light);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-forest);
  color: var(--color-white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: var(--space-4); }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.display-headline {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.display-headline em {
  font-style: italic;
  color: var(--color-emerald-light);
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-charcoal);
  margin-bottom: var(--space-6);
}

.section-headline em {
  font-style: italic;
  color: var(--color-emerald-light);
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-emerald-light);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-emerald-light);
}

.section-subtext {
  font-size: var(--text-md);
  color: var(--color-steel);
  max-width: 64ch;
  line-height: 1.7;
  margin-bottom: var(--space-12);
}

.body-large {
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--color-slate);
  margin-bottom: var(--space-5);
}

.body-text {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-steel);
  margin-bottom: var(--space-4);
}

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary */
.btn-primary {
  background: var(--color-forest);
  color: var(--color-white);
  border-color: var(--color-forest);
}
.btn-primary:hover {
  background: var(--color-forest-mid);
  border-color: var(--color-forest-mid);
  box-shadow: 0 4px 16px rgba(13, 59, 46, 0.4);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--color-forest);
  border-color: var(--color-forest);
}
.btn-outline:hover {
  background: var(--color-forest);
  color: var(--color-white);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--color-charcoal);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--color-lighter);
  color: var(--color-forest);
}

/* Gold */
.btn-gold {
  background: var(--color-gold);
  color: var(--color-forest-dark);
  border-color: var(--color-gold);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  box-shadow: var(--shadow-gold);
}

/* Sizes */
.btn-large  { padding: 0.875rem 1.875rem; font-size: var(--text-base); }
.btn-xlarge { padding: 1rem 2.25rem; font-size: var(--text-md); border-radius: var(--radius-lg); }
.btn-full   { width: 100%; }

/* ─── BADGE ──────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

.badge-success { background: var(--color-success-bg); color: var(--color-success); }
.badge-gold    { background: var(--color-gold-subtle); color: var(--color-gold); }
.badge-warning { background: var(--color-warning-bg); color: var(--color-warning); }
.badge-error   { background: var(--color-error-bg); color: var(--color-error); }
.badge-info    { background: var(--color-info-bg); color: var(--color-info); }

/* ─── CARDS ──────────────────────────────────────────────────────── */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.card-dark {
  background: var(--surface-dark-2);
  border-color: var(--surface-dark-4);
  color: var(--color-white);
}

/* ─── INPUTS ─────────────────────────────────────────────────────── */
.form-group { margin-bottom: var(--space-5); }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-slate);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 1.5px solid var(--color-light);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  line-height: 1.5;
}

.form-input:focus {
  border-color: var(--color-emerald-light);
  box-shadow: 0 0 0 3px rgba(46, 170, 111, 0.15);
}

.form-input::placeholder { color: var(--color-subtle); }

.form-input.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px var(--color-error-bg);
}

.form-error {
  font-size: var(--text-sm);
  color: var(--color-error);
  margin-top: var(--space-1);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* ─── TABLES ─────────────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table th {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-light);
}

.table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-lighter);
  color: var(--color-charcoal);
}

.table tr:last-child td { border-bottom: none; }

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

/* ─── ALERTS ─────────────────────────────────────────────────────── */
.alert {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  line-height: 1.5;
}

.alert-info    { background: var(--color-info-bg); color: var(--color-info); border-left: 3px solid var(--color-info); }
.alert-success { background: var(--color-success-bg); color: var(--color-success); border-left: 3px solid var(--color-success); }
.alert-warning { background: var(--color-warning-bg); color: #8B6914; border-left: 3px solid var(--color-warning); }
.alert-error   { background: var(--color-error-bg); color: var(--color-error); border-left: 3px solid var(--color-error); }

/* ─── SKELETON / LOADING ─────────────────────────────────────────── */
@keyframes skeleton-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--color-light) 25%, var(--color-lighter) 50%, var(--color-light) 75%);
  background-size: 800px 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-md);
}

/* ─── ANIMATIONS ─────────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.animate-fade-in  { animation: fadeIn 0.6s ease-out both; }
.animate-slide-up { animation: slideUp 0.7s ease-out both; }
.animate-delay-1  { animation-delay: 0.15s; }
.animate-delay-2  { animation-delay: 0.3s; }
.animate-delay-3  { animation-delay: 0.45s; }
.animate-delay-4  { animation-delay: 0.6s; }

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── TOAST NOTIFICATIONS ────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  font-size: var(--text-sm);
  font-weight: 500;
  min-width: 280px;
  max-width: 400px;
  pointer-events: all;
  animation: slideUp 0.3s ease-out;
}

.toast-success { border-left: 3px solid var(--color-success); }
.toast-error   { border-left: 3px solid var(--color-error); }
.toast-warning { border-left: 3px solid var(--color-warning); }

/* ─── GOOGLE TRANSLATE CUSTOM STYLING ────────────────────────────── */
#google_translate_element {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
}
.goog-te-gadget {
  font-family: var(--font-sans) !important;
  color: var(--color-muted) !important;
  font-size: 0.75rem !important;
  line-height: 1 !important;
}
.goog-te-gadget .goog-te-combo {
  background: rgba(13, 59, 46, 0.85) !important;
  border: 1px solid rgba(201, 168, 76, 0.6) !important;
  color: #ffffff !important;
  padding: 5px 8px !important;
  border-radius: var(--radius-md) !important;
  font-size: 0.75rem !important;
  outline: none !important;
  cursor: pointer !important;
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  max-width: 120px !important;
}
.goog-te-gadget .goog-te-combo:hover {
  border-color: var(--color-gold) !important;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.3);
}
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon, .goog-te-gadget span {
  display: none !important;
}
body {
  top: 0px !important;
}

/* ─── PLAN LOGOS & BADGES ────────────────────────────────────────── */
.plan-icon-wrapper {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.plan-icon-wrapper svg {
  transition: transform 0.3s ease;
}
.plan-card:hover .plan-icon-wrapper svg {
  transform: scale(1.08);
}


