/* ============================================================
   FoxFameHub - Main Stylesheet
   Domain: foxfamehub.com
   ============================================================ */

:root {
  --primary: #7C3AED;
  --primary-dark: #5B21B6;
  --primary-light: #A78BFA;
  --secondary: #EC4899;
  --secondary-dark: #BE185D;
  --accent: #06B6D4;
  --accent-dark: #0891B2;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --dark: #0F0A1E;
  --dark2: #1A1035;
  --dark3: #241646;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --gradient-hero: linear-gradient(135deg, #0F0A1E 0%, #1A1035 40%, #241646 100%);
  --gradient-primary: linear-gradient(135deg, #7C3AED, #EC4899);
  --gradient-accent: linear-gradient(135deg, #06B6D4, #7C3AED);
  --gradient-green: linear-gradient(135deg, #10B981, #06B6D4);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Section spacing – consistent rhythm site-wide */
  --section-padding: 96px;
  --section-padding-sm: 72px;
  --section-padding-xs: 56px;
  --section-header-margin: 48px;
  --section-header-margin-sm: 40px;
  --section-sub-margin: 16px;
}

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

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden; /* fallback for older browsers */
}
/* Modern browsers: clip does NOT create a containing block for position:fixed children,
   so mobile drawers won't be clipped. Falls back to hidden above. */
@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section-padding) 0; }
.section-sm { padding: var(--section-padding-sm) 0; }
.section-xs { padding: var(--section-padding-xs) 0; }

/* ---- Typography ---- */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-secondary); }

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}
.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary-light);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(6,182,212,0.5); }
.btn-success {
  background: var(--gradient-green);
  color: #fff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}
.btn-success:hover { transform: translateY(-2px); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ============================================================
   NAVBAR — fully rebuilt & fixed
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 13px 0;
  /* NO backdrop-filter here — it would create a stacking context that
     traps position:fixed children (the mobile drawer). Instead we use
     a ::before pseudo-element for the blur effect. */
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
/* Blur/glass effect lives on ::before so navbar itself is NOT a
   containing block for its fixed-position children on mobile */
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,10,30,0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  z-index: -1;
  transition: background 0.3s ease;
}
.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.45);
}
.navbar.scrolled::before {
  background: rgba(15,10,30,0.98);
}

/* Container */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 12px;
  position: relative;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 1001;
}
.nav-logo .logo-icon {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}
.nav-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Desktop nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

/* Nav links */
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(124,58,237,0.15);
}

/* Platforms dropdown */
.nav-dropdown {
  position: relative;
  flex-shrink: 0;
}
.nav-dropdown-toggle { cursor: pointer; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #160e2e;
  border: 1px solid rgba(124,58,237,0.28);
  border-radius: 14px;
  padding: 6px;
  min-width: 195px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  box-shadow: 0 20px 56px rgba(0,0,0,0.55);
  z-index: 2000;
  pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.nav-dropdown-menu a:hover {
  background: rgba(124,58,237,0.18);
  color: var(--text-primary);
}
.nav-dropdown-menu a .plat-icon {
  font-size: 1.05rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

/* CTA button */
.nav-cta { margin-left: 4px; flex-shrink: 0; }

/* Currency wrap — sits at end of nav-menu */
.nav-currency-wrap {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  flex-shrink: 0;
}

/* Hamburger (hidden on desktop, shown on mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  flex-shrink: 0;
  z-index: 1001;
  width: 40px;
  height: 40px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -100px; animation-delay: 0s; }
.hero-orb-2 { width: 400px; height: 400px; background: var(--secondary); bottom: -100px; left: -100px; animation-delay: 3s; }
.hero-orb-3 { width: 300px; height: 300px; background: var(--accent); top: 50%; left: 40%; animation-delay: 6s; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(124,58,237,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(124,58,237,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.4);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary-light);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
.hero-title { margin-bottom: 20px; }
.hero-description { font-size: 1.1rem; color: var(--text-secondary); max-width: 480px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 40px; }
.hero-stat-item { text-align: center; }
.hero-stat-value { font-size: 1.8rem; font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-phone-mockup {
  position: relative;
  width: 320px;
}
.platform-cards-float {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.platform-card-float {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 20px;
  backdrop-filter: blur(20px);
  transition: var(--transition);
  animation: float 6s ease-in-out infinite;
}
.platform-card-float:nth-child(2) { animation-delay: 1.5s; }
.platform-card-float:nth-child(3) { animation-delay: 3s; }
.platform-card-float:nth-child(4) { animation-delay: 4.5s; }
.platform-card-float:hover { transform: translateY(-8px) !important; border-color: var(--primary); }
.platform-card-float .plat-icon-lg { font-size: 2rem; margin-bottom: 10px; line-height:1; }
.platform-card-float .plat-icon-lg i { font-size: 2rem; }
.platform-card-float h4 { font-size: 0.9rem; margin-bottom: 4px; }
.platform-card-float p { font-size: 0.78rem; color: var(--text-muted); }
.platform-card-float .growth-badge {
  display: inline-block;
  background: rgba(16,185,129,0.2);
  color: var(--success);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 6px;
}

/* ---- Section Headers ---- */
.section-header { text-align: center; margin-bottom: var(--section-header-margin); }
.section-header.section-header-sm { margin-bottom: var(--section-header-margin-sm); }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.18);
  border: 1px solid rgba(124,58,237,0.35);
  color: var(--primary-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(124,58,237,0.15);
}
/* Section title accent line (site-wide) */
.section-title-accent { position: relative; display: inline-block; }
.section-title-accent::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 4px;
  background: var(--gradient-primary);
  border-radius: 4px;
}
.section-title { margin-bottom: 16px; }

/* Page hero (packages, track-order, legal, etc.) - site-wide */
.page-hero {
  min-height: 220px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #0f0a1e 0%, #1a1035 40%, #1e1238 100%);
  padding: calc(var(--navbar-h, 62px) + 48px) 24px 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124,58,237,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container, .page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { max-width: 520px; color: var(--text-muted); line-height: 1.65; }

/* Auth / login / register cards - enhanced */
.auth-card, .login-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%) !important;
  border: 1px solid var(--card-border) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.02) !important;
}
.auth-card:hover, .login-card:hover {
  border-color: rgba(124,58,237,0.25) !important;
}

/* Dashboard / admin cards - enhanced */
.admin-card, .order-card, .dash-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.admin-card:hover, .order-card:hover {
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* Website services package & service cards */
.ws-pkg-card, .ws-package-card, .ws-service-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.ws-pkg-card:hover, .ws-package-card:hover, .ws-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 20px 48px rgba(0,0,0,0.25);
}

/* Legal / terms / privacy / refund - content cards */
.legal-content, .refund-content {
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
}
.section-subtitle { color: var(--text-muted); max-width: 600px; margin: 12px auto 0; font-size: 1rem; line-height: 1.6; text-align: center; }

/* ---- Home Platform Links (homepage + packages page) ---- */
.home-platforms { margin-top: 40px; }
.home-platforms-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.home-platforms-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.home-platform-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  cursor: pointer;
  font-family: inherit;
}
.home-platform-link:hover {
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
.home-platform-link:nth-child(1):hover { border-color: #E1306C; background: rgba(225,48,108,0.12); }
.home-platform-link:nth-child(2):hover { border-color: #00f2ea; background: rgba(0,242,234,0.12); }
.home-platform-link:nth-child(3):hover { border-color: #FF0000; background: rgba(255,0,0,0.12); }
.home-platform-link:nth-child(4):hover { border-color: #1877F2; background: rgba(24,119,242,0.12); }
.home-platform-link:nth-child(5):hover { border-color: #1DA1F2; background: rgba(29,161,242,0.12); }
.home-platform-link:nth-child(6):hover { border-color: #4285F4; background: rgba(66,133,244,0.12); }
.home-platform-link.pkg-tab-active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}
.home-platform-link.pkg-tab-active:hover { color: #fff; }
@media (max-width: 768px) {
  .home-platform-link { padding: 12px 18px; font-size: 0.85rem; }
}

/* ---- Platform Tabs ---- */
.platform-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 50px; }
.platform-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.platform-tab .tab-icon { font-size: 1.1rem; }
.platform-tab:hover {
  border-color: var(--primary);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.2);
}
.platform-tab.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 24px rgba(124,58,237,0.45);
}

/* ---- Package Cards ---- */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.package-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 32px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.package-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}
.package-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 24px 56px rgba(0,0,0,0.35), 0 0 40px rgba(124,58,237,0.15);
}
.package-card:hover::before { opacity: 1; }
.package-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(124,58,237,0.25);
}
.package-card.popular::before { opacity: 1; }
.pkg-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.pkg-platform-badge.ws { background: rgba(124,58,237,0.15); color: var(--primary-light); }
#wsPackagesGrid .package-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  padding: 28px 24px;
  border-radius: 20px;
}
#wsPackagesGrid .package-card.tier-starter .package-name { color: var(--success); }
#wsPackagesGrid .package-card.tier-standard .package-name { color: var(--primary-light); }
#wsPackagesGrid .package-card.tier-premium .package-name { color: var(--warning); }
.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.package-tier-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.tier-starter .package-tier-icon { background: rgba(16,185,129,0.15); }
.tier-standard .package-tier-icon { background: rgba(124,58,237,0.15); }
.tier-premium .package-tier-icon { background: rgba(245,158,11,0.15); }
.package-name { font-size: 1rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.package-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.package-quantity {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.package-quantity-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; }
.package-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.price-currency { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); }
.price-amount { font-size: 2.8rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.price-period { font-size: 0.85rem; color: var(--text-muted); }
.package-delivery { font-size: 0.82rem; color: var(--accent); margin-bottom: 20px; display: flex; align-items: center; gap: 5px; }
.package-divider { height: 1px; background: var(--card-border); margin: 20px 0; }
.package-features { margin-bottom: 24px; }
.package-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.package-feature .check-icon { color: var(--success); font-size: 0.9rem; flex-shrink: 0; }
.package-platform-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
}

/* ---- Features / Why Us ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 28px;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(124,58,237,0.3); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature-icon.purple { background: rgba(124,58,237,0.15); }
.feature-icon.pink { background: rgba(236,72,153,0.15); }
.feature-icon.cyan { background: rgba(6,182,212,0.15); }
.feature-icon.green { background: rgba(16,185,129,0.15); }
.feature-icon.orange { background: rgba(245,158,11,0.15); }
.feature-icon.red { background: rgba(239,68,68,0.15); }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; line-height: 1.6; }

/* ---- How It Works ---- */
.how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; position: relative; }
.how-step {
  text-align: center;
  padding: 30px 20px;
}
.step-number {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
  position: relative;
  z-index: 1;
}
.how-step h3 { margin-bottom: 10px; }
.how-step p { font-size: 0.88rem; }

/* ---- Testimonials ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); border-color: rgba(124,58,237,0.3); }
.testimonial-stars { color: var(--warning); font-size: 0.9rem; margin-bottom: 14px; }
.testimonial-text { font-size: 0.9rem; line-height: 1.7; margin-bottom: 18px; color: var(--text-secondary); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

/* ====================================================
   PLATFORMS SECTION — Redesigned
   ==================================================== */

.plat-section { background: var(--dark); }

/* ---- Feature Row (2 hero cards side by side) ---- */
.plat-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

/* ---- Hero Card ---- */
.plat-hero-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  min-height: 280px;
}
.plat-hero-card:hover { transform: translateY(-6px); }

