/*
  Laundry Rental Marketing Site - Global Styles
  Author: Placeholder Name
  Notes: Keep classes semantic and reusable. Maintain consistent brand colors.
*/

/* CSS Reset (modern minimal) */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* CSS Variables: Brand Theme */
:root {
  --color-primary: #2a7de1;         /* Vibrant blue */
  --color-primary-600: #1f62b2;     
  --color-accent: #00d4a6;          /* Teal accent */
  --color-dark: #0e1a2b;            /* Deep navy */
  --color-text: #233042;            /* Body text */
  --color-muted: #6c7a8a;           /* Muted text */
  --color-bg: #f7fbff;              /* Page background */
  --color-surface: #ffffff;         /* Cards, header */
  --color-border: #e4e9f1;          /* Hairline borders */

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 4px 12px rgba(20, 39, 72, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 39, 72, 0.10);
  --shadow-lg: 0 18px 60px rgba(20, 39, 72, 0.16);

  --container: 1120px;
}

/* Typography */
@font-face {
  font-family: "InterVar";
  src: local("Inter"), local("Inter var");
  font-display: swap;
}

body {
  font-family: InterVar, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3 {
  color: var(--color-dark);
  line-height: 1.25;
  margin: 0 0 0.6rem 0;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); }
p { margin: 0 0 1rem 0; color: var(--color-text); }

/* Layout */
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: radial-gradient(120px 120px at 10% 10%, var(--color-primary), var(--color-primary-600));
  color: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.nav-links a:hover {
  background: #f0f6ff;
  color: var(--color-primary) !important;
}

/* Mobile nav defaults (hide on desktop) */
[data-menu-button] { display: none; }
[data-menu-panel] { display: none; }

/* Mobile navigation */
@media (max-width: 900px) {
  [data-menu-button] { display: inline-flex !important; }
  .nav-links { display: none; }
  [data-menu-panel][data-open] { display: block; }
  [data-menu-panel] {
    display: none;
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 12px;
  }
  [data-menu-panel] a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); }
  [data-menu-panel] a + a { margin-top: 6px; }
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white !important;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: transform .16s ease, box-shadow .16s ease;
}

.cta-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* Hero */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0;
  background: radial-gradient(1200px 400px at 0% 0%, rgba(42, 125, 225, 0.10), rgba(0,0,0,0)),
              radial-gradient(1200px 400px at 100% 0%, rgba(0, 212, 166, 0.08), rgba(0,0,0,0));
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle { color: var(--color-muted); max-width: 720px; }

.hero-cta {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Cards */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.card h3 { margin-bottom: 6px; }
.card p { color: var(--color-muted); }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

.price-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.price-header {
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(42, 125, 225, 0.10), rgba(0, 212, 166, 0.10));
}

.price-body { padding: 20px; }
.price { font-size: 2rem; font-weight: 800; color: var(--color-dark); }
.price small { font-size: 0.8rem; font-weight: 500; color: var(--color-muted); }
.feature-list { list-style: none; padding: 0; margin: 12px 0 0 0; }
.feature-list li { padding: 6px 0; color: var(--color-text); }

/* Footer */
.site-footer {
  margin-top: 48px;
  background: var(--color-dark);
  color: #c9d4e5;
}

.footer-inner { padding: 32px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }
.footer a { color: #e7f0ff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* Utilities */
.section { padding: 48px 0; }
.muted { color: var(--color-muted); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #eaf3ff; color: var(--color-primary); font-weight: 600; }
.divider { height: 1px; background: var(--color-border); margin: 24px 0; }

/* Animations */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: floatIn 600ms ease forwards; opacity: 0; }
.delay-1 { animation-delay: 120ms; }
.delay-2 { animation-delay: 240ms; }
.delay-3 { animation-delay: 360ms; }

/* Accessibility helpers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }


