/* ============================================================
   Payroll Services Singapore — Premium Stylesheet 2026
   Fonts: Bricolage Grotesque (headings), Quicksand (body)
   Colors: Primary #426baa | Dark #00005d | BG #f1f7fd
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Quicksand:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --primary:        #426baa;
  --primary-light:  #5a83c2;
  --primary-ultra:  #dbe8f8;
  --dark:           #00005d;
  --dark-mid:       #0a0a7a;
  --bg:             #f1f7fd;
  --bg-card:        #ffffff;
  --text:           #1a1a3e;
  --text-muted:     #6b7a99;
  --text-light:     #94a3b8;
  --border:         #dce8f5;
  --border-light:   #eaf2fb;
  --success:        #10b981;
  --warning:        #f59e0b;
  --error:          #ef4444;

  /* Gradients */
  --grad-primary:   linear-gradient(135deg, #00005d 0%, #426baa 100%);
  --grad-hero:      linear-gradient(135deg, #00005d 0%, #0d1b8e 40%, #426baa 100%);
  --grad-soft:      linear-gradient(135deg, #f1f7fd 0%, #dbe8f8 100%);
  --grad-card:      linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(241,247,253,0.6) 100%);
  --grad-glow:      linear-gradient(135deg, rgba(66,107,170,0.15) 0%, rgba(0,0,93,0.08) 100%);

  /* Shadows */
  --shadow-sm:      0 2px 8px rgba(0,0,93,0.06);
  --shadow-md:      0 8px 32px rgba(0,0,93,0.10);
  --shadow-lg:      0 20px 60px rgba(0,0,93,0.14);
  --shadow-xl:      0 32px 80px rgba(0,0,93,0.18);
  --shadow-glow:    0 0 40px rgba(66,107,170,0.25);
  --shadow-card:    0 4px 24px rgba(0,0,93,0.08), 0 1px 4px rgba(0,0,93,0.04);

  /* Glass */
  --glass-bg:       rgba(255,255,255,0.72);
  --glass-border:   rgba(255,255,255,0.5);
  --glass-blur:     blur(20px);

  /* Transitions */
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --trans:          0.3s var(--ease);
  --trans-fast:     0.15s var(--ease);
  --trans-slow:     0.6s var(--ease);

  /* Border Radius */
  --radius-sm:      8px;
  --radius:         14px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --radius-full:    9999px;

  /* Font Stacks */
  --font-head:      'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:      'Quicksand', system-ui, sans-serif;

  /* Nav height */
  --nav-h:          72px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

ul { list-style: none; }

button, input, select, textarea {
  font-family: var(--font-body);
  font-weight: 500;
}

/* ── Utility Classes ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 100px 0;
}

.section-pad-sm {
  padding: 72px 0;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(66,107,170,0.1);
  border: 1px solid rgba(66,107,170,0.25);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

.badge i {
  font-size: 11px;
  color: var(--primary);
}

.badge-dark {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
}

.badge-dark i { color: #fff; }

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--dark);
  margin-bottom: 18px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 640px;
}


/* ── WhatsApp Floating Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: transform var(--trans), box-shadow var(--trans);
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.55);
  animation: none;
}

.whatsapp-float i {
  font-size: 26px;
  color: #fff;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.3); }
  50% { box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0); }
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  padding: 8px 0;
  transition: all var(--trans);
}

#navbar.transparent {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,93,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  height: 54px;
  width: auto;
  transition: background var(--trans), padding var(--trans), opacity var(--trans);
  background: #fff;
  border-radius: 4px;
  padding: 4px 8px;
}

#navbar.scrolled .nav-logo {
  background: transparent;
  padding: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
  position: relative;
  letter-spacing: 0.2px;
}

#navbar.scrolled .nav-links a {
  color: var(--text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 24px);
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: transform var(--trans);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

#navbar.scrolled .nav-links a:hover,
#navbar.scrolled .nav-links a.active {
  color: var(--primary);
  background: var(--primary-ultra);
}

.nav-cta {
  background: linear-gradient(135deg, #426baa, #5a83c2) !important;
  color: #fff !important;
  border-radius: var(--radius-full) !important;
  padding: 9px 20px !important;
  box-shadow: 0 4px 16px rgba(66,107,170,0.35);
  transition: all var(--trans) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66,107,170,0.45) !important;
}

.nav-cta::after { display: none !important; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
  z-index: 901;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  transform-origin: center;
}

#navbar.scrolled .nav-toggle span { background: var(--dark); }

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 899;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.4s var(--ease);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(66,107,170,0.25) 0%, transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(0,0,93,0.3) 0%, transparent 50%);
}

.mobile-nav-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 20px;
}

.mobile-nav-links a {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  padding: 12px 32px;
  border-radius: var(--radius);
  transition: all var(--trans);
  width: 100%;
  text-align: center;
  letter-spacing: -0.5px;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: #fff;
  background: rgba(66,107,170,0.3);
}

.mobile-nav-cta {
  background: linear-gradient(135deg, #426baa, #5a83c2) !important;
  color: #fff !important;
  margin-top: 16px;
  box-shadow: 0 8px 24px rgba(66,107,170,0.4);
}

.mobile-menu-footer {
  position: relative;
  z-index: 1;
  padding: 24px;
  text-align: center;
}

.mobile-menu-footer p {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}

/* ── Hero Section ── */
#hero {
  min-height: 100vh;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #426baa, transparent);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #1a3a7a, transparent);
  bottom: 100px;
  left: -50px;
  animation-delay: 3s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #6b9fdc, transparent);
  top: 40%;
  left: 40%;
  animation-delay: 5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 15px); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {}

.hero-heading {
  font-family: var(--font-head);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-heading span {
  background: linear-gradient(135deg, #7eb3ff, #a8d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #5a83c2, #426baa);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans);
  box-shadow: 0 6px 24px rgba(66,107,170,0.45);
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--trans-fast);
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(66,107,170,0.55);
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans);
  letter-spacing: 0.2px;
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark) !important;
  border: 2px solid var(--primary) !important;
  color: #fff !important;
}

