/* ============================================================
   loketiqPOS — Premium Design System (FnB Edition)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* ── Core Palette (HSL) ── */
  --primary: hsl(245, 75%, 60%);
  --primary-dark: hsl(245, 75%, 50%);
  --primary-light: hsl(245, 80%, 95%);
  --primary-glow: hsla(245, 75%, 60%, 0.35);

  --accent: hsl(160, 80%, 42%);
  --accent-dark: hsl(160, 80%, 35%);
  --accent-light: hsl(160, 60%, 92%);

  --warn: hsl(25, 95%, 55%);
  --danger: hsl(0, 72%, 55%);

  /* ── Neutrals ── */
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  /* ── Glass ── */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);

  /* ── Typography ── */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* ── Transitions ── */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.4s var(--ease-out-expo);

  /* ── Radii ── */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  line-height: 1.15;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Utilities ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 7rem 0; }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* ── Gradient Text ── */
.glow-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section Label (pill above headings) ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 8px 25px -5px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 35px -5px var(--primary-glow);
}

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: var(--slate-800);
}

.btn-glass:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--slate-200);
  color: var(--slate-700);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  height: 70px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--slate-600);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--primary-light), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent-light), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--slate-500);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
  color: var(--slate-400);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.15);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
  border-color: var(--primary-light);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

/* ============================================================
   FEATURE GRID
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.stat-item p {
  color: var(--slate-500);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  padding: 2.5rem;
  background: var(--slate-50);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.04);
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.testimonial-card strong { color: var(--slate-900); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--slate-900), hsl(245, 50%, 25%));
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 400px; height: 400px;
  background: var(--primary-glow);
  border-radius: 50%;
  filter: blur(100px);
}

.cta-section h2 { color: var(--white); }
.cta-section p { color: var(--slate-300); }

/* ============================================================
   FOOTER (Premium Dark)
   ============================================================ */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 450px;
  height: 450px;
  background: hsla(245, 75%, 60%, 0.06);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.footer::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: hsla(160, 80%, 42%, 0.05);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

/* Top bar: newsletter / tagline */
.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0;
}

.footer-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-tagline h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.footer-tagline p {
  color: var(--slate-500);
  font-size: 0.9rem;
}

.footer-top-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Main grid */
.footer-main {
  padding: 3.5rem 0 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand-text {
  color: var(--slate-500);
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 300px;
  margin-top: 1rem;
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
  color: var(--slate-300);
  font-weight: 600;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--slate-500);
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
  transition: all 0.25s ease;
}

.footer-col a:hover {
  color: var(--white);
  transform: translateX(4px);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--slate-600);
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  margin: 0;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--slate-500);
}

.footer-socials {
  display: flex;
  gap: 0.7rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--primary-glow);
}

/* ============================================================
   WHATSAPP STICKY
   ============================================================ */
.wa-sticky {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: #25d366;
  color: white;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  z-index: 1000;
  transition: var(--transition);
}

.wa-sticky:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.45);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 3rem; }
  .hero-grid { gap: 3rem; }
  .nav-links { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { height: 64px; }
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 999;
  }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }

  .hero { text-align: center; padding-top: 100px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-proof { justify-content: center; }

  .section { padding: 4rem 0; }
  .container { padding: 0 1.5rem; }

  .stats-bar { gap: 2.5rem; }
  .stat-item h3 { font-size: 2.2rem; }

  .feature-grid { grid-template-columns: 1fr; }
  .footer-top-inner { flex-direction: column; text-align: center; }
  .footer-top-cta { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-text { margin: 1rem auto 0; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-socials { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .btn { width: 100%; justify-content: center; }
  .hero-btns { flex-direction: column; }
}
