/* ============================================
   UPAY — Light Theme Premium Design System v2
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================
   DESIGN TOKENS — LIGHT THEME
   ============================================ */
:root {
  /* Backgrounds */
  --bg-body:       #FFFFFF;
  --bg-soft:       #F0F7FB;
  --bg-muted:      #E0EFF6;
  --bg-card:       #FFFFFF;
  --bg-card-hover: #F5FAFE;
  --bg-dark:       #001E30;

  /* Brand Colors — #00436d Ocean Blue */
  --clr-primary:        #00436d;
  --clr-primary-dark:   #002d4a;
  --clr-primary-light:  #0068a8;
  --clr-primary-soft:   rgba(0, 67, 109, 0.08);
  --clr-primary-mid:    rgba(0, 67, 109, 0.15);
  --clr-secondary:      #0089c2;
  --clr-accent:         #00b4d8;
  --clr-accent-soft:    rgba(0, 180, 216, 0.1);
  --clr-gold:           #F59E0B;
  --clr-gold-soft:      rgba(245,158,11,0.1);
  --clr-success:        #10B981;
  --clr-success-soft:   rgba(16,185,129,0.1);
  --clr-danger:         #EF4444;

  /* Text */
  --txt-heading:   #001E30;
  --txt-body:      #2D4A5A;
  --txt-muted:     #5A7A8A;
  --txt-light:     #8AAABB;
  --txt-white:     #FFFFFF;
  --txt-primary:   #00436d;

  /* Borders */
  --border:        #D4E8F0;
  --border-focus:  rgba(0,67,109,0.3);
  --border-card:   #D8EBF4;

  /* Gradients */
  --grad-primary:   linear-gradient(135deg, #00436d 0%, #0068a8 55%, #00b4d8 100%);
  --grad-blue:      linear-gradient(135deg, #00436d, #002d4a);
  --grad-purple:    linear-gradient(135deg, #0068a8, #00b4d8);
  --grad-gold:      linear-gradient(135deg, #F59E0B, #F97316);
  --grad-hero-bg:   linear-gradient(135deg, #F0F7FB 0%, #E0EFF6 50%, #EAF4FA 100%);
  --grad-card:      linear-gradient(135deg, rgba(0,67,109,0.04), rgba(0,104,168,0.02));

  /* Typography */
  --font:          'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --fz-xs:         0.75rem;
  --fz-sm:         0.875rem;
  --fz-base:       1rem;
  --fz-lg:         1.125rem;
  --fz-xl:         1.25rem;
  --fz-2xl:        1.5rem;
  --fz-3xl:        1.875rem;
  --fz-4xl:        2.25rem;
  --fz-5xl:        3rem;
  --fz-6xl:        3.75rem;
  --fz-7xl:        4.5rem;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Radii */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-full: 9999px;

  /* Shadows */
  --sh-xs:   0 1px 4px rgba(15,12,42,0.06);
  --sh-sm:   0 2px 8px rgba(15,12,42,0.08);
  --sh-md:   0 4px 20px rgba(15,12,42,0.10);
  --sh-lg:   0 8px 40px rgba(15,12,42,0.12);
  --sh-xl:   0 16px 60px rgba(15,12,42,0.15);
  --sh-card: 0 2px 16px rgba(0,67,109,0.08), 0 0 0 1px rgba(0,67,109,0.06);
  --sh-btn:  0 4px 20px rgba(0,67,109,0.30);
  --sh-btn-hover: 0 8px 32px rgba(0,67,109,0.40);

  /* Transitions */
  --tr-fast: 150ms cubic-bezier(0.4,0,0.2,1);
  --tr-base: 300ms cubic-bezier(0.4,0,0.2,1);
  --tr-slow: 500ms cubic-bezier(0.4,0,0.2,1);

  /* Z-index */
  --z-nav:     1000;
  --z-dropdown:1100;
  --z-mobile:  1200;
  --z-modal:   2000;

  /* Navbar height */
  --nav-h: 70px;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--txt-body);
  line-height: 1.65;
  overflow-x: hidden;
}

img  { max-width:100%; height:auto; display:block; }
a    { text-decoration:none; color:inherit; }
ul,ol{ list-style:none; }
button { cursor:pointer; font-family:inherit; border:none; outline:none; background:none; }
input, textarea, select { font-family:inherit; }

/* ============================================
   TYPOGRAPHY UTILITIES
   ============================================ */
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

h1,h2,h3,h4,h5,h6 {
  color: var(--txt-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--clr-primary-soft);
  border: 1px solid rgba(75,63,238,0.2);
  border-radius: var(--r-full);
  font-size: var(--fz-xs);
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}

.section-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clr-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.6); }
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: var(--sp-24) 0;
  position: relative;
  overflow: hidden;
}

.section-sm { padding: var(--sp-16) 0; }

.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(var(--fz-3xl), 4.5vw, var(--fz-5xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-4);
  color: var(--txt-heading);
}

.section-header p {
  font-size: var(--fz-lg);
  color: var(--txt-muted);
  line-height: 1.7;
}

.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:var(--sp-6); }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--sp-6); }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--sp-6); }