/* Hero BG blobs */
.plat-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: var(--transition);
}
.plat-hero-card.instagram { background: linear-gradient(135deg, #1a0f2e 0%, #2d1041 100%); border-color: rgba(228,64,95,0.3); }
.plat-hero-card.instagram .plat-hero-bg { background: radial-gradient(ellipse at 100% 0%, rgba(228,64,95,0.18) 0%, transparent 65%), radial-gradient(ellipse at 0% 100%, rgba(131,58,180,0.15) 0%, transparent 60%); }
.plat-hero-card.instagram:hover { border-color: #e4405f; box-shadow: 0 20px 60px rgba(228,64,95,0.25); }

.plat-hero-card.tiktok { background: linear-gradient(135deg, #0a1520 0%, #0d2030 100%); border-color: rgba(0,242,234,0.25); }
.plat-hero-card.tiktok .plat-hero-bg { background: radial-gradient(ellipse at 100% 0%, rgba(0,242,234,0.12) 0%, transparent 65%), radial-gradient(ellipse at 0% 100%, rgba(254,44,85,0.1) 0%, transparent 60%); }
.plat-hero-card.tiktok:hover { border-color: #00f2ea; box-shadow: 0 20px 60px rgba(0,242,234,0.2); }

/* Hero Content */
.plat-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 28px 20px;
  flex: 1;
}

.plat-brand-icon {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-top: 4px;
}
.instagram .plat-brand-icon { background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); color: #fff; }
.tiktok    .plat-brand-icon { background: linear-gradient(135deg, #010101, #69c9d0); color: #fff; }

.plat-hero-text { flex: 1; }
.plat-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.instagram .plat-label { background: rgba(228,64,95,0.18); color: #f472b6; }
.tiktok    .plat-label { background: rgba(0,242,234,0.12); color: #67e8f9; }

.plat-hero-text h3 { font-size: 1.55rem; font-weight: 700; margin-bottom: 8px; line-height: 1.25; }
.plat-hero-text p  { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }

.plat-cta-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 6px;
  transition: var(--transition);
}
.plat-hero-card:hover .plat-cta-arrow { background: rgba(255,255,255,0.18); transform: translateX(4px); }

/* Services row inside hero card */
.plat-services-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* Stat strip at bottom of hero card */
.plat-stat-strip {
  position: relative;
  z-index: 1;
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 14px 28px;
}
.plat-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.plat-stat + .plat-stat { border-left: 1px solid rgba(255,255,255,0.06); }
.plat-stat-num { font-size: 1.2rem; font-weight: 800; }
.instagram .plat-stat-num { color: #f472b6; }
.tiktok    .plat-stat-num { color: #67e8f9; }
.plat-stat-lbl { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* ---- Mini Cards Row (3 cards) ---- */
.plat-mini-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.plat-mini-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  padding: 24px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--card-bg);
  transition: var(--transition);
  cursor: pointer;
}
.plat-mini-card:hover { transform: translateY(-5px); }

.plat-mini-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: var(--transition);
}
.plat-mini-card:hover .plat-mini-bg { opacity: 1; }
.plat-mini-card.youtube .plat-mini-bg   { background: radial-gradient(ellipse at 100% 0%, rgba(255,0,0,0.12) 0%, transparent 70%); }
.plat-mini-card.facebook .plat-mini-bg  { background: radial-gradient(ellipse at 100% 0%, rgba(24,119,242,0.12) 0%, transparent 70%); }
.plat-mini-card.twitter .plat-mini-bg   { background: radial-gradient(ellipse at 100% 0%, rgba(29,161,242,0.12) 0%, transparent 70%); }

.plat-mini-card.youtube:hover  { border-color: rgba(255,0,0,0.4); box-shadow: 0 12px 40px rgba(255,0,0,0.15); }
.plat-mini-card.facebook:hover { border-color: rgba(24,119,242,0.4); box-shadow: 0 12px 40px rgba(24,119,242,0.15); }
.plat-mini-card.twitter:hover  { border-color: rgba(29,161,242,0.4); box-shadow: 0 12px 40px rgba(29,161,242,0.15); }

.plat-mini-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.plat-mini-card.youtube  .plat-mini-icon { background: rgba(255,0,0,0.15);    color: #ff4444; }
.plat-mini-card.facebook .plat-mini-icon { background: rgba(24,119,242,0.15); color: #60a5fa; }
.plat-mini-card.twitter  .plat-mini-icon { background: rgba(29,161,242,0.15); color: #38bdf8; }

.plat-mini-info { position: relative; z-index: 1; }
.plat-mini-info h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.plat-mini-info p  { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

.plat-mini-chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 5px; }

.plat-mini-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.plat-mini-users { font-size: 0.72rem; color: var(--text-muted); }
.plat-mini-btn {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.plat-mini-card:hover .plat-mini-btn { color: #fff; gap: 7px; }

/* ---- Shared chips ---- */
.plat-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 11px;
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
}
.plat-chip.sm { font-size: 0.67rem; padding: 2px 8px; }
.plat-hero-card.instagram:hover .plat-chip { border-color: rgba(228,64,95,0.3); }
.plat-hero-card.tiktok:hover    .plat-chip { border-color: rgba(0,242,234,0.25); }

/* ---- Bottom CTA Bar ---- */
.plat-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(124,58,237,0.12) 0%, rgba(236,72,153,0.1) 100%);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 16px;
  padding: 18px 28px;
  flex-wrap: wrap;
}
.plat-cta-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.plat-cta-text i { color: var(--warning); font-size: 1rem; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .plat-feature-row { grid-template-columns: 1fr; }
  .plat-mini-row    { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .plat-hero-content { flex-direction: column; gap: 14px; }
  .plat-cta-arrow { display: none; }
  .plat-hero-text h3 { font-size: 1.3rem; }
  .plat-cta-bar { flex-direction: column; text-align: center; }
}

/* ---- CTA Section ---- */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 70px 40px;
  text-align: center;
  margin: 0 20px;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { max-width: 500px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(124,58,237,0.4); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-question .faq-icon { transition: var(--transition); font-size: 0.9rem; color: var(--primary-light); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ---- Footer ---- */
.footer {
  background: var(--dark2);
  border-top: 1px solid var(--card-border);
  padding: 64px 0 32px;
  margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-brand p { font-size: 0.88rem; margin: 14px 0 20px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  transition: var(--transition);
}
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
/* Brand-colour hover for each social platform */
.social-btn:has(.fa-instagram):hover   { background: linear-gradient(135deg,#f9ce34,#ee2a7b,#6228d7); border-color:transparent; }
.social-btn:has(.fa-facebook):hover    { background: #1877F2; border-color:transparent; }
.social-btn:has(.fa-x-twitter):hover   { background: #000; border-color:#555; }
.social-btn:has(.fa-tiktok):hover      { background: linear-gradient(135deg,#010101,#69c9d0); border-color:transparent; }
.social-btn:has(.fa-whatsapp):hover    { background: #25D366; border-color:transparent; }
.social-btn:has(.fa-youtube):hover     { background: #FF0000; border-color:transparent; }
.footer-col h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--text-secondary); padding: 5px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--primary-light); padding-left: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--card-border); flex-wrap: wrap; gap: 15px; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--primary-light); }
.payment-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--success);
  font-weight: 500;
}
.trust-badge i { font-size: 0.85rem; }
.payment-badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--card-border);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ---- Checkout Page ---- */
.checkout-wrap {
  min-height: 100vh;
  padding: calc(var(--navbar-h, 62px) + 40px) 0 80px;
  background: var(--gradient-hero);
}
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.checkout-form-card, .order-summary-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.checkout-form-card:hover, .order-summary-card:hover {
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.checkout-section-title { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--card-border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,0.2); }
.form-control::placeholder { color: var(--text-muted); }
.form-control option { background: var(--dark2); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 80px; }

/* Payment Methods */
.payment-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.payment-method-option { display: none; }
.payment-method-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  border: 2px solid var(--card-border);
  cursor: pointer;
  transition: var(--transition);
}
.payment-method-label:hover { border-color: var(--primary); }
.payment-method-option:checked + .payment-method-label {
  border-color: var(--primary);
  background: rgba(124,58,237,0.1);
}
.payment-method-icon { font-size: 1.5rem; width: 36px; text-align: center; }
.payment-method-name { font-weight: 600; font-size: 0.9rem; }
.payment-method-desc { font-size: 0.78rem; color: var(--text-muted); }
.payment-details-panel {
  display: none;
  padding: 18px 16px;
  background: rgba(124,58,237,0.06);
  border-radius: 12px;
  border: 1px solid rgba(124,58,237,0.25);
  margin-top: 10px;
  font-size: 0.85rem;
  animation: fadeSlideIn 0.2s ease;
}
.payment-details-panel.active { display: block; }
.payment-details-panel strong { color: var(--primary-light); display: block; margin-bottom: 12px; font-size: 0.92rem; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Order Summary */
.order-summary-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--card-border); font-size: 0.88rem; }
.order-summary-item:last-child { border-bottom: none; }
.order-summary-item.total { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); padding-top: 16px; }
.order-summary-label { color: var(--text-muted); }
.order-selected-pkg {
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}
.order-pkg-name { font-weight: 700; margin-bottom: 4px; }
.order-pkg-platform { font-size: 0.8rem; color: var(--text-muted); }
.order-pkg-price { font-size: 1.3rem; font-weight: 800; color: var(--primary-light); }

/* ---- Success/Confirmation ---- */
.success-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  background: var(--gradient-hero);
}
.success-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 56px 44px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.03);
}
.success-icon { font-size: 4rem; margin-bottom: 20px; }
.success-card h1 { margin-bottom: 12px; }
.success-card p { margin-bottom: 24px; }
.order-id-box {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 10px;
  padding: 16px;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--success);
  margin-bottom: 28px;
}

/* ---- Admin Panel ---- */
.admin-wrap { min-height: 100vh; display: flex; background: #0a0615; overflow: hidden; }
.admin-sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--dark2);
  border-right: 1px solid var(--card-border);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform 0.25s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(124,58,237,0.3) transparent;
}
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.3); border-radius: 4px; }
.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--card-border);
}
.admin-sidebar-nav { padding: 16px 12px; flex: 1; overflow-y: auto; }
.admin-nav-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; padding: 8px 10px 5px; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 3px;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.admin-nav-item:hover { background: rgba(124,58,237,0.1); color: var(--text-primary); }
.admin-nav-item.active { background: rgba(124,58,237,0.2); color: var(--primary-light); }
.admin-nav-item .nav-icon { font-size: 1rem; width: 20px; text-align: center; }
.admin-main {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  width: calc(100% - 260px);
}
.admin-topbar {
  background: var(--dark2);
  border-bottom: 1px solid var(--card-border);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-page-title { font-size: 1.1rem; font-weight: 700; }
.admin-topbar-right { display: flex; align-items: center; gap: 14px; }
.admin-content { padding: 28px; flex: 1; }

/* Admin Stats */
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 28px; }
.admin-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.admin-stat-card:hover { border-color: rgba(124,58,237,0.3); }
.admin-stat-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.admin-stat-value { font-size: 1.6rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.admin-stat-label { font-size: 0.78rem; color: var(--text-muted); }
.admin-stat-change { font-size: 0.75rem; margin-top: 4px; }
.change-up { color: var(--success); }
.change-down { color: var(--danger); }

/* Admin Table */
.admin-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}
.admin-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-card-title { font-size: 0.95rem; font-weight: 700; }
.admin-table-wrap { overflow-x: auto; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
table.admin-table th { padding: 14px 16px; text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--card-border); white-space: nowrap; }
table.admin-table td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--text-secondary); vertical-align: middle; }
table.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
table.admin-table tr:last-child td { border-bottom: none; }
.admin-table-empty { text-align: center; padding: 40px; color: var(--text-muted); }

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.badge-pending { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-processing { background: rgba(6,182,212,0.15); color: var(--accent); }
.badge-completed { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-cancelled { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-refunded { background: rgba(148,163,184,0.15); color: var(--text-muted); }
.badge-paid { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-failed { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-active { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-inactive { background: rgba(239,68,68,0.15); color: var(--danger); }

/* Admin Search & Filters */
.admin-filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.admin-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 8px 14px;
  min-width: 220px;
}
.admin-search input { background: none; border: none; color: var(--text-primary); font-size: 0.85rem; outline: none; width: 100%; }
.admin-search input::placeholder { color: var(--text-muted); }
.admin-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 8px 14px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
}
.admin-select option { background: var(--dark2); }

/* Package Editor */
.pkg-editor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.pkg-editor-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  transition: var(--transition);
}
.pkg-editor-card:hover { border-color: rgba(124,58,237,0.3); }
.pkg-editor-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pkg-editor-actions { display: flex; gap: 8px; }
.pkg-price-input {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 10px 0;
}
.pkg-price-input span { color: var(--text-muted); font-size: 1rem; }
.pkg-price-input input { background: none; border: none; color: var(--text-primary); font-size: 1.2rem; font-weight: 700; outline: none; width: 80px; }

/* Prevent body scroll when any modal is open */
body.modal-open { overflow: hidden !important; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  overflow-y: auto;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: var(--dark2);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 0;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  transition: var(--transition);
  overflow: hidden;
}
.modal-overlay.active .modal { transform: scale(1); }
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--card-border);
  flex-shrink: 0;
}
.modal-close { background: none; color: var(--text-muted); font-size: 1.2rem; padding: 4px; border-radius: 6px; transition: var(--transition); }
.modal-close:hover { color: var(--text-primary); background: rgba(255,255,255,0.08); }
/* Modal body: scrollable area between header and footer */
.modal > div:not(.modal-header):not(.modal-footer):not(#pkgModalBody) {
  overflow-y: auto;
  padding: 24px 28px;
  flex: 1;
}
#orderModalBody,
#pkgModalBody,
#custOrderModalBody {
  overflow-y: auto;
  padding: 20px 28px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 28px;
  border-top: 1px solid var(--card-border);
  flex-shrink: 0;
  background: var(--dark2);
}

