/* ==========================================================================
   FinWorld Academy - Premium Design System (Apple-inspired Fintech UX)
   Pure Green & Yellow Palette, Light / Dark Mode, Reliable CSS Classes
   ========================================================================== */

:root {
  /* 1. Core Brand Colors: Pure Green */
  --primary: #15803D;           /* Green 700 */
  --primary-dark: #166534;      /* Green 800 */
  --primary-light: #22C55E;     /* Green 500 */
  --primary-vibrant: #4ADE80;   /* Green 400 */
  --primary-soft: #F0FDF4;      /* Green 50 */
  --primary-glow: rgba(34, 197, 94, 0.25);
  
  /* 2. Complementary Accent: Vivid Yellow / Gold */
  --accent-gold: #EAB308;        /* Yellow 500 */
  --accent-gold-bright: #FACC15; /* Yellow 400 */
  --accent-gold-dark: #CA8A04;   /* Yellow 600 */
  --accent-gold-soft: #FEFCE8;   /* Yellow 50 */
  --accent-gold-glow: rgba(234, 179, 8, 0.3);
  --accent-gold-text: #854D0E;   /* Yellow 800 */

  /* 3. Tech Accent: Blue */
  --accent-blue: #2563EB;
  --accent-blue-bright: #3B82F6;
  --accent-blue-soft: #EFF6FF;
  --accent-blue-glow: rgba(37, 99, 235, 0.25);

  /* 4. Brand Dark Neutral (Deep Slate / Navy) */
  --brand-navy: #0F172A;
  --brand-navy-light: #1E293B;
  --brand-navy-soft: #334155;

  /* 5. Surfaces & Backgrounds (Light Mode) */
  --bg-white: #FFFFFF;
  --bg-base: #F8FAFC;
  --bg-soft: #F1F5F9;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-card: rgba(255, 255, 255, 0.8);
  --bg-footer: #0F172A;

  /* 6. Typography (Light Mode) */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-subtle: #94A3B8;
  --text-inverse: #FFFFFF;

  /* 7. Borders & Shadows */
  --border-light: rgba(15, 23, 42, 0.08);
  --border-subtle: rgba(15, 23, 42, 0.05);
  --border-strong: rgba(15, 23, 42, 0.15);
  --border-white: rgba(255, 255, 255, 0.2);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 24px 60px -12px rgba(15, 23, 42, 0.14), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 10px 30px -5px var(--primary-glow);

  /* 8. Geometry */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  /* 9. Apple Transitions */
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition-fast: 0.25s var(--ease-apple);
  --transition-medium: 0.5s var(--ease-apple);
  --transition-slow: 0.8s var(--ease-out-expo);

  color-scheme: light;
}

/* ==========================================================================
   Dark Mode Overrides (Reactive via data-theme="dark" or html.dark)
   ========================================================================== */
html.dark,
[data-theme="dark"],
body:has(#theme-switch:checked) {
  --primary: #22C55E;
  --primary-dark: #16A34A;
  --primary-light: #4ADE80;
  --primary-vibrant: #86EFAC;
  --primary-soft: rgba(34, 197, 94, 0.15);
  --primary-glow: rgba(34, 197, 94, 0.35);

  --accent-gold: #FACC15;
  --accent-gold-bright: #FDE047;
  --accent-gold-soft: rgba(250, 204, 21, 0.15);
  --accent-gold-glow: rgba(250, 204, 21, 0.35);
  --accent-gold-text: #FEF08A;

  --accent-blue: #3B82F6;
  --accent-blue-bright: #60A5FA;
  --accent-blue-soft: rgba(59, 130, 246, 0.15);
  --accent-blue-glow: rgba(59, 130, 246, 0.35);

  --brand-navy: #F8FAFC;
  --brand-navy-light: #E2E8F0;
  --brand-navy-soft: #94A3B8;

  --bg-white: #0B192C;
  --bg-base: #06111E;
  --bg-soft: #0E2038;
  --bg-surface: #0B192C;
  --bg-surface-elevated: #112644;
  --bg-glass: rgba(11, 25, 44, 0.88);
  --bg-glass-card: rgba(16, 36, 62, 0.8);
  --bg-footer: #030A14;

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
  --text-inverse: #06111E;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-strong: rgba(255, 255, 255, 0.18);
  --border-white: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 16px 40px -4px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 30px 70px -12px rgba(0, 0, 0, 0.75);

  color-scheme: dark;
}

