/* =============================================================
   VirtexPay Modern Design System
   Theme: Dark forest green (#318072 → #1a423b) + Cream (#f5f5dc)
   ============================================================= */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── 1. CSS Custom Properties ─── */
:root {
  --vp-primary:       #318072;
  --vp-primary-dark:  #1a423b;
  --vp-accent:        #f5f5dc;
  --vp-gradient:      linear-gradient(135deg, #318072 0%, #1a423b 100%);
  --vp-gradient-r:    linear-gradient(135deg, #1a423b 0%, #318072 100%);
  --vp-glow:          0 0 40px rgba(49, 128, 114, 0.4);

  /* Light theme */
  --bg:               #f0f8f5;
  --bg-alt:           #e2eeea;
  --surface:          #ffffff;
  --card:             #ffffff;
  --card-hover:       #f5faf8;
  --border:           rgba(49, 128, 114, 0.14);
  --border-strong:    rgba(49, 128, 114, 0.32);

  --text:             #1a423b;
  --text-2:           #2d6457;
  --text-muted:       #5a8a7c;
  --text-faint:       rgba(26, 66, 59, 0.45);

  --nav-bg:           rgba(240, 248, 245, 0.88);
  --nav-scroll:       rgba(240, 248, 245, 0.97);
  --nav-text:         #1a423b;

  --shadow-sm:        0 2px 8px rgba(26, 66, 59, 0.08);
  --shadow-md:        0 6px 24px rgba(26, 66, 59, 0.12);
  --shadow-lg:        0 12px 48px rgba(26, 66, 59, 0.16);
  --shadow-xl:        0 24px 72px rgba(26, 66, 59, 0.22);

  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  36px;
  --radius-full: 9999px;

  --t-fast:   150ms ease;
  --t-base:   280ms ease;
  --t-slow:   480ms ease;
  --t-spring: 320ms cubic-bezier(0.34, 1.56, 0.64, 1);

  --section-py:    100px;
  --section-py-sm: 64px;
}

[data-theme="dark"] {
  --bg:             #0a1512;
  --bg-alt:         #0d1a17;
  --surface:        #0f1f1b;
  --card:           #152920;
  --card-hover:     #1c3529;
  --border:         rgba(49, 128, 114, 0.18);
  --border-strong:  rgba(49, 128, 114, 0.38);

  --text:           #f5f5dc;
  --text-2:         #c4dbd2;
  --text-muted:     #8ab8a8;
  --text-faint:     rgba(245, 245, 220, 0.4);

  --nav-bg:         rgba(10, 21, 18, 0.88);
  --nav-scroll:     rgba(10, 21, 18, 0.97);
  --nav-text:       #f5f5dc;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.35);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.45);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.55);
  --shadow-xl:  0 24px 72px rgba(0,0,0,0.65);
}

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

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

body {
  font-family: 'Inter', 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background-color var(--t-slow), color var(--t-slow);
  -webkit-font-smoothing: antialiased;
}

a, a:hover, a:focus { text-decoration: none; outline: none; transition: color var(--t-base); }
ul, ol { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }
p { line-height: 1.75; color: var(--text-muted); font-size: 15px; }

/* ─── 3. Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

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

.accent-text { color: var(--vp-accent); }
.primary-text { color: var(--vp-primary); }

/* ─── 4. Utilities ─── */
.section-py { padding: var(--section-py) 0; }
.section-py-sm { padding: var(--section-py-sm) 0; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ─── 5. Section Header ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vp-primary);
  background: rgba(49, 128, 114, 0.1);
  border: 1px solid rgba(49, 128, 114, 0.22);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

[data-theme="dark"] .section-label {
  background: rgba(49, 128, 114, 0.15);
  color: #4ecdc4;
  border-color: rgba(78, 205, 196, 0.3);
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
}

/* ─── 6. Preloader ─── */
#vp-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  background: var(--vp-gradient);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#vp-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.vp-preloader-logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--vp-accent);
  letter-spacing: -0.02em;
  animation: pulse-logo 1.5s ease-in-out infinite;
}

.vp-preloader-bar {
  width: 180px;
  height: 3px;
  background: rgba(245, 245, 220, 0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.vp-preloader-progress {
  height: 100%;
  width: 0;
  background: var(--vp-accent);
  border-radius: var(--radius-full);
  animation: progress-fill 1.8s ease forwards;
}

@keyframes progress-fill {
  0%  { width: 0; }
  80% { width: 90%; }
  100% { width: 100%; }
}

@keyframes pulse-logo {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.65; }
}

/* ─── 7. Navigation ─── */
#vp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 16px 0;
  background: transparent;
  transition: background var(--t-base), box-shadow var(--t-base), padding var(--t-base), backdrop-filter var(--t-base);
}

#vp-nav.scrolled {
  background: var(--nav-scroll);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img { height: 48px; width: auto; }

.nav-logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--nav-text);
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li { position: relative; }

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-text);
  border-radius: var(--radius-sm);
  transition: all var(--t-base);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(49, 128, 114, 0.1);
  color: var(--vp-primary);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
  background: rgba(78, 205, 196, 0.1);
  color: #4ecdc4;
}

