/* ============================================================
   SKYLINE TOUCH POS — Master Stylesheet
   skylinepointofsale.com
   ============================================================ */

/* ── 1. CSS Custom Properties ── */
:root {
  --navy:       #080b1a;
  --navy-2:     #0f1333;
  --navy-3:     #1a1040;
  --indigo:     #6366f1;
  --indigo-d:   #4f46e5;
  --purple:     #8b5cf6;
  --purple-l:   #a78bfa;
  --amber:      #f59e0b;
  --amber-d:    #d97706;
  --green:      #10b981;
  --green-l:    #d1fae5;
  --red:        #ef4444;
  --pink:       #ec4899;
  --sky:        #0ea5e9;

  --text:       #eef2ff;
  --text-2:     #a8b5c8;
  --text-3:     rgba(168,181,200,.60);
  --text-4:     rgba(168,181,200,.35);
  --border:     rgba(255,255,255,.09);
  --border-2:   rgba(255,255,255,.05);
  --bg:         #080b1f;
  --bg-2:       #0c1030;
  --bg-3:       #111640;

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full:9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 64px rgba(0,0,0,.12);
  --shadow-xl:  0 24px 80px rgba(0,0,0,.16);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 72px;
}

/* ── 2. Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font); }
::selection { background: rgba(99,102,241,.2); color: var(--indigo-d); }

/* ── 3. Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(36px, 5.5vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: clamp(22px, 3vw, 30px); }
h4 { font-size: clamp(18px, 2vw, 22px); }
p  { font-size: 16px; color: var(--text-2); line-height: 1.75; }

.text-sm  { font-size: 14px; }
.text-lg  { font-size: 18px; }
.text-xl  { font-size: 20px; }
.text-center { text-align: center; }
.text-white  { color: #fff; }
.text-muted  { color: var(--text-3); }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 4. Layout ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 24px; }
.container-lg { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 32px; }

.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 130px 0; }
.section-alt { background: var(--bg-2); }
.section-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.72); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.grid-auto-sm { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-48 { margin-top: 48px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── 5. Section Labels & Headers ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--purple));
  border-radius: 2px;
}
.section-title { margin-bottom: 20px; }
.section-subtitle {
  font-size: 18px;
  color: var(--text-3);
  max-width: 640px;
  font-weight: 300;
  line-height: 1.8;
}
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-label { justify-content: center; }
.section-header.centered .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── 6. Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.navbar.transparent { background: transparent; }
.navbar.scrolled {
  background: rgba(8, 11, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.navbar.light.scrolled {
  background: rgba(8, 11, 26, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,.3);
}
/* Light navbar over dark hero — keep text white until page is scrolled */
.navbar.light:not(.scrolled) .nav-logo { color: #fff; }
.navbar.light:not(.scrolled) .nav-links a { color: rgba(255,255,255,.8); }
.navbar.light:not(.scrolled) .nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.navbar.light:not(.scrolled) .nav-links a.active { color: #fff; background: rgba(99,102,241,.2); }
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.navbar.light .nav-logo { color: var(--text); }
.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo .logo-accent { color: var(--amber); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.navbar.light .nav-links a { color: var(--text-2); }
.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.navbar.light .nav-links a:hover {
  color: var(--indigo);
  background: rgba(99,102,241,.06);
}
.nav-links a.active { color: #fff; background: rgba(99,102,241,.18); }
.navbar.light .nav-links a.active { color: var(--indigo); background: rgba(99,102,241,.1); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.1);
  transition: background var(--transition);
}
.navbar.light .nav-toggle { color: var(--text); background: var(--bg-3); border-color: var(--border); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 7. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), opacity var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--amber), #e5870a);
  color: #fff;
  box-shadow: 0 4px 20px rgba(245,158,11,.35);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(245,158,11,.5); }

.btn-indigo {
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,.35);
}
.btn-indigo:hover { box-shadow: 0 8px 32px rgba(99,102,241,.5); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.3);
  backdrop-filter: blur(10px);
}
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }

.btn-outline-dark {
  background: transparent;
  color: var(--indigo);
  border: 2px solid var(--indigo);
}
.btn-outline-dark:hover { background: var(--indigo); color: #fff; }

.btn-ghost {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.12);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); }

.btn-lg { padding: 17px 40px; font-size: 17px; }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }

/* ── 8. Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1a0a40 50%, #0d1b3e 100%);
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.hero-orb-1 { width: 600px; height: 600px; background: rgba(99,102,241,.18); top: -200px; right: -100px; animation-delay: 0s; }
.hero-orb-2 { width: 400px; height: 400px; background: rgba(139,92,246,.14); bottom: -100px; left: -50px; animation-delay: -4s; }
.hero-orb-3 { width: 300px; height: 300px; background: rgba(14,165,233,.10); top: 30%; left: 30%; animation-delay: -8s; }
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.08); }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.hero-badge .badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,.25); }
  50%       { box-shadow: 0 0 0 6px rgba(16,185,129,.1); }
}
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero p { font-size: 19px; color: rgba(255,255,255,.7); max-width: 600px; margin-bottom: 40px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-social-proof .sp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
}
.hero-social-proof .sp-item svg { color: var(--green); }

/* Hero visual (CSS mock UI) */
.hero-visual {
  position: relative;
  z-index: 2;
}
.pos-mockup-img {
  display: block;
  width: 100%;
  max-width: 580px;
  height: auto;
  margin-left: auto;
  background: transparent;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.50)) drop-shadow(0 0 40px rgba(99,102,241,0.15));
}
.mock-pos {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 20px;
  backdrop-filter: blur(20px);
  max-width: 480px;
  margin-left: auto;
}
.mock-pos-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot-red { background: #ff5f57; }
.mock-dot-yellow { background: #febc2e; }
.mock-dot-green { background: #28c840; }
.mock-screen {
  background: linear-gradient(135deg, rgba(15,12,41,.9), rgba(30,20,60,.9));
  border-radius: var(--radius-lg);
  padding: 20px;
  min-height: 280px;
}
.mock-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mock-topbar span { color: rgba(255,255,255,.7); font-size: 13px; font-weight: 600; }
.mock-badge {
  background: rgba(16,185,129,.2);
  color: var(--green);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
}
.mock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.mock-item {
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition);
}
.mock-item:hover { background: rgba(99,102,241,.3); }
.mock-item span { display: block; font-size: 18px; margin-bottom: 4px; }
.mock-item small { color: rgba(255,255,255,.6); font-size: 10px; }
.mock-cart {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.mock-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 12px;
  color: rgba(255,255,255,.75);
}
.mock-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
}
.mock-pay-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--amber), #e5870a);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 12px;
  cursor: pointer;
}


/* ── 9. Stats Bar ── */
.stats-bar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.06), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #60a5fa, var(--purple-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,.55); font-weight: 500; letter-spacing: .5px; }

/* ── 10. Cards ── */
.card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.4); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.icon-indigo { background: rgba(99,102,241,.18); border: 1px solid rgba(99,102,241,.25); }
.icon-purple { background: rgba(139,92,246,.18); border: 1px solid rgba(139,92,246,.25); }
.icon-amber  { background: rgba(245,158,11,.18); border: 1px solid rgba(245,158,11,.25); }
.icon-green  { background: rgba(16,185,129,.18); border: 1px solid rgba(16,185,129,.25); }
.icon-blue   { background: rgba(59,130,246,.18); border: 1px solid rgba(59,130,246,.25); }
.icon-rose   { background: rgba(236,72,153,.18); border: 1px solid rgba(236,72,153,.25); }

.card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: #eef2ff; }
.card p  { font-size: 14.5px; color: var(--text-3); line-height: 1.7; }