/* Base Resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.012em;
  transition: background-color var(--transition-medium), color var(--transition-medium);
}

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

/* Typography Enhancements */
h1, h2, h3, h4, .font-black {
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--brand-navy);
  transition: color var(--transition-medium);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-gold-dark) 50%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-green {
  background: linear-gradient(135deg, #166534 0%, #15803D 50%, #22C55E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-yellow {
  background: linear-gradient(135deg, #CA8A04 0%, #EAB308 50%, #FACC15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   Glassmorphism & Cards
   ========================================================================== */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--border-light);
  transition: background-color var(--transition-medium), border-color var(--transition-medium);
}

.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.minimal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.minimal-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Button System: Rounder, Interactive, Glow Effects
   ========================================================================== */
.btn-premium,
.btn-round,
.btn-minimal {
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-decoration: none;
  user-select: none;
}

.btn-primary,
.btn-green {
  background: linear-gradient(135deg, #15803D 0%, #166534 100%);
  color: #FFFFFF !important;
  box-shadow: 0 10px 24px -6px var(--primary-glow);
}

.btn-primary:hover,
.btn-green:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 32px -6px var(--primary-glow);
  background: linear-gradient(135deg, #22C55E 0%, #15803D 100%);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03);
}

.btn-gold,
.btn-yellow {
  background: linear-gradient(135deg, #FACC15 0%, #EAB308 100%);
  color: #0F172A !important;
  font-weight: 800;
  box-shadow: 0 10px 24px -6px var(--accent-gold-glow);
}

.btn-gold:hover,
.btn-yellow:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 32px -6px var(--accent-gold-glow);
  background: linear-gradient(135deg, #FDE047 0%, #FACC15 100%);
}

.btn-student {
  background: #0F172A;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}

html.dark .btn-student {
  background: #1E293B;
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-student:hover {
  background: #15803D;
  border-color: #22C55E;
  color: #FFFFFF !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 24px -6px var(--primary-glow);
}

/* ==========================================================================
   Header Marquee & Navigation
   ========================================================================== */
.header-marquee {
  width: 100%;
  background: linear-gradient(90deg, #166534 0%, #15803D 45%, #CA8A04 100%);
  color: #FFFFFF;
  overflow: hidden;
  position: relative;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 7px 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.marquee-btn {
  background: #FFFFFF;
  color: #166534;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: var(--transition-fast);
}

.marquee-btn:hover {
  background: #FACC15;
  color: #0F172A;
  transform: scale(1.06);
}

.theme-switch-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.theme-switch-btn:hover {
  transform: scale(1.1) rotate(15deg);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 16px var(--accent-gold-glow);
}

/* Active Nav Link */
.nav-link {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-link.nav-active {
  color: var(--primary) !important;
  background: var(--primary-soft);
  font-weight: 800;
}

.nav-link.nav-active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Footer Component - Crisp in Light & Dark Mode
   ========================================================================== */
.site-footer-main {
  background: #0F172A;
  color: #FFFFFF;
  border-top: 1px solid #1E293B;
  position: relative;
  overflow: hidden;
}

html.dark .site-footer-main {
  background: #06111E;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #334155;
  background: rgba(30, 41, 59, 0.7);
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  transform: translateY(-3px) scale(1.1);
  background: #15803D;
  color: #FFFFFF;
  border-color: #22C55E;
  box-shadow: 0 8px 20px var(--primary-glow);
}

.footer-card-box {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

/* ==========================================================================
   Popup Poster Styles
   ========================================================================== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 17, 30, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92) translateY(20px);
  transition: all var(--transition-medium);
  position: relative;
}

.popup-overlay.active .popup-card {
  transform: scale(1) translateY(0);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.popup-close:hover {
  background: #EF4444;
  transform: rotate(90deg) scale(1.1);
}

/* ==========================================================================
   Apple-Style Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  filter: blur(8px);
  transition: opacity var(--transition-medium), 
              transform var(--transition-medium), 
              filter var(--transition-medium);
  will-change: transform, opacity, filter;
}

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

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.6deg); }
}

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

.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: 
    radial-gradient(at 0% 0%, rgba(34, 197, 94, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(234, 179, 8, 0.06) 0px, transparent 45%),
    radial-gradient(at 50% 100%, rgba(37, 99, 235, 0.06) 0px, transparent 50%);
  filter: blur(90px);
  pointer-events: none;
}

.floating-blob {
  position: absolute;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(80px);
  animation: float-around 22s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes float-around {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.15); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Hero Dashboard (CSS Based) */
.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  background: transparent;
  z-index: 0;
}

.orbit-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, var(--accent-gold-glow) 50%, transparent 75%);
  filter: blur(50px);
}

.orbit {
  position: absolute;
  border: 1px dashed var(--border-strong);
  border-radius: 50%;
  z-index: 0;
}

.orbit-one {
  width: 500px;
  height: 300px;
  transform: rotate(-15deg);
}

.dashboard-card {
  position: relative;
  z-index: 2;
  width: 420px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  animation: float 6s ease-in-out infinite;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-live {
  background: var(--primary-soft);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: 1px solid var(--primary-light);
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.metric-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
}

.metric-box small {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  display: block;
}

.metric-box strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-navy);
  display: block;
  margin: 4px 0;
}

.chart-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
}

.bars-container {
  height: 75px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.bar-fill {
  flex: 1;
  background: linear-gradient(to top, #166534, #22C55E);
  border-radius: 4px 4px 0 0;
  transition: height 1s ease;
}

.float-card {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  z-index: 3;
  padding: 12px 18px;
}

.float-badge-tax {
  left: -25px;
  top: 80px;
  animation: float 7s ease-in-out infinite reverse;
}

.float-badge-cert {
  right: -25px;
  bottom: 60px;
  animation: float 5.5s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #22C55E 0%, #15803D 100%);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.4);
  z-index: 100;
  transition: all var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 18px 36px rgba(34, 197, 94, 0.6);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Utility Shortcuts */
.max-w-7xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-soft { background-color: var(--bg-soft); }
.bg-bg-soft { background-color: var(--bg-soft); }
.bg-white { background-color: var(--bg-surface); }
.bg-primary-soft { background-color: var(--primary-soft); }
.bg-brand-navy { background-color: var(--bg-white); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-brand-navy { color: var(--brand-navy); }
.border-border-light { border-color: var(--border-light); }


/* ==========================================================================
   Dark Mode Overrides (Reactive via data-theme="dark" or html.dark)
   ========================================================================== */
html.dark,
[data-theme="dark"],
body:has(#theme-switch:checked) {
  --primary: #10B981;
  --primary-dark: #059669;
  --primary-light: #34D399;
  --primary-vibrant: #6EE7B7;
  --primary-soft: rgba(16, 185, 129, 0.14);
  --primary-glow: rgba(16, 185, 129, 0.35);

  --accent-gold: #FBBF24;
  --accent-gold-bright: #FDE047;
  --accent-gold-soft: rgba(245, 158, 11, 0.14);
  --accent-gold-glow: rgba(251, 191, 36, 0.35);
  --accent-gold-text: #FDE68A;

  --accent-blue: #3B82F6;
  --accent-blue-bright: #60A5FA;
  --accent-blue-soft: rgba(59, 130, 246, 0.14);
  --accent-blue-glow: rgba(59, 130, 246, 0.35);

  --brand-navy: #F8FAFC;
  --brand-navy-light: #E2E8F0;
  --brand-navy-soft: #94A3B8;

  --bg-white: #0B192C;
  --bg-base: #06111E;
  --bg-soft: #0E2038;
  --bg-surface: #0B192C;
  --bg-surface-elevated: #112644;
  --bg-glass: rgba(11, 25, 44, 0.85);
  --bg-glass-card: rgba(16, 36, 62, 0.75);

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
  --text-inverse: #06111E;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-white: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 16px 40px -4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 70px -12px rgba(0, 0, 0, 0.7);

  color-scheme: dark;
}

/* ==========================================================================
   Base Resets & Typography
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.012em;
  transition: background-color var(--transition-medium), color var(--transition-medium);
}

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

/* Typography Enhancements */
h1, h2, h3, h4, .font-black {
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--brand-navy);
  transition: color var(--transition-medium);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-gold-dark) 50%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-green {
  background: linear-gradient(135deg, #166534 0%, #15803D 50%, #22C55E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold,
.text-gradient-yellow {
  background: linear-gradient(135deg, #CA8A04 0%, #EAB308 50%, #FACC15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   Apple-Style Glassmorphism & Interactive Cards
   ========================================================================== */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--border-light);
  transition: background-color var(--transition-medium), border-color var(--transition-medium);
}

.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.minimal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.minimal-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Button System: Rounder, Interactive, Glow Effects
   ========================================================================== */
.btn-premium,
.btn-round,
.btn-minimal {
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-decoration: none;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF !important;
  box-shadow: 0 10px 24px -6px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 32px -6px var(--primary-glow);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
  color: #0F172A !important;
  font-weight: 800;
  box-shadow: 0 10px 24px -6px var(--accent-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 32px -6px var(--accent-gold-glow);
}

.btn-blue {
  background: linear-gradient(135deg, var(--accent-blue-bright) 0%, var(--accent-blue) 100%);
  color: #FFFFFF !important;
  box-shadow: 0 10px 24px -6px var(--accent-blue-glow);
}

.btn-blue:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 32px -6px var(--accent-blue-glow);
}

/* ==========================================================================
   Header Ticker / Marquee Banner Styles
   ========================================================================== */
.header-marquee {
  width: 100%;
  background: linear-gradient(90deg, #064E3B 0%, #047857 40%, #D97706 100%);
  color: #FFFFFF;
  overflow: hidden;
  position: relative;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 7px 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee-slide 35s linear infinite;
  gap: 32px;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.marquee-btn {
  background: #FFFFFF;
  color: #064E3B;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: var(--transition-fast);
}

.marquee-btn:hover {
  background: var(--accent-gold-bright);
  color: #0F172A;
  transform: scale(1.06);
}

@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Theme Switch Button (Sun / Moon Toggle)
   ========================================================================== */
.theme-switch-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.theme-switch-btn:hover {
  transform: scale(1.1) rotate(15deg);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 16px var(--accent-gold-glow);
}

/* Active Nav Link Styles */
.nav-link {
  position: relative;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-link.nav-active {
  color: var(--primary) !important;
  background: var(--primary-soft);
  font-weight: 800;
}

.nav-link.nav-active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Modal & Popup Poster Styles
   ========================================================================== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 17, 30, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92) translateY(20px);
  transition: all var(--transition-medium);
  position: relative;
}

.popup-overlay.active .popup-card {
  transform: scale(1) translateY(0);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.popup-close:hover {
  background: var(--accent-coral);
  transform: rotate(90deg) scale(1.1);
}

/* ==========================================================================
   Apple-Style Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  filter: blur(8px);
  transition: opacity var(--transition-medium), 
              transform var(--transition-medium), 
              filter var(--transition-medium);
  will-change: transform, opacity, filter;
}

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

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.6deg); }
}

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

/* ==========================================================================
   Background Visual Mesh & Blob
   ========================================================================== */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: 
    radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(245, 158, 11, 0.06) 0px, transparent 45%),
    radial-gradient(at 50% 100%, rgba(37, 99, 235, 0.06) 0px, transparent 50%);
  filter: blur(90px);
  pointer-events: none;
}

.floating-blob {
  position: absolute;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(80px);
  animation: float-around 22s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes float-around {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.15); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ==========================================================================
   Interactive Hero Dashboard (Pure CSS)
   ========================================================================== */
.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  background: transparent;
  z-index: 0;
}

.orbit-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, var(--accent-gold-glow) 50%, transparent 75%);
  filter: blur(50px);
}

.orbit {
  position: absolute;
  border: 1px dashed var(--border-strong);
  border-radius: 50%;
  z-index: 0;
}

.orbit-one {
  width: 500px;
  height: 300px;
  transform: rotate(-15deg);
}

.dashboard-card {
  position: relative;
  z-index: 2;
  width: 420px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  animation: float 6s ease-in-out infinite;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-live {
  background: var(--primary-soft);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: 1px solid var(--primary-light);
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.metric-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
}

.metric-box small {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  display: block;
}

.metric-box strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-navy);
  display: block;
  margin: 4px 0;
}

.chart-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
}

.bars-container {
  height: 75px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.bar-fill {
  flex: 1;
  background: linear-gradient(to top, var(--primary), var(--primary-light));
  border-radius: 4px 4px 0 0;
  transition: height 1s ease;
}

.float-card {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  z-index: 3;
  padding: 12px 18px;
}

.float-badge-tax {
  left: -25px;
  top: 80px;
  animation: float 7s ease-in-out infinite reverse;
}

.float-badge-cert {
  right: -25px;
  bottom: 60px;
  animation: float 5.5s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: all var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.6);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Utilities */
.max-w-7xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-soft { background-color: var(--bg-soft); }
.bg-bg-soft { background-color: var(--bg-soft); }
.bg-white { background-color: var(--bg-surface); }
.bg-primary-soft { background-color: var(--primary-soft); }
.bg-brand-navy { background-color: var(--bg-white); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-brand-navy { color: var(--brand-navy); }
.border-border-light { border-color: var(--border-light); }


/* Typography */
h1, h2, h3, h4, .font-black {
  letter-spacing: -0.03em;
  font-weight: 800;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-vibrant) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Apple-style Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  filter: blur(10px);
  transition: opacity var(--transition-medium), 
              transform var(--transition-medium), 
              filter var(--transition-medium);
  will-change: transform, opacity, filter;
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Interactive Elements */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid var(--border-white);
}

.glass-dark {
  background: rgba(6, 32, 27, 0.8);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.minimal-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-medium);
}

.minimal-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-vibrant);
}

/* Buttons */
.btn-premium {
  padding: 1.25rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: scale(1.05);
  box-shadow: 0 20px 40px -10px var(--primary-glow);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-soft);
  transform: scale(1.05);
}

/* Scroll Customization */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* --------------------------------------------------------------------------
   Interactive Premium Visuals (Dashboard & Orbits)
   -------------------------------------------------------------------------- */
.hero-visual {
	position: relative;
	height: 540px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.orbit-glow {
	position: absolute;
	width: 380px;
	height: 380px;
	background: transparent;
	z-index: 0;
	isolation: isolate;
}

.orbit-glow::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
	filter: blur(40px);
}

.orbit-glow::after {
	content: "";
	position: absolute;
	inset: -80px;
	border-radius: 50%;
	background-image:
		radial-gradient(circle, var(--primary-glow) 0 1.5px, transparent 2px),
		radial-gradient(circle, var(--primary-glow) 0 1px, transparent 1.5px);
	background-size: 46px 46px, 68px 68px;
	background-position: 0 0, 18px 26px;
	-webkit-mask-image: radial-gradient(circle, #000 0%, transparent 72%);
	mask-image: radial-gradient(circle, #000 0%, transparent 72%);
	opacity: 0.65;
	animation: orbit-dots 18s linear infinite;
}

.orbit {
	position: absolute;
	border: 1px dashed var(--border-light);
	border-radius: 50%;
	z-index: 0;
}

.orbit-one {
	width: 520px;
	height: 320px;
	transform: rotate(-20deg);
}

.dashboard-card {
	position: relative;
	z-index: 2;
	width: 440px;
	background: var(--bg-white);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	box-shadow: 0 40px 100px -20px rgba(6, 78, 59, 0.15);
	padding: 24px;
	animation: float 6s ease-in-out infinite;
}

.dash-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--border-light);
}

.dash-brand {
	display: flex;
	align-items: center;
	gap: 8px;
}

.status-live {
	background: var(--primary-soft);
	color: var(--primary-light);
	padding: 2px 8px;
	border-radius: var(--radius-full);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.5px;
}

.metric-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 18px 0;
}

.metric-box {
	background: var(--bg-soft);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-md);
	padding: 12px;
}