/* Products Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-text);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--t-base);
  background: none;
  border: none;
  font-family: inherit;
}

.nav-dropdown-btn:hover {
  background: rgba(49, 128, 114, 0.1);
  color: var(--vp-primary);
}

[data-theme="dark"] .nav-dropdown-btn:hover { color: #4ecdc4; background: rgba(78,205,196,0.1); }

.nav-dropdown-btn svg {
  transition: transform var(--t-base);
  flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown-btn svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--t-base);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
  cursor: pointer;
}

.nav-dropdown-item:hover { background: var(--bg-alt); }

.nav-dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--vp-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.nav-dropdown-item-text { flex: 1; }

.nav-dropdown-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: block;
}

.nav-dropdown-item-desc {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
}

.nav-badge-live {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--vp-primary);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.nav-badge-soon {
  font-size: 10px;
  font-weight: 700;
  color: var(--vp-accent);
  background: rgba(49, 128, 114, 0.4);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Theme Toggle ── */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--card);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: background var(--t-base), border-color var(--t-base),
              color var(--t-base), transform var(--t-spring);
  outline: none;
}

.theme-toggle:hover {
  background: rgba(49, 128, 114, 0.1);
  border-color: var(--vp-primary);
  color: var(--vp-primary);
  transform: scale(1.08);
}

.theme-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(49, 128, 114, 0.3);
}

.theme-toggle svg {
  transition: transform var(--t-spring);
  display: block;
}

.theme-toggle:hover svg { transform: rotate(18deg); }

/* Show only the icon for the current theme — both nav & mobile drawer */
.icon-sun, .icon-moon { display: none; }

[data-theme="light"]   .icon-sun  { display: block; }
html:not([data-theme]) .icon-sun  { display: block; }
[data-theme="dark"]    .icon-moon { display: block; }

/* ─── Mobile Backdrop ─── */
.nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
}

.nav-mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* ─── Mobile Drawer ─── */
.nav-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 92vw);
  height: 100dvh;
  height: 100vh; /* fallback */
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform var(--t-base), opacity var(--t-base), visibility var(--t-base);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nav-mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Drawer Header */
.mob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

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

.mob-header-logo img { height: 36px; }

.mob-header-logo span {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.mob-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--t-base);
  flex-shrink: 0;
}

.mob-close:hover {
  background: var(--vp-gradient);
  color: #fff;
  border-color: transparent;
}

/* Drawer Scroll Area */
.mob-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 24px;
  overscroll-behavior: contain;
}

.mob-body::-webkit-scrollbar { width: 3px; }
.mob-body::-webkit-scrollbar-track { background: transparent; }
.mob-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Section labels inside drawer */
.mob-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  padding: 16px 8px 8px;
}

/* Product items in drawer */
.mob-product-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  transition: all var(--t-base);
  text-decoration: none;
  background: var(--card);
}

.mob-product-item:hover {
  border-color: var(--border-strong);
  background: var(--card-hover);
  transform: translateX(3px);
}

