/*
  Base styles and design tokens for MagikPay.io
  - Dark 3D glassmorphism + subtle neumorphism
  - Accessible focus rings, AA contrast
  - Respects prefers-reduced-motion
*/

:root {
  /* Colors (updated theme) */
  --color-bg-1: #04070F;
  --color-bg-2: #0A1120;
  --color-text-1: #E9EDF5;
  --color-text-2: #A9B2C7;

  /* Brand gradient */
  --gradient-brand: linear-gradient(90deg, #6366f1, #3b82f6 35%, #06b6d4 70%, #d946ef);

  /* Glass */
  --glass-bg: rgba(10, 17, 32, 0.66);
  --glass-blur: 22px;

  /* Radii */
  --radius-16: 16px;
  --radius-20: 20px;
  --radius-24: 24px;
  --radius-pill: 9999px;

  /* Shadows (premium) */
  --shadow-elev-1: 0 10px 28px -18px rgba(0,0,0,0.55);
  --shadow-elev-2: 0 28px 60px -28px rgba(0,0,0,0.65);
  --shadow-inset: inset 1px 1px 0 rgba(255,255,255,.34);

  /* Layout */
  --container-max: 1180px;
  --gutter: 24px;

  /* Borders */
  --border-color: rgba(255,255,255,0.14);
  --focus-ring: 0 0 0 3px rgba(99,102,241,0.38), 0 0 0 6px rgba(99, 102, 241, 0.18);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Poppins, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  color: var(--color-text-1);
  background:
    radial-gradient(1200px 600px at 12% -14%, rgba(99,102,241,0.12), transparent 55%),
    radial-gradient(1000px 700px at 105% 6%, rgba(6,182,212,0.10), transparent 45%),
    linear-gradient(180deg, var(--color-bg-1), var(--color-bg-2));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

/* Type */
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(2.4rem, 1.5rem + 3vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.125rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.3rem); font-weight: 600; }
p { margin: 0 0 12px; color: var(--color-text-2); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.25); }

/* Accessibility */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -44px; background: #111827; color: #fff; padding: 10px 14px; border-radius: var(--radius-16); z-index: 9999; }
.skip-link:focus { top: 8px; box-shadow: var(--focus-ring); outline: none; }

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 20px auto;
    padding: 0 var(--gutter);
}
.section { padding: 0; }
.section-title {
    margin-bottom: 35px;
    text-align: center;
    margin-top: 35px;
}
.grid { display: grid; gap: 16px; }
.cards-3 { grid-template-columns: 1fr; }
.cards-6 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cards-6 { grid-template-columns: repeat(3, 1fr); } }

/* Header with Neumorphism Effect */
.site-header { 
  position: sticky; 
  top: 0; 
  z-index: 50; 
  background: linear-gradient(145deg, rgba(4,7,15,0.95), rgba(8,12,25,0.95));
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.3),
    0 2px 8px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
      justify-content: space-between;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(99,102,241,0.05) 0%, 
    rgba(6,182,212,0.05) 25%, 
    rgba(217,70,239,0.05) 50%, 
    rgba(59,130,246,0.05) 75%, 
    rgba(99,102,241,0.05) 100%);
  border-radius: 0 0 20px 20px;
  opacity: 0.6;
  pointer-events: none;
}

.nav-container { 
  display: contents; 
  align-items: center; 
  justify-content: space-between; 
  gap: 12px; 
  padding: 16px 0; 
  position: relative;
  z-index: 2;
}

.site-header.shrink .nav-container { 
  padding: 10px 0; 
}

.site-header.shrink {
  background: linear-gradient(145deg, rgba(4,7,15,0.98), rgba(8,12,25,0.98));
  box-shadow: 
    0 4px 16px rgba(0,0,0,0.4),
    0 1px 4px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.3);
}

