/* ============================================================
   FastPOS.org — Premium Enterprise CSS
   Theme: Blue + Dark/Light Mode | Glassmorphism | Modern SaaS
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --primary: rgb(0, 124, 198);
  --primary-dark: rgb(0, 98, 160);
  --primary-light: rgb(30, 155, 235);
  --primary-glow: rgba(0, 124, 198, 0.35);
  --primary-ultra: rgba(0, 124, 198, 0.08);

  --white: #ffffff;
  --black: #000000;

  /* Light Mode */
  --bg: #f8fafc;
  --bg-alt: #eef2f8;
  --bg-card: #ffffff;
  --bg-glass: rgba(255,255,255,0.7);
  --bg-glass-strong: rgba(255,255,255,0.9);
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: rgba(0, 124, 198, 0.15);
  --border-light: rgba(0,0,0,0.07);
  --shadow: 0 4px 24px rgba(0, 124, 198, 0.10);
  --shadow-lg: 0 20px 60px rgba(0, 124, 198, 0.18);
  --shadow-xl: 0 40px 100px rgba(0, 124, 198, 0.22);
  --shadow-card: 0 2px 16px rgba(15,23,42,0.08);
  --nav-bg: rgba(248,250,252,0.85);
  --footer-bg: #0a1628;
  --gradient-hero: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 40%, #e0edfa 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,252,255,0.95) 100%);
  --input-bg: #f1f5f9;
  --input-border: rgba(0,124,198,0.2);
  --scrollbar-bg: #e2e8f0;
  --scrollbar-thumb: rgb(0,124,198);
}

[data-theme="dark"] {
  --bg: #060d1a;
  --bg-alt: #0d1b2e;
  --bg-card: #0f1f35;
  --bg-glass: rgba(15,31,53,0.75);
  --bg-glass-strong: rgba(15,31,53,0.95);
  --text: #e8f0ff;
  --text-muted: #8ba8c8;
  --text-light: #5577a0;
  --border: rgba(0, 124, 198, 0.25);
  --border-light: rgba(255,255,255,0.06);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 40px 100px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.3);
  --nav-bg: rgba(6,13,26,0.9);
  --gradient-hero: linear-gradient(135deg, #060d1a 0%, #0a1628 40%, #060d1a 100%);
  --gradient-card: linear-gradient(135deg, rgba(15,31,53,0.9) 0%, rgba(10,22,40,0.95) 100%);
  --input-bg: #0d1b2e;
  --input-border: rgba(0,124,198,0.3);
  --scrollbar-bg: #0d1b2e;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
  line-height: 1.6;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--scrollbar-bg); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 10px; }

/* ── Custom Cursor ── */
.cursor-dot, .cursor-ring {
  display: none !important;
  pointer-events: none;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid var(--primary-glow);
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, opacity 0.25s;
}
.cursor-ring.hover { width: 60px; height: 60px; opacity: 0.5; }

/* ── Scroll Progress Bar ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--primary-glow);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--text-muted); line-height: 1.75; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

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

/* ── Section Spacing ── */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ── Section Labels ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-ultra);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity:1; }
  50% { transform: scale(1.5); opacity:0.6; }
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-title span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.text-center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--primary-glow);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-ghost {
  background: var(--bg-glass);
  color: var(--text);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 36px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; border-radius: 8px; }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-primary { background: var(--primary-ultra); color: var(--primary); border: 1px solid var(--border); }
.badge-success { background: rgba(16,185,129,0.1); color: #10b981; border: 1px solid rgba(16,185,129,0.2); }
.badge-warning { background: rgba(245,158,11,0.1); color: #f59e0b; border: 1px solid rgba(245,158,11,0.2); }
.badge-danger { background: rgba(239,68,68,0.1); color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.35s ease;
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* ── Form Elements ── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 18px;
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: all 0.3s ease;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,124,198,0.1);
  background: var(--bg-card);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 130px; }

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23007cc6' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 0;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(0,0,0,0.1);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}
.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.nav-logo-text span { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > .nav-link-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: all 0.25s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > .nav-link-btn:hover {
  color: var(--primary);
  background: var(--primary-ultra);
}
.nav-links > li > a.active,
.nav-links > li > .nav-link-btn.active { color: var(--primary); }

.nav-chevron {
  width: 14px; height: 14px;
  transition: transform 0.3s ease;
}
.nav-item-dropdown:hover .nav-chevron,
.nav-item-dropdown.active .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--bg-glass-strong);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 100;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown.active .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.dropdown-item:hover {
  background: var(--primary-ultra);
  color: var(--primary);
}
.dropdown-item-icon {
  width: 36px; height: 36px;
  background: var(--primary-ultra);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: all 0.25s ease;
}
.dropdown-item:hover .dropdown-item-icon {
  background: var(--primary);
  filter: brightness(1.2);
}
.dropdown-item-content { line-height: 1.3; }
.dropdown-item-title { font-weight: 600; font-size: 0.875rem; }
.dropdown-item-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-muted);
  backdrop-filter: blur(10px);
}
.theme-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-ultra);
}
.theme-toggle svg { width: 18px; height: 18px; }
.icon-sun { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--text);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 90vw);
  height: 100vh;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid var(--border);
  z-index: 999;
  padding: 90px 24px 40px;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(0,0,0,0.2);
}
.mobile-nav.open { right: 0; }
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav ul { list-style: none; }
.mobile-nav ul li a,
.mobile-nav ul li button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  text-decoration: none;
}
.mobile-nav .sub-menu {
  padding-left: 16px;
  display: none;
}
.mobile-nav .sub-menu.open { display: block; }
.mobile-nav .sub-menu a {
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: none;
  padding: 10px 0;
}