.btn-dark:hover {
  background: var(--primary) !important;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.trust-item i {
  width: 20px;
  height: 20px;
  background: rgba(16,185,129,0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #10b981;
  flex-shrink: 0;
}

/* ── Hero Dashboard ── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-xl);
  padding: 24px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  animation: dashFloat 6s ease-in-out infinite;
}

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

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dash-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.dash-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: var(--radius-full);
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.dash-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 12px 10px;
  text-align: center;
  transition: all var(--trans);
}

.dash-stat:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.2);
}

.dash-stat-val {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.dash-stat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-stat-change {
  font-size: 10px;
  font-weight: 700;
  margin-top: 3px;
}

.dash-stat-change.up { color: #10b981; }
.dash-stat-change.down { color: #ef4444; }

/* Mini payroll chart */
.dash-chart-area {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 14px 12px;
  margin-bottom: 14px;
}

.dash-chart-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(126,179,255,0.8) 0%, rgba(66,107,170,0.4) 100%);
  transition: all var(--trans);
  animation: barGrow 1.5s var(--ease) both;
  position: relative;
}

.chart-bar:hover {
  background: linear-gradient(180deg, rgba(126,179,255,1) 0%, rgba(66,107,170,0.7) 100%);
}

.chart-bar.highlight {
  background: linear-gradient(180deg, #7eb3ff, #426baa);
}

@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
  to { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
}

.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bar:nth-child(5) { animation-delay: 0.5s; }
.chart-bar:nth-child(6) { animation-delay: 0.6s; }
.chart-bar:nth-child(7) { animation-delay: 0.7s; }

.chart-months {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.chart-months span {
  flex: 1;
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
}

/* Compliance rows */
.dash-compliance {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compliance-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
}

.compliance-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.compliance-icon.green { background: rgba(16,185,129,0.2); color: #10b981; }
.compliance-icon.blue  { background: rgba(66,107,170,0.3); color: #7eb3ff; }
.compliance-icon.amber { background: rgba(245,158,11,0.2); color: #f59e0b; }

.compliance-info {
  flex: 1;
}

.compliance-name {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2px;
}

.compliance-bar-wrap {
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.compliance-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  animation: fillGrow 2s var(--ease) forwards;
  animation-delay: 1s;
  width: 0;
}

@keyframes fillGrow {
  to { width: var(--fill-w, 100%); }
}

.compliance-bar-fill.green  { background: linear-gradient(90deg, #10b981, #34d399); }
.compliance-bar-fill.blue   { background: linear-gradient(90deg, #426baa, #7eb3ff); }
.compliance-bar-fill.amber  { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.compliance-pct {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
}

/* Processing pulse indicator */
.dash-processing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-sm);
}

.processing-label {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 6px;
}

.processing-count {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

/* Floating mini cards */
.dash-float-1,
.dash-float-2 {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  animation: miniFloat 4s ease-in-out infinite;
}

.dash-float-1 {
  top: -20px;
  right: -40px;
  animation-delay: 1s;
}

.dash-float-2 {
  bottom: 20px;
  left: -40px;
  animation-delay: 2.5s;
}

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

.float-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #426baa, #5a83c2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
}

.float-text strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.float-text span {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}


/* ── Stats Strip ── */
.stats-strip {
  background: #fff;
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-block {
  text-align: center;
  padding: 20px;
  position: relative;
}

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

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Savings Section ── */
#savings {
  background: #fff;
  position: relative;
  overflow: hidden;
}

#savings::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(66,107,170,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.savings-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* Left chart panel */
.savings-chart-panel {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.savings-chart-panel::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(66,107,170,0.25), transparent);
  pointer-events: none;
}

.chart-panel-header {
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.chart-panel-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.chart-panel-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* Bar comparison chart */
.comparison-chart {
  position: relative;
  z-index: 1;
}

.chart-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.chart-row-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chart-row-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chart-row-val {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.chart-row-track {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.chart-row-fill {
  height: 100%;
  border-radius: var(--radius-full);
  animation: fillBar 1.8s var(--ease) both;
  width: 0;
}

@keyframes fillBar {
  to { width: var(--bar-w, 80%); }
}

.chart-row-fill.us   { background: linear-gradient(90deg, #426baa, #7eb3ff); }
.chart-row-fill.them { background: linear-gradient(90deg, #ef4444, #f87171); }

/* Savings total card */
.savings-total-card {
  margin-top: 24px;
  background: rgba(66,107,170,0.2);
  border: 1px solid rgba(66,107,170,0.35);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.savings-total-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

.savings-total-val {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: #10b981;
}

/* Right content panel */
.savings-content {}

.savings-tabs-nav {
  display: flex;
  gap: 4px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 32px;
  width: fit-content;
}

.savings-tab-btn {
  padding: 9px 22px;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans);
  background: transparent;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

.savings-tab-btn.active {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,93,0.25);
}

.savings-tab-content {
  display: none;
  animation: tabFadeIn 0.4s var(--ease);
}

.savings-tab-content.active { display: block; }

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

.savings-amount {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1;
}

.savings-amount span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.savings-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.feature-check-item {}

.feature-check-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--dark);
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-check-title i {
  width: 22px;
  height: 22px;
  background: rgba(16,185,129,0.12);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #10b981;
  flex-shrink: 0;
}

.feature-check-desc {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 32px;
  line-height: 1.6;
}

.insight-box {
  background: linear-gradient(135deg, rgba(66,107,170,0.06), rgba(0,0,93,0.04));
  border: 1px solid rgba(66,107,170,0.15);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.insight-box p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
}

.insight-box strong {
  color: var(--primary);
  font-style: normal;
}

/* ── Services Section ── */
#services {
  background: #fff;
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(66,107,170,0.07), transparent 70%);
  pointer-events: none;
}

#services::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(66,107,170,0.05), transparent 70%);
  pointer-events: none;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.services-header .section-heading {
  color: var(--dark);
}

.services-header .section-desc {
  color: var(--text-muted);
  margin: 0 auto;
}

.services-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.service-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--trans);
  letter-spacing: 0.2px;
  box-shadow: var(--shadow-sm);
}

.service-tab-btn:hover {
  background: var(--primary-ultra);
  border-color: rgba(66,107,170,0.35);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.service-tab-btn.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 24px rgba(66,107,170,0.35);
}

/* Service tab content */
.services-content-area {
  position: relative;
  z-index: 1;
}

.service-pane {
  display: none;
  animation: tabFadeIn 0.4s var(--ease);
}

.service-pane.active { display: block; }

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  box-shadow: var(--shadow-md);
  transition: all var(--trans);
}

.service-card:hover {
  border-color: rgba(66,107,170,0.25);
  box-shadow: var(--shadow-lg);
}

.service-card-left {}

.service-icon {
  font-size: 40px;
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}


.service-card-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
}

.service-card-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.service-feat::before {
  content: '▸';
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Service visual right panel */
.service-visual {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-visual-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Payslip visual */
.payslip-visual {}

.payslip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.payslip-row:last-child { border-bottom: none; }

.payslip-label { font-size: 12px; color: var(--text-muted); }
.payslip-val { font-size: 12px; font-weight: 700; color: var(--text); }
.payslip-val.green { color: #059669; }
.payslip-val.red { color: #dc2626; }
.payslip-val.highlight { color: var(--primary); font-size: 14px; font-weight: 800; }

/* CPF donut */
.cpf-donut-area {
  display: flex;
  align-items: center;
  gap: 24px;
}

.donut-chart {
  width: 100px;
  height: 100px;
  position: relative;
  flex-shrink: 0;
}

.donut-svg {
  transform: rotate(-90deg);
}

.donut-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 10;
}

.donut-fill {
  fill: none;
  stroke: url(#donutGrad);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
  animation: donutFill 2s var(--ease) forwards;
  animation-delay: 0.5s;
}

@keyframes donutFill {
  to { stroke-dashoffset: 63; } /* 75% */
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.donut-center span {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
}

.donut-center small {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cpf-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cpf-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* IRAS filing visual */
.iras-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.timeline-icon.done { background: rgba(16,185,129,0.15); color: #059669; }
.timeline-icon.proc { background: var(--primary-ultra); color: var(--primary); }
.timeline-icon.wait { background: var(--border-light); color: var(--text-light); }

.timeline-text {
  font-size: 12px;
  color: var(--text-muted);
}

.timeline-text strong { color: var(--dark); display: block; font-size: 13px; }

/* Foreign pass visual */
.pass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pass-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.pass-card-type {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  font-family: var(--font-head);
}

.pass-card-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pass-card-status {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* ── Comparison Table ── */
#comparison {
  background: #fff;
  position: relative;
  overflow: hidden;
}

#comparison::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(66,107,170,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.comparison-header {
  text-align: center;
  margin-bottom: 56px;
}

.comparison-header .section-desc { margin: 0 auto; }

.comp-table-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
}

.comp-table thead th {
  padding: 20px 28px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.comp-table thead th:first-child {
  background: var(--bg);
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.comp-table thead th:nth-child(2) {
  background: var(--grad-primary);
  color: #fff;
  position: relative;
}

.comp-table thead th:nth-child(2)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
}

.comp-table thead th:last-child {
  background: #f8f9fa;
  color: var(--text-muted);
}

.us-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.us-badge {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.comp-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background var(--trans-fast);
}

.comp-table tbody tr:last-child { border-bottom: none; }
.comp-table tbody tr:hover { background: rgba(66,107,170,0.03); }

.comp-table tbody td {
  padding: 18px 28px;
  font-size: 14px;
  vertical-align: middle;
}

.comp-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border-right: 1px solid var(--border-light);
}

.comp-table tbody td:nth-child(2) {
  background: rgba(66,107,170,0.04);
  font-weight: 700;
  color: var(--dark);
  border-right: 1px solid rgba(66,107,170,0.1);
}

.comp-table tbody td:last-child {
  color: var(--text-muted);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-weight: 700;
}

.check-icon i { font-size: 14px; }

.cross-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
}

.cross-icon i { font-size: 14px; color: #ef4444; }

.glow-cell {
  position: relative;
}

.glow-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: #10b981;
}

.comp-footnote {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
}

/* ── Team Section ── */
#team {
  background: #fff;
  position: relative;
  overflow: hidden;
}

#team::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: linear-gradient(180deg, rgba(66,107,170,0.04) 0%, transparent 100%);
  pointer-events: none;
}

.team-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: all var(--trans);
  position: relative;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(66,107,170,0.2);
}

.team-card-img-wrap {
  position: relative;
  overflow: hidden;
  /*height: 200px;*/
}

.team-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,93,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--trans);
}

.team-card:hover .team-card-img-wrap::after { opacity: 1; }

.team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s var(--ease);
}

.team-card:hover .team-card-img { transform: scale(1.06); }

.team-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-desc {
  display: none;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: var(--primary-ultra);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  transition: all var(--trans-fast);
  border: 1px solid rgba(66,107,170,0.15);
  margin-top: 12px;
  align-self: flex-start;
  white-space: nowrap;
}

.team-linkedin:hover {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

.team-linkedin i { font-size: 13px; }

/* ── Testimonials ── */
#testimonials {
  background: #fff;
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(66,107,170,0.07) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(66,107,170,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.testimonials-header .section-heading { color: var(--dark); }
.testimonials-header .section-desc { color: var(--text-muted); margin: 0 auto; }

/* Carousel */
.testimonials-carousel {
  position: relative;
  z-index: 1;
}

.carousel-track-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}

.testi-slide {
  min-width: 100%;
  padding: 4px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.testi-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 100px;
  font-family: Georgia, serif;
  color: rgba(66,107,170,0.2);
  line-height: 1;
  pointer-events: none;
}

.testi-card:hover {
  background: #fff;
  border-color: rgba(66,107,170,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.testi-stars i {
  color: #f59e0b;
  font-size: 14px;
}

.testi-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #426baa, #5a83c2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(66,107,170,0.2);
}

.testi-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.testi-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--trans-fast);
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(66,107,170,0.25);
  cursor: pointer;
  transition: all var(--trans-fast);
  border: none;
}

.carousel-dot.active {
  width: 24px;
  background: var(--primary);
}

/* ── FAQ ── */
#faq {
  background: #fff;
  position: relative;
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--trans);
}

.faq-item.open {
  border-color: rgba(66,107,170,0.3);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--trans-fast);
}

.faq-question:hover { background: rgba(66,107,170,0.04); }

.faq-q-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--primary-ultra);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: all var(--trans);
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.3s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: 0;
}

