/* Haulx Platform — Shared Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

:root {
  --primary: #4a5e45;
  --primary-dark: #3d4f3a;
  --primary-light: #5f7559;
  --secondary: #6b8f65;
  --secondary-light: #88a982;

  --accent-orange: #e67e22;
  --accent-blue: #3498db;
  --accent-success: #27ae60;
  --accent-warning: #f39c12;

  --bg: #f8f9fa;
  --bg-alt: #ffffff;
  --bg-dark: #e9ecef;
  --surface: #ffffff;
  --card-bg: #ffffff;

  --text: #2c3e50;
  --text-muted: #6c757d;
  --text-light: #95a5a6;

  --border: #dee2e6;
  --border-light: #e9ecef;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);

  --gradient-primary: linear-gradient(135deg, #4a5e45 0%, #6b8f65 100%);
  --gradient-hero: linear-gradient(135deg, #4a5e45 0%, #5f7559 50%, #88a982 100%);

  --radius: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; height: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  color: var(--text);
  background: var(--bg);
  min-height: 100%;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container { width: min(1200px, 100% - 2rem); margin: 0 auto; }

/* Hero */
.hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25em;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* Sub-nav */
.plat-subnav {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 10;
}
.plat-subnav a {
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: all 0.2s;
  text-decoration: none;
}
.plat-subnav a:hover {
  color: var(--primary);
  background: rgba(74,94,69,0.06);
  text-decoration: none;
}
.plat-subnav a.active {
  color: var(--primary);
  background: rgba(74,94,69,0.1);
}

/* Header */
.landing-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}
.landing-header .container { display: flex; align-items: center; justify-content: space-between; }
.landing-logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; color: var(--text); text-decoration: none; }
.landing-logo:hover { text-decoration: none; }
.landing-logo span { color: var(--primary); }

/* Footer */
.landing-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 560px) {
  .plat-subnav { flex-wrap: wrap; }
  .plat-subnav a { font-size: 0.75rem; padding: 0.4rem 0.75rem; }
}