.mob-product-item.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.mob-product-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: var(--vp-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.mob-product-info { flex: 1; min-width: 0; }

.mob-product-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mob-product-desc {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.mob-badge-live {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--vp-primary);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.mob-badge-soon {
  font-size: 10px;
  font-weight: 700;
  color: var(--vp-accent);
  background: rgba(49, 128, 114, 0.35);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Page links in drawer */
.mob-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: all var(--t-base);
  text-decoration: none;
}

.mob-nav-link:hover {
  background: rgba(49, 128, 114, 0.08);
  color: var(--vp-primary);
  padding-left: 18px;
}

[data-theme="dark"] .mob-nav-link:hover {
  color: #4ecdc4;
  background: rgba(78, 205, 196, 0.08);
}

.mob-nav-link svg { flex-shrink: 0; opacity: 0.4; }
.mob-nav-link:hover svg { opacity: 1; }

/* Drawer Footer */
.mob-footer {
  padding: 14px 20px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  background: var(--bg-alt);
}

.mob-footer-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.mob-theme-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all var(--t-base);
}

.mob-theme-btn:hover {
  background: rgba(49, 128, 114, 0.1);
  border-color: var(--vp-primary);
  color: var(--vp-primary);
}

/* Mobile Menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--t-base);
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t-base);
}

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

/* ─── 8. Hero Section ─── */
.vp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.vp-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/img/bg-img/header-bg1-feroz.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.vp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

[data-theme="dark"] .vp-hero-overlay {
  background: linear-gradient(135deg,
    rgba(10, 21, 18, 0.88) 0%,
    rgba(15, 31, 27, 0.75) 50%,
    rgba(26, 66, 59, 0.65) 100%);
}

[data-theme="light"] .vp-hero-overlay,
body:not([data-theme]) .vp-hero-overlay {
  background: linear-gradient(135deg,
    rgba(10, 35, 28, 0.82) 0%,
    rgba(26, 66, 59, 0.68) 50%,
    rgba(49, 128, 114, 0.45) 100%);
}

.vp-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.vp-hero .container { position: relative; z-index: 3; }

.vp-hero-content { padding-right: 40px; }

.vp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 245, 220, 0.12);
  border: 1px solid rgba(245, 245, 220, 0.25);
  color: var(--vp-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  animation: fade-in-down 0.6s ease both;
}

.vp-hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ecdc4;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(78, 205, 196, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(78, 205, 196, 0); }
}

.vp-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  animation: fade-in-up 0.7s ease 0.1s both;
}

.vp-hero h1 .highlight {
  background: linear-gradient(135deg, #4ecdc4, var(--vp-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vp-hero-desc {
  font-size: 17px;
  color: rgba(245, 245, 220, 0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
  animation: fade-in-up 0.7s ease 0.2s both;
}

.vp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fade-in-up 0.7s ease 0.3s both;
}

.vp-hero-image {
  position: relative;
  animation: fade-in-right 0.9s ease 0.2s both;
}

.vp-hero-image img {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
  animation: float 6s ease-in-out infinite;
}

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

/* Hero scroll indicator */
.vp-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  animation: fade-in-up 1s ease 1s both;
}

.vp-hero-scroll span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 245, 220, 0.6);
}

.vp-scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(245, 245, 220, 0.35);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.vp-scroll-wheel {
  width: 3px;
  height: 8px;
  background: rgba(245, 245, 220, 0.6);
  border-radius: 2px;
  animation: scroll-wheel 1.8s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ─── 9. Buttons ─── */
.btn-vp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--t-spring);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-vp::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t-fast);
}

.btn-vp:hover::after { background: rgba(255,255,255,0.08); }

.btn-vp-primary {
  background: var(--vp-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(49, 128, 114, 0.35);
}

.btn-vp-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(49, 128, 114, 0.5), var(--vp-glow);
  color: #fff;
}

.btn-vp-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(245, 245, 220, 0.4);
}

.btn-vp-outline:hover {
  background: rgba(245, 245, 220, 0.1);
  border-color: var(--vp-accent);
  transform: translateY(-2px);
  color: var(--vp-accent);
}

.btn-vp-ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-vp-ghost:hover {
  background: var(--card-hover);
  border-color: var(--vp-primary);
  color: var(--vp-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-vp-accent {
  background: var(--vp-accent);
  color: var(--vp-primary-dark);
  font-weight: 700;
}

.btn-vp-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 245, 220, 0.3);
  color: var(--vp-primary-dark);
}