/* ============================================
   ★ NAVBAR — MobiKwik Style Multi-Dropdown
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: all var(--tr-base);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(15,12,42,0.12);
}

.nav-top {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: var(--sp-8);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-icon {
  width: 40px; height: 40px;
  background: var(--grad-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(75,63,238,0.3);
  flex-shrink: 0;
}

.nav-logo-text {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Center nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}

/* Each nav item */
.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.6rem 1rem;
  font-size: var(--fz-sm);
  font-weight: 600;
  color: var(--txt-heading);
  border-radius: var(--r-md);
  transition: all var(--tr-fast);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

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

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

.nav-chevron {
  display: inline-block;
  width: 14px; height: 14px;
  transition: transform var(--tr-base);
  opacity: 0.6;
}

.nav-item:hover > .nav-link .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* ★ DROPDOWN PANEL */
.nav-dropdown {
  position: absolute;
  top: 100%;          /* flush with nav-item bottom — no gap */
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  box-shadow: 0 20px 60px rgba(15,12,42,0.15), 0 4px 20px rgba(75,63,238,0.08);
  padding: var(--sp-4) var(--sp-6) var(--sp-6); /* top padding gives visual gap without breaking hover */
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.4,0,0.2,1),
              transform 0.2s cubic-bezier(0.4,0,0.2,1),
              visibility 0.2s;
  z-index: var(--z-dropdown);
}

/* Invisible hover-bridge: fills any remaining pixel gap so cursor stays inside .nav-item */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -16px;          /* reach up 16px above the dropdown */
  left: 0; right: 0;
  height: 16px;
  background: transparent;
}

/* Arrow tip */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 14px; height: 14px;
  background: white;
  border-left: 1px solid var(--border-card);
  border-top: 1px solid var(--border-card);
  transform: translateX(-50%) rotate(45deg);
}

.nav-item:hover > .nav-dropdown,
.nav-item.nav-hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Mega dropdown (wider) */
.nav-dropdown.mega {
  min-width: 520px;
  left: 0;
  transform: translateY(6px);
  padding: var(--sp-4) var(--sp-8) var(--sp-8);
}

.nav-dropdown.mega::before {
  left: 80px;
  transform: rotate(45deg);
}

.nav-item:hover > .nav-dropdown.mega,
.nav-item.nav-hover > .nav-dropdown.mega {
  transform: translateY(0);
}


.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}

/* Dropdown items */
.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  transition: all var(--tr-fast);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.dropdown-item:hover {
  background: var(--bg-soft);
  transform: translateX(2px);
}

.dropdown-item-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--tr-fast);
}

.dropdown-item:hover .dropdown-item-icon {
  transform: scale(1.08);
}

.dropdown-item-icon.purple { background: rgba(124,58,237,0.1); }
.dropdown-item-icon.blue   { background: rgba(75,63,238,0.1); }
.dropdown-item-icon.cyan   { background: rgba(6,182,212,0.1); }
.dropdown-item-icon.gold   { background: rgba(245,158,11,0.1); }
.dropdown-item-icon.green  { background: rgba(16,185,129,0.1); }
.dropdown-item-icon.red    { background: rgba(239,68,68,0.1); }
.dropdown-item-icon.pink   { background: rgba(236,72,153,0.1); }
.dropdown-item-icon.indigo { background: rgba(79,70,229,0.1); }

.dropdown-item-text {
  display: flex;
  flex-direction: column;
}

.dropdown-item-name {
  font-size: var(--fz-sm);
  font-weight: 600;
  color: var(--txt-heading);
  line-height: 1.3;
}