/* ── HERO SECTION ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float-bg 8s ease-in-out infinite;
}
.hero-bg-circle-1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -200px; right: -100px;
  animation-delay: 0s;
}
.hero-bg-circle-2 {
  width: 400px; height: 400px;
  background: var(--primary-light);
  bottom: -100px; left: -100px;
  animation-delay: 3s;
}
.hero-bg-circle-3 {
  width: 300px; height: 300px;
  background: var(--primary);
  top: 50%; left: 40%;
  animation-delay: 5s;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}
@keyframes float-bg {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-30px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 40px;
}

.hero-content { }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease forwards;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
  animation: fadeInUp 0.9s ease 0.2s both;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
  animation: fadeInUp 0.9s ease 0.35s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.5s both;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInUp 0.9s ease 0.65s both;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border-light);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 1s ease 0.3s both;
}

.hero-device-frame {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  max-width: 520px;
  width: 100%;
}
.hero-device-screen {
  border-radius: 14px;
  overflow: hidden;
  background: #0a1628;
}
.hero-device-screen img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.floating-card {
  position: absolute;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  animation: float-card 4s ease-in-out infinite;
}
.floating-card-1 {
  top: -20px; left: -40px;
  animation-delay: 0s;
}
.floating-card-2 {
  bottom: 30px; right: -40px;
  animation-delay: 2s;
}
.floating-card-3 {
  top: 50%; left: -50px;
  animation-delay: 1s;
}
.floating-card-content {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.floating-card-icon {
  font-size: 1.4rem;
  line-height: 1;
}
.floating-card-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}
.floating-card-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
}

/* Hardware floating elements */
.hw-element {
  position: absolute;
  font-size: 2rem;
  animation: float-hw 5s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px var(--primary-glow));
  z-index: 3;
}
.hw-element-1 { top: 5%; right: -20px; animation-delay:0s; font-size:2.5rem; }
.hw-element-2 { bottom: 10%; left: -30px; animation-delay:1.5s; font-size:2rem; }
.hw-element-3 { top: 60%; right: -25px; animation-delay:3s; font-size:1.8rem; }
.hw-element-4 { top: 15%; left: -25px; animation-delay:2s; font-size:2.2rem; }

@keyframes float-card {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes float-hw {
  0%,100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

/* ── TRUSTED BY ── */
.trusted-section {
  padding: 50px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}
.trusted-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 28px;
}
.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trusted-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s ease;
}
.trusted-logo-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.trusted-logo-item span:first-child { font-size: 1.3rem; }