.brand .logo { 
  filter: drop-shadow(0 8px 24px rgba(99,102,241,.3));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand:hover .logo {
  filter: drop-shadow(0 12px 32px rgba(99,102,241,.4));
  transform: translateY(-1px);
}

.nav-toggle { 
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  color: var(--color-text-1); 
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; 
  width: 44px; 
  height: 44px; 
  display: grid; 
  place-items: center;
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -1px 0 rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(99,102,241,0.1) 0%, 
    rgba(6,182,212,0.1) 50%, 
    rgba(217,70,239,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 20px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.15),
    inset 0 -1px 0 rgba(0,0,0,0.15);
  border-color: rgba(255,255,255,0.2);
}

.nav-toggle:hover::before {
  opacity: 1;
}

.nav-toggle:active {
  transform: translateY(0);
  box-shadow: 
    0 2px 8px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.2);
}

.nav-toggle:focus-visible { 
  outline: none; 
  box-shadow: var(--focus-ring), 0 4px 12px rgba(0,0,0,0.2);
}

.site-nav { 
  position: fixed; 
  inset: 64px 0 auto 0; 
  background: linear-gradient(145deg, rgba(5,8,16,0.98), rgba(8,12,25,0.98));
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: translateY(-8px); 
  opacity: 0; 
  pointer-events: none; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-nav.open { 
  transform: translateY(0); 
  opacity: 1; 
  pointer-events: auto; 
}

.nav-list { 
  list-style: none; 
  padding: 20px; 
  margin: 0; 
  display: grid; 
  gap: 8px; 
}

.nav-list a { 
  display: block; 
  padding: 12px 16px; 
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 
    0 2px 8px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-list a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(99,102,241,0.1) 0%, 
    rgba(6,182,212,0.1) 50%, 
    rgba(217,70,239,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-list a.active, 
.nav-list a:hover { 
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.08));
  border-color: rgba(255,255,255,0.15);
  box-shadow: 
    0 4px 16px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -1px 0 rgba(0,0,0,0.1);
  transform: translateY(-1px);
  text-decoration: none;
}

.nav-list a.active::before,
.nav-list a:hover::before {
  opacity: 1;
}

.nav-list a:active {
  transform: translateY(0);
  box-shadow: 
    0 2px 8px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.1);
}

.nav-ctas { 
  display: flex; 
  gap: 12px; 
  padding: 16px 20px 20px; 
}
@media (min-width: 900px) {
  .site-nav { 
    position: static; 
    inset: auto; 
    background: transparent; 
    border-top: 0; 
    transform: none; 
    opacity: 1; 
    pointer-events: auto; 
    display: flex; 
    align-items: center; 
    gap: 20px;
    box-shadow: none;
    padding-right: 18px;
  }
  
  .nav-list { 
    display: flex; 
    gap: 8px; 
    padding: 0; 
  }
  
  .nav-list a {
    padding: 8px 16px;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 
      0 2px 6px rgba(0,0,0,0.1),
      inset 0 1px 0 rgba(255,255,255,0.03);
    font-weight: 500;
    letter-spacing: 0.3px;
  }
  
  .nav-list a.active, 
  .nav-list a:hover {
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    border-color: rgba(255,255,255,0.12);
    box-shadow: 
      0 3px 12px rgba(0,0,0,0.15),
      inset 0 1px 0 rgba(255,255,255,0.08),
      inset 0 -1px 0 rgba(0,0,0,0.05);
    transform: translateY(-1px);
  }
  
  .nav-ctas { 
    padding: 0; 
    gap: 12px;
    display: block;
    width: max-content;
  }
  
  .nav-toggle { 
    display: none; 
  }
}

/* Buttons with Enhanced Neumorphism */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 10px; 
  padding: 12px 20px; 
  min-height: 44px; 
  /* border-radius: var(--radius-pill);  */
  border-radius: var(--radius-16);
  border: 1px solid var(--border-color); 
  backdrop-filter: blur(var(--glass-blur)); 
  -webkit-backdrop-filter: blur(var(--glass-blur)); 
  cursor: pointer; 
  user-select: none; 
  font-weight: 600; 
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255,255,255,0.1) 0%, 
    rgba(255,255,255,0.05) 50%, 
    rgba(255,255,255,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:focus-visible { 
  outline: none; 
  box-shadow: var(--focus-ring); 
}

.btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 
    0 8px 20px rgba(0,0,0,0.2),
    0 4px 8px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -1px 0 rgba(0,0,0,0.1);
}

