/* ========================================================================
   OneStopMart — Partnered with LookBook
   Design Tokens & Core Variables
   Consistent visual system matching brand identity and future Vendor App
   ======================================================================== */

:root {
  /* Brand Primary Colors */
  --color-navy: #0F2330;
  --color-navy-light: #183344;
  --color-navy-dark: #091721;
  --color-navy-muted: rgba(15, 35, 48, 0.7);
  --color-navy-glass: rgba(15, 35, 48, 0.85);

  --color-purple: #3E1256;
  --color-purple-light: #521873;
  --color-purple-dark: #2B0C3C;
  --color-purple-soft: rgba(62, 18, 86, 0.08);

  --color-gold: #FFD700;
  --color-gold-hover: #E5C200;
  --color-gold-light: #FFF4B8;
  --color-gold-dark: #C9A800;
  --color-gold-glow: rgba(255, 215, 0, 0.35);

  --color-lavender: #EFD7F0;
  --color-lavender-soft: #F9F1FA;
  --color-lavender-dark: #D4B2D6;

  --color-green: #4F6F6B;
  --color-green-light: #6A8E8A;
  --color-green-soft: rgba(79, 111, 107, 0.12);
  --color-green-success: #2E7D32;
  --color-green-badge: #E8F5E9;

  /* Surfaces & Backgrounds */
  --bg-cream: #F8F7F2;
  --bg-cream-card: #FFFFFF;
  --bg-cream-alt: #F1EFE8;
  --bg-white: #FFFFFF;
  --bg-dark: #0F2330;
  --bg-dark-card: #152C3C;
  --bg-dark-border: rgba(255, 255, 255, 0.12);

  /* Typography Colors */
  --text-dark: #18232D;
  --text-muted: #576574;
  --text-light: #F8F7F2;
  --text-white: #FFFFFF;
  --text-dim: #94A3B8;

  /* Borders & Dividers */
  --border-light: rgba(15, 35, 48, 0.1);
  --border-medium: rgba(15, 35, 48, 0.18);
  --border-focus: #3E1256;
  --border-gold: rgba(255, 215, 0, 0.5);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 35, 48, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 35, 48, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 35, 48, 0.12);
  --shadow-xl: 0 24px 60px rgba(15, 35, 48, 0.16);
  --shadow-card: 0 10px 30px rgba(15, 35, 48, 0.06);
  --shadow-elevated: 0 20px 50px rgba(15, 35, 48, 0.18);
  --shadow-glow-gold: 0 8px 25px rgba(255, 215, 0, 0.3);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 96px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* Container */
  --container-max-width: 1280px;
  --container-padding: 24px;
}

/* Base Styles & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section-wrapper {
  padding-top: var(--spacing-4xl);
  padding-bottom: var(--spacing-4xl);
  position: relative;
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--spacing-3xl) auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--color-lavender-soft);
  color: var(--color-purple);
  border: 1px solid var(--color-lavender);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-tag.tag-navy {
  background: rgba(15, 35, 48, 0.06);
  color: var(--color-navy);
  border-color: rgba(15, 35, 48, 0.15);
}

.section-tag.tag-gold {
  background: rgba(255, 215, 0, 0.12);
  color: #B8860B;
  border-color: rgba(255, 215, 0, 0.35);
}

.section-tag.tag-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-gold);
  border-color: rgba(255, 215, 0, 0.25);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title.title-white {
  color: var(--bg-white);
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.65;
}

.section-subtitle.subtitle-light {
  color: #B2C4D2;
}

/* Demo Data Notice Tag */
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: rgba(15, 35, 48, 0.06);
  color: var(--text-muted);
  border-radius: var(--radius-xs);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.demo-badge.badge-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #A0B2C6;
}