/* ── Pain Cards (Problem section) ── */
.pain-card {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 32px 28px 30px;
  overflow: hidden;
  transition: transform var(--transition), border-color 0.25s ease, box-shadow 0.25s ease;
}
.pain-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 48px rgba(0,0,0,.35), 0 0 32px rgba(0,0,0,.2);
}
.pain-card-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.pain-num {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.10);
  font-family: var(--font-mono, monospace);
}
.pain-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-bd);
  flex-shrink: 0;
  color: var(--accent);
}
.pain-icon svg { width: 22px; height: 22px; }
.pain-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}
.pain-card p {
  font-size: 14px;
  color: rgba(255,255,255,.50);
  line-height: 1.75;
  margin: 0;
}

/* Feature card with top accent */
.feature-card { position: relative; overflow: hidden; }
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.feature-card:hover::after { transform: scaleX(1); }

/* Feature card icon / title / description */
.fc-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.fc-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-1); }
.fc-desc  { font-size: 14.5px; color: var(--text-3); line-height: 1.7; margin: 0; }

/* Mode cards */
.mode-card {
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mode-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mode-card.retail {
  background: linear-gradient(180deg, rgba(59,130,246,.10) 0%, rgba(255,255,255,.03) 100%);
  border: 1px solid rgba(59,130,246,.22);
}
.mode-card.restaurant {
  background: linear-gradient(180deg, rgba(168,85,247,.10) 0%, rgba(255,255,255,.03) 100%);
  border: 1px solid rgba(168,85,247,.22);
}
.mode-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.mode-card.retail::before  { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.mode-card.restaurant::before { background: linear-gradient(90deg, #a855f7, #c084fc); }
.mode-card .mode-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin-bottom: 24px;
}
.mode-card.retail .mode-icon { background: rgba(59,130,246,.16); border: 1px solid rgba(59,130,246,.28); }
.mode-card.restaurant .mode-icon { background: rgba(168,85,247,.16); border: 1px solid rgba(168,85,247,.28); }
.mode-card h3 { font-size: 26px; margin-bottom: 14px; color: #eef2ff; }
.mode-card p  { font-size: 15px; color: var(--text-3); line-height: 1.75; }
.mode-card .mode-features { margin-top: 24px; }
.mode-card .mode-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mode-card .mode-feature:last-child { border-bottom: none; }
.mode-card .mode-feature svg { color: var(--indigo); flex-shrink: 0; }
.mode-card.restaurant .mode-feature svg { color: var(--purple); }
.mode-card .mode-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 700;
  font-size: 15px;
}
.mode-card.retail .mode-cta { color: #60a5fa; }
.mode-card.restaurant .mode-cta { color: #c084fc; }

/* ── 11. Pricing ── */
.pricing-toggle {
  display: inline-flex;
  background: var(--bg-3);
  border-radius: var(--radius-full);
  padding: 5px;
  gap: 4px;
  margin: 0 auto 56px;
}
.pricing-toggle button {
  padding: 11px 32px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-3);
  transition: all var(--transition);
}
.pricing-toggle button.active {
  background: rgba(99,102,241,.25);
  color: #eef2ff;
  box-shadow: 0 1px 6px rgba(0,0,0,.3);
}

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pricing-card {
  background: rgba(255,255,255,.04);
  border: 2px solid rgba(255,255,255,.09);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.5); }
.pricing-card.featured {
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(99,102,241,.15), 0 16px 48px rgba(0,0,0,.5);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(99,102,241,.4);
  animation: badgeShimmer 3s ease-in-out infinite;
}
@keyframes badgeShimmer {
  0%, 100% { box-shadow: 0 4px 12px rgba(99,102,241,.4); }
  50%       { box-shadow: 0 4px 20px rgba(99,102,241,.7); }
}
.pricing-name { font-size: 16px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.pricing-price .amount { font-size: 52px; font-weight: 900; color: var(--text); letter-spacing: -2px; }
.pricing-price .period { font-size: 16px; color: var(--text-3); font-weight: 500; }
.pricing-desc { font-size: 14.5px; color: var(--text-3); margin-bottom: 28px; line-height: 1.6; }
.pricing-divider { height: 1px; background: var(--border); margin-bottom: 28px; }
.pricing-features { margin-bottom: 32px; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--text-2);
}
.pricing-feature .pf-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-l);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}
.pricing-feature.unavailable { opacity: .4; }
.pricing-feature.unavailable .pf-check { background: var(--bg-3); color: var(--text-4); }
.pricing-cta { width: 100%; text-align: center; }

/* Annual toggle */
.annual-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 32px;
}
.annual-note .save-badge {
  display: inline-block;
  background: rgba(16,185,129,.12);
  color: var(--green);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  margin-left: 8px;
}