/* Login */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  padding: 20px;
}
.login-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(20px);
}
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo .logo-icon-lg {
  width: 64px; height: 64px;
  object-fit: contain;
  border-radius: 18px;
  display: block;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.login-title { font-size: 1.5rem; text-align: center; margin-bottom: 8px; }
.login-subtitle { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 32px; }

/* Toast notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark2);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 280px;
  max-width: 380px;
  box-shadow: var(--shadow-card);
  pointer-events: all;
  animation: slideInRight 0.3s ease, fadeOut 0.3s ease 3.7s forwards;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.info { border-left: 3px solid var(--accent); }
.toast-icon { font-size: 1.1rem; }
.toast-msg { font-size: 0.85rem; flex: 1; }

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,10,30,0.8);
  backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.loading-spinner-lg {
  width: 50px; height: 50px;
  border: 3px solid rgba(124,58,237,0.3);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; padding: 16px; flex-wrap: wrap; }
.page-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Responsive Tabs Content */
.tab-content { display: none; }
.tab-content.active { display: block; }
.admin-tab-content { display: none; }
.admin-tab-content.active { display: block; }

/* Chips / Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.tag-ig { background: rgba(228,64,95,0.15); color: #e4405f; }
.tag-fb { background: rgba(24,119,242,0.15); color: #1877f2; }
.tag-yt { background: rgba(255,0,0,0.15); color: #ff4444; }
.tag-tt { background: rgba(0,242,234,0.15); color: #00d4cc; }
.tag-tw { background: rgba(29,161,242,0.15); color: #1da1f2; }

/* ---- Animations ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ============================================================
   CURRENCY SWITCHER  v2  — dropdown appended to <body>
   ============================================================ */

/* ── Trigger button wrapper (inside navbar) ── */
.sgp-currency-picker {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
}

/* ── Trigger button ── */
.sgp-currency-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-primary);
  padding: 6px 14px 6px 10px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
  user-select: none;
}
.sgp-currency-btn:hover,
.sgp-currency-btn:focus {
  background: rgba(124,58,237,0.25);
  border-color: rgba(124,58,237,0.6);
  color: #fff;
  outline: none;
}
.sgp-currency-btn span {
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

/* ── Floating dropdown panel (position:fixed, appended to body) ── */
#sgp-currency-panel {
  position: fixed;           /* JS sets top/left via viewport coords */
  z-index: 999999;
  width: 270px;
  background: #160e2e;
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 0 1px rgba(124,58,237,0.08);
  overflow: hidden;

  /* hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
}
#sgp-currency-panel.sgp-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ── Search bar ── */
.sgp-cur-search-wrap {
  position: relative;
  padding: 12px 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sgp-cur-search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-55%);
  color: var(--text-muted);
  font-size: 0.75rem;
  pointer-events: none;
}
.sgp-cur-search {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 12px 8px 32px;
  color: #fff;
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.sgp-cur-search::placeholder { color: var(--text-muted); }
.sgp-cur-search:focus {
  border-color: rgba(124,58,237,0.6);
  background: rgba(124,58,237,0.1);
}

/* ── Scrollable currency list ── */
.sgp-cur-list {
  display: flex;
  flex-direction: column;
  max-height: 290px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(124,58,237,0.4) transparent;
}
.sgp-cur-list::-webkit-scrollbar { width: 4px; }
.sgp-cur-list::-webkit-scrollbar-thumb {
  background: rgba(124,58,237,0.4);
  border-radius: 4px;
}

/* ── Each row ── */
.sgp-cur-item {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100% !important;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 10px;
  border: none;
  background: transparent !important;
  color: #cbd5e1 !important;
  font-size: 0.83rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  text-align: left;
  box-sizing: border-box;
  flex-shrink: 0;
}
.sgp-cur-item:hover {
  background: rgba(124,58,237,0.18) !important;
  color: #fff !important;
}
.sgp-cur-item.active {
  background: rgba(124,58,237,0.28) !important;
  color: #a78bfa !important;
  font-weight: 700;
}
.sgp-cur-flag { font-size: 1.15rem; flex-shrink: 0; line-height: 1; }
.sgp-cur-name { flex: 1; font-size: 0.81rem; }
.sgp-cur-code {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  background: rgba(255,255,255,0.06);
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.6px;
  flex-shrink: 0;
}
.sgp-cur-item.active .sgp-cur-code {
  background: rgba(124,58,237,0.25);
  color: #a78bfa;
}

/* ── Navbar placement helper ── */
.nav-currency-wrap {
  display: inline-flex;
  align-items: center;
}

/* ── Mobile: ensure button stays visible ── */
@media (max-width: 900px) {
  .sgp-currency-picker { margin-left: 4px; }
  .sgp-currency-btn   { padding: 5px 10px; font-size: 0.78rem; }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ---- Mobile Responsive ---- */



/* =============================================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERRIDES  v1.0
   Breakpoints: 1024 | 900 | 768 | 600 | 480 | 360
   ============================================================= */

/* ─────────────────────────────────────────────────────────────
   1024px  –  Tablet landscape
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {

  /* Hero */
  .hero-content          { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-actions          { justify-content: center; }
  .hero-stats            { justify-content: center; }
  .hero-description      { margin: 0 auto 36px; max-width: 100%; }
  .hero-badge            { display: inline-flex; }
  .hero-visual           { display: none; }

  /* Platform section */
  .plat-feature-row      { grid-template-columns: 1fr; gap: 16px; }
  .plat-mini-row         { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Packages */
  .packages-grid         { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid           { grid-template-columns: 1fr 1fr; gap: 30px; }

  /* Checkout */
  .checkout-grid         { grid-template-columns: 1fr; }
  .order-summary-card    { order: -1; }        /* summary on top on tablet */

  /* Admin */
  .admin-content         { padding: 20px; }
  .pkg-editor-grid       { grid-template-columns: 1fr 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   900px  –  Tablet portrait / large phone landscape
───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {

  /* Sections */
  .section               { padding: 60px 0; }
  .section-header        { margin-bottom: 40px; }

  /* Packages tabs overflow-scroll on small screens */
  .platform-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 6px;
    gap: 8px;
    scrollbar-width: none;
  }
  .platform-tabs::-webkit-scrollbar { display: none; }
  .platform-tab          { flex-shrink: 0; padding: 9px 16px; font-size: 0.82rem; }

  /* Packages grid */
  .packages-grid         { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Platform mini row */
  .plat-mini-row         { grid-template-columns: 1fr 1fr; }

  /* Features grid */
  .features-grid         { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  /* How it works */
  .how-steps             { grid-template-columns: repeat(2, 1fr); }

  /* Testimonials */
  .testimonials-grid     { grid-template-columns: 1fr; }

  /* Checkout */
  .checkout-grid         { grid-template-columns: 1fr; }
  .form-row              { grid-template-columns: 1fr; }

  /* Admin */
  .admin-stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .admin-filters         { flex-direction: column; align-items: stretch; }
  .admin-filters > *     { width: 100%; }
}

/* ─────────────────────────────────────────────────────────────
   768px  –  Mobile landscape / small tablet
   (Hamburger nav kicks in here)
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* ── Global ── */
  .section               { padding: 50px 0; }
  .section-header        { margin-bottom: 32px; }
  .container             { padding: 0 16px; }

  /* ── Hero ── */
  .hero                  { padding-top: 70px; min-height: auto; padding-bottom: 50px; }
  .hero-title            { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .hero-description      { font-size: 0.95rem; }
  .hero-stats            { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .hero-stat-value       { font-size: 1.4rem; }
  .hero-actions          { gap: 10px; }
  .hero-actions .btn     { width: 100%; justify-content: center; }

  /* ── Platform section ── */
  .plat-feature-row      { grid-template-columns: 1fr; gap: 14px; }
  .plat-hero-content     { flex-direction: column; gap: 12px; padding: 20px 18px 16px; }
  .plat-brand-icon       { width: 50px; height: 50px; font-size: 1.4rem; border-radius: 14px; }
  .plat-hero-text h3     { font-size: 1.25rem; }
  .plat-hero-text p      { font-size: 0.82rem; }
  .plat-cta-arrow        { display: none; }
  .plat-stat-strip       { padding: 12px 16px; }
  .plat-stat-num         { font-size: 1rem; }
  .plat-stat-lbl         { font-size: 0.6rem; }

  .plat-mini-row         { grid-template-columns: 1fr; gap: 14px; }
  .plat-mini-card        { padding: 18px 16px 14px; }
  .plat-mini-icon        { width: 44px; height: 44px; font-size: 1.2rem; margin-bottom: 12px; }

  /* ── Packages ── */
  .packages-grid         { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .package-card          { padding: 24px 20px; }

  /* ── Platform tabs ── */
  .platform-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 4px 0 8px;
    gap: 8px;
    scrollbar-width: none;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .platform-tabs::-webkit-scrollbar { display: none; }
  .platform-tab          { flex-shrink: 0; padding: 8px 14px; font-size: 0.8rem; white-space: nowrap; }

  /* ── Features ── */
  .features-grid         { grid-template-columns: 1fr; gap: 14px; }
  .feature-card          { padding: 20px; }
  .feature-icon          { width: 46px; height: 46px; font-size: 1.25rem; }

  /* ── How it works ── */
  .how-steps             { grid-template-columns: 1fr; gap: 20px; }
  .how-step              { padding: 20px 16px; }
  .step-number           { width: 50px; height: 50px; font-size: 1.2rem; }

  /* ── Testimonials ── */
  .testimonials-grid     { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card      { padding: 20px; }

  /* ── FAQ ── */
  .faq-question          { padding: 16px 18px; font-size: 0.88rem; }
  .faq-answer-inner      { padding: 0 18px 16px; font-size: 0.85rem; }

  /* ── CTA section ── */
  .cta-section           { padding: 40px 20px; margin: 0 12px; border-radius: 18px; }
  .cta-section h2        { font-size: clamp(1.4rem, 6vw, 2rem); }
  .cta-section p         { font-size: 0.9rem; }
  .cta-actions           { flex-direction: column; align-items: center; gap: 10px; }
  .cta-actions .btn      { width: 100%; max-width: 300px; }

  /* ── Contact section ── */
  .contact-grid          { grid-template-columns: 1fr !important; gap: 30px; }
  .contact-info          { order: 2; }
  .contact-form-card     { order: 1; }

  /* ── Footer ── */
  .footer                { padding: 40px 0 24px; margin-top: 50px; }
  .footer-grid           { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand          { grid-column: 1 / -1; }
  .footer-brand p        { max-width: 100%; }
  .footer-bottom         { flex-direction: column; text-align: center; gap: 10px; }
  .footer-bottom-links   { flex-wrap: wrap; justify-content: center; gap: 10px; }

  /* ── Checkout ── */
  .checkout-grid         { grid-template-columns: 1fr; }
  .checkout-wrap         { padding: calc(var(--navbar-h, 62px) + 16px) 0 20px; }
  .form-row              { grid-template-columns: 1fr; }
  .checkout-form-card,
  .order-summary-card    { padding: 20px; }
  .payment-method-label  { padding: 12px 14px; }

  /* ── Dashboard ── */
  .dashboard-grid        { grid-template-columns: 1fr !important; }
  .stats-grid            { grid-template-columns: repeat(2, 1fr) !important; }
  .orders-table-wrap     { overflow-x: auto; }

  /* ── Admin ── */
  .admin-sidebar         { transform: translateX(-100%); z-index: 1100; width: 260px; }
  .admin-sidebar.open    { transform: translateX(0); }
  .admin-main            { margin-left: 0 !important; width: 100% !important; }
  .admin-content         { padding: 16px; }
  .admin-topbar          { padding: 0 16px; }
  .admin-stats-grid      { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .admin-filters         { flex-direction: column; gap: 10px; }
  .admin-filters .admin-search { width: 100%; }
  .pkg-editor-grid       { grid-template-columns: 1fr; }

  /* ── Modal ── */
  .modal-overlay         { padding: 12px; }
  .modal                 { max-height: 94vh; border-radius: 16px; }
  .modal-header          { padding: 18px 18px 14px; }
  #pkgModalBody, #orderModalBody { padding: 14px 18px; }
  .modal-footer          { padding: 12px 18px; }

  /* ── Auth pages ── */
  .login-card,
  .register-card         { padding: 28px 20px; margin: 20px auto; }

  /* Section badge */
  .section-badge         { font-size: 0.78rem; padding: 6px 14px; }
}

/* ─────────────────────────────────────────────────────────────
   600px  –  Mobile portrait
───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {

  /* ── Hero ── */
  .hero                  { padding-top: 68px; }
  .hero-title            { font-size: clamp(1.6rem, 9vw, 2.4rem); line-height: 1.15; }
  .hero-description      { font-size: 0.9rem; margin-bottom: 28px; }
  .hero-stats            { flex-wrap: wrap; gap: 12px; justify-content: center; }
  .hero-stat-item        { flex: 0 0 calc(50% - 6px); text-align: center; }
  .hero-stat-value       { font-size: 1.3rem; }

  /* ── Platform section ── */
  .plat-mini-row         { grid-template-columns: 1fr; }

  /* ── Packages ── */
  .packages-grid         { max-width: 100%; }

  /* ── Features ── */
  .features-grid         { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer-grid           { grid-template-columns: 1fr; gap: 20px; }
  .footer-col a          { padding: 4px 0; }
  .payment-badges        { gap: 6px; }
  .payment-badge         { font-size: 0.75rem; padding: 4px 10px; }

  /* ── Section headings ── */
  .section-header h2     { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .section-header p      { font-size: 0.88rem; }

  /* ── How it works ── */
  .how-steps             { grid-template-columns: 1fr; }

  /* ── Checkout ── */
  .checkout-section-title { font-size: 0.85rem; }
  .order-summary-card .order-items { max-height: 200px; overflow-y: auto; }

  /* ── Nav logo text ── */
  .nav-logo span         { font-size: 1rem; }

  /* ── Page title areas ── */
  .page-hero h1          { font-size: clamp(1.5rem, 8vw, 2.2rem); }

  /* ── Track order ── */
  .track-result-card     { padding: 20px; }
  .track-info-grid       { grid-template-columns: 1fr !important; gap: 12px; }

  /* ── Dashboard stats ── */
  .stats-grid            { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .stat-card             { padding: 16px 14px; }
  .stat-value            { font-size: 1.4rem; }

  /* ── Tables → horizontal scroll ── */
  .table-responsive      { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table                  { min-width: 500px; }
}

/* ─────────────────────────────────────────────────────────────
   480px  –  Small phone
───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {

  /* Global */
  .container             { padding: 0 14px; }
  .section               { padding: 40px 0; }

  /* Hero */
  .hero                  { padding-top: 65px; }
  .hero-title            { font-size: clamp(1.5rem, 10vw, 2rem); }
  .hero-actions .btn     { font-size: 0.88rem; padding: 11px 20px; }
  .hero-stats            { gap: 10px; }
  .hero-stat-item        { flex: 0 0 calc(50% - 5px); }

  /* Platform tabs */
  .platform-tab          { padding: 7px 12px; font-size: 0.75rem; }
  .platform-tab .tab-icon { font-size: 0.9rem; }

  /* Platform cards */
  .plat-hero-card        { min-height: auto; }
  .plat-hero-content     { padding: 16px 14px 14px; gap: 10px; }
  .plat-hero-text h3     { font-size: 1.1rem; }
  .plat-stat-strip       { padding: 10px 14px; }

  /* Packages */
  .packages-grid         { grid-template-columns: 1fr; gap: 14px; max-width: 100%; }
  .package-card          { padding: 20px 16px; }
  .package-price         { font-size: 1.8rem; }

  /* Features */
  .feature-card          { padding: 18px 16px; }

  /* CTA */
  .cta-section           { padding: 32px 16px; margin: 0 8px; }
  .cta-section h2        { font-size: 1.4rem; }
  .cta-actions .btn      { font-size: 0.88rem; }

  /* FAQ */
  .faq-question          { padding: 14px 16px; font-size: 0.85rem; }
  .faq-answer-inner      { padding: 0 16px 14px; }

  /* Footer */
  .footer-grid           { grid-template-columns: 1fr; }
  .footer-social         { gap: 8px; }
  .social-btn            { width: 34px; height: 34px; font-size: 0.85rem; }

  /* Checkout */
  .checkout-form-card,
  .order-summary-card    { padding: 16px; }
  .payment-method-icon   { font-size: 1.2rem; width: 28px; }
  .payment-method-name   { font-size: 0.82rem; }

  /* Auth */
  .login-card,
  .register-card         { padding: 24px 16px; border-radius: 16px; }
  .login-card h2,
  .register-card h2      { font-size: 1.3rem; }

  /* Admin */
  .admin-stats-grid      { grid-template-columns: 1fr 1fr; gap: 10px; }
  .admin-stat-value      { font-size: 1.3rem; }
  .admin-content         { padding: 14px; }
  .admin-topbar          { padding: 0 14px; min-height: 56px; }
  .admin-page-title      { font-size: 0.95rem; }

  /* Nav */
  .nav-container         { padding: 0 14px; }
  .nav-logo span         { font-size: 0.95rem; }
  .logo-icon             { font-size: 1.2rem; }

  /* Modals */
  .modal                 { max-height: 96vh; border-radius: 14px; }
  .modal-header          { padding: 16px 16px 12px; }
  #pkgModalBody, #orderModalBody { padding: 12px 16px; }
  .modal-footer          { padding: 10px 16px; }
  .modal h3              { font-size: 1.1rem; }

  /* Section headings */
  .section-header h2     { font-size: clamp(1.3rem, 8vw, 1.8rem); }
  .section-header p      { font-size: 0.85rem; }
}

/* ─────────────────────────────────────────────────────────────
   360px  –  Very small phone (Galaxy S8, etc.)
───────────────────────────────────────────────────────────── */
@media (max-width: 360px) {
  .container             { padding: 0 12px; }
  .hero-title            { font-size: 1.4rem; }
  .nav-logo span         { display: none; }   /* show only rocket icon on tiny screens */
  .platform-tab          { padding: 6px 10px; font-size: 0.72rem; }
  .packages-grid         { grid-template-columns: 1fr; }
  .admin-stats-grid      { grid-template-columns: 1fr; }
  .hero-stat-item        { flex: 0 0 100%; }
  .footer-grid           { grid-template-columns: 1fr; }
  .cta-actions .btn      { max-width: 100%; }
  .btn                   { padding: 10px 18px; font-size: 0.85rem; }
}

/* ─────────────────────────────────────────────────────────────
   Global mobile helpers (all small screens)
───────────────────────────────────────────────────────────── */

/* Prevent any table from blowing out the viewport */
@media (max-width: 768px) {
  .admin-table-wrap,
  .orders-table-wrap,
  .table-responsive      { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.admin-table      { min-width: 560px; font-size: 0.78rem; }
  table.admin-table th,
  table.admin-table td   { padding: 10px 12px; }
}

/* Prevent images ever overflowing */
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Prevent long words / URLs breaking layout */
p, li, td, th, label, span {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {
  .btn, .nav-link, .platform-tab,
  .faq-question, .social-btn,
  .admin-nav-item, .payment-method-label {
    min-height: 44px;
  }
  .faq-question {
    align-items: center;
  }
}

/* ─────────────────────────────────────────────────────────────
   Smooth horizontal-scroll pill row on mobile
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .plat-services-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
    gap: 5px;
  }
  .plat-services-row::-webkit-scrollbar { display: none; }
  .plat-chip { flex-shrink: 0; }
}

/* ─────────────────────────────────────────────────────────────
   Contact grid fix (if grid exists)
───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-section .container > div[style*="grid"],
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
}

/* ─────────────────────────────────────────────────────────────
   Order success page
───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .success-card          { padding: 32px 20px; margin: 20px; }
  .success-icon          { width: 70px; height: 70px; font-size: 2rem; }
  .success-card h2       { font-size: 1.4rem; }
}



/* =============================================================
   MOBILE NAVBAR  — hamburger + off-canvas drawer
   ============================================================= */
@media (max-width: 768px) {

  /* Show hamburger, hide desktop nav */
  .nav-hamburger { display: flex !important; }

  /* Turn nav-menu into a full-height off-canvas drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;                        /* always anchored at right:0 */
    transform: translateX(110%);     /* hidden off-screen via transform (not right:-100%)
                                        — avoids being clipped by overflow-x on body */
    width: min(300px, 85vw);
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh; /* dynamic viewport height for mobile browsers */
    background: rgba(15,10,30,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(124,58,237,0.25);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 20px 30px;
    padding-top: max(80px, env(safe-area-inset-top, 80px));
    padding-bottom: max(30px, env(safe-area-inset-bottom, 30px));
    gap: 4px;
    z-index: 1500;  /* must be above navbar (1000) and everything else */
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1); /* animate transform, not right */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
    visibility: hidden;              /* hide from screen readers & pointer events when closed */
  }

  /* Open state — slide in */
  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  /* Full-width nav links */
  .nav-link {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  /* CTA button full-width */
  .nav-cta { width: 100%; margin: 8px 0 4px; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  /* Currency wrap full width */
  .nav-currency-wrap { width: 100%; margin: 4px 0; }
  .nav-currency-wrap .sgp-currency-picker { width: 100%; }
  .nav-currency-wrap .sgp-currency-btn { width: 100%; justify-content: center; }

  /* Dropdown inside drawer becomes static */
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 4px;
    margin-top: 4px;
    pointer-events: all;
  }
  /* Collapse dropdown in mobile by default, expand on hover/focus */
  .nav-dropdown-menu {
    display: none;
  }
  .nav-dropdown.mob-open .nav-dropdown-menu {
    display: block;
  }
}

/* Overlay backdrop for mobile drawer */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1499; /* just below nav-menu drawer (1500) but above all page content */
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.nav-overlay.show {
  display: block;
  opacity: 1;
}


/* ── Dashboard grid overrides on mobile ── */
@media (max-width: 768px) {
  .dash-profile-grid {
    grid-template-columns: 1fr !important;
  }
  .dash-stats-inner {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .dash-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .dash-stats-strip .container { padding-left: 12px; padding-right: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .dash-stats-inner { min-width: min-content; }
}
@media (max-width: 480px) {
  .dash-stats-inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .dash-welcome { flex-direction: column; align-items: flex-start; }
}
/* ---- Utility Classes ---- */
.hidden { display: none !important; }
.visible { display: block !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.w-full { width: 100%; }
.italic { font-style: italic; }
.divider { height: 1px; background: var(--card-border); margin: 24px 0; }

/* ── Contact grid: override inline style on mobile ── */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* ── Dashboard responsive grids ── */
@media (max-width: 768px) {
  .responsive-two-col {
    grid-template-columns: 1fr !important;
  }
  .dash-stats-strip .container > div {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .dash-stats-strip [style*="padding:18px 24px"] {
    padding: 12px 10px !important;
  }
  .dash-stats-strip [style*="font-size:1.5rem"] {
    font-size: 1.1rem !important;
  }
  [style*="grid-template-columns:minmax(0,300px) 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 480px) {
  .dash-stats-strip .container > div {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}


/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ============================================================ */

/* ── Safe area insets for notched phones (iPhone X+) ── */
@supports (padding: env(safe-area-inset-left)) {
  .navbar { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .nav-container { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
}

/* ── Hamburger button: larger tap target on touch devices ── */
@media (max-width: 768px) {
  .nav-hamburger {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    z-index: 1501; /* above the drawer */
  }
  /* Prevent text select on hamburger */
  .nav-hamburger { user-select: none; -webkit-user-select: none; }

  /* Keep hamburger visible on top of drawer */
  .nav-container { position: relative; z-index: 1502; }
  .navbar { overflow: visible; }
}

/* ── Hero section mobile ── */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-content { flex-direction: column; gap: 40px; }
  .hero-left { text-align: center; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero-description { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .hero-visual { width: 100%; }
  .platform-cards-float {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .platform-card-float { padding: 16px 12px; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 0 50px; }
  .hero-title { font-size: clamp(1.6rem, 8vw, 2rem); }
  .hero-stats { gap: 12px; }
  .hero-stat-item { min-width: 65px; }
  .hero-stat-value { font-size: 1.3rem; }
  .platform-cards-float { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── Section padding on mobile ── */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .section-subtitle { font-size: 0.9rem; }
  .container { padding: 0 16px; }
}

/* ── Platform cards (mini + hero) on mobile ── */
@media (max-width: 768px) {
  .plat-feature-row { flex-direction: column; gap: 16px; }
  .plat-hero-card { width: 100%; }
  .plat-mini-row { flex-direction: column; gap: 16px; }
  .plat-mini-card { width: 100%; }
}

/* ── Package / features grid on mobile ── */
@media (max-width: 768px) {
  .packages-grid { grid-template-columns: 1fr !important; }
  .features-grid { grid-template-columns: 1fr !important; }
  .testimonials-grid { grid-template-columns: 1fr !important; }
  .how-steps { grid-template-columns: 1fr 1fr !important; gap: 20px; }
}

@media (max-width: 480px) {
  .how-steps { grid-template-columns: 1fr !important; }
  .platform-tabs { gap: 6px; padding: 8px; }
  .platform-tab { font-size: 0.78rem; padding: 7px 10px; }
  .tab-icon { display: none; }
}

/* ── Packages page mobile ── */
@media (max-width: 768px) {
  .pkg-hero { padding: 100px 0 50px; }
  .pkg-hero h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .pkg-filters-wrap { flex-direction: column; gap: 12px; align-items: stretch; }
  .pkg-filter-row { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ── Checkout page mobile ── */
@media (max-width: 768px) {
  .checkout-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .checkout-hero { padding: 100px 0 40px; }
  .form-row { flex-direction: column; gap: 16px; }
}

/* ── Footer mobile ── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr !important; }
}

/* ── Auth pages (login/register) mobile ── */
@media (max-width: 768px) {
  .auth-wrapper { padding: 80px 16px 40px; }
  .auth-card { padding: 28px 20px; border-radius: 16px; }
}

/* ── Dashboard mobile ── */
@media (max-width: 768px) {
  .dash-hero { padding: 100px 16px 40px; }
  .dash-tab-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
  .dash-tab-nav button { flex-shrink: 0; font-size: 0.82rem; padding: 8px 14px; }
}

/* ── Table responsive wrapper ── */
@media (max-width: 768px) {
  .table-wrap, .orders-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { min-width: 540px; }
  th, td { font-size: 0.82rem; padding: 10px 12px; }
}

/* ── Buttons & CTAs ── */
@media (max-width: 480px) {
  .btn-lg { font-size: 0.9rem; padding: 12px 20px; }
  .btn { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
}

/* ── Input fields — prevent iOS zoom (font-size must be ≥16px) ── */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important; /* prevents iOS auto-zoom on focus */
  }
}

/* ── Smooth scrolling on iOS ── */
html {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
body {
  -webkit-text-size-adjust: 100%; /* prevent font size inflation on rotate */
  text-size-adjust: 100%;
}

/* ── Fix nav-menu close button area on mobile ── */
@media (max-width: 768px) {
  .nav-menu::before {
    content: '';
    display: block;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ── Images — prevent overflow ── */
img { max-width: 100%; height: auto; }


/* ============================================================
   MOBILE AUDIT FIXES  — text, buttons, images, layout
   ============================================================ */

/* ── 1. Viewport meta safety: ensure no element forces horizontal scroll ── */
html, body { max-width: 100%; }

/* ── 2. Hero section: prevent content from touching screen edges ── */
@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  /* Hero description line-height breathes on small screens */
  .hero-description { line-height: 1.65; }
}

/* ── 3. Buttons: minimum tap size + no text overflow ── */
@media (max-width: 768px) {
  .btn {
    min-height: 44px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  /* Stacked CTA buttons don't exceed viewport */
  .hero-actions .btn,
  .cta-actions .btn {
    white-space: normal;   /* allow text to wrap inside the button */
    word-break: break-word;
  }
}

/* ── 4. Section headings: prevent heading overflow on very small screens ── */
@media (max-width: 360px) {
  h1, h2, h3 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .section-title { font-size: clamp(1.2rem, 7vw, 1.6rem); }
}

/* ── 5. Images: always scale down, never overflow ── */
img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
  display: block; /* prevents inline baseline gap */
}
/* Exception: inline icons should stay inline */
.fa, .fab, .fas, .far, i[class*="fa"] {
  display: inline;
  height: auto;
  max-width: none;
}

/* ── 6. Contact grid: fix hardcoded inline `grid-template-columns: 1fr 1fr`
        The CSS media query overrides already exist but inline style wins due
        to specificity. Adding !important here to override the inline style.  ── */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* ── 7. Packages page grid: minmax(300px) collapses on <320px screens
        Inline style on #packagesGrid is overridden here.               ── */
@media (max-width: 340px) {
  #packagesGrid {
    grid-template-columns: 1fr !important;
  }
}

/* ── 8. Checkout: card expiry + CVV grid collapses on tiny screens ── */
@media (max-width: 360px) {
  .card-fields-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

/* ── 9. Dashboard stats strip: prevent numbers from getting too small ── */
@media (max-width: 480px) {
  .dash-stats-inner > div {
    padding: 10px 8px !important;
  }
  .dash-stats-inner [style*="font-size:1.5rem"] {
    font-size: 1.1rem !important;
  }
}

/* ── 10. Track order / dashboard order-detail info grid ── */
@media (max-width: 480px) {
  .track-info-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* ── 11. Platform cards float: don't overlap on small screens ── */
@media (max-width: 360px) {
  .platform-cards-float {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .platform-card-float { padding: 14px 10px; }
}

/* ── 12. Package comparison table: horizontal scroll on mobile ── */
@media (max-width: 768px) {
  .pkg-compare-wrap,
  [style*="border-collapse:collapse"] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    max-width: 100%;
  }
}

/* ── 13. Footer brand column: text shouldn't overflow ── */
@media (max-width: 480px) {
  .footer-brand { word-break: break-word; }
  .footer-brand p { font-size: 0.82rem; }
}

/* ── 14. Section badge: prevent text wrapping awkwardly on narrow screens ── */
@media (max-width: 360px) {
  .section-badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    letter-spacing: 0.5px;
  }
}

/* ── 15. Testimonial role line: icons + text don't overflow ── */
.testimonial-role {
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* ── 16. FAQ answer text: prevent overflow on tiny screens ── */
.faq-answer-inner {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ── 17. Platform chip labels: readable on small screens ── */
@media (max-width: 480px) {
  .plat-chip {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}

/* ── 18. Dashboard: order detail modal grid responsive ── */
@media (max-width: 480px) {
  .modal [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── 19. Auth pages: form labels and inputs fit narrow screens ── */
@media (max-width: 360px) {
  .form-label { font-size: 0.82rem; }
  .auth-card h2, .login-card h2, .register-card h2 {
    font-size: 1.2rem;
  }
}

/* ── 20. Prevent price amount text from overflowing package cards ── */
@media (max-width: 360px) {
  .price-amount { font-size: 2rem; }
  .package-quantity { font-size: 1.8rem; }
}


/* ============================================================
   UNIFIED HAMBURGER NAVBAR  — always-on, all screen sizes
   ============================================================ */

/* ── 1. Navbar bar: logo left, hamburger right — same on all screens ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.3s ease;
}
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,10,30,0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  z-index: -1;
  transition: background 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.45); }
.navbar.scrolled::before { background: rgba(15,10,30,0.99); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
}

@supports (padding: env(safe-area-inset-left)) {
  .nav-container {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
}

/* ── 2. Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 1001;
}
.nav-logo .logo-icon {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}
.nav-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 360px) {
  .nav-logo span { display: none; }
}

/* ── 3. Hamburger button — always visible ── */
.nav-hamburger {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  flex-shrink: 0;
  z-index: 1001;
  width: 44px;
  height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.2s, border-color 0.2s;
}
.nav-hamburger:hover {
  background: rgba(124,58,237,0.18);
  border-color: rgba(124,58,237,0.4);
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 4. Nav drawer — off-canvas, always position:fixed ── */
.nav-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 88vw);
  height: 100%;
  min-height: 100dvh;
  background: #110b28;
  border-left: 1px solid rgba(124,58,237,0.22);
  box-shadow: -12px 0 60px rgba(0,0,0,0.65);
  z-index: 1500;
  display: flex !important;   /* override any media-query hiding */
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  /* Start off-screen via transform (NOT right:-100% — avoids overflow-x clip bug) */
  transform: translateX(110%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1),
              visibility 0.32s;
}
.nav-menu.open {
  transform: translateX(0);
  visibility: visible;
}

/* ── 5. Drawer header row ── */
.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
  padding-top: max(16px, env(safe-area-inset-top, 16px));
}
.nav-drawer-logo {
  font-size: 1rem;
  gap: 8px;
}
.nav-drawer-logo .logo-icon {
  height: 30px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  border-radius: 8px;
}
.nav-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.nav-drawer-close:hover {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.4);
  color: #f87171;
}

/* ── 6. Drawer sections ── */
.nav-drawer-section {
  padding: 12px 14px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.nav-drawer-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 6px 8px;
}

/* ── 7. Drawer nav links ── */
.nav-menu .nav-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
  gap: 0;
  min-height: 44px;
}
.nav-menu .nav-link:hover,
.nav-menu .nav-link:focus {
  background: rgba(124,58,237,0.14);
  color: var(--text-primary);
}
.nav-menu .nav-link.active {
  background: rgba(124,58,237,0.2);
  color: var(--primary-light);
  font-weight: 600;
}
.nav-link-icon {
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-right: 10px;
  color: var(--text-muted);
}
.nav-menu .nav-link.active .nav-link-icon,
.nav-menu .nav-link:hover .nav-link-icon {
  color: var(--primary-light);
}

/* Platform links get coloured icon inline */
.nav-plat-link .fab,
.nav-plat-link .fa {
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  font-size: 1rem;
  margin-right: 10px;
}

/* ── 8. Auth slot inside drawer ── */
.nav-auth-slot {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-auth-account-link {
  gap: 10px !important;
}
.nav-account-avatar-sm {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  color: #fff;
}
.nav-auth-name {
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-logout-btn {
  color: #f87171 !important;
}
.nav-logout-btn:hover {
  background: rgba(239,68,68,0.12) !important;
  color: #fca5a5 !important;
}
.nav-register-btn {
  margin: 6px 0 4px;
  justify-content: center;
  border-radius: 10px !important;
  padding: 11px 16px !important;
  font-size: 0.88rem !important;
  min-height: 44px;
}

/* Notification badge inside drawer link */
.nav-notif-badge {
  margin-left: auto;
  background: #ef4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ── 9. Currency wrap inside drawer ── */
.nav-currency-wrap {
  width: 100%;
  padding: 2px 0;
}
.nav-currency-wrap .sgp-currency-btn {
  width: 100%;
  justify-content: flex-start !important;
  padding: 11px 12px !important;
  border-radius: 10px !important;
  font-size: 0.9rem !important;
  min-height: 44px;
  gap: 10px;
}
/* Icon consistent with other nav links */
.nav-currency-wrap .sgp-currency-btn::before {
  content: '\f0ac'; /* fa-globe */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  width: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── 10. Drawer footer (legal links) ── */
.nav-drawer-footer {
  margin-top: auto;
  padding: 16px 20px;
  padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
  flex-shrink: 0;
}
.nav-drawer-footer-link {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s;
}
.nav-drawer-footer-link:hover { color: var(--text-secondary); }
.nav-drawer-footer-sep {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.15);
  padding: 0 2px;
}

/* ── 11. Overlay backdrop ── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1499;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.nav-overlay.show {
  display: block;
  opacity: 1;
}

/* ── 12. Desktop: slightly wider drawer, larger font ── */
@media (min-width: 769px) {
  /* nav-menu width handled in the LAPTOP/DESKTOP HEADER section below */
  .nav-menu .nav-link { font-size: 0.95rem; }
  .nav-container { height: 68px; }
}
@media (min-width: 1024px) {
  .nav-menu { width: 340px; }
}

/* ── 13. Remove old desktop .nav-menu display:flex overrides ── */
/* (the old CSS had display:flex for desktop nav-menu as a row — no longer needed) */

/* ── Page top padding: account for fixed 62px (desktop 68px) navbar ── */
.hero          { padding-top: 62px; }
.page-hero,
.pkg-hero,
.checkout-hero,
.auth-wrapper,
.dash-hero,
.track-wrap,
.legal-wrap    { padding-top: 62px; }

@media (min-width: 769px) {
  .hero          { padding-top: 68px; }
  .page-hero,
  .pkg-hero,
  .checkout-hero,
  .auth-wrapper,
  .dash-hero,
  .track-wrap,
  .legal-wrap    { padding-top: 68px; }
}


/* ============================================================
   LAPTOP / DESKTOP HEADER & LAYOUT FIXES
   Navbar height: 68px (769px+)  |  62px (mobile)
   ============================================================ */

/* ── 1. Global navbar-height CSS variable for easy reuse ── */
:root {
  --navbar-h: 62px;
}
@media (min-width: 769px) {
  :root { --navbar-h: 68px; }
}

/* ── 2. All page wrappers — canonical padding-top via variable ── */

/* Hero (index.html) */
.hero {
  padding-top: var(--navbar-h);
  min-height: 100vh;
}

/* Checkout */
.checkout-wrap {
  padding-top: calc(var(--navbar-h) + 32px);
}

/* Auth pages (login / register / forgot-password) */
.auth-wrap {
  padding-top: calc(var(--navbar-h) + 32px);
}

/* Customer dashboard */
.dash-wrap {
  padding-top: var(--navbar-h);
}
/* The dash-header sits right below the navbar */
.dash-header {
  padding-top: 28px;
}

/* Order success */
.success-page {
  padding-top: var(--navbar-h);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
}

/* ── 3. Laptop-specific navbar bar height & spacing ── */
@media (min-width: 769px) {
  .nav-container {
    height: 68px;
    padding: 0 40px;
  }
  .nav-logo {
    font-size: 1.25rem;
    gap: 12px;
  }
  .nav-logo .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }
  /* Bigger hamburger hit area on laptop (still a button, not a row) */
  .nav-hamburger {
    width: 46px;
    height: 46px;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 0 48px;
  }
  /* Slightly larger logo on full desktop */
  .nav-logo {
    font-size: 1.3rem;
  }
}

/* ── 4. Drawer sizing on laptop / desktop ── */
@media (min-width: 769px) {
  .nav-menu {
    width: 340px;
    top: 0;
    /* Drawer starts right below navbar visually but covers full height */
  }
  .nav-drawer-header {
    padding: 20px 24px;
    padding-top: max(20px, env(safe-area-inset-top, 20px));
  }
  .nav-drawer-section {
    padding: 14px 18px 8px;
  }
  .nav-drawer-label {
    font-size: 0.68rem;
    padding: 4px 6px 10px;
  }
  .nav-menu .nav-link {
    padding: 11px 14px;
    font-size: 0.93rem;
    border-radius: 10px;
  }
  .nav-drawer-footer {
    padding: 18px 24px;
  }
}

/* ── 5. Packages page hero inline-style override for laptop ── */
@media (min-width: 769px) {
  /* The packages hero has an inline padding-top that was set to 80px;
     we already patched it to 68px above. This rule is a safety net. */
  div[style*="padding-top:68px"][style*="gradient-hero"],
  div[style*="padding-top:80px"][style*="gradient-hero"] {
    padding-top: 68px !important;
  }
}

/* ── 6. Checkout grid on laptop: sidebar right ── */
@media (min-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr 380px !important;
    align-items: start;
  }
  .checkout-wrap {
    padding-top: calc(var(--navbar-h) + 32px);
    padding-bottom: 60px;
  }
}

/* ── 7. Hero content on laptop: proper two-column layout ── */
@media (min-width: 1025px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .hero-visual { display: flex; }
  .hero-left { text-align: left; }
  .hero-actions { justify-content: flex-start; }
  .hero-stats { justify-content: flex-start; }
  .hero-description { margin-left: 0; }
}

/* ── 8. Section spacing on laptop ── */
@media (min-width: 1024px) {
  .section { padding: 90px 0; }
  .section-header { margin-bottom: 64px; }
  .container { padding: 0 32px; }
}

/* ── 9. Packages grid on laptop ── */
@media (min-width: 1024px) {
  .packages-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px;
  }
}

/* ── 10. Features grid on laptop ── */
@media (min-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
  }
}

/* ── 11. Platform cards on laptop ── */
@media (min-width: 1024px) {
  .plat-feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .plat-mini-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* ── 12. Testimonials on laptop ── */
@media (min-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
  }
}

/* ── 13. How-it-works steps on laptop ── */
@media (min-width: 900px) {
  .how-steps {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px;
  }
}

/* ── 14. Footer on laptop ── */
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: 40px;
  }
  .footer-brand { grid-column: auto; }
}

/* ── 15. Admin sidebar on laptop (stays visible) ── */
@media (min-width: 900px) {
  .admin-sidebar {
    transform: translateX(0) !important;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
  }
  .admin-main { margin-left: 260px !important; width: calc(100% - 260px) !important; }
}



/* ── 16. Auth card max-width on laptop ── */
@media (min-width: 769px) {
  .auth-card,
  .login-card,
  .register-card {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }
}

/* ── 17. Track order page on laptop ── */
@media (min-width: 769px) {
  .track-result-card { max-width: 640px; margin: 0 auto; }
}

/* ── 18. Order success on laptop ── */
@media (min-width: 769px) {
  .success-card {
    max-width: 580px;
    margin: 0 auto;
    padding: 48px 40px;
  }
}

/* ── 19. Scrollbar refinement on laptop ── */
@media (min-width: 769px) {
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.35); border-radius: 4px; }
}

/* ── 20. Hover states only on pointer devices (not touch) ── */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .package-card:hover { transform: translateY(-8px); }
  .feature-card:hover { transform: translateY(-5px); }
  .testimonial-card:hover { transform: translateY(-5px); }
  .platform-card-float:hover { transform: translateY(-8px) !important; }
}


/* ============================================================
   LAPTOP / DESKTOP — FINAL FIXES  (appended last, highest priority)
   ============================================================ */

/* ── A. Reset old .nav-menu base flex styles (they conflict with fixed drawer) ── */
.nav-menu {
  /* Override legacy display:flex;flex:1;justify-content:flex-end from old desktop nav */
  flex: unset !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  gap: unset !important;
}

/* ── B. Navbar bar — crisp on all screen sizes ── */
@media (min-width: 769px) {
  .navbar {
    height: 68px;
  }
  .nav-container {
    height: 68px;
  }
}
@media (max-width: 768px) {
  .navbar {
    height: 62px;
  }
  .nav-container {
    height: 62px;
  }
}

/* ── C. Checkout mobile — must NOT remove navbar clearance ── */
@media (max-width: 768px) {
  .checkout-wrap {
    padding-top: calc(62px + 16px) !important;
    padding-bottom: 20px !important;
  }
}

/* ── D. Dashboard (auth.css override) ── */
.dash-wrap {
  padding-top: var(--navbar-h, 62px) !important;
}

/* ── E. Order-success page ── */
.success-page {
  padding-top: max(16px, calc(var(--navbar-h, 62px) + 16px)) !important;
}

/* ── F. Packages hero inline-style override (laptop) ── */
@media (min-width: 769px) {
  div[style*="padding-top:68px"] {
    padding-top: 68px !important;
  }
}

/* ── G. Track-order page inline-style (account for both mobile+laptop) ── */
@media (max-width: 768px) {
  div[style*="padding:68px 20px 60px"] {
    padding-top: 62px !important;
  }
}

/* ── H. Hamburger button — always on top of everything ── */
.nav-hamburger {
  z-index: 1502 !important;
  position: relative;
}

/* ── I. Hamburger icon — scale up slightly on large screens ── */
@media (min-width: 1280px) {
  .nav-hamburger {
    width: 48px !important;
    height: 48px !important;
  }
  .nav-container {
    padding: 0 56px !important;
  }
  .nav-logo {
    font-size: 1.35rem !important;
  }
  .nav-logo .logo-icon {
    width: 40px !important;
    height: 40px !important;
  }
}

/* ── J. Drawer on large monitors — don't go too wide ── */
@media (min-width: 1280px) {
  .nav-menu {
    width: 360px !important;
  }
}

/* ── K. Prevent auth pages content going under navbar on all sizes ── */
.auth-wrap {
  padding-top: calc(var(--navbar-h, 62px) + 32px) !important;
}

/* ── L. Terms / Privacy / Refund pages ── */
.legal-wrap {
  padding-top: calc(var(--navbar-h, 62px) + 32px) !important;
}

/* ═══════════════════════════════════════
   CARD PAYMENT CONFIRMATION MODAL
   ═══════════════════════════════════════ */
@keyframes cpFadeIn {
  from { opacity:0; transform:scale(0.96) translateY(10px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}
#cardPayModal > div {
  animation: cpFadeIn 0.3s ease;
}
@keyframes cpCheckDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes cpArcSpin {
  to { stroke-dashoffset: 0; }
}
#cardPayArc {
  transition: stroke-dashoffset 2s ease;
}
#checkPath {
  transition: stroke-dashoffset 0.5s ease 0.1s;
}

/* ═══════════════════════════════════════
   PAYMENT METHOD PANEL — Enhanced
   ═══════════════════════════════════════ */
.payment-method-label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  margin-bottom: 4px;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(255,255,255,0.02);
  user-select: none;
}
.payment-method-label:hover {
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.05);
}
.payment-method-option:checked + .payment-method-label {
  border-color: rgba(124,58,237,0.7) !important;
  background: rgba(124,58,237,0.10) !important;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.payment-details-panel {
  display: none;
  padding: 18px 16px;
  background: rgba(124,58,237,0.06);
  border-radius: 0 0 12px 12px;
  border: 1.5px solid rgba(124,58,237,0.25);
  border-top: none;
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 0.85rem;
  animation: fadeSlideIn 0.22s ease;
  overflow: hidden;
}
.payment-details-panel.active {
  display: block !important;
}
.payment-details-panel strong {
  color: var(--primary-light);
  display: block;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

/* Fix for card panel – bank tab buttons */
.bank-tab-btn {
  padding: 7px 18px;
  border-radius: 8px 8px 0 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  font-weight: 500;
  margin-bottom: -1px;
  transition: background 0.15s, color 0.15s;
}
.bank-tab-btn.active {
  background: rgba(124,58,237,0.3);
  color: #fff;
  font-weight: 700;
  border-color: rgba(255,255,255,0.2);
}

/* ═══════════════════════════════════════
   CUSTOMER DASHBOARD TABS
   ═══════════════════════════════════════ */
.dash-tabs {
  background: var(--card-bg);
  border-bottom: 1px solid var(--card-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dash-tabs::-webkit-scrollbar { display: none; }
.dash-tabs-inner {
  display: flex;
  min-width: max-content;
  padding: 0 16px;
  gap: 4px;
}
.dash-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  position: relative;
  margin-bottom: -1px;
}
.dash-tab:hover {
  color: var(--text-primary);
}
.dash-tab.active {
  color: var(--primary-light);
  border-bottom-color: var(--primary-light);
  font-weight: 600;
}
.dash-body {
  padding: 28px 0 60px;
}
@media (max-width: 480px) {
  .dash-tab {
    padding: 12px 12px;
    font-size: 0.82rem;
  }
}

/* ═══════════════════════════════════════
   CONTACT SECTION — single column layout
   ═══════════════════════════════════════ */
.contact-grid > div > .checkout-form-card {
  width: 100%;
}
/* Remove extra gap on single-column contact grid */
@media (max-width: 640px) {
  .contact-grid[style*="max-width:640px"] {
    padding: 0 4px;
  }
}

/* Footer: clean up after admin panel link removal */
.footer-col a:last-child {
  margin-top: 0 !important;
}

/* ═══════════════════════════════════════
   SUPPORT CHAT THREAD — bubble alignment
   ═══════════════════════════════════════ */
#chatBubbles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  min-height: 200px;
}
#chatBubbles > div {
  max-width: 80%;
  word-break: break-word;
}

/* Features grid: 2-column on medium tablets for better balance */
@media (min-width: 641px) and (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Consistent section padding */
.section {
  scroll-margin-top: var(--navbar-h, 62px);
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE OPTIMIZATION — Comprehensive responsive fixes
   All breakpoints: 768px (tablet), 480px (large phone), 375px (iPhone SE)
   ═══════════════════════════════════════════════════════════════ */

/* ── Global: ensure nothing causes horizontal scroll ── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
*, *::before, *::after {
  box-sizing: border-box;
  max-width: 100%;
}
img, video, iframe, embed, object {
  max-width: 100%;
}

/* ── Touch targets: minimum 44×44px for all interactive elements ── */
.btn,
.nav-link,
.platform-tab,
.plat-tab,
.faq-question,
.dash-tab,
.form-control,
select.form-control {
  min-height: 44px;
}
input.form-control {
  min-height: 48px;
  font-size: 16px; /* Prevents iOS zoom on focus */
}
select.form-control {
  font-size: 16px; /* Prevents iOS zoom */
}
textarea.form-control {
  font-size: 16px; /* Prevents iOS zoom */
}

/* ── Hero section mobile ── */
@media (max-width: 768px) {
  .hero-grid,
  .hero-content {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 28px !important;
  }
  .hero-visual { display: none !important; }
  .hero-headline {
    font-size: clamp(1.8rem, 9vw, 2.8rem) !important;
    line-height: 1.2 !important;
  }
  .hero-description {
    font-size: 0.95rem !important;
    max-width: 100% !important;
  }
  .hero-cta {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .hero-cta .btn {
    width: 100% !important;
    justify-content: center;
  }
  .hero-stats {
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap;
  }
  .hero-stat-value {
    font-size: 1.4rem !important;
  }
  .hero-stat-label {
    font-size: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(1.6rem, 10vw, 2.2rem) !important;
  }
  .hero-stats {
    gap: 14px !important;
  }
  .hero-stat-value { font-size: 1.2rem !important; }
}

/* ── Platform mini-cards in hero (floating cards) ── */
@media (max-width: 768px) {
  .platform-cards-float {
    display: none !important; /* Hidden on mobile — hero visual already hidden */
  }
  .plat-hero-content {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 18px 16px !important;
  }
  .plat-hero-stats {
    flex-wrap: wrap;
    gap: 8px !important;
  }
}

/* ── Section headers ── */
@media (max-width: 480px) {
  .section-header { margin-bottom: 32px !important; }
  .section-title  { font-size: clamp(1.4rem, 8vw, 2rem) !important; }
  .section-subtitle { font-size: 0.88rem !important; }
  .section-badge  { font-size: 0.75rem !important; padding: 6px 14px !important; }
}

/* ── Feature cards ── */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  .feature-card {
    padding: 20px 16px !important;
  }
  .feature-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.1rem !important;
    margin-bottom: 12px !important;
  }
  .feature-card h3 { font-size: 0.9rem !important; }
  .feature-card p  { font-size: 0.82rem !important; }
}
@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr !important;
  }
  .feature-card {
    padding: 18px 14px !important;
  }
}

/* ── How it works steps ── */
@media (max-width: 768px) {
  .how-steps {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .step-number {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.1rem !important;
    margin: 0 auto 14px !important;
  }
  .step-card {
    padding: 24px 20px !important;
    text-align: center;
  }
}

/* ── Platform tabs (packages.html) ── */
@media (max-width: 768px) {
  .platform-tabs {
    gap: 8px !important;
    margin-bottom: 30px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .platform-tabs::-webkit-scrollbar { display: none; }
  .platform-tab {
    padding: 10px 16px !important;
    font-size: 0.82rem !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
}

/* ── Package cards ── */
@media (max-width: 768px) {
  .packages-grid,
  #packagesGrid {
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)) !important;
    gap: 16px !important;
  }
  .package-card {
    padding: 24px 20px !important;
  }
  .package-price {
    font-size: 2rem !important;
  }
}
@media (max-width: 480px) {
  .packages-grid,
  #packagesGrid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Testimonials ── */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .testimonial-card {
    padding: 20px !important;
  }
}

/* ── FAQ ── */
@media (max-width: 768px) {
  .faq-list { gap: 8px !important; }
  .faq-question {
    padding: 16px 18px !important;
    font-size: 0.9rem !important;
  }
  .faq-answer { padding: 0 18px 16px !important; font-size: 0.88rem !important; }
}

/* ── Pricing / CTA section ── */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* ── Footer ── */
@media (max-width: 768px) {
  .footer { padding: 40px 0 24px !important; }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    margin-bottom: 28px !important;
  }
  .footer-brand { grid-column: auto !important; }
  .footer-brand p { max-width: 100% !important; font-size: 0.85rem !important; }
  .footer-col h4 { margin-bottom: 10px !important; }
  .footer-col a { padding: 5px 0 !important; }
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
    padding-top: 20px !important;
  }
  .footer-bottom-links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
  }
  .payment-badges {
    justify-content: flex-start !important;
    gap: 6px !important;
  }
}

/* ── Checkout page ── */
@media (max-width: 768px) {
  .checkout-wrap {
    padding-top: 78px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .order-summary-card { order: -1; }
  .checkout-form-card,
  .order-summary-card {
    padding: 20px 16px !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .checkout-section-title {
    font-size: 0.95rem !important;
    margin-bottom: 16px !important;
  }
  .payment-method-label {
    padding: 12px 14px !important;
  }
  .payment-method-icon { font-size: 1.2rem !important; }
  .payment-method-name { font-size: 0.85rem !important; }
}
@media (max-width: 480px) {
  .checkout-wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ── Auth pages (login / register / forgot-password) ── */
@media (max-width: 480px) {
  .auth-card,
  .auth-box,
  .login-card,
  .register-card {
    padding: 28px 20px !important;
    margin: 0 12px !important;
  }
  .auth-logo { margin-bottom: 16px !important; }
}

/* ── Customer Dashboard ── */
@media (max-width: 768px) {
  .dash-header {
    padding: 20px 0 16px !important;
  }
  /* Stats strip: force 2 columns on mobile */
  .dash-stats-inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .dash-stats-inner > div {
    padding: 14px 10px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--card-border);
  }
  .dash-stats-inner > div:nth-child(odd) {
    border-right: 1px solid var(--card-border) !important;
  }
  .dash-body { padding: 20px 0 48px !important; }
}
@media (max-width: 480px) {
  .dash-stats-inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .dash-tab {
    padding: 12px 10px !important;
    font-size: 0.8rem !important;
  }
}

/* ── Dashboard email-preview tab (280px 1fr → single col on mobile) ── */
@media (max-width: 768px) {
  #tab_email-preview .email-preview-grid,
  div[style*="grid-template-columns:min(280px"] {
    grid-template-columns: 1fr !important;
  }
  #emailListPanel {
    max-height: 300px !important;
  }
}

/* ── Support chat thread on mobile ── */
@media (max-width: 768px) {
  #chatBubbles > div {
    max-width: 90% !important;
  }
  #chatInputBox {
    padding: 12px !important;
  }
}

/* ── Track order page ── */
@media (max-width: 480px) {
  div[style*="padding:68px 20px 60px"] {
    padding: 80px 14px 40px !important;
  }
  .order-progress {
    padding: 0 !important;
  }
}

/* ── Order success page ── */
@media (max-width: 768px) {
  .success-card {
    padding: 28px 20px !important;
    margin: 16px !important;
  }
  .success-icon {
    width: 72px !important;
    height: 72px !important;
    font-size: 2rem !important;
  }
  .success-steps {
    gap: 14px !important;
  }
}

/* ── Legal pages (terms/privacy/refund) ── */
@media (max-width: 768px) {
  div[style*="padding:68px 0 60px"] {
    padding-top: 84px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ── Admin search / select on mobile ── */
@media (max-width: 768px) {
  .admin-search {
    min-width: 0 !important;
    width: 100% !important;
  }
  .admin-select {
    min-width: 0 !important;
  }
}

/* ── Stat / metric numbers in dashboard header ── */
@media (max-width: 480px) {
  #statOrders, #statSpent, #statPending,
  #statCompleted, #statInProgress, #statUnread {
    font-size: 1.1rem !important;
  }
}

/* ── Packages hero text ── */
@media (max-width: 480px) {
  div[style*="padding-top:68px"] h1,
  div[style*="min-height:200px"] h1 {
    font-size: clamp(1.5rem, 9vw, 2.2rem) !important;
  }
  div[style*="min-height:200px"] p {
    max-width: 100% !important;
    font-size: 0.88rem !important;
  }
}

/* ── Tier filter buttons (packages.html) ── */
@media (max-width: 480px) {
  #tierFilter {
    gap: 6px !important;
  }
  #tierFilter button,
  #tierFilter .tier-btn {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }
}

/* ── Platform icons in packages grid ── */
@media (max-width: 480px) {
  .packages-sort-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
}

/* ── Prevent orphan text in headings on very small screens ── */
@media (max-width: 375px) {
  h1, h2, h3 {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .container {
    padding: 0 12px !important;
  }
  .section { padding: 48px 0 !important; }
}

/* ── Smooth scrolling for all anchor links ── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ── Improve readability on small screens ── */
@media (max-width: 480px) {
  body { font-size: 15px; }
  p, li { line-height: 1.7; }
}

/* ── Safe area insets for notched phones (iPhone X+) ── */
@supports (padding: max(0px)) {
  .navbar {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  footer.footer {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  .nav-menu {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
}

/* ── Checkout card payment modal mobile ── */
@media (max-width: 480px) {
  #cardPayModal > div {
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    min-height: 100dvh !important;
  }
}

/* ── Legal pages mobile padding ── */
@media (max-width: 768px) {
  .legal-wrap {
    padding: calc(var(--navbar-h, 62px) + 16px) 16px 48px !important;
  }
  .legal-wrap .container {
    padding: 0 !important;
  }
}

/* ── Email preview tab: stack on mobile ── */
@media (max-width: 768px) {
  .email-preview-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .email-preview-grid #emailListPanel {
    max-height: 260px !important;
  }
}

/* ── Track-order wrapper ── */
.track-wrap {
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .track-wrap {
    padding-left: 14px !important;
    padding-right: 14px !important;
    align-items: flex-start !important;
    padding-top: max(80px, calc(var(--navbar-h, 62px) + 18px)) !important;
  }
}


/* ================================================================
   WEBSITE SERVICES PAGE STYLES
   ================================================================ */

/* Hero */
.ws-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--navbar-h, 60px) + 60px) 0 80px;
  overflow: hidden;
}
.ws-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.ws-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.35);
  color: var(--primary-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.ws-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.ws-hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
}
.ws-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.ws-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.ws-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.ws-trust-item i { color: var(--success); }

/* Floating preview */
.ws-preview-float {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ws-preview-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  width: min(380px, 100%);
  box-shadow: 0 24px 80px rgba(124,58,237,0.25);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.ws-browser-bar {
  background: rgba(255,255,255,0.08);
  padding: 10px 16px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.ws-browser-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.ws-browser-bar span:first-child { background: #EF4444; }
.ws-browser-bar span:nth-child(2){ background: #F59E0B; }
.ws-browser-bar span:nth-child(3){ background: #10B981; }
.ws-preview-body { padding: 20px; }
.ws-preview-line {
  height: 10px; border-radius: 5px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 12px;
}
.ws-preview-line.long   { width: 80%; }
.ws-preview-line.medium { width: 60%; }
.ws-preview-line.short  { width: 40%; }
.ws-preview-line.accent { background: linear-gradient(90deg,#7C3AED,#EC4899); }
.ws-preview-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 16px 0; }
.ws-preview-block { height: 60px; border-radius: 8px; }
.ws-preview-block.purple { background: linear-gradient(135deg,#7C3AED,#EC4899); }
.ws-preview-block.cyan   { background: linear-gradient(135deg,#06B6D4,#7C3AED); }
.ws-preview-block.pink   { background: linear-gradient(135deg,#EC4899,#F59E0B); }
.ws-preview-btn {
  background: linear-gradient(135deg,#7C3AED,#EC4899);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 12px;
}
/* Stat badges on hero */
.ws-stat-badge {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ws-stat-1 { top: 10%;  right: -10px; color: #06B6D4; }
.ws-stat-2 { top: 50%;  right: -20px; color: #F59E0B; }
.ws-stat-3 { bottom: 10%; right: -5px; color: #10B981; }

/* Services grid */
/* What We Build – center badge above title */
#ws-services .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#ws-services .section-header .section-badge {
  margin-bottom: 16px;
  order: -1;
}

.ws-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 28px;
}
/* Service cards – match SMM package card look */
.ws-service-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.ws-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}
.ws-service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 24px 56px rgba(0,0,0,0.35), 0 0 40px rgba(124,58,237,0.15);
}
.ws-service-card:hover::before { opacity: 1; }
.ws-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
  width: fit-content;
}
.ws-service-badge.purple { background: rgba(124,58,237,0.15); color: var(--primary-light); }
.ws-service-badge.cyan { background: rgba(6,182,212,0.15); color: var(--accent); }
.ws-service-badge.green { background: rgba(16,185,129,0.15); color: var(--success); }
.ws-service-badge.orange { background: rgba(245,158,11,0.15); color: var(--warning); }
.ws-service-badge.pink { background: rgba(236,72,153,0.15); color: var(--secondary); }
.ws-service-badge.mix { background: rgba(124,58,237,0.12); color: var(--primary-light); }
.ws-service-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: inherit;
  flex-shrink: 0;
}
.ws-service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.ws-service-card > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
  flex: 1;
}
.ws-service-divider {
  height: 1px;
  background: var(--card-border);
  margin: 0 0 20px;
}
.ws-service-list { list-style: none; padding: 0; margin-bottom: 24px; }
.ws-service-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.ws-service-list li i { color: var(--success); font-size: 0.9rem; flex-shrink: 0; }
.ws-service-card .btn { margin-top: auto; }

/* Category tabs – match platform tabs from packages */
.ws-cat-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
  padding: 20px 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
}
.ws-cat-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}
.ws-cat-tab:hover {
  border-color: var(--primary);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.2);
}
.ws-cat-tab.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 24px rgba(124,58,237,0.45);
}

/* Tech grid – match package card style */
.ws-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  text-align: center;
}
.ws-tech-item {
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.ws-tech-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}
.ws-tech-item:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.ws-tech-item:hover::before { opacity: 1; }
.ws-tech-icon { font-size: 2rem; margin-bottom: 10px; }
.ws-tech-item span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* Bundle card */
.ws-bundle-card {
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(236,72,153,0.1));
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 24px;
  padding: 60px 40px;
  overflow: hidden;
}
.ws-bundle-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 50%, rgba(124,58,237,0.2), transparent 70%);
  pointer-events: none;
}
.ws-bundle-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ws-bundle-card h2 { margin-bottom: 16px; font-size: clamp(1.5rem,3vw,2.2rem); }
.ws-bundle-card > p { color: var(--text-secondary); max-width: 600px; margin: 0 auto 28px; }
.ws-bundle-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}
.ws-bundle-perk {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
}
.ws-bundle-perk i { color: var(--success); }
.ws-bundle-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Custom quote CTA below packages */
.ws-cta-wrap {
  text-align: center;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.ws-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ---- Google Maps contact section ---- */
.contact-with-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-map-embed {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--dark3);
}
.contact-map-embed iframe {
  width: 100%;
  height: 420px;
  display: block;
  filter: grayscale(20%) invert(90%) hue-rotate(180deg);
}
.contact-map-info {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 28px;
}
.contact-map-info h3 { margin-bottom: 20px; }
.contact-info-row {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 18px;
}
.contact-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg,#7C3AED,#EC4899);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
}
.contact-info-row h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-info-row p  { font-size: 0.92rem; color: var(--text-primary); }

/* Responsive – Website Services */
@media (max-width: 1024px) {
  .ws-hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .ws-hero .ws-hero-content { display: flex; flex-direction: column; align-items: center; }
  .ws-hero-desc { margin-left: auto; margin-right: auto; }
  .ws-preview-float { display: none; }
}
@media (max-width: 900px) {
  .contact-with-map { grid-template-columns: 1fr; }
  .contact-map-embed iframe { height: 280px; }
}
@media (max-width: 768px) {
  .ws-hero {
    min-height: auto;
    padding: calc(var(--navbar-h, 60px) + 40px) 20px 56px;
  }
  .ws-hero-title { font-size: clamp(1.75rem, 6vw, 2.5rem); margin-bottom: 16px; }
  .ws-hero-desc { font-size: 1rem; margin-bottom: 24px; }
  .ws-hero-badge { font-size: 0.8rem; padding: 6px 14px; margin-bottom: 18px; }
  .ws-hero-actions { flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .ws-hero-actions .btn { width: 100%; justify-content: center; }
  .ws-hero-trust { justify-content: center; gap: 10px 16px; }
  .ws-trust-item { font-size: 0.8rem; }
  .ws-bundle-card { padding: 36px 20px; }
  .ws-services-grid { gap: 20px; }
  .ws-service-card { padding: 22px 18px; }
  .ws-service-card h3 { font-size: 1.1rem; }
  .ws-service-card > p { font-size: 0.85rem; }
  .ws-cat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding: 14px 16px;
    margin-bottom: 28px;
    justify-content: flex-start;
  }
  .ws-cat-tabs::-webkit-scrollbar { display: none; }
  .ws-cat-tab { flex-shrink: 0; }
  #wsPackagesGrid { gap: 20px !important; }
}
@media (max-width: 480px) {
  .ws-hero { padding: calc(var(--navbar-h, 60px) + 32px) 16px 48px; }
  .ws-hero-title { font-size: clamp(1.5rem, 5.5vw, 2rem); line-height: 1.2; }
  .ws-hero-desc { font-size: 0.95rem; }
  .ws-hero-trust { flex-direction: column; align-items: center; gap: 8px; }
  .ws-cat-tab { padding: 10px 16px; font-size: 0.82rem; }
  .ws-cat-tabs { padding: 12px; margin-bottom: 24px; }
  .ws-services-grid { grid-template-columns: 1fr; gap: 18px; }
  .ws-service-card { padding: 20px 16px; border-radius: 16px; }
  .ws-service-badge { font-size: 0.75rem; padding: 5px 12px; }
  .ws-service-icon { width: 32px; height: 32px; font-size: 0.9rem; }
  .ws-tech-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ws-tech-item { padding: 18px 12px; }
  .ws-tech-icon { font-size: 1.5rem; margin-bottom: 8px; }
  .ws-tech-item span { font-size: 0.75rem; }
  .ws-bundle-card { padding: 28px 16px; border-radius: 18px; }
  .ws-bundle-card h2 { font-size: clamp(1.25rem, 4.5vw, 1.75rem); margin-bottom: 12px; }
  .ws-bundle-card > p { font-size: 0.9rem; margin-bottom: 20px; }
  .ws-bundle-perks { flex-direction: column; gap: 10px; margin-bottom: 24px; }
  .ws-bundle-perk { justify-content: center; padding: 10px 16px; font-size: 0.82rem; }
  .ws-bundle-actions { flex-direction: column; gap: 12px; }
  .ws-bundle-actions .btn { width: 100%; justify-content: center; }
  #ws-packages .section-header { margin-bottom: 24px; }
  .ws-cta-wrap { margin-top: 32px; gap: 12px; }
  .ws-cta-btns { flex-direction: column; }
  .ws-cta-btns .btn { width: 100%; justify-content: center; }
}
@media (max-width: 375px) {
  .ws-hero { padding: calc(var(--navbar-h, 60px) + 24px) 12px 40px; }
  .ws-hero-title { font-size: 1.4rem; }
  .ws-cat-tab { padding: 8px 14px; font-size: 0.78rem; }
  .ws-cat-tab i { display: none; }
  .ws-service-card { padding: 18px 14px; }
  .ws-bundle-perk { font-size: 0.8rem; }
}
@media (max-width: 360px) {
  .ws-hero-badge { font-size: 0.75rem; padding: 5px 12px; }
  .ws-hero-actions .btn { font-size: 0.9rem; padding: 12px 16px; }
  .ws-tech-grid { gap: 10px; }
  .ws-tech-item { padding: 14px 10px; }
  .ws-tech-icon { font-size: 1.3rem; }
  .ws-tech-item span { font-size: 0.7rem; }
}

/* ---- Platform Landing Guides (A–Z) ---- */
.plat-guide {
  padding: var(--section-padding) 0;
  background: var(--dark);
}
.plat-guide .container { max-width: 840px; }
.plat-guide-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}
.plat-guide-section {
  margin-bottom: 40px;
  padding: 28px 32px;
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
}
.plat-guide-section:last-of-type { margin-bottom: 0; }
.plat-guide-section h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plat-guide-section h3 i { opacity: 0.9; }
.plat-guide-section p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.plat-guide-section p:last-child { margin-bottom: 0; }
.plat-guide-section ul {
  list-style: disc;
  padding-left: 24px;
  margin: 12px 0;
}
.plat-guide-section li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}
.plat-guide-section .highlight { color: var(--text-primary); font-weight: 500; }

/* ---- Platform landing pages (instagram, facebook, youtube, tiktok, twitter) – shared base ---- */
.plat-landing-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: calc(var(--navbar-h, 62px) + 56px) 24px 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0f0a1e 0%, #1a0f2e 40%, #1e1238 100%);
}
.plat-landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(124,58,237,0.18) 0%, transparent 55%);
  pointer-events: none;
}
body.plat-ig .plat-landing-hero::before { background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(225,48,108,0.2) 0%, transparent 55%); }
body.plat-fb .plat-landing-hero::before { background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(24,119,242,0.18) 0%, transparent 55%); }
body.plat-yt .plat-landing-hero::before { background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,0,0,0.18) 0%, transparent 55%); }
body.plat-tt .plat-landing-hero::before { background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,242,234,0.15) 0%, transparent 55%); }
body.plat-tw .plat-landing-hero::before { background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(29,161,242,0.15) 0%, transparent 55%); }
.plat-landing-hero .container { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto; }
.plat-landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.plat-landing-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); font-weight: 800; margin-bottom: 18px; line-height: 1.15; }
.plat-landing-hero p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }
.plat-landing-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: 80px 0;
}
.plat-landing-benefit {
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  transition: var(--transition);
}
.plat-landing-benefit:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 20px 48px rgba(0,0,0,0.25);
}
body.plat-ig .plat-landing-benefit:hover { border-color: rgba(225,48,108,0.4); }
body.plat-fb .plat-landing-benefit:hover { border-color: rgba(24,119,242,0.5); }
body.plat-yt .plat-landing-benefit:hover { border-color: rgba(255,0,0,0.4); }
body.plat-tt .plat-landing-benefit:hover { border-color: rgba(0,242,234,0.5); }
body.plat-tw .plat-landing-benefit:hover { border-color: rgba(29,161,242,0.5); }
.plat-landing-benefit i { font-size: 2rem; margin-bottom: 16px; }
.plat-landing-benefit h3 { font-size: 1.1rem; margin-bottom: 8px; }
.plat-landing-benefit p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.plat-landing-cta { padding: 80px 24px; text-align: center; background: var(--dark2); }

