/* ===========================
   CandyPOS – Main Stylesheet
   =========================== */

:root {
  --primary: #9c27b0;
  --primary-light: #ce93d8;
  --primary-dark: #6a0080;
  --pink: #e91e63;
  --pink-light: #f48fb1;
  --blue: #1e88e5;
  --blue-light: #64b5f6;
  --cyan: #00bcd4;
  --yellow: #ffc107;
  --yellow-light: #fff176;
  --green: #43a047;
  --orange: #ff7043;
  --red: #e53935;
  --teal: #00897b;

  --text-dark: #1a1a2e;
  --text-body: #374151;
  --text-muted: #6b7280;
  --bg-light: #f8f4ff;
  --bg-white: #ffffff;
  --border: #e5e7eb;

  --shadow-sm: 0 2px 8px rgba(156, 39, 176, 0.08);
  --shadow-md: 0 8px 30px rgba(156, 39, 176, 0.12);
  --shadow-lg: 0 20px 60px rgba(156, 39, 176, 0.16);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --transition: all 0.3s 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', sans-serif;
  font-weight: 400;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.1px;
}

.btn-primary {
  background: #9c27b0;
  color: white;
  border-color: #9c27b0;
}
.btn-primary:hover {
  background: #7b1fa2;
  border-color: #7b1fa2;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: #9c27b0;
}
.btn-outline:hover {
  background: #f5eaf8;
}

.btn-outline-purple {
  background: transparent;
  color: var(--primary);
  border-color: #9c27b0;
  width: 100%;
  justify-content: center;
}
.btn-outline-purple:hover {
  background: #f5eaf8;
  color: #7b1fa2;
}

.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border-color: #d0d0d0;
}
.btn-ghost:hover {
  background: #f5f5f5;
  border-color: #bbb;
}

.btn-white {
  background: white;
  color: #9c27b0;
  border-color: white;
  font-weight: 500;
}
.btn-white:hover {
  background: #f5eaf8;
  border-color: #f5eaf8;
}

.btn-ghost-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}

.btn-lg { padding: 13px 28px; font-size: 0.95rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; margin-bottom: 60px; }

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(156,39,176,0.1), rgba(233,30,99,0.1));
  color: var(--primary);
  padding: 6px 20px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(156,39,176,0.2);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 0.97rem;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { display: flex; align-items: center; }