/* ── CTA + Contact Section ── */
#contact {
  background: #fff;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 500px;
  background: linear-gradient(180deg, rgba(66,107,170,0.06) 0%, transparent 100%);
  pointer-events: none;
}

.contact-intro {
  text-align: center;
  margin-bottom: 72px;
  position: relative;
  z-index: 1;
}

.contact-intro .section-desc { margin: 0 auto; }

/* Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(66,107,170,0.2));
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--trans);
  position: relative;
  z-index: 1;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(66,107,170,0.25);
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(66,107,170,0.35);
}

.step-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Contact info card */
.contact-info-card {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(66,107,170,0.25), transparent);
  pointer-events: none;
}

.contact-info-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.contact-info-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(66,107,170,0.25);
  border: 1px solid rgba(66,107,170,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #7eb3ff;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.contact-detail-text a,
.contact-detail-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  transition: color var(--trans-fast);
}

.contact-detail-text a:hover { color: #7eb3ff; }

/* Security badges */
.security-badges {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}

.security-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.security-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.security-item i {
  color: #10b981;
  font-size: 14px;
  width: 16px;
}

/* Form card */
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.2px;
}

.form-label span { color: #ef4444; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all var(--trans-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(66,107,170,0.12);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a99' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Honeypot */
.form-honey { display: none !important; }

/* Error message */
.form-error-msg {
  font-size: 11.5px;
  color: #ef4444;
  font-weight: 600;
  margin-top: 2px;
  display: none;
}

.form-error-msg.visible { display: block; }

.btn-submit {
  width: 100%;
  padding: 15px 28px;
  background: var(--grad-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,93,0.3);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0;
  transition: opacity var(--trans-fast);
}

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

.btn-submit:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,93,0.4);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-submit .btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: var(--radius-full);
  animation: spin 0.7s linear infinite;
}