/* ---- How It Works (home + packages) – centered 3 steps ---- */
.home-how {
  padding: 96px 0;
  background: var(--dark);
  position: relative;
}
.home-how-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.home-how h2,
.home-how .section-title { font-family: 'DM Sans', 'Inter', sans-serif; font-size: clamp(1.9rem, 4.5vw, 2.5rem); font-weight: 800; margin-bottom: 14px; text-align: center; }
.home-how-sub { color: var(--text-muted); font-size: 1.05rem; margin: 12px auto 48px; max-width: 520px; line-height: 1.6; text-align: center; }
.home-how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.home-how-step { text-align: center; padding: 0 20px; }
.home-how-connector { width: 40px; margin-top: 40px; color: rgba(124,58,237,0.4); font-size: 1.2rem; }
.home-how-num {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; margin: 0 auto 24px;
  box-shadow: 0 10px 36px rgba(124,58,237,0.45), 0 0 0 3px rgba(124,58,237,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-how-step:hover .home-how-num {
  transform: scale(1.08);
  box-shadow: 0 14px 44px rgba(124,58,237,0.5), 0 0 0 4px rgba(124,58,237,0.2);
}
.home-how-step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; text-align: center; }
.home-how-step p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; text-align: center; }
@media (max-width: 900px) {
  .home-how-steps { grid-template-columns: 1fr; gap: 32px; }
  .home-how-connector { margin-top: 0; transform: rotate(90deg); width: auto; height: 32px; }
}