/* Logo image */
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-body);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(156,39,176,0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 4px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 0;
  background: linear-gradient(150deg, #fdf6ff 0%, #fff0f7 30%, #f0f8ff 70%, #f8f4ff 100%);
  overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.shape-1 { width: 500px; height: 500px; background: radial-gradient(circle, #ce93d8, transparent); top: -100px; left: -100px; }
.shape-2 { width: 400px; height: 400px; background: radial-gradient(circle, #f48fb1, transparent); top: 200px; right: -80px; }
.shape-3 { width: 350px; height: 350px; background: radial-gradient(circle, #81d4fa, transparent); bottom: 100px; left: 30%; }
.shape-4 { width: 300px; height: 300px; background: radial-gradient(circle, #fff176, transparent); bottom: -80px; right: 20%; }

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(156,39,176,0.3);
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 0.97rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== DASHBOARD MOCKUP ===== */
.dash-mockup {
  width: 100%;
  max-width: 580px;
  background: #f5f5f7;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.16);
  border: 1px solid #e0e0e0;
  animation: float 4s ease-in-out infinite;
  font-size: 0.72rem;
}

/* Top bar */
.dash-topbar {
  background: white;
  border-bottom: 1px solid #ebebeb;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dash-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.dash-logo { height: 22px; width: auto; object-fit: contain; }
.dash-topbar-icons {
  display: flex;
  gap: 10px;
  color: #bbb;
  font-size: 0.75rem;
  padding: 0 8px;
  border-left: 1px solid #ebebeb;
  border-right: 1px solid #ebebeb;
}
.dash-search {
  background: #f5f5f7;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 4px 10px;
  color: #aaa;
  font-size: 0.68rem;
  flex: 1;
  max-width: 180px;
}
.dash-admin {
  font-size: 0.72rem;
  font-weight: 500;
  color: #555;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Body = sidebar + main */
.dash-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 340px;
}

/* Sidebar */
.dash-sidebar {
  background: #5c1a7a;
  padding: 10px 0;
}
.dash-menu-item {
  padding: 8px 12px;
  color: rgba(255,255,255,0.6);
  font-size: 0.68rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: var(--transition);
}
.dash-menu-item i { width: 12px; font-size: 0.65rem; }
.dash-menu-item.active {
  background: rgba(255,255,255,0.15);
  color: white;
  font-weight: 500;
}
.dash-menu-item:hover:not(.active) {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.85);
}

/* Main content */
.dash-main {
  background: white;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.dash-breadcrumb {
  font-size: 0.66rem;
  color: #aaa;
}
.dash-breadcrumb span { color: #333; font-weight: 500; }

/* Actions row */
.dash-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.dash-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid #f0f0f0;
}
.dash-tab {
  padding: 4px 10px;
  font-size: 0.66rem;
  font-weight: 500;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.dash-tab.active { color: #9c27b0; border-bottom-color: #9c27b0; }

.dash-btns {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.dash-btn-primary {
  background: linear-gradient(135deg, #9c27b0, #e91e63);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.65rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dash-btn-sec {
  background: #f5f5f7;
  color: #555;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.63rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dash-search-sm {
  background: #f5f5f7;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 4px 8px;
  color: #bbb;
  font-size: 0.63rem;
  width: 70px;
}
.dash-btn-filter {
  background: #f5f5f7;
  color: #9c27b0;
  border: 1px solid #e0c8f0;
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 0.63rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Table */
.dash-table { flex: 1; overflow: hidden; }
.dash-table-head {
  display: grid;
  grid-template-columns: 52px 1fr 56px 52px 42px 62px 36px;
  padding: 5px 6px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 4px 4px 0 0;
  font-size: 0.6rem;
  font-weight: 600;
  color: #aaa;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.dash-row {
  display: grid;
  grid-template-columns: 52px 1fr 56px 52px 42px 62px 36px;
  padding: 6px 6px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 0.66rem;
  color: #444;
  align-items: center;
  transition: background 0.15s;
}
.dash-row:hover { background: #fdf4ff; }
.dash-row-active { background: #fdf4ff; }

.col-sku { color: #aaa; font-size: 0.62rem; }
.col-name { font-weight: 500; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.col-price { font-weight: 500; color: #333; }
.col-act { display: flex; gap: 6px; color: #bbb; font-size: 0.65rem; cursor: pointer; }
.col-act i:hover { color: #9c27b0; }

.cat-badge {
  font-size: 0.58rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 500;
}
.cat-drink  { background: #e3f2fd; color: #1565c0; }
.cat-food   { background: #fce4ec; color: #c62828; }
.cat-sweet  { background: #fff8e1; color: #f57f17; }
.cat-snack  { background: #e8f5e9; color: #2e7d32; }

.qty-badge {
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}
.qty-low { background: #fce4ec; color: #c62828; }

.status-active {
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.58rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.device-mockup {
  position: relative;
  width: 100%;
  max-width: 520px;
  filter: drop-shadow(0 30px 60px rgba(156,39,176,0.2));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mockup-screen {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #1a1a2e;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-weight: 400;
}

.mockup-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green { background: #28c840; }

.mockup-base {
  height: 24px;
  background: linear-gradient(180deg, #e0e0e0, #bdbdbd);
  border-radius: 0 0 8px 8px;
  margin: 0 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* POS UI */
.pos-ui {
  display: grid;
  grid-template-columns: 90px 1fr 150px;
  height: 360px;
}

.pos-sidebar {
  background: #1a1a2e;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pos-cat {
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.pos-cat.active,
.pos-cat:hover {
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
}

.pos-items {
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-light);
  overflow-y: auto;
}

.pos-item {
  background: white;
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.pos-item:hover, .pos-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(156,39,176,0.15);
  transform: scale(1.02);
}

.pos-item-icon { font-size: 1.5rem; margin-bottom: 4px; }
.pos-item-name { font-size: 0.7rem; font-weight: 500; color: var(--text-dark); margin-bottom: 2px; }
.pos-item-price { font-size: 0.68rem; font-weight: 600; color: var(--primary); }

.pos-cart {
  background: white;
  padding: 12px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
}

.pos-cart-title {
  font-weight: 600;
  font-size: 0.83rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-badge {
  background: var(--primary);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pos-cart-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.pos-cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text-dark);
  padding: 10px 0 8px;
}

.pos-pay-btn {
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Float Cards */
.float-card {
  position: absolute;
  background: white;
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  z-index: 10;
  font-size: 0.82rem;
  animation: float-subtle 3s ease-in-out infinite;
}

@keyframes float-subtle {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
}

.float-card i {
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-1 { top: 20px; left: -30px; animation-delay: 0s; }
.card-2 { bottom: 60px; right: -20px; animation-delay: 1s; }
.card-3 { bottom: -20px; left: 20px; animation-delay: 2s; }

.fc-label { color: var(--text-muted); font-size: 0.72rem; margin-bottom: 2px; }
.fc-value { font-weight: 800; color: var(--text-dark); font-size: 0.9rem; }

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* ===== TRUSTED ===== */
.trusted-section {
  background: var(--bg-light);
  padding: 40px 0;
}

.trusted-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trusted-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.trusted-logo-item:hover {
  color: var(--primary);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.trusted-logo-item i {
  color: var(--primary);
}

/* ===== FEATURES ===== */
.features-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 4px 4px 0 0;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.card-purple::before { background: linear-gradient(90deg, #9c27b0, #ce93d8); }
.card-pink::before   { background: linear-gradient(90deg, #e91e63, #f48fb1); }
.card-blue::before   { background: linear-gradient(90deg, #1e88e5, #64b5f6); }
.card-yellow::before { background: linear-gradient(90deg, #ffc107, #fff176); }
.card-green::before  { background: linear-gradient(90deg, #43a047, #a5d6a7); }
.card-orange::before { background: linear-gradient(90deg, #ff7043, #ffab91); }
.card-teal::before   { background: linear-gradient(90deg, #00897b, #80cbc4); }
.card-red::before    { background: linear-gradient(90deg, #e53935, #ef9a9a); }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card-purple .feature-icon { background: rgba(156,39,176,0.1); color: #9c27b0; }
.card-pink .feature-icon   { background: rgba(233,30,99,0.1);  color: #e91e63; }
.card-blue .feature-icon   { background: rgba(30,136,229,0.1); color: #1e88e5; }
.card-yellow .feature-icon { background: rgba(255,193,7,0.1);  color: #f57c00; }
.card-green .feature-icon  { background: rgba(67,160,71,0.1);  color: #43a047; }
.card-orange .feature-icon { background: rgba(255,112,67,0.1); color: #ff7043; }
.card-teal .feature-icon   { background: rgba(0,137,123,0.1);  color: #00897b; }
.card-red .feature-icon    { background: rgba(229,57,53,0.1);   color: #e53935; }

.feature-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== MODULES ===== */
.modules-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.modules-wrapper {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.modules-tabs {
  display: flex;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.module-tab {
  flex: 1;
  padding: 20px 16px;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 3px solid transparent;
}

.module-tab:hover { color: var(--primary); }
.module-tab.active {
  color: var(--primary);
  background: white;
  border-bottom-color: var(--primary);
}

.module-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px;
  align-items: center;
}
.module-panel.active { display: grid; }

.module-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.module-info p {
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.module-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 32px;
}

.module-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-body);
}

.module-features li i {
  color: var(--primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Module Screens */
.module-screen {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.ms-header {
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
  font-weight: 500;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ms-body { padding: 20px; }

.ms-row {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.ms-row span:first-child { flex: 1; font-weight: 500; color: var(--text-dark); }
.ms-qty {
  background: rgba(156,39,176,0.1);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-right: 16px;
}
.ms-row span:last-child { font-weight: 500; color: var(--text-dark); }

.ms-divider { height: 1px; background: var(--border); margin: 8px 0; }

.ms-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 10px 0 16px;
}

.ms-btn {
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Table grid */
.table-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.table-item {
  padding: 16px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-light);
  color: var(--text-muted);
  border: 2px solid transparent;
}

.table-item.occupied {
  background: linear-gradient(135deg, rgba(156,39,176,0.1), rgba(233,30,99,0.1));
  color: var(--primary);
  border-color: rgba(156,39,176,0.2);
}

.table-item small { display: block; font-weight: 500; font-size: 0.68rem; margin-top: 4px; }

/* Wholesale screen */
.wh-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.wh-val {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
}
.wh-val.green { color: var(--green); }
.wh-val.orange { color: var(--orange); }
.wh-val.purple { color: var(--primary); }

/* Service screen */
.appt-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.appt-time {
  background: var(--bg-light);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--primary);
  flex-shrink: 0;
}
.appt-item.active .appt-time {
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
}
.appt-item.active span:last-child { font-weight: 700; color: var(--text-dark); }

/* ===== EASY USE SECTION ===== */
.easy-section {
  padding: 90px 0;
  background: var(--bg-white);
}

.easy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.easy-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  position: relative;
}

.easy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  background: white;
}

.easy-card.easy-main {
  grid-column: span 2;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(135deg, #fdf4ff, #fff0f7);
  border-color: rgba(156,39,176,0.18);
}

.easy-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.easy-text h3 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.easy-text p {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
}

.easy-tag {
  display: inline-block;
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--primary);
  background: rgba(156,39,176,0.08);
  padding: 3px 10px;
  border-radius: 4px;
  align-self: flex-start;
}

/* Easy steps bar */
.easy-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 24px 0 0;
}

.easy-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
}

.easy-step-num {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.easy-step-line {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin: 0 16px;
}

/* Hero checklist */
.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-body);
}

.hero-check i {
  color: var(--primary);
  font-size: 0.78rem;
  width: 18px;
  height: 18px;
  background: rgba(156,39,176,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Responsive easy grid */
@media (max-width: 900px) {
  .easy-grid {
    grid-template-columns: 1fr 1fr;
  }
  .easy-card.easy-main {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .easy-grid {
    grid-template-columns: 1fr;
  }
  .easy-card.easy-main {
    grid-column: span 1;
    flex-direction: column;
  }
  .easy-steps {
    flex-direction: column;
    gap: 8px;
  }
  .easy-step-line {
    width: 1px;
    height: 20px;
    margin: 0;
  }
}

/* ===== HOW IT WORKS ===== */
.how-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 40px 32px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(156,39,176,0.1), rgba(233,30,99,0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin: 0 auto 20px;
}

.step-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.step-card p { font-size: 0.88rem; font-weight: 400; color: var(--text-muted); line-height: 1.65; }

.step-arrow {
  color: var(--primary-light);
  font-size: 1.5rem;
  padding: 0 16px;
  flex-shrink: 0;
}

/* ===== PRICING + CTA ===== */
.pricing-cta-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.pricing-save-note {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  margin: 0 auto 48px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--green), #66bb6a);
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.35);
}

.pricing-save-note i {
  font-size: 1.4rem;
}

.pricing-save-note strong {
  font-weight: 900;
}

@media (max-width: 480px) {
  .pricing-save-note {
    font-size: 1.05rem;
    padding: 12px 20px;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 2px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 16px 36px rgba(156,39,176,0.18);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: white;
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(156,39,176,0.12);
}

.pricing-card.featured:hover { transform: scale(1.06) translateY(-10px); }

.plan-popular {
  position: absolute;
  top: 20px; right: -30px;
  background: #9c27b0;
  color: white;
  padding: 6px 40px;
  font-size: 0.72rem;
  font-weight: 500;
  transform: rotate(40deg);
  border-radius: 0;
}

.plan-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.plan-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.price-currency { font-size: 1.1rem; font-weight: 600; color: var(--primary); }
.price-amount {
  font-family: 'Inter', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-dark);
}
.price-period { font-size: 0.88rem; color: var(--text-muted); font-weight: 400; }

.plan-desc {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-body);
}

.plan-features li.disabled { color: var(--text-muted); text-decoration: line-through; opacity: 0.5; }
.plan-features li i.fa-check { color: var(--primary); }
.plan-features li i.fa-times { color: var(--text-muted); }

.plan-btn { width: 100%; justify-content: center; }

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pricing-note i { color: var(--primary); }
.pricing-note strong { font-weight: 600; color: var(--text-dark); }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-card.featured {
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
  border: none;
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--yellow);
  font-size: 0.95rem;
}

.testimonial-card.featured .testimonial-stars { color: rgba(255,255,255,0.9); }

.testimonial-card p {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card.featured p { color: rgba(255,255,255,0.9); }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name { font-weight: 600; font-size: 0.88rem; color: var(--text-dark); }
.author-role { font-size: 0.76rem; font-weight: 400; color: var(--text-muted); }
.testimonial-card.featured .author-name { color: white; }
.testimonial-card.featured .author-role { color: rgba(255,255,255,0.75); }

/* ===== CTA ===== */
.cta-card { margin-top: 60px; }

.cta-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--pink));
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-shape.s1 { width: 300px; height: 300px; top: -80px; right: -80px; }
.cta-shape.s2 { width: 200px; height: 200px; bottom: -60px; left: -60px; }
.cta-shape.s3 { width: 150px; height: 150px; top: 50%; left: 10%; transform: translateY(-50%); }

.cta-content { position: relative; z-index: 1; }

.cta-card h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 0.97rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}

.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-item a { color: var(--primary); font-weight: 600; }
.contact-item a:hover { color: var(--pink); }

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-btn {
  width: 42px; height: 42px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  transition: var(--transition);
}

.social-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.social-btn.facebook { background: #1877f2; }
.social-btn.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.twitter { background: #1da1f2; }
.social-btn.youtube { background: #ff0000; }

/* Contact Form */
.contact-form-wrapper { position: relative; }

.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: white;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(156,39,176,0.08);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.success-icon {
  font-size: 3.5rem;
  color: var(--green);
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.form-success p { font-weight: 400; color: var(--text-muted); }

.trial-creds {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--bg-light, #f7f7fb);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg, 12px);
  text-align: left;
  display: inline-block;
}
.trial-creds .cred-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.95rem;
  padding: 4px 0;
  color: var(--text-dark);
}
.trial-creds .cred-row span { color: var(--text-muted); }
.trial-creds .cred-row strong { font-family: 'Inter', monospace; letter-spacing: 0.3px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 20px 0 24px;
  max-width: 300px;
}

.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  display: block;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-socials a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-col a:hover { color: var(--primary-light); padding-left: 4px; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-links a:hover { color: var(--primary-light); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(156,39,176,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(156,39,176,0.5);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-content { align-items: center; display: flex; flex-direction: column; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .float-card { display: none; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }

  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

  .contact-wrapper { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }

  .module-panel.active { grid-template-columns: 1fr; }
  .module-panel { padding: 32px; }

  .steps-grid { flex-direction: column; max-width: 360px; margin: 0 auto; }
  .step-arrow { transform: rotate(90deg); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-container { flex-wrap: wrap; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: white;
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    gap: 4px;
    order: 3;
  }

  .nav-links.open a { padding: 12px 16px; }

  .nav-actions.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 4;
    padding-bottom: 16px;
  }

  .features-grid { grid-template-columns: 1fr 1fr; }

  .modules-tabs { flex-wrap: wrap; }
  .module-tab { flex: none; width: 50%; }

  .module-features { grid-template-columns: 1fr; }

  .pos-ui { grid-template-columns: 70px 1fr; }
  .pos-cart { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form { padding: 28px 24px; }

  .footer-links { grid-template-columns: 1fr 1fr; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-card { padding: 48px 28px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .module-tab { width: 100%; }
  .hero-title { font-size: 2rem; }
  .footer-links { grid-template-columns: 1fr; }
  .trusted-logos { flex-direction: column; align-items: center; }
}