.btn-submit.loading .btn-spinner { display: block; }
.btn-submit.loading .btn-text { display: none; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  min-width: 300px;
  max-width: 420px;
  animation: toastIn 0.4s var(--ease-bounce) both;
  backdrop-filter: blur(16px);
}

.toast.removing {
  animation: toastOut 0.3s var(--ease) both;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px) scale(0.9); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to { opacity: 0; transform: translateX(40px) scale(0.9); }
}

.toast.success {
  background: rgba(16,185,129,0.95);
  color: #fff;
}

.toast.error {
  background: rgba(239,68,68,0.95);
  color: #fff;
}

.toast i { font-size: 18px; }

/* ── Footer ── */
#footer {
  background: #050520;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
  padding: 72px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand {}

.footer-logo {
  height: 54px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(1.1);
  background: #ffffff;
  border-radius: 4px;
  padding: 3px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-trust-item i {
  color: #10b981;
  font-size: 11px;
  width: 14px;
}

.footer-col-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  transition: color var(--trans-fast);
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-links a i {
  font-size: 11px;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--trans-fast);
}

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

.footer-links a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.footer-compliance {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-comp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: all var(--trans-fast);
}

.footer-comp-item:hover {
  background: rgba(66,107,170,0.1);
  border-color: rgba(66,107,170,0.2);
  color: rgba(255,255,255,0.75);
}