.metric-box small {
	font-size: 10px;
	font-weight: 800;
	color: var(--text-muted);
	display: block;
}

.metric-box strong {
	font-size: 22px;
	font-weight: 800;
	color: var(--text-main);
	display: block;
	margin: 4px 0;
}

.chart-box {
	background: var(--bg-soft);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-md);
	padding: 14px;
}

.bars-container {
	height: 80px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px;
	margin-top: 12px;
}

.bar-fill {
	flex: 1;
	background: linear-gradient(to top, var(--primary), var(--primary-vibrant));
	border-radius: 4px 4px 0 0;
}

.float-card {
	position: absolute;
	background: var(--bg-white);
	border: 1px solid var(--border-light);
	box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
	border-radius: var(--radius-md);
	z-index: 3;
    padding: 12px 16px;
}

.float-badge-tax {
	left: -30px;
	top: 100px;
	animation: float 7s ease-in-out infinite reverse;
}

.float-badge-cert {
	right: -30px;
	bottom: 80px;
	animation: float 5.5s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 12px;
}

@keyframes float {
	0%, 100% { transform: translateY(0px) rotate(0deg); }
	50% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes orbit-dots {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(46px, 68px, 0); }
}

/* Glassmorphism */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

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

/* Buttons */
.btn-premium {
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--brand-navy);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px var(--primary-glow);
}