/* ================================================================
   MOBILE RESPONSIVENESS — Comprehensive Fixes
   ============================================================ */

/* Container: ensure adequate but not excessive padding on all breakpoints */
@media (max-width: 768px) {
  .container { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 480px) {
  .container { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 360px) {
  .container { padding-left: 12px; padding-right: 12px; }
}

/* Navbar: logo text truncation on very small screens to prevent overflow */
@media (max-width: 400px) {
  .nav-logo span {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nav-container {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }
}
@media (max-width: 360px) {
  .nav-logo span {
    max-width: 100px;
    font-size: 0.9rem;
  }
  .nav-container {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
}

/* Home hero: full-width buttons and better spacing on mobile */
@media (max-width: 600px) {
  .home-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .home-hero-actions .btn {
    width: 100%;
    justify-content: center;
    max-width: none;
  }
  .home-service-card {
    padding: 28px 20px;
  }
  .home-platforms-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding-bottom: 8px;
    margin: 0 -4px;
  }
  .home-platforms-row::-webkit-scrollbar { display: none; }
  .home-platform-link { flex-shrink: 0; }
}

/* Footer newsletter: allow form to shrink on narrow screens */
@media (max-width: 480px) {
  #newsletterForm {
    flex-direction: column;
  }
  #newsletterForm input[type="email"] {
    min-width: 0 !important;
    width: 100% !important;
  }
  #newsletterForm .btn { width: 100%; }
}

/* Home services section: reduce padding on mobile */
@media (max-width: 600px) {
  .home-services-inner .home-services-grid {
    gap: 16px;
    margin-bottom: 32px;
  }
}

/* FAQ: reduce padding on mobile for better fit */
@media (max-width: 480px) {
  .faq-question {
    padding: 16px 18px;
    font-size: 0.9rem;
  }
  .faq-answer-inner {
    padding: 0 18px 16px;
    font-size: 0.88rem;
  }
}

/* Checkout & form cards: ensure no overflow */
@media (max-width: 480px) {
  .checkout-form-card,
  .order-summary-card,
  .checkout-form-card form,
  .checkout-form-card .form-control {
    max-width: 100%;
  }
}

/* Ensure no horizontal overflow (body overflow already set in base styles) */
body { min-width: 0; }

/* Touch targets: ensure buttons and links are tappable */
@media (max-width: 768px) {
  .nav-menu .nav-link,
  .nav-drawer-close,
  .faq-question {
    min-height: 44px;
  }
  .home-platform-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Package cards: prevent internal overflow on small screens */
@media (max-width: 480px) {
  .package-card {
    padding: 24px 18px;
  }
  .package-quantity {
    font-size: 1.8rem;
  }
}

/* CTA section: full-width button on mobile */
@media (max-width: 600px) {
  .home-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================================
   ALL PAGES — Page-Specific Mobile Fixes
   ============================================================ */

/* Platform landing pages (instagram, facebook, youtube, tiktok, twitter) */
@media (max-width: 768px) {
  .plat-landing-hero {
    padding: calc(var(--navbar-h, 62px) + 36px) 16px 48px;
    min-height: auto;
  }
  .plat-landing-benefits {
    padding: 48px 0;
    gap: 16px;
  }
  .plat-landing-benefit {
    padding: 24px 18px;
  }
  .plat-landing-cta {
    padding: 48px 16px;
  }
}
@media (max-width: 480px) {
  .plat-landing-hero {
    padding: calc(var(--navbar-h, 62px) + 24px) 14px 40px;
  }
  .plat-landing-hero h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .plat-landing-hero p { font-size: 0.95rem; }
  .plat-landing-benefits {
    grid-template-columns: 1fr;
    padding: 36px 0;
  }
}

/* Blog page */
@media (max-width: 768px) {
  .blog-hero {
    padding: calc(var(--navbar-h, 62px) + 32px) 16px 48px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0 60px;
  }
}
@media (max-width: 480px) {
  .blog-hero {
    padding: calc(var(--navbar-h, 62px) + 24px) 14px 36px;
  }
  .blog-hero h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .blog-card-header { height: 140px; }
}

/* Track order page */
@media (max-width: 768px) {
  .track-wrap {
    padding-left: max(16px, env(safe-area-inset-left)) !important;
    padding-right: max(16px, env(safe-area-inset-right)) !important;
    padding-top: max(80px, calc(var(--navbar-h, 62px) + 24px)) !important;
    padding-bottom: 32px !important;
  }
}
@media (max-width: 480px) {
  .track-wrap {
    padding-left: max(14px, env(safe-area-inset-left)) !important;
    padding-right: max(14px, env(safe-area-inset-right)) !important;
    padding-bottom: 24px !important;
  }
}

/* Order success page */
@media (max-width: 768px) {
  .success-page {
    padding: max(24px, calc(var(--navbar-h, 62px) + 12px)) 16px 32px;
  }
  .success-hero { padding: 28px 24px; }
  .success-body { padding: 20px 24px; }
}
@media (max-width: 480px) {
  .success-page { padding-left: 14px; padding-right: 14px; }
  .success-hero { padding: 24px 18px; }
  .success-hero h1 { font-size: 1.4rem; }
  .success-body { padding: 18px 16px; }
  .order-id-box { padding: 12px 16px; flex-direction: column; align-items: flex-start; }
}

/* Legal pages (terms, privacy, refund) */
@media (max-width: 768px) {
  .legal-wrap {
    padding: calc(var(--navbar-h, 62px) + 20px) 16px 40px !important;
  }
  .legal-wrap .legal-content,
  .legal-wrap .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (max-width: 480px) {
  .legal-wrap {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* Auth pages (login, register, forgot-password) */
@media (max-width: 480px) {
  .auth-wrap {
    padding: calc(var(--navbar-h, 62px) + 24px) 14px 32px;
  }
  .auth-card {
    padding: 28px 20px;
    margin: 0;
  }
}

/* Customer dashboard */
@media (max-width: 768px) {
  .dash-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .dash-header-inner > div:last-child {
    width: 100%;
  }
  .dash-header-inner .btn {
    flex: 1;
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .dash-header-inner .btn { font-size: 0.82rem; padding: 10px 14px; }
}

/* Admin login page (.login-wrap) */
@media (max-width: 480px) {
  .login-wrap {
    padding: 16px 14px;
  }
}

/* Admin pages (uses ../css/style.css) */
@media (max-width: 768px) {
  .admin-main {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-topbar {
    padding: 0 16px;
  }
}
@media (max-width: 480px) {
  .admin-topbar {
    padding: 0 12px;
  }
}

/* Website services page */
@media (max-width: 768px) {
  .ws-hero .ws-hero-title { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .ws-bundle-card { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .ws-hero .ws-hero-desc { font-size: 0.95rem; }
  .ws-cat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .ws-cat-tabs::-webkit-scrollbar { display: none; }
  .ws-cat-tab { flex-shrink: 0; }
}