.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ─── 10. Cards – General ─── */
.vp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.vp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--vp-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t-base);
}

.vp-card:hover::before { opacity: 1; }

.vp-card:hover {
  background: var(--card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* ─── 11. Products Section ─── */
.products-section {
  padding: var(--section-py) 0;
  position: relative;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vp-primary), transparent);
  opacity: 0.4;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all var(--t-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--vp-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.product-card:hover::after { transform: scaleX(1); }

.product-card:hover {
  background: var(--card-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-strong);
}

.product-card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(49, 128, 114, 0.12), transparent 70%);
  border-radius: 50%;
  transition: opacity var(--t-base);
  opacity: 0;
}

.product-card:hover .product-card-glow { opacity: 1; }

.product-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 22px;
  background: var(--vp-gradient);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.product-icon-alt {
  background: linear-gradient(135deg, #1a6b5a 0%, #0d3b2e 100%);
}

.product-icon-3 {
  background: linear-gradient(135deg, #245e50 0%, #102e25 100%);
  border: 1px dashed rgba(49, 128, 114, 0.5);
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  align-self: flex-start;
}

.status-live {
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.25);
}

.status-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ecc71;
  animation: pulse-dot 2s ease-in-out infinite;
}

.status-soon {
  color: var(--vp-accent);
  background: rgba(245, 245, 220, 0.08);
  border: 1px solid rgba(245, 245, 220, 0.2);
}

.product-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.product-card p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.product-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.product-feature-item svg {
  color: var(--vp-primary);
  flex-shrink: 0;
}

[data-theme="dark"] .product-feature-item svg { color: #4ecdc4; }

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--vp-primary);
  transition: all var(--t-base);
}

.product-link:hover {
  gap: 10px;
  color: var(--vp-primary);
}

[data-theme="dark"] .product-link { color: #4ecdc4; }
[data-theme="dark"] .product-link:hover { color: #4ecdc4; }

/* ─── 12. Features Section ─── */
.features-section {
  padding: var(--section-py) 0;
  background: var(--bg-alt);
  position: relative;
}

.feature-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--t-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-sm);
  background: rgba(49, 128, 114, 0.1);
  border: 1px solid rgba(49, 128, 114, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-body h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-body p {
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

/* ─── 13. Stats Section ─── */
.stats-section {
  padding: 72px 0;
  background: var(--vp-gradient);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item { text-align: center; position: relative; z-index: 1; }

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: rgba(245, 245, 220, 0.75);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  margin: auto;
}

/* ─── 14. How It Works ─── */
.howitworks-section { padding: var(--section-py) 0; }

.step-card {
  text-align: center;
  padding: 36px 28px;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--vp-gradient);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(49, 128, 114, 0.35);
  position: relative;
  z-index: 1;
}

.step-connector {
  position: absolute;
  top: 56px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--vp-primary), transparent);
  opacity: 0.3;
  z-index: 0;
}

.step-card:last-child .step-connector { display: none; }

.step-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p { font-size: 14px; }

/* ─── 15. CTA Section ─── */
.cta-section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: var(--vp-gradient);
  border-radius: var(--radius-xl);
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 60% 40%, rgba(245, 245, 220, 0.08), transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(78, 205, 196, 0.06), transparent 40%);
  animation: cta-shimmer 8s ease-in-out infinite;
}

@keyframes cta-shimmer {
  0%, 100% { transform: rotate(0deg); }
  50%       { transform: rotate(5deg); }
}

.cta-card h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-card p {
  color: rgba(245, 245, 220, 0.8);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

/* ─── 16. Footer ─── */
.vp-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}

.footer-brand { margin-bottom: 20px; }

.footer-brand img { height: 44px; margin-bottom: 14px; }

.footer-brand p {
  font-size: 14px;
  max-width: 240px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all var(--t-base);
}

.footer-social-link:hover {
  background: var(--vp-gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--t-base);
}

.footer-links a:hover {
  color: var(--vp-primary);
  gap: 12px;
}

[data-theme="dark"] .footer-links a:hover { color: #4ecdc4; }

.footer-product-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--t-base);
  margin: -4px -12px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-product-link:hover {
  background: rgba(49, 128, 114, 0.08);
  color: var(--vp-primary);
}

[data-theme="dark"] .footer-product-link:hover { color: #4ecdc4; background: rgba(78,205,196,0.08); }

.footer-product-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--vp-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 56px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}

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

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-faint);
}

.footer-bottom-links a:hover { color: var(--vp-primary); }

/* ─── 17. Page Header (Breadcrumb) ─── */
.page-header {
  padding: 140px 0 72px;
  background: var(--vp-gradient);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/img/bg-img/header-bg1-feroz.png') center/cover no-repeat;
  opacity: 0.08;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,21,18,0.4) 0%, rgba(26,66,59,0.2) 100%);
}

.page-header-inner {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

.page-breadcrumb a { color: rgba(245, 245, 220, 0.7); }
.page-breadcrumb a:hover { color: var(--vp-accent); }
.page-breadcrumb span { color: rgba(255,255,255,0.4); font-size: 12px; }
.page-breadcrumb .current { color: rgba(245, 245, 220, 0.9); }

/* ─── 18. Services Page ─── */
.services-section { padding: var(--section-py) 0; }

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  text-align: center;
  transition: all var(--t-base);
  height: 100%;
}

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

.service-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  background: rgba(49, 128, 114, 0.1);
  border: 1px solid rgba(49, 128, 114, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--t-base);
}

.service-card:hover .service-icon-wrap {
  background: var(--vp-gradient);
  border-color: transparent;
}

.service-icon-wrap img { width: 36px; height: 36px; object-fit: contain; }

.service-card:hover .service-icon-wrap img { filter: brightness(10); }

.service-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p { font-size: 14px; }

/* How It Works Steps (services page) */
.how-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: all var(--t-base);
}

.how-step:hover {
  transform: translateX(6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.how-step-num {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--vp-gradient);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-step-body h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.how-step-body p { font-size: 13px; margin: 0; }

/* ─── 19. FAQ Page ─── */
.faq-section { padding: var(--section-py) 0; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.faq-item.open {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--t-fast);
  user-select: none;
}

.faq-question:hover { color: var(--vp-primary); }

[data-theme="dark"] .faq-question:hover { color: #4ecdc4; }

.faq-item.open .faq-question { color: var(--vp-primary); }

[data-theme="dark"] .faq-item.open .faq-question { color: #4ecdc4; }

.faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(49, 128, 114, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-base);
  color: var(--vp-primary);
}

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

.faq-answer {
  display: none;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-item.open .faq-answer { display: block; }

/* ─── 20. Contact Page ─── */
.contact-section { padding: var(--section-py) 0; }

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: var(--vp-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-text h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-info-text a,
.contact-info-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  transition: color var(--t-base);
}

.contact-info-text a:hover { color: var(--vp-primary); }

[data-theme="dark"] .contact-info-text a:hover { color: #4ecdc4; }

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  transition: all var(--t-fast);
  outline: none;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--vp-primary);
  box-shadow: 0 0 0 3px rgba(49, 128, 114, 0.12);
  background: var(--surface);
}

.form-control::placeholder { color: var(--text-faint); }

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

/* ─── 21. Privacy / Terms ─── */
.legal-section { padding: var(--section-py) 0; }

.legal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--vp-primary);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p { margin-bottom: 14px; font-size: 15px; }

.legal-content ul li {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── 22. Scroll Reveal Animations ─── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="down"]  { transform: translateY(-40px); }
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.9); }

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* ─── 23. Keyframes ─── */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-down {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ─── 24. Scroll-to-top ─── */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--vp-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 8000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--t-base);
  box-shadow: var(--shadow-md);
  border: none;
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--vp-glow);
}

