/* ==========================================================================
   MOTOMAN SHOP — DESIGN SYSTEM BASE (PREMIUM REDESIGN)
   ========================================================================== */

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

:root {
  /* HSL PRIMARY COLOR PALETTE */
  --mm-red-h: 360;
  --mm-red-s: 85%;
  --mm-red-l: 45%;

  --mm-red:        hsl(var(--mm-red-h), var(--mm-red-s), var(--mm-red-l));
  --mm-red-dark:   hsl(var(--mm-red-h), var(--mm-red-s), calc(var(--mm-red-l) - 10%));
  --mm-red-light:  hsl(var(--mm-red-h), var(--mm-red-s), 96%);
  --mm-red-alpha:  hsla(var(--mm-red-h), var(--mm-red-s), var(--mm-red-l), 0.1);

  /* NEUTRALS (Premium Cool Slate) */
  --mm-black:      #08090A;
  --mm-dark:       #111315;
  --mm-charcoal:   #1E2124;
  --mm-gray:       #64748B;
  --mm-silver:     #E2E8F0;
  --mm-light:      #F8FAFC;
  --mm-white:      #FFFFFF;

  /* SEMANTIC & INTERACTIVE */
  --mm-accent:     var(--mm-red);
  --mm-bg:         var(--mm-light);
  --mm-bg-dark:    var(--mm-dark);
  --mm-text:       #0F172A;
  --mm-text-muted: var(--mm-gray);
  --mm-border:     var(--mm-silver);
  --mm-surface:    var(--mm-white);

  /* TYPOGRAPHY */
  --mm-font:       'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mm-font-display: 'Outfit', sans-serif;

  /* SPACING & BORDERS */
  --mm-radius:     12px;
  --mm-radius-sm:  8px;
  --mm-radius-lg:  20px;
  --mm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --mm-transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --mm-transition-fast: all 0.15s ease-out;

  /* INTERACTION & HOVER EFFECTS */
  --mm-scale-hover: scale(1.02);
  --mm-shadow-hover: 0 20px 40px rgba(0,0,0,0.08);

  /* PREMIUM SHADOWS */
  --mm-shadow-sm:  0 2px 8px rgba(0,0,0,0.04);
  --mm-shadow:     0 8px 30px rgba(0,0,0,0.06);
  --mm-shadow-lg:  0 20px 50px rgba(0,0,0,0.12);
}

/* --- RESET & DEFAULTS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--mm-bg);
  color: var(--mm-text);
  font-family: var(--mm-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--mm-accent);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--mm-font-display);
  font-weight: 800;
  color: var(--mm-black);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h1 { font-size: 2.75rem; font-weight: 900; }
h2 { font-size: 2rem; font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 600; }

p {
  color: var(--mm-text-muted);
  margin-bottom: 1.25em;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1700px;
  padding: 0 24px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

/* --- SECTIONS --- */
.mm-section {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .mm-section { padding: 100px 0; }
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  font-family: var(--mm-font-display);
  letter-spacing: -0.01em;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--mm-accent);
  margin: 16px auto 0 auto;
  border-radius: 2px;
}

/* Button Reset & Utilities */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--mm-red);
  color: var(--mm-white) !important;
  font-family: var(--mm-font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 36px;
  border-radius: var(--mm-radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
  transition: var(--mm-transition);
}

.btn-primary:hover {
  background-color: var(--mm-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

/* --- ACCESSIBILITY FOCUS STATES --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--mm-red);
  outline-offset: 4px;
}