.btn:hover::before {
  opacity: 1;
}

.btn:active { 
  transform: translateY(0); 
  box-shadow: 
    0 2px 8px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.15);
}

.btn-primary { 
  color: #0b1220; 
  background: linear-gradient(135deg, #6366f1, #3b82f6, #06b6d4, #d946ef);
  background-size: 200% 200%;
  border-color: transparent; 
  box-shadow: 
    0 4px 12px rgba(99,102,241,0.3),
    0 2px 4px rgba(99,102,241,0.2),
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -1px 0 rgba(0,0,0,0.1);
  animation: gradientShift 3s ease infinite;
}

.btn-primary:hover {
  background-position: 100% 100%;
  box-shadow: 
    0 8px 24px rgba(99,102,241,0.4),
    0 4px 12px rgba(99,102,241,0.3),
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -1px 0 rgba(0,0,0,0.1);
}

.btn-secondary { 
  color: var(--color-text-1); 
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 
    0 2px 8px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.05);
}

.btn-secondary:hover {
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.08));
  border-color: rgba(255,255,255,0.18);
  box-shadow: 
    0 4px 16px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.08);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.btn-ghost { color: var(--color-text-1); background: transparent; }

/* Surfaces */
.glass { background: var(--glass-bg); border: 1px solid var(--border-color); border-radius: var(--radius-20); box-shadow: var(--shadow-elev-2); backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur)); box-shadow: var(--shadow-elev-2), var(--shadow-inset); }
.glass, .card, .ai-border { isolation: isolate; }

/* Enhanced Card with Neumorphism */
.card { 
  padding: 18px; 
  border-radius: var(--radius-20); 
  border: 1px solid var(--border-color); 
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.3),
    inset -2px -2px 4px rgba(255, 255, 255, 0.05),
    0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: visible; 
  transition: all 0.3s ease;
}

.card:hover {
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.3),
    inset -2px -2px 4px rgba(255, 255, 255, 0.05),
    0 6px 12px rgba(0, 0, 0, 0.3),
    0 0 0 2px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.card:active {
  transform: translateY(0);
  box-shadow: 
    inset 4px 4px 8px rgba(0, 0, 0, 0.4),
    inset -2px -2px 4px rgba(255, 255, 255, 0.02);
}

/* Enhanced AI conic border with animation */
.ai-border { 
  position: relative; 
  border-radius: var(--radius-24); 
}