/* ─── Container override ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Row/Col for Bootstrap compat ─── */
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.row > [class*="col-"] { padding: 0 12px; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE – MOBILE FIRST OVERHAUL
   ══════════════════════════════════════════════════════════════ */

/* ── ≤1024px: Hide desktop nav, show hamburger ── */
@media (max-width: 1024px) {
  .nav-links,
  .nav-dropdown { display: none !important; }
  .nav-hamburger { display: flex; }
}

/* ── ≤991px: Tablet ── */
@media (max-width: 991px) {
  :root {
    --section-py: 72px;
    --section-py-sm: 52px;
  }

  /* Hero */
  .vp-hero { padding: 110px 0 64px; }
  .vp-hero-content { padding-right: 0; text-align: center; }
  .vp-hero-ctas { justify-content: center; }
  .vp-hero-desc { margin-left: auto; margin-right: auto; }
  .vp-hero-image { margin-top: 40px; }
  .vp-hero-image img { max-width: 380px; }

  /* Section header */
  .section-header { margin-bottom: 44px; }

  /* CTA */
  .cta-card { padding: 56px 40px; }

  /* Services how-it-works steps – no slide on hover on touch */
  .how-step:hover { transform: none; }

  /* Nav */
  .nav-inner { gap: 12px; }
}

/* ── ≤768px: Mobile landscape / large phone ── */
@media (max-width: 768px) {
  :root {
    --section-py: 56px;
    --section-py-sm: 40px;
  }

  /* Container */
  .container { padding: 0 20px; }

  /* Nav */
  .nav-inner { padding: 0 16px; }
  .nav-logo img { height: 40px; }

  /* Hero */
  .vp-hero { padding: 100px 0 56px; min-height: auto; }
  .vp-hero h1 { letter-spacing: -0.025em; }
  .vp-hero-desc { font-size: 15px; }
  .vp-hero-badge { font-size: 11px; padding: 6px 12px; margin-bottom: 18px; }
  .vp-hero-ctas { gap: 10px; }
  .vp-hero-scroll { display: none; }

  /* Section header */
  .section-header { margin-bottom: 36px; }
  .section-header p { font-size: 15px; }

  /* Product cards */
  .product-card { padding: 28px 22px; }

  /* Feature cards */
  .feature-card { padding: 22px 18px; gap: 14px; }

  /* Stats */
  .stats-section { padding: 52px 0; }
  .stat-divider { display: none; }

  /* CTA */
  .cta-card { padding: 44px 28px; border-radius: var(--radius-lg); }
  .cta-card h2 { font-size: 1.65rem; }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-buttons .btn-vp {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Footer */
  .vp-footer { padding-top: 52px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 16px 0;
  }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 16px; }

  /* Page header (inner pages) */
  .page-header { padding: 110px 0 44px; }
  .page-header h1 { font-size: clamp(1.4rem, 5vw, 2rem); padding: 0 8px; }
  .page-breadcrumb { flex-wrap: wrap; gap: 6px; font-size: 13px; }

  /* Services page */
  .service-card { padding: 26px 20px; }
  .how-step { padding: 18px; gap: 14px; }
  .how-step-num { width: 40px; height: 40px; min-width: 40px; font-size: 15px; }

  /* Contact page */
  .contact-section { padding: var(--section-py) 0; }
  .contact-form-card,
  .contact-info-card { padding: 24px 20px; }
  .contact-info-item { gap: 12px; padding: 14px 0; }
  .contact-info-icon { width: 38px; height: 38px; min-width: 38px; font-size: 16px; }

  /* Legal */
  .legal-content { padding: 28px 20px; }
  .legal-content h2 { font-size: 1.25rem; margin: 24px 0 12px; }

  /* FAQ */
  .faq-section { padding: var(--section-py) 0; }
  .faq-question { padding: 16px 18px; font-size: 14px; gap: 12px; }
  .faq-answer { padding: 0 18px 16px; }

  /* Step cards (home how it works) */
  .step-card { padding: 28px 20px; }

  /* Buttons */
  .btn-lg { padding: 14px 28px; font-size: 15px; }

  /* Scroll top */
  #scroll-top { bottom: 20px; right: 16px; }
}

/* ── ≤576px: Small mobile / portrait phone ── */
@media (max-width: 576px) {
  :root {
    --section-py: 48px;
    --section-py-sm: 36px;
  }

  /* Container */
  .container { padding: 0 16px; }

  /* Row gutter reduction */
  .row { margin: 0 -8px; }
  .row > [class*="col-"] { padding: 0 8px; }

  /* Nav */
  .nav-inner { padding: 0 14px; }
  .nav-logo img { height: 36px; }

  /* Hero */
  .vp-hero { padding: 94px 0 48px; }
  .vp-hero h1 { font-size: clamp(1.75rem, 7vw, 2.2rem); line-height: 1.15; }
  .vp-hero-desc { font-size: 14px; margin-bottom: 28px; }
  .vp-hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .vp-hero-ctas .btn-vp {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  .vp-hero-image { margin-top: 32px; }
  .vp-hero-image img { max-width: 260px; }

  /* Section header */
  .section-header { margin-bottom: 28px; }
  .section-label { font-size: 11px; padding: 5px 12px; }

  /* Product cards */
  .product-card { padding: 22px 18px; }
  .product-icon { width: 54px; height: 54px; font-size: 24px; margin-bottom: 18px; }
  .product-card h3 { font-size: 1.15rem; }

  /* Feature cards – stack icon on top for narrow screens */
  .feature-card { flex-direction: column; gap: 12px; padding: 20px 16px; }
  .feature-icon { width: 44px; height: 44px; min-width: 44px; font-size: 20px; }

  /* Stats */
  .stats-section { padding: 44px 0; }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 13px; }

  /* CTA */
  .cta-card { padding: 36px 18px; }
  .cta-card h2 { font-size: 1.4rem; }
  .cta-card p { font-size: 14px; margin-bottom: 24px; }
  .cta-buttons .btn-vp { max-width: 100%; }

  /* Step cards */
  .step-card { padding: 24px 16px; }
  .step-number { width: 48px; height: 48px; font-size: 18px; }

  /* Footer */
  .vp-footer { padding-top: 40px; }
  .footer-brand img { height: 36px; }
  .footer-bottom { margin-top: 36px; }
  .footer-bottom p { font-size: 12px; }
  .footer-bottom-links a { font-size: 12px; }

  /* Page header */
  .page-header { padding: 98px 0 36px; }
  .page-header h1 { font-size: 1.4rem; }

  /* Services page */
  .service-icon-wrap { width: 60px; height: 60px; }
  .service-icon-wrap img { width: 30px; height: 30px; }
  .service-card { padding: 22px 16px; }
  .how-step { padding: 14px; gap: 12px; }
  .how-step-num { width: 36px; height: 36px; min-width: 36px; font-size: 14px; }
  .how-step-body h5 { font-size: 14px; }

  /* Contact */
  .contact-form-card,
  .contact-info-card { padding: 20px 16px; border-radius: var(--radius-md); }
  .contact-info-icon { width: 36px; height: 36px; min-width: 36px; font-size: 15px; }

  /* Legal */
  .legal-content { padding: 22px 16px; border-radius: var(--radius-md); }
  .legal-content h2 { font-size: 1.1rem; margin: 20px 0 10px; }
  .legal-content p { font-size: 14px; }
  .legal-content ul li { font-size: 13px; margin-left: 18px; }

  /* FAQ */
  .faq-question { padding: 14px 16px; font-size: 13px; gap: 10px; }
  .faq-icon { width: 24px; height: 24px; min-width: 24px; }
  .faq-answer { padding: 0 16px 14px; }
  .faq-answer p { font-size: 13px; }

  /* General card */
  .vp-card { padding: 22px 18px; }

  /* Buttons */
  .btn-vp { padding: 11px 20px; font-size: 13px; }
  .btn-lg { padding: 13px 24px; font-size: 14px; }
  .btn-sm { padding: 8px 16px; font-size: 12px; }

  /* Scroll top */
  #scroll-top { width: 40px; height: 40px; bottom: 16px; right: 12px; }
}

/* ── ≤400px: Very small devices ── */
@media (max-width: 400px) {
  .container { padding: 0 14px; }

  .vp-hero h1 { font-size: 1.6rem; }
  .vp-hero-image img { max-width: 220px; }

  .cta-card { padding: 28px 14px; }
  .cta-card h2 { font-size: 1.25rem; }

  .contact-form-card,
  .contact-info-card { padding: 16px 14px; }

  .legal-content { padding: 16px 12px; }

  .product-card { padding: 18px 14px; }

  .feature-card { padding: 16px 14px; }

  .page-header h1 { font-size: 1.25rem; }

  .footer-bottom-links { gap: 12px; }

  .stat-number { font-size: 1.75rem; }
}