/* ── 12. Comparison Table ── */
.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14.5px;
  min-width: 700px;
}
.compare-table th {
  padding: 18px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  background: var(--bg-3);
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.compare-table th.skyline-col {
  background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(139,92,246,.08));
  color: var(--indigo);
}
.compare-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-2);
  color: var(--text-2);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td.skyline-col { background: rgba(99,102,241,.03); font-weight: 600; color: var(--text); }
.compare-table tr:hover td { background: var(--bg-2); }
.compare-table tr:hover td.skyline-col { background: rgba(99,102,241,.06); }
.check-yes { color: var(--green); font-weight: 700; }
.check-no  { color: var(--text-4); }
.check-partial { color: var(--amber); font-weight: 600; }

/* ── 13. FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
  background: none;
}
.faq-question:hover { color: var(--indigo); }
.faq-question.open { color: var(--indigo); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--text-2);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-question.open .faq-icon {
  transform: rotate(45deg);
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}
.faq-answer.open { max-height: 400px; }
.faq-answer-inner { padding-bottom: 22px; font-size: 15.5px; color: var(--text-3); line-height: 1.75; }

/* ── 14. Testimonials ── */
.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-width: 340px;
  max-width: 340px;
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: transform var(--transition), border-color var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,.35); }
.testimonial-stars { color: var(--amber); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.avatar-blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.avatar-purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.avatar-green { background: linear-gradient(135deg, #10b981, #34d399); }
.avatar-amber { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.avatar-rose { background: linear-gradient(135deg, #ec4899, #f472b6); }
.avatar-teal { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.avatar-indigo { background: linear-gradient(135deg, #6366f1, #818cf8); }
.avatar-orange { background: linear-gradient(135deg, #f97316, #fb923c); }
.avatar-sky { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.avatar-lime { background: linear-gradient(135deg, #65a30d, #a3e635); }
.avatar-fuchsia { background: linear-gradient(135deg, #c026d3, #e879f9); }
.avatar-red { background: linear-gradient(135deg, #dc2626, #f87171); }
.testimonial-name { font-weight: 700; font-size: 15px; color: var(--text); }
.testimonial-role { font-size: 13px; color: var(--text-3); }

/* Testimonials prev/next nav */
.testimonials-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonials-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-2);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.testimonials-btn:hover {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99,102,241,.35);
}
@media (max-width: 640px) {
  .testimonials-btn { display: none; }
}

/* ── 15. Trust Badges ── */
.trust-bar {
  background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
}
.trust-items { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; align-items: center; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
}
.trust-item svg { color: var(--green); }

/* ── 16. Blog ── */
/* ── Blog grid layout ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Blog filter buttons ── */
.blog-filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.blog-filter-btn:hover { border-color: var(--indigo); color: var(--indigo); }
.blog-filter-btn.active { background: var(--indigo); border-color: var(--indigo); color: #fff; }

/* ── Blog card ── */
.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* Thumb — the coloured banner at the top of each card */
.blog-thumb, .blog-card-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  flex-shrink: 0;
}

/* Card body */
.blog-content, .blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }

/* Meta row: category pill + date + read time */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.blog-meta time { color: var(--text-3); }
.blog-read { color: var(--text-4); }

/* Category pill */
.blog-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(99,102,241,.1);
  color: var(--indigo);
}
.cat-tobacco    { background: rgba(245,158,11,.15); color: #fbbf24; }
.cat-restaurant { background: rgba(139,92,246,.15);  color: #c084fc; }
.cat-retail     { background: rgba(16,185,129,.15);  color: #34d399; }
.cat-pos        { background: rgba(59,130,246,.15);  color: #60a5fa; }
.cat-management { background: rgba(236,72,153,.15);  color: #f472b6; }

/* Title */
.blog-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}
.blog-title a { color: var(--text-1); transition: color var(--transition); }
.blog-title a:hover { color: var(--indigo); }

/* Excerpt */
.blog-excerpt {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

/* Read more link */
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--indigo);
  transition: gap var(--transition);
  margin-top: auto;
}
.blog-read-more:hover { gap: 9px; }

/* Legacy aliases kept for any h4-based cards */
.blog-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card h4 a { color: var(--text-1); transition: color var(--transition); }
.blog-card h4 a:hover { color: var(--indigo); }
.blog-card p { font-size: 14px; color: var(--text-3); line-height: 1.65; margin-bottom: 16px; }

/* Thumb background presets */
.thumb-retail      { background: linear-gradient(135deg, #1e3a5f, #2d6a9f); }
.thumb-restaurant  { background: linear-gradient(135deg, #3b1f5e, #6d3b9c); }
.thumb-general     { background: linear-gradient(135deg, #1a2f1e, #2d5a36); }

/* Blog article page */
.article-hero { padding: 140px 0 80px; }
.article-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-2);
}
.article-content h2 { font-size: 28px; margin: 48px 0 16px; color: var(--text); }
.article-content h3 { font-size: 22px; margin: 36px 0 12px; color: var(--text); }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 16px 0 20px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content strong { color: var(--text); font-weight: 700; }
.article-content a { color: var(--indigo); text-decoration: underline; }
.article-cta-box {
  background: linear-gradient(135deg, rgba(99,102,241,.06), rgba(139,92,246,.06));
  border: 1px solid rgba(99,102,241,.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}

/* ── 17. Forms ── */
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  font-size: 15px;
  color: #eef2ff;
  background: rgba(255,255,255,.07);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.form-success {
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.30);
  border-radius: var(--radius);
  padding: 20px;
  color: #34d399;
  font-weight: 600;
  font-size: 15px;
  display: none;
}

/* Contact info cards */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.contact-card .cc-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-card h4 { font-size: 16px; margin-bottom: 5px; }
.contact-card p { font-size: 14px; color: var(--text-3); margin: 0; }

/* ── 18. Wave Dividers ── */
.wave-divider { display: block; line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ── 19. CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a0a40 50%, #0d1b3e 100%);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.15) 0%, transparent 70%);
  top: -300px; right: -200px;
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.08) 0%, transparent 70%);
  bottom: -200px; left: -100px;
  pointer-events: none;
}
.cta-section h2 { color: #fff; margin-bottom: 18px; position: relative; z-index: 1; }
.cta-section p  { font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 40px; position: relative; z-index: 1; }
.cta-section .cta-actions { position: relative; z-index: 1; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Pricing teaser in CTA */
.cta-price-note {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

/* ── 20. Footer ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand { }
.footer-brand .nav-logo { color: #fff; margin-bottom: 20px; }
.footer-brand p { font-size: 14.5px; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,.6);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.footer-col h5 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13.5px; color: rgba(255,255,255,.35); margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13.5px; color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ── 21. Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 540px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  z-index: 9999;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner h5 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.cookie-banner p { font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 18px; line-height: 1.6; }
.cookie-banner p a { color: rgba(255,255,255,.8); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { font-size: 13px; padding: 10px 22px; }
.cookie-manage { font-size: 13px; color: rgba(255,255,255,.45); border-bottom: 1px solid rgba(255,255,255,.2); background: none; padding: 0; border-radius: 0; }
.cookie-manage:hover { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.5); transform: none; }

/* ── 22. Popups ── */
/* Exit intent */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.exit-popup-overlay.show { opacity: 1; pointer-events: all; }
.exit-popup {
  background: #0e1338;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.exit-popup-overlay.show .exit-popup { transform: scale(1); }
.exit-popup-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--text-3);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.exit-popup-close:hover { background: var(--border); }
.exit-popup h3 { font-size: 26px; margin-bottom: 12px; }
.exit-popup p { font-size: 15px; color: var(--text-3); margin-bottom: 28px; }

/* Social proof notification */
.social-proof-toast {
  position: fixed;
  bottom: 32px;
  left: 24px;
  background: rgba(13,18,48,.96);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  backdrop-filter: blur(16px);
  z-index: 8888;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 320px;
  transform: translateX(-120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.social-proof-toast.show { transform: translateX(0); }
@media (max-width: 540px) {
  .social-proof-toast {
    left: 12px;
    right: auto;
    bottom: 20px;
    max-width: calc(100vw - 100px);
    padding: 10px 12px;
    gap: 10px;
  }
  .sp-toast-icon { width: 32px; height: 32px; font-size: 15px; }
  .sp-toast-text strong { font-size: 12px; }
  .sp-toast-text span { font-size: 11px; }
}

/* ── Custom Chat Button ── */
.custom-chat-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-d));
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 13px 20px 13px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(99,102,241,.45);
  transition: transform .2s ease, box-shadow .2s ease;
  letter-spacing: .01em;
  line-height: 1;
}
.custom-chat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99,102,241,.55);
}
.custom-chat-btn svg { flex-shrink: 0; width: 18px; height: 18px; }
.custom-chat-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: chatDotPulse 2.2s ease infinite;
}
@keyframes chatDotPulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(16,185,129,.3); }
  50%      { box-shadow: 0 0 0 5px rgba(16,185,129,.1); }
}
@media (max-width: 540px) {
  .custom-chat-btn {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    gap: 0;
  }
  .custom-chat-btn .chat-label,
  .custom-chat-dot { display: none; }
}
.sp-toast-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.sp-toast-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.sp-toast-text span { font-size: 12.5px; color: var(--text-3); }

/* Email capture */
.email-capture {
  background: rgba(99,102,241,.08);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 40px 0;
}
.email-capture-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.email-capture-text h4 { font-size: 20px; font-weight: 700; margin-bottom: 6px; color: #eef2ff; }
.email-capture-text p { font-size: 15px; color: var(--text-3); margin: 0; }
.email-capture-form { display: flex; gap: 10px; flex: 1; min-width: 300px; }
.email-capture-form input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-full);
  font-size: 15px;
  outline: none;
  background: rgba(255,255,255,.07);
  color: #eef2ff;
  transition: border-color var(--transition);
}
.email-capture-form input::placeholder { color: rgba(168,181,200,.55); }
.email-capture-form input:focus { border-color: var(--indigo); }

/* ── 23. Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  z-index: 888;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition), transform var(--transition);
  cursor: pointer;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px) scale(1.05); }

/* ── 24. Scroll Progress ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--purple), var(--amber));
  z-index: 9999;
  transition: width .1s linear;
}

/* ── 25. Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

/* ── 26. Admin ── */
.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--navy);
  padding: 32px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar .nav-logo { padding: 0 24px 32px; display: flex; }
.admin-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 24px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(99,102,241,.15);
  color: #fff;
  border-left: 3px solid var(--indigo);
}
.admin-main { padding: 40px; background: var(--bg-2); }
.admin-header { margin-bottom: 32px; }
.admin-header h1 { font-size: 28px; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.admin-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.admin-stat { font-size: 36px; font-weight: 900; color: var(--indigo); line-height: 1; margin-bottom: 6px; }
.admin-card label { font-size: 14px; font-weight: 600; color: var(--text); display: block; margin-bottom: 8px; }
.admin-card .form-input, .admin-card .form-textarea { margin-top: 4px; }
.post-preview {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 13.5px;
  color: var(--text-2);
  min-height: 80px;
  border: 1px solid var(--border);
  margin-top: 8px;
  line-height: 1.6;
}
.copy-btn {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 6px;
}
.copy-btn:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.hashtag-set {
  background: var(--bg-3);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--indigo);
  margin-bottom: 10px;
  cursor: pointer;
  transition: background var(--transition);
  word-break: break-all;
  line-height: 1.6;
}
.hashtag-set:hover { background: rgba(99,102,241,.1); }
.platform-tab { display: none; }
.platform-tab.active { display: block; }
.platform-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.platform-tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-3);
  background: var(--bg);
  cursor: pointer;
  transition: all var(--transition);
}
.platform-tab-btn.active { background: var(--indigo); color: #fff; border-color: var(--indigo); }

/* Admin login */
.admin-login {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  padding: 24px;
}
.admin-login-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(20px);
}
.admin-login-card h2 { color: #fff; margin-bottom: 8px; }
.admin-login-card p { color: rgba(255,255,255,.5); margin-bottom: 32px; }
.admin-login-card .form-label { color: rgba(255,255,255,.8); }

/* ── Blog Article Pages ────────────────────────────────────────────────────── */

/* Hero meta bar (← Blog | Category | Date) */
.blog-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0;
}
.blog-hero-meta a { text-decoration: none; }
.blog-hero-meta a:hover { text-decoration: underline; }

/* Outer article wrapper */
.blog-article {
  padding: 72px 0 100px;
  background: var(--bg);
}

/* Two-column layout: content + sidebar */
.blog-article-layout {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

/* Main content column */
.blog-article-content {
  min-width: 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-2);
}
.blog-article-content h1 { font-size: 36px; margin: 0 0 24px; color: var(--text); line-height: 1.25; }
.blog-article-content h2 { font-size: 28px; margin: 52px 0 16px; color: var(--text); line-height: 1.3; padding-top: 8px; border-top: 1px solid var(--border); }
.blog-article-content h3 { font-size: 21px; margin: 36px 0 12px; color: var(--text); line-height: 1.35; }
.blog-article-content p  { margin-bottom: 22px; }
.blog-article-content ul,
.blog-article-content ol { margin: 8px 0 24px 28px; }
.blog-article-content li { margin-bottom: 10px; }
.blog-article-content ul { list-style: disc; }
.blog-article-content ol { list-style: decimal; }
.blog-article-content strong { color: var(--text); font-weight: 700; }
.blog-article-content a    { color: var(--indigo); text-decoration: underline; }
.blog-article-content a:hover { opacity: .8; }
.blog-article-content blockquote {
  border-left: 4px solid var(--indigo);
  margin: 28px 0;
  padding: 16px 24px;
  background: rgba(99,102,241,.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}

/* Lead paragraph */
.article-lead {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

/* In-article CTA box */
.article-cta-box {
  background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(139,92,246,.08));
  border: 1px solid rgba(99,102,241,.25);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin: 48px 0 0;
  text-align: center;
}
.article-cta-box h3 { font-size: 22px; margin-bottom: 16px; color: var(--text); }

/* Sidebar column */
.blog-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  color: #fff;
}
.sidebar-cta h4 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.sidebar-cta p  { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 24px; }
.sidebar-cta .btn { width: 100%; justify-content: center; }

/* Responsive: stack sidebar below content on small screens */
@media (max-width: 900px) {
  .blog-article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .blog-sidebar { position: static; }
  .blog-article-content h2 { font-size: 24px; }
  .article-lead { font-size: 18px; }
}
.admin-login-card .form-input {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: #fff;
}
.admin-login-card .form-input:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(99,102,241,.25); }

/* ── 27. Responsive ── */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8,11,26,.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    z-index: 999;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.mobile-open a { padding: 14px 16px; border-radius: var(--radius); font-size: 16px; }
  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero-visual { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .email-capture-inner { flex-direction: column; }
  .email-capture-form { width: 100%; }
  .trust-items { gap: 18px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .mode-card { padding: 32px 24px; }
  .testimonial-card { min-width: 280px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
}

/* ── 28. Print ── */
@media print {
  .navbar, .cookie-banner, .back-to-top, .exit-popup-overlay, .social-proof-toast, .footer { display: none !important; }
  body { color: #000 !important; }
}
