/* ==========================================================================
   LAPTORENT — BASE / DESIGN SYSTEM
   Brand: Sayvtech ecosystem — LaptoRent
   ========================================================================== */

:root {
  /* ---- Brand colors ---- */
  --lr-purple: #714684;
  --lr-purple-dark: #4B1F58;
  --lr-purple-deep: #35163F;

  --lr-burgundy: #95151F;
  --lr-burgundy-dark: #731018;

  /* ---- Light brand surfaces ---- */
  --lr-lavender: #F5F0F7;
  --lr-lavender-light: #FAF7FB;
  --lr-lavender-dark: #EDE3F0;

  /* ---- Neutrals ---- */
  --lr-white: #FFFFFF;
  --lr-background: #FCFBFD;

  --lr-text: #211C23;
  --lr-text-secondary: #625C64;
  --lr-text-muted: #817A84;

  --lr-border: #E8E0EB;
  --lr-border-dark: #D7CBDC;

  /* ---- Functional colors ---- */
  --lr-success: #2F7D57;
  --lr-success-light: #EAF6EF;

  --lr-warning: #B7791F;
  --lr-warning-light: #FFF7E6;

  --lr-error: #B42318;
  --lr-error-light: #FDECEC;

  /* ---- WhatsApp ---- */
  --lr-whatsapp: #25D366;
  --lr-whatsapp-dark: #1DA851;

  /* ---- Shadows (purple-tinted, never pure black) ---- */
  --lr-shadow-sm: 0 2px 8px rgba(53, 22, 63, 0.06);
  --lr-shadow-md: 0 8px 24px rgba(53, 22, 63, 0.10);
  --lr-shadow-lg: 0 16px 45px rgba(53, 22, 63, 0.14);

  /* ---- Brand gradient ---- */
  --lr-gradient: linear-gradient(135deg, #4B1F58 0%, #714684 55%, #95151F 100%);
  --lr-gradient-cta: linear-gradient(135deg, #4B1F58, #714684);

  /* ---- Type ---- */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* ---- Layout ---- */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed-fast: 160ms;
  --speed-med: 320ms;
  --speed-slow: 620ms;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--lr-background);
  color: var(--lr-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--lr-text);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 3.75rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--lr-text-secondary); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lr-purple);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--lr-burgundy);
  display: inline-block;
}

/* ---- Spec chip: the site's signature motif ---- */
.spec-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--lr-purple-dark);
  background: var(--lr-lavender);
  border: 1px solid var(--lr-border-dark);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.spec-chip::before { content: '['; color: var(--lr-purple); opacity: 0.6; }
.spec-chip::after { content: ']'; color: var(--lr-purple); opacity: 0.6; }

/* ---- Layout helpers ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.section { padding: 96px 0; }
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
}
@media (max-width: 360px) {
  .container { padding: 0 16px; }
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { font-size: 1.05rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- Scroll reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--speed-slow) var(--ease), transform var(--speed-slow) var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---- Focus states (accessibility) ---- */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--lr-purple);
  outline-offset: 3px;
  border-radius: 4px;
}