/* ── STATS / COUNTERS ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 36px 24px;
}
.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── WHY CHOOSE FASTPOS ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.feature-card {
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 56px; height: 56px;
  background: var(--primary-ultra);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.feature-card:hover .feature-icon {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1) rotate(-5deg);
}
.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── PLATFORMS ── */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.platform-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 20px;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.platform-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: all 0.4s ease;
  border-radius: 10px;
}
.platform-card:hover::after { left: 0; right: 0; }
.platform-icon-wrap {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px var(--primary-glow);
  transition: all 0.3s ease;
}
.platform-card:hover .platform-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 36px var(--primary-glow);
}
.platform-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.platform-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── PRODUCTS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.product-card-header {
  padding: 32px 32px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.product-card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 6px 20px var(--primary-glow);
}
.product-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.product-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.product-card-features {
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.product-feature-item::before {
  content: '✓';
  width: 18px; height: 18px;
  background: rgba(16,185,129,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #10b981;
  flex-shrink: 0;
}
.product-card-footer {
  padding: 0 32px 32px;
}
.product-card-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 32px 0;
  width: calc(100% - 64px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.product-card-img img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* ── DASHBOARD TABS ── */
.dashboard-section { position: relative; }
.dashboard-tabs {
  display: flex;
  gap: 8px;
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 6px;
  width: fit-content;
  margin: 0 auto 40px;
  border: 1px solid var(--border-light);
}
.dashboard-tab {
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-muted);
  border: none;
  background: none;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.dashboard-tab.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px var(--primary-glow);
}
.dashboard-tab:not(.active):hover {
  color: var(--primary);
  background: var(--primary-ultra);
}
.dashboard-panels { position: relative; }
.dashboard-panel {
  display: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  animation: fadeIn 0.4s ease;
}
.dashboard-panel.active { display: block; }
.dashboard-panel img {
  width: 100%;
  display: block;
  border-radius: 24px;
}

/* ── TESTIMONIALS ── */
.testimonials-section { overflow: hidden; }
.testimonials-wrapper {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
}
.testimonials-slider {
  overflow: hidden;
  border-radius: 24px;
}
.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card {
  min-width: 100%;
  padding: 48px;
  border-radius: 24px;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.testimonial-text {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
}
.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  position: absolute;
  top: -20px; left: -10px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  font-family: 'Outfit', sans-serif;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
}
.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.testimonials-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-muted);
  font-size: 1.1rem;
}
.testimonials-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.testimonials-dots {
  display: flex;
  gap: 8px;
}
.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  transition: all 0.3s ease;
  cursor: pointer;
}
.testimonial-dot.active {
  width: 24px;
  border-radius: 10px;
  background: var(--primary);
}

/* ── FAQ ── */
.faq-list {
  max-width: 800px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border-radius: 14px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 4px 20px var(--primary-glow);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--bg-card);
  transition: all 0.3s ease;
}
.faq-question:hover { background: var(--primary-ultra); }
.faq-question-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary-ultra);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.faq-item.open .faq-icon { background: var(--primary); color: white; transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: var(--bg-card);
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 500px; }

/* ── CTA BANNER ── */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 100px 0;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section * { position: relative; z-index: 1; }
.cta-section .section-title { color: white; }
.cta-section .section-title span { -webkit-text-fill-color: rgba(255,255,255,0.9); }
.cta-section .section-sub { color: rgba(255,255,255,0.8); }
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.btn-white-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  transform: translateY(-3px);
}