.ai-border::before {
  content: ""; 
  position: absolute; 
  inset: -1px; 
  padding: 1px; 
  border-radius: inherit; 
  filter: blur(6px);
  background: conic-gradient(from 180deg, #6366f1, #06b6d4, #d946ef, #3b82f6, #6366f1);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; 
  mask-composite: exclude; 
  animation: none; 
  z-index: 0; 
  pointer-events: none;
}

.ai-border > * { position: relative; z-index: 1; }

/* Keyframe Animations - Removed as animations are now stable */

/* Neumorphism specific classes for different card types */
.neumorphic-card {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.3),
    inset -2px -2px 4px rgba(255, 255, 255, 0.05),
    0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.neumorphic-card:hover {
  background: linear-gradient(145deg, #1e293b, #334155);
  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.3),
    inset -2px -2px 4px rgba(255, 255, 255, 0.05),
    0 6px 12px rgba(0, 0, 0, 0.3),
    0 0 0 2px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.neumorphic-card:active {
  transform: translateY(0);
  box-shadow: 
    inset 4px 4px 8px rgba(0, 0, 0, 0.4),
    inset -2px -2px 4px rgba(255, 255, 255, 0.02);
}

/* Neumorphic button styling */
.neumorphic-btn {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 20px;
  color: #e2e8f0;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.3),
    inset -2px -2px 4px rgba(255, 255, 255, 0.05),
    0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.neumorphic-btn:hover {
  background: linear-gradient(145deg, #1e293b, #334155);
  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.3),
    inset -2px -2px 4px rgba(255, 255, 255, 0.05),
    0 6px 12px rgba(0, 0, 0, 0.3),
    0 0 0 2px rgba(99, 102, 241, 0.2);
  transform: translateY(-1px);
}

.neumorphic-btn:active {
  transform: translateY(0);
  box-shadow: 
    inset 4px 4px 8px rgba(0, 0, 0, 0.4),
    inset -2px -2px 4px rgba(255, 255, 255, 0.02);
}

/* Neumorphic input styling */
.neumorphic-input {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  color: #e2e8f0;
  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.3),
    inset -2px -2px 4px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.neumorphic-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.3),
    inset -2px -2px 4px rgba(255, 255, 255, 0.05),
    0 0 0 3px rgba(99, 102, 241, 0.3);
}

/* Enhanced AI border with pulsing effect - Stable */
.ai-border-pulse::before {
  animation: none;
}

/* Keyframe Animations - Removed as animations are now stable */

/* Neumorphic panel styling */
.neumorphic-panel {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 
    inset 3px 3px 6px rgba(0, 0, 0, 0.3),
    inset -3px -3px 6px rgba(255, 255, 255, 0.05),
    0 8px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.neumorphic-panel:hover {
  background: linear-gradient(145deg, #1e293b, #334155);
  box-shadow: 
    inset 3px 3px 6px rgba(0, 0, 0, 0.3),
    inset -3px -3px 6px rgba(255, 255, 255, 0.05),
    0 12px 24px rgba(0, 0, 0, 0.3),
    0 0 0 3px rgba(99, 102, 241, 0.2);
  transform: translateY(-3px);
}

/* Icon 3D wrapper for FA icons (wrapper span + inner i) */
.icon-3d {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /* background: var(--glass-bg); */
  /* border: 1px solid var(--border-color); */
  /* backdrop-filter: blur(var(--glass-blur)); */
  -webkit-backdrop-filter: blur(var(--glass-blur));
  /* box-shadow: var(--shadow-elev-1), var(--shadow-inset); */
  /* overflow: visible; */
  isolation: isolate;
}

.icon-3d i {
  position: relative;
  z-index: 3;
  font-size: 40px;
  line-height: 1;
  color: rgba(233,237,245,.96);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.45));
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Back glow layer */
.icon-3d::before { 
  content: ""; 
  position: absolute; 
  inset: -14px; 
  border-radius: 50%; 
  filter: blur(16px); 
  opacity: .55; 
  z-index: 1; 
  background: radial-gradient(circle at 50% 50%, var(--tone, rgba(99,102,241,.45)), transparent 60%); 
}

/* Specular highlight layer */
.icon-3d::after { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  border-radius: 50%; 
  background: linear-gradient(210deg, rgba(255,255,255,0.12), rgba(255,255,255,0)); 
  opacity: .12; 
  pointer-events: none; 
  z-index: 2;
}

.icon-3d:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 0 0 2px rgba(255,255,255,0.06), var(--shadow-elev-1); 
}

.icon-3d:active { 
  transform: translateY(0); 
  box-shadow: var(--shadow-inset); 
}

/* tone mapping */
.tone-INDIGO{ --tone: rgba(99,102,241,.55); }
.tone-BLUE{ --tone: rgba(59,130,246,.55); }
.tone-CYAN{ --tone: rgba(6,182,212,.55); }
.tone-FUCHSIA{ --tone: rgba(217,70,239,.55); }
.tone-EMERALD{ --tone: rgba(16,185,129,.55); }
.tone-ORANGE{ --tone: rgba(251,146,60,.55); }

/* Force FA font loading and fallback */
.icon-3d i.fa-solid, 
.icon-3d i.fa, 
.icon-3d i.fas { 
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
}

/* Fallback for when FA hasn't loaded yet */
body:not(.fa-ready) .icon-3d i::before {
  content: "●";
  font-family: system-ui, sans-serif;
  font-weight: bold;
  color: var(--tone, rgba(99,102,241,.8));
}

/* Ensure icons are always visible */
.icon-3d i {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Additional fallback for missing icons */
.icon-3d i:empty::before,
.icon-3d i:not(:has(*))::before {
  content: "●";
  font-family: system-ui, sans-serif;
  font-weight: bold;
  color: var(--tone, rgba(99,102,241,.8));
}

/* Force icon content to show */
.icon-3d i.fa-solid::before,
.icon-3d i.fa::before,
.icon-3d i.fas::before {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Additional safety measures for icon visibility */
.icon-3d {
  z-index: 1;
}

.icon-3d i {
  z-index: 10 !important;
  position: relative !important;
}

/* Ensure proper stacking context */
.glass, .card, .ai-border {
  isolation: isolate;
  z-index: 1;
}

/* Force icon rendering */
.icon-3d i::before {
  content: attr(data-icon) !important;
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Fallback for specific icons */
.icon-3d i.fa-solid.fa-bolt::before { content: "⚡" !important; }
.icon-3d i.fa-solid.fa-route::before { content: "🛣️" !important; }
.icon-3d i.fa-solid.fa-shield-halved::before { content: "🛡️" !important; }
.icon-3d i.fa-solid.fa-wallet::before { content: "💳" !important; }
.icon-3d i.fa-solid.fa-coins::before { content: "🪙" !important; }
.icon-3d i.fa-solid.fa-chart-line::before { content: "📈" !important; }
.icon-3d i.fa-solid.fa-indian-rupee-sign::before { content: "₹" !important; }
.icon-3d i.fa-solid.fa-credit-card::before { content: "💳" !important; }
.icon-3d i.fa-solid.fa-code::before { content: "💻" !important; }
.icon-3d i.fa-solid.fa-file-shield::before { content: "📄" !important; }
.icon-3d i.fa-solid.fa-cloud::before { content: "☁️" !important; }
.icon-3d i.fa-solid.fa-certificate::before { content: "🏆" !important; }
.icon-3d i.fa-solid.fa-lock::before { content: "🔒" !important; }
.icon-3d i.fa-solid.fa-list-check::before { content: "✅" !important; }
.icon-3d i.fa-solid.fa-wave-square::before { content: "📡" !important; }
.icon-3d i.fa-solid.fa-scale-balanced::before { content: "⚖️" !important; }
.icon-3d i.fa-solid.fa-envelope::before { content: "✉️" !important; }
.icon-3d i.fa-solid.fa-book::before { content: "📚" !important; }
.icon-3d i.fa-solid.fa-calendar-check::before { content: "📅" !important; }
.icon-3d i.fa-solid.fa-headset::before { content: "🎧" !important; }
.icon-3d i.fa-solid.fa-quote-left::before { content: "💬" !important; }
.icon-3d i.fa-solid.fa-circle-question::before { content: "❓" !important; }
.icon-3d i.fa-solid.fa-bars::before { content: "☰" !important; }
.icon-3d i.fa-solid.fa-chevron-down::before { content: "▼" !important; }
.icon-3d i.fa-solid.fa-arrow-right-arrow-left::before { content: "↔️" !important; }
.icon-3d i.fa-solid.fa-gamepad::before { content: "🎮" !important; }
.icon-3d i.fa-solid.fa-file-invoice::before { content: "📋" !important; }
.icon-3d i.fa-solid.fa-globe::before { content: "🌐" !important; }
.icon-3d i.fa-solid.fa-building-columns::before { content: "🏦" !important; }
.icon-3d i.fa-solid.fa-key::before { content: "��" !important; }

/* Final comprehensive fix for icon visibility */
.icon-3d i {
  /* Force display and visibility */
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  
  /* Ensure proper font loading */
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome", system-ui, sans-serif !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  
  /* Ensure content is visible */
  line-height: 1 !important;
  text-align: center !important;
  
  /* Force repaint */
  transform: translateZ(0) !important;
  backface-visibility: hidden !important;
}

/* Ensure ::before pseudo-element is always visible */
.icon-3d i::before {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  font-style: inherit !important;
  line-height: inherit !important;
  text-align: inherit !important;
}

/* Additional fallback for when Font Awesome completely fails */
@supports not (font-family: "Font Awesome 6 Free") {
  .icon-3d i::before {
    content: "●" !important;
    font-family: system-ui, sans-serif !important;
    font-weight: bold !important;
    color: var(--tone, rgba(99,102,241,.8)) !important;
  }
}

/* Forms */
input, select, textarea { width: 100%; padding: 12px 14px; border-radius: var(--radius-16); border: 1px solid var(--border-color); background: rgba(255,255,255,0.04); color: var(--color-text-1); box-shadow: var(--shadow-inset); }
label { font-size: 0.9rem; color: var(--color-text-2); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; box-shadow: var(--focus-ring); }
[aria-invalid="true"] { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.2); }

/* Toast */
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; display: flex; align-items: center; gap: 10px; background: rgba(3,7,18,0.9); color: #e6e8f0; border: 1px solid var(--border-color); border-radius: var(--radius-16); padding: 10px 14px; box-shadow: var(--shadow-elev-2); }

/* Reveal animations (IntersectionObserver) */
[data-reveal] { opacity: 1; transform: none; transition: opacity .22s ease, transform .22s ease; }
body.reveal [data-reveal] { opacity: 0; transform: translateY(10px); }
body.reveal [data-reveal].reveal-in { opacity: 1; transform: translateY(0); }

/* Utilities */
.tilt { will-change: transform; transform-style: preserve-3d; transition: transform .2s ease; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 12px; border-radius: var(--radius-pill); border: 1px solid var(--border-color); backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur)); color: #cbd2e4; display: inline-flex; align-items: center; gap: 8px; }
.orbs { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 20% 10%, rgba(99,102,241,0.16), transparent 60%), radial-gradient(520px 280px at 78% 22%, rgba(217,70,239,0.13), transparent 60%), radial-gradient(460px 220px at 50% 0%, rgba(6,182,212,0.10), transparent 60%); filter: blur(14px); opacity: 0.75; animation: float-orbs 14s ease-in-out infinite alternate; }
@keyframes float-orbs { from { transform: translateY(0) translateX(0); } to { transform: translateY(10px) translateX(-8px); } }

@media (prefers-reduced-motion: reduce) {
  .ai-border::before { animation: none; }
  .tilt, .btn, [data-reveal] { transition: none !important; }
  .orbs { animation: none; }
}
@media (max-width: 768px) {
  .site-header {
    display: flow;
    height: 120px;
}
.chips {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
}
.chip {
    width: 100%;
}
.mission-card, .infrastructure-card, .who-we-serve-card, .global-presence-card, .contact-card, .contact-info-card, .contact-form-card, .office-card, .pricing-card, .spread-card, .addon-card, .terms-card, .login-form-card, .feature-card, .hero-panel, .faq-box, .premium-feature-card, .why-choose-card, .category-card, .metric-card, .features-card, .how-it-works-card, .security-card, .premium-rails-showcase {
    margin-top: 10px;
}
}
















/* Footer menu */
.footer-menu {
  list-style: none;
  padding: 40px 0;       /* space top/bottom */
  margin: 0;
  text-align: center;
  line-height: 1.9;
  font-size: 20px;       /* adjust for screenshot look */
  font-family: 'Poppins', sans-serif; /* or your font */
  color: #fff;
}

/* inline items separated by pipe */
.footer-menu li {
  display: inline-block;
  margin: 0 6px;
  vertical-align: middle;
}

/* add pipe separator after each item except last */
.footer-menu li::after {
  content: " |";
  margin-left: 10px;
  color: rgba(255,255,255,0.9);
}

/* remove separator after last */
.footer-menu li:last-child::after {
  content: "";
}

/* links */
.footer-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}

