/* ============================================================
   TECHALB POS — Landing Page Styles
   Albanian — v1.0
   ============================================================ */

/* ── Google Fonts loaded via HTML ── */
:root {
  --primary:     #2563eb;
  --primary-dark:#1d4ed8;
  --primary-light:#dbeafe;
  --secondary:   #7c3aed;
  --accent:      #06b6d4;
  --success:     #10b981;
  --warning:     #f59e0b;
  --danger:      #ef4444;
  --dark:        #0f172a;
  --dark-2:      #1e293b;
  --dark-3:      #334155;
  --gray:        #64748b;
  --light-gray:  #f1f5f9;
  --white:       #ffffff;
  --gradient:    linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-2:  linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow:      0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.15);
  --shadow-xl:   0 25px 60px rgba(0,0,0,.20);
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Utility ──────────────────────────────────────────────── */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-2 {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-blue   { background: var(--primary-light); color: var(--primary); }
.badge-purple { background: #ede9fe; color: var(--secondary); }
.badge-cyan   { background: #cffafe; color: #0891b2; }
.badge-green  { background: #d1fae5; color: #059669; }
.badge-warm   { background: #fef3c7; color: #d97706; }
.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.8;
}
section { position: relative; }


/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,99,235,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,99,235,.45);
}
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid rgba(15,23,42,.15);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }


/* ══════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 18px 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(0,0,0,.1);
  padding: 12px 0;
}
/* logo swap: white on dark, black on scrolled/light */
#navbar:not(.scrolled) .logo-black { display: none; }
#navbar.scrolled .logo-white { display: none; }

/* back-to-site link: always subtle */
.nav-back-link { opacity: .55; font-size: .8rem; }
.nav-back-link:hover { opacity: 1; }

/* navbar on dark hero (transparent state) */
#navbar:not(.scrolled) .nav-logo .logo-text { color: white; }
#navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,.8); }
#navbar:not(.scrolled) .nav-links a:hover { color: white; }
#navbar:not(.scrolled) .hamburger span { background: white; }
#navbar:not(.scrolled) .btn-outline { color: white; border-color: rgba(255,255,255,.3); }
#navbar:not(.scrolled) .btn-outline:hover { background: rgba(255,255,255,.1); border-color: white; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .logo-icon {
  width: auto; 
  height: 20px;
  display: block;
}
.nav-logo .logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
}
.nav-logo .logo-text span { color: var(--primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark-3);
  transition: color .2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
/* hamburger → X when menu is open */
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* dark overlay behind mobile nav */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9997;
  cursor: pointer;
  animation: fadeInOverlay .25s ease;
}
.nav-overlay.open { display: block; }
@keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } }


/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding: 120px 0 80px;
  position: relative;
}

/* animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .4;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #2563eb 0%, transparent 70%);
  top: -200px; left: -150px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: 100px; right: -100px;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  bottom: 50px; left: 40%;
  animation-delay: -5s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text .badge-pill { margin-bottom: 24px; }

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
}
.hero-text p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
}
.hero-trust .trust-sep { width: 1px; height: 24px; background: rgba(255,255,255,.2); }
.hero-trust i { color: var(--warning); }

/* hero visual — POS mockup */
.hero-visual {
  position: relative;
}
.hero-phone-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-screen {
  width: 100%;
  max-width: 520px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 24px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  animation: heroScreenFloat 6s ease-in-out infinite;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.1);
}
@keyframes heroScreenFloat {
  0%, 100% { transform: translateY(0) rotateX(2deg); }
  50% { transform: translateY(-12px) rotateX(2deg); }
}
.screen-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.screen-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.screen-dot:nth-child(1) { background: #ef4444; }
.screen-dot:nth-child(2) { background: #f59e0b; }
.screen-dot:nth-child(3) { background: #10b981; }
.screen-title {
  margin-left: auto;
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  font-family: 'JetBrains Mono', monospace;
}

/* product rows inside mockup */
.pos-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  background: rgba(255,255,255,.04);
  animation: rowFadeIn 0.5s ease forwards;
  opacity: 0;
}
.pos-row:nth-child(1) { animation-delay: .3s; }
.pos-row:nth-child(2) { animation-delay: .6s; }
.pos-row:nth-child(3) { animation-delay: .9s; }
.pos-row:nth-child(4) { animation-delay: 1.2s; }
@keyframes rowFadeIn {
  to { opacity: 1; transform: translateX(0); }
  from { opacity: 0; transform: translateX(-15px); }
}
.pos-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.pos-icon.blue   { background: rgba(37,99,235,.3); color: #60a5fa; }
.pos-icon.green  { background: rgba(16,185,129,.3); color: #34d399; }
.pos-icon.purple { background: rgba(124,58,237,.3); color: #a78bfa; }
.pos-icon.orange { background: rgba(245,158,11,.3); color: #fbbf24; }
.pos-meta { flex: 1; }
.pos-name { color: rgba(255,255,255,.9); font-size: .85rem; font-weight: 600; }
.pos-sku  { color: rgba(255,255,255,.4); font-size: .72rem; }
.pos-price { color: #60a5fa; font-weight: 700; font-size: .9rem; }

.pos-total-bar {
  margin-top: 16px;
  padding: 16px;
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(37,99,235,.3);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: rowFadeIn 0.5s ease 1.5s forwards;
  opacity: 0;
}
.pos-total-bar .label { color: rgba(255,255,255,.6); font-size: .85rem; }
.pos-total-bar .amount { color: #fff; font-weight: 700; font-size: 1.3rem; }

/* floating badges around screen */
.float-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  animation: badgeFloat 4s ease-in-out infinite;
}
.float-badge-1 {
  bottom: 60px; left: -110px;
  animation-delay: -1s;
}
.float-badge-2 {
  top: 80px; right: -99px;
  animation-delay: -2.5s;
}
.float-badge .fb-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}
.fb-icon.green  { background: #d1fae5; color: #059669; }
.fb-icon.blue   { background: #dbeafe; color: #2563eb; }
@keyframes badgeFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}


/* ══════════════════════════════════════════════════════════════
   TRUSTED BY BAR
══════════════════════════════════════════════════════════════ */
#trusted {
  padding: 40px 0;
  background: var(--light-gray);
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.trusted-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.trusted-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
}
.trusted-logos {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.trusted-logo-item {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark-3);
  opacity: .5;
  transition: opacity .2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trusted-logo-item:hover { opacity: .9; }


/* ══════════════════════════════════════════════════════════════
   FEATURES OVERVIEW (card grid)
══════════════════════════════════════════════════════════════ */
#features {
  padding: 100px 0;
  background: var(--white);
}
.features-header { margin-bottom: 60px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.feature-card:hover {
  border-color: rgba(37,99,235,.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .fc-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p  { font-size: .9rem; color: var(--gray); line-height: 1.7; }

/* color variants */
.fc-blue     { background: #dbeafe; color: #2563eb; }
.fc-purple   { background: #ede9fe; color: #7c3aed; }
.fc-cyan     { background: #cffafe; color: #0891b2; }
.fc-green    { background: #d1fae5; color: #059669; }
.fc-orange   { background: #ffedd5; color: #ea580c; }
.fc-pink     { background: #fce7f3; color: #db2777; }
.fc-yellow   { background: #fef3c7; color: #d97706; }
.fc-red      { background: #fee2e2; color: #dc2626; }
.fc-teal     { background: #ccfbf1; color: #0d9488; }


/* ══════════════════════════════════════════════════════════════
   POS MODULE HIGHLIGHT
══════════════════════════════════════════════════════════════ */
#pos-module {
  padding: 100px 0;
  background: var(--dark);
  overflow: hidden;
}
.pos-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.pos-split .section-title { color: white; }
.pos-split .section-label { color: #60a5fa; }
.pos-split .section-subtitle { color: rgba(255,255,255,.6); }
.pos-feature-list {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pos-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.pfi-icon {
  width: 36px; height: 36px;
  background: rgba(37,99,235,.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
  font-size: .9rem;
}
/* default: dark text (for light-bg sections like #employees, #fiscal) */
.pfi-text h4 { color: var(--dark); font-size: .95rem; margin-bottom: 3px; }
.pfi-text p  { color: var(--gray); font-size: .85rem; }
/* override: white text for dark-background sections */
#pos-module .pfi-text h4 { color: white; }
#pos-module .pfi-text p  { color: rgba(255,255,255,.5); }

/* animated POS dashboard visual */
.pos-dashboard {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
}
.dash-header {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.dash-stat {
  flex: 1;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.dash-stat .ds-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
}
.dash-stat .ds-label {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  margin-top: 2px;
}
.dash-stat.highlight .ds-val { color: #34d399; }

.payment-options {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.pay-btn {
  flex: 1;
  padding: 12px 8px;
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.pay-btn.cash   { background: rgba(16,185,129,.2);  color: #34d399; border: 1px solid rgba(16,185,129,.3); }
.pay-btn.card   { background: rgba(37,99,235,.2);   color: #60a5fa; border: 1px solid rgba(37,99,235,.3); }
.pay-btn.bank   { background: rgba(124,58,237,.2);  color: #a78bfa; border: 1px solid rgba(124,58,237,.3); }
.pay-btn.debt   { background: rgba(245,158,11,.2);  color: #fbbf24; border: 1px solid rgba(245,158,11,.3); }
.pay-btn:hover  { transform: translateY(-2px); opacity: .85; }

.receipt-preview {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 16px;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  border: 1px dashed rgba(255,255,255,.1);
}
.receipt-line {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.receipt-total {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 0;
  font-weight: 700;
  color: white;
  font-size: .9rem;
}


/* ══════════════════════════════════════════════════════════════
   INVENTORY & PRODUCTS  
══════════════════════════════════════════════════════════════ */
#inventory {
  padding: 100px 0;
  background: var(--light-gray);
}
.inventory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.inv-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: white;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--dark-3);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.tag-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.tag-item i { font-size: .75rem; }

/* product card mockup */
.product-mock {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.pm-header {
  background: var(--gradient);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}
.pm-header h4 { font-size: .95rem; }
.pm-header .pm-count { font-size: .8rem; opacity: .7; }
.pm-body { padding: 20px; }
.pm-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: background .2s;
}
.pm-item:hover { background: var(--light-gray); }
.pm-thumb {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.pm-info { flex: 1; }
.pm-info .pm-name { font-weight: 600; font-size: .88rem; color: var(--dark); }
.pm-info .pm-sku  { font-size: .72rem; color: var(--gray); }
.pm-qty {
  font-size: .8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.pm-qty.ok    { background: #d1fae5; color: #059669; }
.pm-qty.low   { background: #fef3c7; color: #d97706; }
.pm-qty.zero  { background: #fee2e2; color: #dc2626; }
.pm-price { font-weight: 700; font-size: .9rem; color: var(--primary); }


/* ══════════════════════════════════════════════════════════════
   EMPLOYEES & HR
══════════════════════════════════════════════════════════════ */
#employees {
  padding: 100px 0;
  background: white;
}
.emp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.salary-card {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 28px;
  color: white;
  position: relative;
  overflow: hidden;
}
.salary-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(37,99,235,.3) 0%, transparent 70%);
  border-radius: 50%;
}
.sc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.sc-title { font-size: 1rem; }
.sc-badge {
  background: rgba(16,185,129,.2);
  color: #34d399;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  border: 1px solid rgba(16,185,129,.3);
}
.emp-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.emp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
}
.emp-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .82rem;
  flex-shrink: 0;
}
.emp-name { font-size: .85rem; font-weight: 600; }
.emp-role { font-size: .72rem; color: rgba(255,255,255,.5); }
.emp-amount { font-weight: 700; font-size: .9rem; }
.emp-status {
  font-size: .72rem;
  padding: 3px 10px;
  border-radius: 100px;
}
.emp-s-paid { background: rgba(16,185,129,.2); color: #34d399; border: 1px solid rgba(16,185,129,.3); }
.emp-s-pend { background: rgba(245,158,11,.2); color: #fbbf24; border: 1px solid rgba(245,158,11,.3); }

.salary-summary {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ss-item .ss-label { font-size: .72rem; color: rgba(255,255,255,.5); }
.ss-item .ss-val { font-size: 1.1rem; font-weight: 700; }


/* ══════════════════════════════════════════════════════════════
   FINANCE & EXPENSE
══════════════════════════════════════════════════════════════ */
#finance {
  padding: 100px 0;
  background: var(--light-gray);
}
.finance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.finance-cards { display: flex; flex-direction: column; gap: 16px; }
.fin-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}
.fin-card:hover { transform: translateX(8px); box-shadow: var(--shadow-lg); }
.fin-card .fc-icon-w {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.fin-card h4 { font-size: .95rem; margin-bottom: 4px; }
.fin-card p  { font-size: .85rem; color: var(--gray); }


/* ══════════════════════════════════════════════════════════════
   REPORTS & ANALYTICS
══════════════════════════════════════════════════════════════ */
#reports {
  padding: 100px 0;
  background: white;
}

.reports-visual {
  background: var(--dark-2);
  border-radius: var(--radius-xl);
  padding: 28px;
  color: white;
}
.rv-title { font-size: .9rem; margin-bottom: 20px; color: rgba(255,255,255,.8); }

/* bar chart mock */
.bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 140px; margin-bottom: 20px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bar-fill {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: rgba(37,99,235,.5);
  transition: height 1s ease;
  position: relative;
  overflow: hidden;
}
.bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(255,255,255,.15), transparent);
}
.bar-fill.active { background: rgba(37,99,235,.9); }
.bar-label { font-size: .65rem; color: rgba(255,255,255,.4); }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.kpi-box {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}
.kpi-box .kpi-val { font-size: 1.25rem; font-weight: 700; color: white; }
.kpi-box .kpi-l   { font-size: .7rem; color: rgba(255,255,255,.45); margin-top: 2px; }
.kpi-box .kpi-change { font-size: .72rem; font-weight: 600; }
.kpi-change.up   { color: #34d399; }
.kpi-change.down { color: #f87171; }

.reports-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* reports chart overflow guard */
#reports .rep-chart-vis {
  overflow: hidden;
}

.rep-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--light-gray);
  border-radius: var(--radius);
  transition: var(--transition);
}
.rep-item:hover { background: #e0e7ff; transform: translateX(4px); }
.rep-icon { font-size: 1.2rem; }
.rep-text h4 { font-size: .9rem; font-weight: 600; margin-bottom: 2px; }
.rep-text p  { font-size: .78rem; color: var(--gray); }
.rep-arrow { margin-left: auto; color: var(--primary); }


.reports-list { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }

.reports-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ══════════════════════════════════════════════════════════════
   ASSETS MODULE
══════════════════════════════════════════════════════════════ */
#assets {
  padding: 100px 0;
  background: var(--dark);
}
.assets-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.assets-split .section-title { color: white; }
.assets-split .section-subtitle { color: rgba(255,255,255,.6); }
.assets-split .section-label { color: #a78bfa; }
.asset-card-vis {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 24px;
}
.ac-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.ac-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.ac-name { font-size: .85rem; font-weight: 600; color: white; }
.ac-dep  { font-size: .72rem; color: rgba(255,255,255,.4); }
.ac-value { font-weight: 700; color: #a78bfa; font-size: .9rem; }
.ac-status {
  font-size: .7rem;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
}
.ac-s-active { background: rgba(16,185,129,.2); color: #34d399; }
.ac-s-depr   { background: rgba(245,158,11,.2); color: #fbbf24; }


/* ══════════════════════════════════════════════════════════════
   INTEGRATIONS
══════════════════════════════════════════════════════════════ */
#integrations {
  padding: 100px 0;
  background: white;
}
.int-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.int-card {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.int-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,.2);
  transform: translateY(-4px);
}
.int-logo {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}
.int-card h3 { font-size: 1rem; margin-bottom: 8px; }
.int-card p  { font-size: .85rem; color: var(--gray); }
.int-badge {
  display: inline-block;
  margin-top: 12px;
  font-size: .7rem;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
}
.int-live  { background: #d1fae5; color: #059669; }
.int-soon  { background: #fef3c7; color: #d97706; }


/* ══════════════════════════════════════════════════════════════
   AI FEATURES
══════════════════════════════════════════════════════════════ */
#ai-features {
  padding: 100px 0;
  background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  overflow: hidden;
  position: relative;
}
.ai-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .25;
  pointer-events: none;
}
.ai-orb-1 { width: 400px; height: 400px; background: #7c3aed; top: -100px; right: -100px; }
.ai-orb-2 { width: 300px; height: 300px; background: #06b6d4; bottom: -50px; left: 10%; }

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.ai-grid .section-title { color: white; }
.ai-grid .section-subtitle { color: rgba(255,255,255,.6); }
.ai-grid .section-label { color: #a78bfa; }

.ai-features-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.ai-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}
.ai-item:hover { background: rgba(124,58,237,.15); border-color: rgba(124,58,237,.3); }
.ai-item-icon {
  width: 40px; height: 40px;
  background: rgba(124,58,237,.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
  flex-shrink: 0;
}
.ai-item h4 { font-size: .9rem; color: white; margin-bottom: 3px; }
.ai-item p  { font-size: .82rem; color: rgba(255,255,255,.5); }

/* chat mockup */
.ai-chat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: relative;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.chat-avatar {
  width: 36px; height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: white;
}
.chat-name { color: white; font-size: .9rem; font-weight: 600; }
.chat-status { font-size: .72rem; color: #34d399; }
.chat-online { width: 8px; height: 8px; background: #34d399; border-radius: 50%; }

.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .82rem;
  line-height: 1.6;
  max-width: 85%;
  margin-bottom: 10px;
  animation: bubbleIn 0.4s ease forwards;
  opacity: 0;
}
.bubble-in {
  background: rgba(124,58,237,.3);
  border: 1px solid rgba(124,58,237,.3);
  color: rgba(255,255,255,.85);
  border-bottom-left-radius: 4px;
  animation-delay: 0.2s;
}
.bubble-out {
  background: rgba(37,99,235,.25);
  border: 1px solid rgba(37,99,235,.3);
  color: rgba(255,255,255,.85);
  margin-left: auto;
  border-bottom-right-radius: 4px;
  animation-delay: 0.5s;
}
.bubble-out-2 {
  animation-delay: 0.9s;
}
.bubble-in-2 {
  background: rgba(16,185,129,.2);
  border-color: rgba(16,185,129,.3);
  animation-delay: 1.3s;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,.06);
  border-radius: 14px;
  width: fit-content;
  margin-bottom: 10px;
}
.typing-dot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce {
  0%,80%,100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
}


/* ══════════════════════════════════════════════════════════════
   MULTI-TENANCY  
══════════════════════════════════════════════════════════════ */
#multitenancy {
  padding: 100px 0;
  background: var(--light-gray);
}
.multi-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.tenant-visual {
  position: relative;
}
.tenant-core {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  color: white;
  text-align: center;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.tenant-core::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 16px;
  background: var(--primary);
}
.tenant-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tenant-branch {
  background: white;
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid;
  font-size: .8rem;
  font-weight: 600;
}
.tb-blue   { border-color: #2563eb; }
.tb-green  { border-color: #059669; }
.tb-purple { border-color: #7c3aed; }
.tb-branch-icon { font-size: 1.4rem; margin-bottom: 6px; }
.tb-name { color: var(--dark); }
.tb-type { font-size: .7rem; color: var(--gray); font-weight: 400; }


/* ══════════════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════════════ */
#how-it-works {
  padding: 100px 0;
  background: white;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
  position: relative;
}
/* connector line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 80px;
  right: 80px;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  z-index: 0;
}
.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 56px; height: 56px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(37,99,235,.35);
  border: 4px solid white;
  position: relative;
}
.step-item h3 { font-size: .95rem; margin-bottom: 8px; }
.step-item p  { font-size: .85rem; color: var(--gray); }


/* ══════════════════════════════════════════════════════════════
   STATS
══════════════════════════════════════════════════════════════ */
#stats {
  padding: 80px 0;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}
#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.stat-item { text-align: center; color: white; }
.stat-value {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: .9rem; color: rgba(255,255,255,.75); }


/* ══════════════════════════════════════════════════════════════
   SECURITY SECTION
══════════════════════════════════════════════════════════════ */
#security {
  padding: 100px 0;
  background: var(--dark-2);
}
.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.sec-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}
.sec-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(37,99,235,.4);
  transform: translateY(-4px);
}
.sec-icon {
  width: 60px; height: 60px;
  background: rgba(37,99,235,.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #60a5fa;
  margin: 0 auto 16px;
}
.sec-card h3 { color: white; font-size: 1rem; margin-bottom: 8px; }
.sec-card p  { color: rgba(255,255,255,.5); font-size: .85rem; }
.sec-section-label { color: #60a5fa; }
.sec-section-title { color: white; }
.sec-section-subtitle { color: rgba(255,255,255,.6); }


/* ══════════════════════════════════════════════════════════════
   FISCAL / FATURE.AL
══════════════════════════════════════════════════════════════ */
#fiscal {
  padding: 100px 0;
  background: white;
}
.fiscal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.fiscal-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}
.receipt-card {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 28px;
  color: white;
  font-family: 'Courier New', monospace;
}
.rc-business { text-align: center; margin-bottom: 20px; }
.rc-business h3 { font-size: 1.1rem; color: white; }
.rc-business p  { font-size: .78rem; color: rgba(255,255,255,.5); }
.rc-divider {
  border: none;
  border-top: 1px dashed rgba(255,255,255,.2);
  margin: 16px 0;
}
.rc-line {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}
.rc-total {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-top: 12px;
}
.rc-qr {
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255,255,255,.2);
}
.qr-mock {
  display: inline-grid;
  grid-template-columns: repeat(5,1fr);
  gap: 3px;
  background: white;
  padding: 8px;
  border-radius: 8px;
  margin: 0 auto 8px;
}
.qr-cell {
  width: 8px; height: 8px;
  border-radius: 1px;
}
.qr-cell.filled { background: black; }
.qr-cell.empty  { background: white; }
.rc-verify { font-size: .65rem; color: rgba(255,255,255,.4); }


/* ══════════════════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════════════════ */
#cta {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}
#cta .hero-orb-1 { opacity: .2; }
#cta .hero-orb-2 { opacity: .15; }
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 20px;
}
.cta-inner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 40px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }


/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
#footer {
  background: var(--dark-2);
  padding: 60px 0 32px;
  color: rgba(255,255,255,.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-text {
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: .88rem;
  line-height: 1.8;
  max-width: 300px;
}
.footer-col h4 {
  color: white;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .82rem;
}
.footer-socials { display: flex; gap: 12px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .9rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--primary); color: white; }


/* ══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS (AOS alternative, CSS-only fallback)
══════════════════════════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}
[data-animate="fade-up"]    { transform: translateY(30px); }
[data-animate="fade-left"]  { transform: translateX(-30px); }
[data-animate="fade-right"] { transform: translateX(30px); }
[data-animate="scale"]      { transform: scale(0.9); }
[data-animate].animated     { opacity: 1; transform: none; }

/* stagger children */
[data-animate-group] > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-animate-group].animated > * { opacity: 1; transform: none; }
[data-animate-group].animated > *:nth-child(1) { transition-delay: 0s; }
[data-animate-group].animated > *:nth-child(2) { transition-delay: .1s; }
[data-animate-group].animated > *:nth-child(3) { transition-delay: .2s; }
[data-animate-group].animated > *:nth-child(4) { transition-delay: .3s; }
[data-animate-group].animated > *:nth-child(5) { transition-delay: .4s; }
[data-animate-group].animated > *:nth-child(6) { transition-delay: .5s; }
[data-animate-group].animated > *:nth-child(7) { transition-delay: .6s; }
[data-animate-group].animated > *:nth-child(8) { transition-delay: .7s; }
[data-animate-group].animated > *:nth-child(9) { transition-delay: .8s; }


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .features-grid      { grid-template-columns: repeat(2, 1fr); }
  .int-grid           { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero-content, .pos-split, .inventory-grid,
  .emp-split, .finance-grid, .assets-split,
  .ai-grid, .multi-split, .fiscal-split,
  .reports-grid                              { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .sec-grid    { grid-template-columns: 1fr 1fr; }
  .float-badge { display: none; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-actions .btn-outline { display: none; }
  .hamburger { display: flex; }
  /* prevent the nav CTA btn from making navbar too wide on mid screens */
  .nav-actions .btn-primary { padding: 9px 14px; font-size: .82rem; }
  /* section padding reduced on tablet */
  section[id] { padding-left: 0; padding-right: 0; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .int-grid      { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .sec-grid      { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .kpi-row       { grid-template-columns: 1fr 1fr; }
  .tenant-branches { grid-template-columns: 1fr 1fr; }
  /* hero */
  #hero { padding: 100px 0 56px; }
  .hero-text h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero-text p  { font-size: 1rem; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn-lg { padding: 14px 24px; font-size: .95rem; }
  .hero-trust   { flex-wrap: wrap; gap: 12px; }
  /* sections */
  .section-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  /* Navbar: hide Demo Falas on very small screens — mobile nav has it */
  .nav-actions { display: none; }
  .hamburger   { display: flex; }
  /* report chart mockup */
  .reports-grid > *:last-child { overflow: hidden; }
  /* footer */
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* mobile nav menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark);
  z-index: 9998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 80px 24px 40px;
}
.mobile-nav.open {
  display: flex;
  animation: slideInNav .3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideInNav {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav a {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 24px;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255,255,255,.1);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.mobile-nav-close:hover { background: rgba(255,255,255,.2); }

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