/* ── FOOTER ── */
.footer {
  background: #060d1a;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-decoration: none;
}
.footer-logo img { width: 40px; height: 40px; border-radius: 10px; }
.footer-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
}
.footer-desc {
  font-size: 0.875rem;
  color: #6b87a8;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social-link {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #8ba4be;
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: #6b87a8;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--primary); transform: translateX(4px); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-contact-icon {
  width: 32px; height: 32px;
  background: rgba(0,124,198,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-text {
  font-size: 0.875rem;
  color: #6b87a8;
  line-height: 1.5;
}
.footer-contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a6680;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 0.82rem; color: #4a6680; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 0.82rem;
  color: #4a6680;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--primary); }

/* ── PAGE HERO (Inner Pages) ── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb-sep { color: var(--text-light); }

/* ── ABOUT PAGE ── */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 60px auto 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}
.timeline-content:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 16px; height: 16px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--bg);
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px var(--primary-glow);
  flex-shrink: 0;
}
.timeline-year {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.timeline-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.timeline-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.timeline-empty { flex: 1; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.team-card {
  text-align: center;
  padding: 32px 20px;
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  font-family: 'Outfit', sans-serif;
  margin: 0 auto 16px;
  box-shadow: 0 6px 24px var(--primary-glow);
  transition: all 0.3s ease;
}
.team-card:hover .team-avatar {
  transform: scale(1.1);
  box-shadow: 0 10px 36px var(--primary-glow);
}
.team-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.team-role { font-size: 0.8rem; color: var(--primary); font-weight: 500; }

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  margin-top: 60px;
}
.contact-info-panel { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  padding: 28px;
}
.contact-card-icon {
  width: 48px; height: 48px;
  background: var(--primary-ultra);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}
.contact-card:hover .contact-card-icon {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}
.contact-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-card-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.wa-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 8px;
}
.wa-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}
.map-container {
  border-radius: 20px;
  overflow: hidden;
  height: 260px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  margin-top: 16px;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

.contact-form-panel { }

/* ── DEMO PAGE ── */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}
.demo-left { }
.demo-illustration {
  text-align: center;
  padding: 40px;
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.demo-illustration-icon { font-size: 4rem; margin-bottom: 16px; display: block; }
.demo-benefits { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.demo-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}
.demo-benefit-icon { font-size: 1.3rem; }
.demo-benefit-text { font-size: 0.875rem; font-weight: 500; color: var(--text); }

/* ── BLOG PAGE ── */
.blog-hero-controls {
  max-width: 600px;
  margin: 32px auto 0;
  position: relative;
}
.blog-search {
  width: 100%;
  padding: 16px 24px 16px 50px;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}
.blog-search:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,124,198,0.1);
}
.blog-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-muted);
}
.blog-categories {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0 56px;
}
.blog-cat {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: all 0.25s ease;
  outline: none;
  font-family: 'Inter', sans-serif;
}
.blog-cat:hover, .blog-cat.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}
.blog-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
}
.blog-featured-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
}
.blog-featured-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: 0.3;
}
.blog-featured-content {
  position: relative;
  z-index: 1;
  padding: 32px;
  background: linear-gradient(to top, rgba(6,13,26,0.95) 60%, transparent);
}
.blog-featured-cat {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary);
  color: white;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.blog-featured-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-featured-meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.blog-side-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-side-card {
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
}
.blog-side-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.blog-side-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.blog-side-meta { font-size: 0.75rem; color: var(--text-muted); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  border-radius: 20px;
  overflow: hidden;
}
.blog-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card-body { padding: 24px; }
.blog-card-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card-excerpt {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.blog-card-read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.blog-card-read-more:hover { gap: 8px; }

/* ── PRODUCT DETAIL PAGES ── */
.product-hero {
  padding: 140px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.product-hero-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.product-hero-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
}
.product-hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.product-hero-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}
.product-hero-img img {
  width: 100%;
  display: block;
}
.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.product-feature-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.product-feature-check {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #10b981;
  flex-shrink: 0;
  font-weight: 700;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.module-card {
  padding: 28px;
  text-align: center;
}
.module-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.module-title { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.module-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* ── KEYFRAMES ── */
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLeft { from { opacity:0; transform:translateX(-30px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:translateX(0); } }
@keyframes pulse { 0%,100% { box-shadow:0 0 0 0 var(--primary-glow); } 50% { box-shadow:0 0 0 12px transparent; } }
@keyframes shimmer {
  from { background-position: -200% center; }
  to { background-position: 200% center; }
}
@keyframes spin { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
@keyframes glow {
  0%,100% { box-shadow:0 0 20px var(--primary-glow); }
  50% { box-shadow:0 0 40px var(--primary-glow), 0 0 80px var(--primary-glow); }
}

.shimmer-text {
  background: linear-gradient(120deg, var(--primary) 30%, var(--primary-light) 50%, var(--primary) 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* Gradient border utility */
.gradient-border {
  position: relative;
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--primary-light), transparent);
  z-index: -1;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; padding: 50px 24px; }
  .hero-content { max-width: 600px; margin: 0 auto; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 550px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-side-cards { flex-direction: row; flex-wrap: wrap; }
  .blog-side-card { flex: 1; min-width: 200px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 16px 24px; }
  .section { padding: 72px 0; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .product-hero-inner { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item { flex-direction: column; gap: 10px; padding-left: 50px; }
  .timeline-item:nth-child(even) { flex-direction: column; }
  .timeline-dot { left: 20px; }
  .timeline-empty { display: none; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-tabs { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 680px) {
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-stats { gap: 16px; }
  .hero-stat-num { font-size: 1.4rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { padding: 28px; }
  .modules-grid { grid-template-columns: 1fr; }
  .floating-card-1, .floating-card-2, .floating-card-3 { display: none; }
  .hw-element { display: none; }
  .product-hero { padding: 120px 0 60px; }
  .page-hero { padding: 120px 0 60px; }
  .cta-section { padding: 72px 0; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── UTILITY ── */
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-white { color: white !important; }
.mt-auto { margin-top: auto; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.grid { display: grid; }
.w-full { width: 100%; }
.rounded-full { border-radius: 9999px; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.object-cover { object-fit: cover; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }

/* Loading overlay */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-content {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-spinner {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 3px solid var(--border-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}
.loader-logo {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  z-index: 2;
}
.loader-text {
  position: absolute;
  bottom: 40px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: pulseText 1.5s ease-in-out infinite;
}
@keyframes pulseText {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Notification toast */
#toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  max-width: 340px;
  font-size: 0.9rem;
  color: var(--text);
}
#toast.show { transform: translateX(0); }

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  z-index: 100;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--primary-glow);
}