.footer-comp-item i {
  font-size: 14px;
  color: #10b981;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-copy a {
  color: rgba(255,255,255,0.5);
  transition: color var(--trans-fast);
}

.footer-copy a:hover { color: var(--primary-light); }

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  transition: color var(--trans-fast);
}

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

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.stagger-children.revealed > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.stagger-children.revealed > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.stagger-children.revealed > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.stagger-children.revealed > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 960px) {
  :root { --nav-h: 64px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  #hero {
    padding-top: calc(var(--nav-h) + 56px);
    padding-bottom: 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-heading { font-size: clamp(32px, 8vw, 52px); }

  .hero-buttons { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-desc { margin: 0 auto 36px; }

  .dash-float-1 { display: none; }
  .dash-float-2 { display: none; }

  .savings-layout { grid-template-columns: 1fr; gap: 40px; }
  .savings-chart-panel { max-width: 100%; }

  .service-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

  .testi-grid { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }

  .contact-layout { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .section-pad { padding: 72px 0; }

  .hero-heading { letter-spacing: -1px; }

  .form-grid { grid-template-columns: 1fr; }

  .comp-table-wrap {
    overflow-x: auto;
  }

  .comp-table {
    min-width: 560px;
  }

  .savings-tabs-nav { width: 100%; }
  .savings-tab-btn { flex: 1; text-align: center; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .section-pad { padding: 60px 0; }

  #hero {
    padding-top: calc(var(--nav-h) + 64px);
    padding-bottom: 80px;
  }

  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }

  .team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }

  .dash-stats-row { grid-template-columns: repeat(3, 1fr); }
  .testi-card { padding: 20px; }

  .contact-form-card { padding: 24px; }
  .contact-info-card { padding: 28px; }

  .services-tabs-nav { flex-direction: column; align-items: stretch; }
  .service-tab-btn { justify-content: center; }

  .footer-bottom-links { gap: 14px; flex-wrap: wrap; }
}

/* ── Accessibility ── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Print ── */
@media print {
  #loading-screen,
  #navbar,
  .whatsapp-float,
  .toast-container { display: none !important; }

  body { background: white; color: black; }
}