/* hover */
.footer-menu a:hover {
  text-decoration: underline;
  opacity: 0.95;
}

/* responsive: stack / wrap neatly on smaller screens */
@media (max-width: 991px) {
  .footer-menu {
    font-size: 17px;
    padding: 30px 0;
  }
}

@media (max-width: 576px) {
  .footer-menu {
    font-size: 15px;
    padding: 20px 15px;
  }
  .footer-menu li {
    display: inline;          /* still inline but will wrap */
  }
}
 /* new file */

 
.text-size-banner
/* Specificity: (0,1,0) */
 {
    font-size: 55px !important;
    line-height: 75px !important;
    font-family: poppins !important;
    font-weight: 600;
    color: #FFFFFF;
}





  .footer-nav {
        margin-top: 28px;
        padding-top: 28px;
        border-top: 1px solid rgba(255,255,255,0.04);
      }

      /* three columns on desktop */
      .footer-nav-column { width: 33.333%; float:left; padding: 0 18px; box-sizing: border-box; }
      .footer-nav-column h4 { font-weight: 700; margin-bottom: 18px; color: #fff; font-size: 18px; }
      .footer-nav-column ul { list-style:none; padding:0; margin:0; }
      .footer-nav-column ul li { margin-bottom: 14px; }

      /* Make each link inline-flex so icon + text sit in one line on desktop */
      .footer-nav-column ul li a {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        color: rgba(255,255,255,0.65);
        text-decoration: none;
        font-size: 15px;
        line-height: 1;
        transition: color .22s ease, transform .18s ease;
        white-space: nowrap; /* keep single-line on desktop */
      }

      /* small icon container */
      .footer-icon {
        width: 22px;
        min-width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: rgba(255,255,255,0.45);
        transition: color .22s ease, transform .18s ease, opacity .18s ease;
      }

      /* animated gradient underline (appears on hover) */
      .footer-nav-column ul li a::after{
        content: '';
        display: inline-block;
        height: 2px;
        width: 0%;
        margin-left: 12px;
        vertical-align: middle;
        background: linear-gradient(90deg, #7EE3FF 0%, #A78BFA 50%, #F472B6 100%);
        transition: width .28s ease;
        border-radius: 2px;
      }

      .footer-nav-column ul li a:hover,
      .footer-nav-column ul li a:focus {
        color: #E6FBFF;
        outline: none;
      }
      .footer-nav-column ul li a:hover .footer-icon,
      .footer-nav-column ul li a:focus .footer-icon {
        color: #7EE3FF;
        transform: translateX(6px);
      }
      .footer-nav-column ul li a:hover::after,
      .footer-nav-column ul li a:focus::after {
        width: 40%;
      }

      /* responsive: stack footer columns below 880px */
      @media (max-width: 880px) {
        .footer-nav-column { width: 100%; float:none; margin-bottom: 20px; padding: 0; }
        .footer-nav-column ul li a { white-space: normal; }
        .footer-nav-column ul li a::after { display:none; }
      }

      /* accessibility: focus-visible */
      .footer-nav-column ul li a:focus-visible {
        box-shadow: 0 0 0 4px rgba(126,227,255,0.08);
        border-radius: 6px;
      }

      /* ensure footer container clears floats */
      .site-footer .container::after { content:''; display:block; clear:both; }

      /* small tweak for payments & badges area spacing */
      .footer-payment-section { margin-top: 22px; display:flex; gap:20px; align-items:center; }

      /* adjust mobile spacing for footer bottom */
      @media (max-width: 640px) {
        .footer-bottom { gap:12px; }
        .footer-payment-section { flex-direction:row; gap:12px; }
      }

      /* Footer bottom social circular icons (to match screenshot style) */
      .footer-social-row {
        margin-top: 28px;
        display:flex;
        align-items:center;
        justify-content:center;
        gap: 28px;
      }
      .footer-social {
        width: 120px;
        height: 120px;
        border-radius: 999px;
        display:flex;
        align-items:center;
        justify-content:center;
        background: rgba(255,255,255,0.02);
        box-shadow:
          inset 0 2px 0 rgba(255,255,255,0.02),
          0 20px 40px rgba(2,6,23,0.6);
        transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
        position: relative;
      }
      .footer-social img.icon {
        width: 46px;
        height: 46px;
        object-fit:contain;
        display:block;
      }
      .footer-social:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow:
          inset 0 2px 0 rgba(255,255,255,0.02),
          0 48px 90px rgba(2,6,23,0.6);
        background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
      }

      /* tooltip label under hover like screenshot */
      .footer-social .tooltip {
        position: absolute;
        left: 50%;
        transform: translateX(-50%) translateY(8px);
        bottom: -44px;
        background: rgba(255,255,255,0.95);
        color: #0b0f14;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 14px;
        box-shadow: 0 10px 30px rgba(2,6,23,0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity .16s ease, transform .16s ease;
        white-space: nowrap;
      }
      .footer-social:hover .tooltip,
      .footer-social:focus-within .tooltip {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
      }

      /* add small ring behind icon for faint halo */
      .footer-social::before{
        content:'';
        position:absolute;
        width:88%;
        height:88%;
        border-radius:999px;
        left:50%;
        top:50%;
        transform:translate(-50%,-50%);
        background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
        box-shadow: 0 24px 60px rgba(2,6,23,0.55);
        z-index: -1;
      }

      /* small responsive shrink */
      @media (max-width:640px){
        .footer-social { width:82px; height:82px; }
        .footer-social img.icon { width:38px; height:38px; }
        .footer-social .tooltip { bottom: -38px; font-size:13px; padding:7px 10px; }
      }

      /* Hover color change specifically requested for footer nav links (API Docs / Privacy Policy etc.) */
      .footer-nav-column ul li a:hover { color: #7ee3ff; }




     :root{
        --chat-size: clamp(40px, 4.6vw, 48px);
        --chat-gap: 10px;
        --chat-right: clamp(12px, 2vw, 18px);
        --chat-bottom: clamp(10px, 2.6vh, 18px);
      }
      .chat-stack{ position: fixed; right: var(--chat-right); bottom: calc(var(--chat-bottom) + env(safe-area-inset-bottom, 0px)); z-index: 99999; display:flex; flex-direction:column; gap:var(--chat-gap); }
      .chat-btn { width: var(--chat-size); height: var(--chat-size); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; text-decoration:none; box-shadow:0 8px 24px rgba(0,0,0,.35); transition: transform .15s ease, box-shadow .15s ease, opacity .2s ease; overflow:hidden; }
      .chat-btn:hover{ transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.45); }
      .chat-btn.tg{ background:#0088cc; } .chat-btn.tg img{ width:70%; height:70%; object-fit:contain; display:block; }
      .chat-btn.wa{ background:#25D366; } .chat-btn.wa img{ width:70%; height:70%; object-fit:contain; display:block; }
      @media (max-width: 640px){ :root{ --chat-size: 42px; --chat-gap: 10px; --chat-right: 12px; --chat-bottom: 12px; } }
      @media (max-width: 390px){ :root{ --chat-size: 40px; } }

      @media (max-width: 768px) {
  /* Grid: 2 columns on top row, legal below as full width */
  .site-footer .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 18px;
  }

  /* Make the 3rd column (Legal) span both columns and appear below */
  /* Option A: CSS-only using nth-child (works with your current HTML structure) */
  .site-footer .footer-nav .footer-nav-column:nth-child(3) {
    grid-column: 1 / -1;
  }

  /* Optional: if you add a class 'footer-nav-legal' to the legal column */
  .site-footer .footer-nav .footer-nav-legal {
    grid-column: 1 / -1;
  }

  /* Slightly reduce paddings/font sizes for mobile */
  .site-footer .footer-nav-column h4 { font-size:15px; }
  .site-footer .footer-nav-column li { font-size:13px; }
  .site-footer .footer-payment-section {
    flex-direction: column;
    align-items:flex-start;
    gap:10px;
    margin-top:16px;
  }
  .site-footer .footer-bottom {
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    padding-top:14px;
  }

  /* Optional: tighten icon spacing for mobile */
  .footer-icon { width:16px; height:16px; font-size:14px; }
}

/* Extra polish: make links show subtle hover */
.site-footer .footer-nav-column a:hover { text-decoration:underline; color:#ffffff; }