@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand colors strictly derived from Kien Tam Agri logo */
  --primary-deep: #14532d;       /* Deep Forest Green */
  --primary: #15803d;            /* Vibrant Leaf Green */
  --primary-light: #22c55e;      /* Fresh Sprout Green */
  --primary-soft: #f0fdf4;       /* Soft Mint Background */

  --accent-amber: #d97706;       /* Golden Sun Amber */
  --accent-amber-light: #f59e0b;
  --accent-soft: #fefce8;        /* Warm Harvest Cream */

  --text-main: #0f172a;          /* Slate 900 */
  --text-muted: #475569;         /* Slate 600 */
  --text-sub: #64748b;           /* Slate 500 */
  
  --bg-body: #f8fafc;            /* Crisp clean background */
  --bg-card: #ffffff;
  --bg-surface: #ffffff;
  
  --border-color: #e2e8f0;
  --border-focus: #16a34a;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] {
  --primary-deep: #22c55e;
  --primary: #4ade80;
  --primary-light: #86efac;
  --primary-soft: #064e3b;

  --accent-amber: #fbbf24;
  --accent-amber-light: #fcd34d;
  --accent-soft: #451a03;

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-sub: #94a3b8;

  --bg-body: #090d16;
  --bg-card: #131b2e;
  --bg-surface: #1e293b;

  --border-color: #334155;
  --border-focus: #4ade80;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 0.2s ease, color 0.2s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

button, input, select, textarea {
  font-family: inherit;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