.dropdown-item-desc {
  font-size: var(--fz-xs);
  color: var(--txt-muted);
  margin-top: 2px;
}

/* Dropdown section header */
.dropdown-section-title {
  font-size: var(--fz-xs);
  font-weight: 700;
  color: var(--txt-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--sp-2) var(--sp-4) var(--sp-2);
  margin-bottom: var(--sp-1);
}

/* Dropdown divider */
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: var(--sp-3) 0;
}

/* Nav right actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.nav-action-link {
  font-size: var(--fz-sm);
  font-weight: 500;
  color: var(--txt-body);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  transition: color var(--tr-fast);
  white-space: nowrap;
}

.nav-action-link:hover { color: var(--clr-primary); }

.nav-sep {
  color: var(--border);
  font-size: 1rem;
  user-select: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--txt-heading);
  border-radius: var(--r-full);
  transition: all var(--tr-base);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: white;
  z-index: var(--z-mobile);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--tr-base);
  border-top: 1px solid var(--border);
}

.mobile-nav.open {
  display: block;
  transform: translateX(0);
}

.mobile-nav-inner {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.mobile-nav-item {
  border-radius: var(--r-lg);
  overflow: hidden;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fz-base);
  font-weight: 600;
  color: var(--txt-heading);
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  transition: all var(--tr-fast);
  cursor: pointer;
  text-decoration: none;
}

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

.mobile-acc-icon {
  width: 20px; height: 20px;
  transition: transform var(--tr-base);
}

.mobile-nav-item.open .mobile-acc-icon { transform: rotate(180deg); }

.mobile-subnav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-nav-item.open .mobile-subnav { max-height: 600px; }

.mobile-subitem {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fz-sm);
  font-weight: 500;
  color: var(--txt-body);
  text-decoration: none;
  transition: all var(--tr-fast);
  border-left: 3px solid transparent;
  margin: var(--sp-1) var(--sp-3);
  border-radius: var(--r-md);
}

.mobile-subitem:hover {
  background: var(--clr-primary-soft);
  color: var(--clr-primary);
  border-left-color: var(--clr-primary);
}

.mobile-subitem-icon {
  font-size: 1.2rem;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}

.mobile-nav-cta {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  padding: 0 var(--sp-2);
}

.mobile-nav-cta .btn { flex: 1; justify-content: center; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.7rem 1.6rem;
  border-radius: var(--r-full);
  font-size: var(--fz-sm);
  font-weight: 700;
  transition: all var(--tr-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: var(--sh-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-btn-hover);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}

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

.btn-white {
  background: white;
  color: var(--clr-primary);
  box-shadow: var(--sh-md);
}

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

.btn-soft {
  background: var(--clr-primary-soft);
  color: var(--clr-primary);
  border: 1px solid rgba(75,63,238,0.15);
}

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

.btn-gold {
  background: var(--grad-gold);
  color: white;
  box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,158,11,0.4);
}

.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: var(--fz-base);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: var(--fz-xs);
}

.btn-xs {
  padding: 0.35rem 0.9rem;
  font-size: var(--fz-xs);
  border-radius: var(--r-full);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  transition: all var(--tr-base);
}

.card:hover {
  box-shadow: var(--sh-card);
  transform: translateY(-4px);
  border-color: rgba(75,63,238,0.15);
}

.card-p { padding: var(--sp-8); }
.card-p-sm { padding: var(--sp-6); }

/* Feature card */
.feature-card {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: all var(--tr-base);
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--tr-slow);
  z-index: 0;
}

.feature-card:hover {
  box-shadow: 0 12px 40px rgba(75,63,238,0.12);
  transform: translateY(-6px);
  border-color: rgba(75,63,238,0.2);
}

.feature-card > * { position: relative; z-index: 1; }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--sp-6);
  transition: transform var(--tr-base);
}

.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-5deg); }

