/* ==========================================================================
   RETAILBOSS (retailboss.in) - MASTER DESIGN SYSTEM
   Modern, Elite, Enterprise SaaS & POS Hardware Aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --rb-primary: #2563EB;
  --rb-primary-hover: #1D4ED8;
  --rb-primary-glow: rgba(37, 99, 235, 0.25);
  
  --rb-accent-gold: #F59E0B;
  --rb-accent-gold-dark: #D97706;
  --rb-accent-emerald: #10B981;
  --rb-accent-purple: #8B5CF6;
  --rb-accent-orange: #F97316;

  /* Neutrals & Surfaces */
  --rb-bg-dark: #090D16;
  --rb-bg-card-dark: #111827;
  --rb-bg-card-glass: rgba(17, 24, 39, 0.75);
  --rb-border-dark: rgba(255, 255, 255, 0.1);
  --rb-border-glow: rgba(37, 99, 235, 0.35);

  --rb-bg-light: #F8FAFC;
  --rb-bg-card-light: #FFFFFF;
  --rb-border-light: #E2E8F0;

  --rb-text-primary: #0F172A;
  --rb-text-muted: #64748B;
  --rb-text-light: #F8FAFC;
  --rb-text-dim: #94A3B8;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.25);
  --shadow-gold: 0 0 30px rgba(245, 158, 11, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--rb-bg-light);
  color: var(--rb-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--rb-text-primary);
}

a {
  color: var(--rb-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--rb-primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Common Styles */
.section-py {
  padding: 80px 0;
}

.section-py-lg {
  padding: 110px 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 55px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(37, 99, 235, 0.1);
  color: var(--rb-primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  margin-bottom: 16px;
}

.section-badge.badge-gold {
  background: rgba(245, 158, 11, 0.12);
  color: var(--rb-accent-gold-dark);
  border-color: rgba(245, 158, 11, 0.3);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--rb-text-muted);
  font-weight: 400;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rb-primary) 0%, #1D4ED8 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, var(--rb-accent-gold) 0%, var(--rb-accent-gold-dark) 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

.btn-whatsapp-direct {
  background: #25D366;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-direct:hover {
  background: #20BA5A;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--rb-text-primary);
  border: 1px solid var(--rb-border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.btn-outline {
  background: transparent;
  color: var(--rb-text-primary);
  border: 1.5px solid var(--rb-border-light);
}

.btn-outline:hover {
  background: var(--rb-primary);
  color: #FFFFFF !important;
  border-color: var(--rb-primary);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-primary-sm {
  background: var(--rb-primary);
  color: #FFF !important;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn-secondary-sm {
  background: #F1F5F9;
  color: #334155 !important;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #E2E8F0;
  cursor: pointer;
}

/* Glassmorphism Classes */
.glass-panel-dark {
  background: var(--rb-bg-card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--rb-border-dark);
  border-radius: var(--radius-xl);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

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

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

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-py { padding: 60px 0; }
  .section-py-lg { padding: 80px 0; }
}