.btn-secondary {
  background: var(--bg-soft);
  color: var(--primary);
  border: 1px solid var(--brand-border);
}

.btn-secondary:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
}

/* Background & Texture Effects */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: 
    radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(5, 150, 105, 0.03) 0px, transparent 50%);
  filter: blur(100px);
}

.floating-blob {
  position: absolute;
  background: var(--primary-glow);
  border-radius: 50%;
  z-index: -1;
  filter: blur(100px);
  animation: float-around 25s infinite alternate ease-in-out;
}

@keyframes float-around {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Typography Overhaul */
h1, h2, h3, h4 {
  color: var(--brand-navy);
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--brand-navy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout Utilities */
.max-w-7xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modern Minimalist Header */
.glass-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.nav-active {
  color: var(--primary) !important;
}

/* minimalist-buttons */
.btn-minimal {
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bg-brand-accent {
  background: var(--primary);
  color: white;
}

.bg-brand-accent:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px var(--primary-glow);
}

/* Minimalist Card System */
.minimal-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-fast);
  overflow: hidden;
}

.minimal-card:hover {
  border-color: var(--primary);
  box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.08);
  transform: translateY(-6px);
}

/* Image Hover Effects */
.image-zoom-container {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.image-zoom-container img {
  transition: transform 0.6s var(--ease-expo);
}

.image-zoom-container:hover img {
  transform: scale(1.05);
}

/* Animation Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-slow);
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Background Utilities */
.bg-soft { background-color: var(--bg-soft); }
.bg-bg-soft { background-color: var(--bg-soft); }
.bg-white { background-color: var(--bg-white); }
.bg-primary-soft { background-color: var(--primary-soft); }
.bg-brand-navy { background-color: var(--brand-navy); }
.bg-brand-navy-light { background-color: var(--brand-navy-light); }

/* Text Utilities */
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-brand-navy { color: var(--brand-navy); }
.text-white { color: #ffffff; }
.text-slate-300 { color: #cbd5e1; }

/* Border Utilities */
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-border-light { border-color: var(--border-light); }

/* Custom Spacing */
.section-padding { padding: 100px 0; }
@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
}
.mt-12 { margin-top: 3rem; }
.pb-24 { padding-bottom: 6rem; }
.pt-36 { padding-top: 9rem; }

/* Sticky & Fixed */
.sticky { position: sticky; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.z-40 { z-index: 40; }
.w-full { width: 100%; }

/* Utilities */
.hidden { display: none; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-4xl { font-size: 2.25rem; }
.text-6xl { font-size: 3.75rem; }

@media (max-width: 1024px) {
  .text-4xl { font-size: 2rem; }
  .text-6xl { font-size: 2.5rem; }
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 100;
  transition: var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
}

.overflow-hidden { overflow: hidden; }
.blur-3xl { filter: blur(64px); }
.pointer-events-none { pointer-events: none; }
.appearance-none { appearance: none; }
.cursor-pointer { cursor: pointer; }
.opacity-85 { opacity: 0.85; }
.opacity-80 { opacity: 0.8; }
.opacity-75 { opacity: 0.75; }
.grayscale { filter: grayscale(100%); }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.bottom-4 { bottom: 1rem; }
.left-4 { left: 1rem; }
.right-4 { right: 1rem; }
.top-20 { top: 5rem; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-100 { z-index: 100; }
.inset-x-0 { left: 0; right: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-20 { height: 5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.w-12 { width: 3rem; }
.h-44 { height: 11rem; }
.w-96 { width: 24rem; }
.h-96 { height: 24rem; }
.h-3 { height: 0.75rem; }
.w-3 { width: 0.75rem; }
.-top-40 { top: -10rem; }
.-right-40 { right: -10rem; }
.top-1\/2 { top: 50%; }
.-left-60 { left: -15rem; }

/* Transitions & Animations */
.transition { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }

.hover\:-translate-y-0\.5:hover { --tw-translate-y: -0.125rem; }
.hover\:scale-110:hover { --tw-scale-x: 1.1; --tw-scale-y: 1.1; }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:bg-brand-accentHover:hover { background-color: var(--brand-accent-hover); }
.hover\:bg-brand-navyLight:hover { background-color: var(--brand-navy-light); }
.hover\:text-brand-accent:hover { color: var(--brand-accent); }
.hover\:bg-slate-100:hover { background-color: var(--slate-100); }
.hover\:bg-brand-navy\/5:hover { background-color: rgba(5, 66, 110, 0.05); }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:bg-primary:hover { background-color: var(--primary); }
.hover\:text-white:hover { color: #ffffff; }

@media (min-width: 1024px) {
  .lg\:mx-0 { margin-left: 0; margin-right: 0; }
  .lg\:justify-start { justify-content: flex-start; }
}


@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.animate-fade-in-up { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }

/* Display Utilities */
.hidden { display: none !important; }
.block { display: block !important; }
.inline-flex { display: inline-flex !important; }
@media (min-width: 640px) {
  .sm\:flex { display: flex !important; }
  .sm\:hidden { display: none !important; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
}
@media (min-width: 1024px) {
  .lg\:flex { display: flex !important; }
  .lg\:hidden { display: none !important; }
}

/* Specific Custom Styles from Index */
.glass-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.object-cover { object-fit: cover; }

.nav-active {
  color: var(--brand-accent) !important;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease-in-out;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}


/* ==========================================================================
   Topbar (ATC -> Website -> Banner) + fixed header
   The topbar is fixed above the header; JS/dynamic-loader.js measures it and
   sets --topbar-h, so the header, mobile drawer and page content move down by
   exactly its height (also when the text wraps to two lines on phones).
   ========================================================================== */
:root { --topbar-h: 0px; }

#top-marquee.header-marquee {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 7px 0;
  line-height: 1.35;
}
#top-marquee .max-w-7xl {
  flex-wrap: wrap;
  row-gap: 4px;
  text-align: center;
}
#top-marquee #marquee-text-content {
  overflow-wrap: anywhere;
}
#top-marquee .marquee-btn {
  white-space: nowrap;
  line-height: 1.4;
}

#site-header {
  top: var(--topbar-h);
  transition: top 0.25s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
/* The drawer sits inside the header (its backdrop-filter makes the header the drawer's containing block),
   so it already moves with the header; only its height has to leave room for the topbar. */
#mobile-drawer {
  max-height: calc(100vh - 5rem - var(--topbar-h));
}
body.has-topbar {
  padding-top: var(--topbar-h);
}

@media (max-width: 640px) {
  #top-marquee.header-marquee {
    font-size: 10px;
    letter-spacing: 0.03em;
    padding: 6px 0;
  }
  #top-marquee .max-w-7xl > span:first-child {
    display: none; /* the pulsing dot would sit alone on its own line */
  }
}