.feature-icon.purple { background: rgba(124,58,237,0.1); color: #7C3AED; }
.feature-icon.blue   { background: rgba(75,63,238,0.1);  color: var(--clr-primary); }
.feature-icon.cyan   { background: rgba(6,182,212,0.1);  color: var(--clr-accent); }
.feature-icon.gold   { background: rgba(245,158,11,0.1); color: var(--clr-gold); }
.feature-icon.green  { background: rgba(16,185,129,0.1); color: var(--clr-success); }
.feature-icon.red    { background: rgba(239,68,68,0.1);  color: var(--clr-danger); }

.feature-card h3 {
  font-size: var(--fz-xl);
  font-weight: 700;
  color: var(--txt-heading);
  margin-bottom: var(--sp-3);
}

.feature-card p {
  font-size: var(--fz-sm);
  color: var(--txt-muted);
  line-height: 1.7;
}

/* ============================================
   BADGE / PILLS
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  font-size: var(--fz-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-blue   { background: var(--clr-primary-soft); color: var(--clr-primary); border: 1px solid rgba(75,63,238,0.15); }
.badge-purple { background: rgba(124,58,237,0.1); color: #7C3AED; border: 1px solid rgba(124,58,237,0.2); }
.badge-green  { background: var(--clr-success-soft); color: var(--clr-success); border: 1px solid rgba(16,185,129,0.2); }
.badge-gold   { background: var(--clr-gold-soft); color: var(--clr-gold); border: 1px solid rgba(245,158,11,0.2); }
.badge-cyan   { background: var(--clr-accent-soft); color: var(--clr-accent); border: 1px solid rgba(6,182,212,0.2); }

/* ============================================
   TICKER / MARQUEE
   ============================================ */
.ticker-wrap {
  overflow: hidden;
  padding: var(--sp-4) 0;
  background: var(--clr-primary-soft);
  border-top: 1px solid rgba(75,63,238,0.1);
  border-bottom: 1px solid rgba(75,63,238,0.1);
}

.ticker {
  display: flex;
  gap: var(--sp-12);
  animation: ticker-move 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fz-sm);
  font-weight: 600;
  color: var(--clr-primary);
  white-space: nowrap;
}

.ticker-dot { color: var(--clr-primary-light); opacity: 0.5; }

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

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible { opacity: 1; }

.slide-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-right.visible { opacity: 1; transform: translateX(0); }

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

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-bar-item {
  flex: 1;
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  border-right: 1px solid var(--border);
  max-width: 200px;
}

.stat-bar-item:last-child { border-right: none; }

.stat-bar-num {
  font-size: var(--fz-3xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--clr-gold);
  margin-bottom: var(--sp-1);
}

.stat-bar-label {
  font-size: var(--fz-xs);
  color: var(--txt-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding: var(--sp-20) 0 var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--sp-8);
}

.footer-brand p {
  font-size: var(--fz-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: var(--sp-4) 0 var(--sp-6);
  max-width: 290px;
}

.footer-logo-icon {
  width: 40px; height: 40px;
  background: var(--grad-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: var(--sp-4);
}

.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.04em;
}

.footer-social {
  display: flex;
  gap: var(--sp-3);
}

.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--tr-fast);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: white;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: var(--fz-xs);
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-5);
}

.footer-col li { margin-bottom: var(--sp-3); }

.footer-col a {
  font-size: var(--fz-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--tr-fast);
}

.footer-col a:hover { color: white; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: var(--fz-xs);
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: var(--sp-6);
}

.footer-bottom-links a {
  font-size: var(--fz-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--tr-fast);
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  padding: calc(var(--nav-h) + var(--sp-16)) 0 var(--sp-20);
  background: var(--grad-hero-bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(var(--fz-4xl), 6vw, var(--fz-7xl));
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-6);
  color: var(--txt-heading);
}

.page-hero p {
  font-size: var(--fz-xl);
  color: var(--txt-muted);
  max-width: 580px;
  margin: 0 auto var(--sp-8);
  line-height: 1.65;
}

/* Background decorations */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}

.bg-blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(75,63,238,0.12), transparent 70%);
}

.bg-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.10), transparent 70%);
}

.bg-blob-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(245,158,11,0.08), transparent 70%);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: rgba(75,63,238,0.3); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--clr-primary); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-actions .nav-action-link,
  .nav-actions .nav-sep { display: none; }
}

@media (max-width: 768px) {
  .section { padding: var(--sp-16) 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--sp-4); text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
  .page-hero { padding: calc(var(--nav-h) + var(--sp-10)) 0 var(--sp-12); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-4); }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; }
  .stat-bar-item { border-right: none; border-bottom: 1px solid var(--border); max-width: 100%; }
  .stat-bar-item:last-child { border-bottom: none; }
}
