/**
 * CÂY ƠI DESIGN SYSTEM TOKENS
 * Extracted directly from Figma Canvas (Node 178:222 & 322:254)
 * Project: Cây Ơi - Smart Emotional Plant Companion
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Mali:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

:root {
  /* ── 1. Color Palette (Exact Figma Tokens) ────────────────────────────────── */
  /* Primary Greens */
  --color-primary: #40B691;            /* Xanh ngọc thương hiệu chính (RGB: 64, 182, 145) */
  --color-primary-dark: #008D61;       /* Xanh lục đậm tiêu đề & số thứ tự */
  --color-primary-deep: #256528;       /* Xanh lục sẫm */
  --color-primary-soft: #E8FFEB;       /* Nền xanh nhạt header, footer, badge, nút */
  --color-primary-mint: #A8EFCC;       /* Nền tròn halo trang trí sau chậu */
  --color-primary-light: #F2FFF3;      /* Nền thẻ OLED */
  --color-primary-hover: #329a79;      /* Trạng thái hover cho nút chính */

  /* Vibrant Blues */
  --color-brand-blue: #008FE6;         /* Xanh dương mô tả Hero, thẻ nhiệm vụ, gói trải nghiệm */
  --color-brand-blue-bg: #ACE0FF;      /* Nền xanh dương nhạt tab & icon */
  --color-brand-blue-soft: #CBEBFF;    /* Nền thẻ tính năng app */
  --color-accent-blue: #008FE6;

  /* Warm Yellows & Ambers */
  --color-brand-yellow: #FFD233;       /* Vàng tươi mặt trời Mascot */
  --color-brand-yellow-warm: #FFEFBC;  /* Nền vàng nhạt thẻ nhịp sinh hoạt Section 4 */
  --color-brand-yellow-sun: #FFD95E;   /* Vàng tròn mặt trời Section 4 */
  --color-brand-yellow-gold: #FBCD39;  /* Viền thẻ cảm biến quang học Section 5 */
  --color-accent-yellow: #FFD233;

  /* Oranges */
  --color-brand-orange: #FF8800;       /* Cam tươi tiêu đề phụ Section 3, 4, 11 */
  --color-brand-orange-gold: #EE9712;  /* Cam hổ phách tiêu đề FAQ & gói tối ưu */
  --color-brand-orange-deep: #F8BD00;  /* Cam đậm tiêu đề nhịp tưới nước Section 4 */
  --color-brand-orange-light: #FFE7CB; /* Nền nhạt thẻ an toàn trẻ nhỏ */

  /* Pinks & Magentas */
  --color-brand-pink: #EF0E6A;         /* Hồng sen giá Full Kit 1.800.000đ & gói tiêu chuẩn */
  --color-brand-pink-light: #FBD6D3;   /* Nền hồng nhạt tab Section 4 & thẻ cảm xúc */
  --color-accent-pink: #EF0E6A;

  /* Corals & Reds */
  --color-brand-coral: #F05536;        /* San hô cảm biến nhiệt độ & link Contact */
  --color-brand-coral-bg: #FCDDD7;     /* Nền san hô nhạt */
  --color-brand-red: #DB1B1C;          /* Đỏ viền thẻ Cảm xúc Hero */

  /* Neutral & Canvas Colors */
  --color-bg-white: #FFFFFF;           /* Trắng chuẩn */
  --color-bg-canvas: #FAFCFA;          /* Nền trang canvas */
  --color-bg-card: rgba(255, 255, 255, 0.70); /* Nền kính mờ chuẩn Figma */
  --color-bg-card-heavy: rgba(255, 255, 255, 0.85);
  
  /* Text Colors */
  --color-text-main: #1E293B;          /* Chữ chính */
  --color-text-muted: #64748B;         /* Chữ phụ */
  --color-text-light: #94A3B8;         /* Chú thích */
  --color-text-white: #FFFFFF;         /* Chữ trắng */

  /* Borders & Dividers */
  --color-border: #E2E8F0;             /* Viền mờ */
  --color-border-green: #40B691;       /* Viền xanh thương hiệu */

  /* ── 2. Typography ────────────────────────────────────────────────────────── */
  --font-heading: 'Mali', cursive, -apple-system, sans-serif;
  --font-body: 'Mali', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-alt: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Font Sizes */
  --font-size-xs: 0.75rem;     /* 12px */
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-base: 1rem;      /* 16px */
  --font-size-lg: 1.25rem;     /* 20px */
  --font-size-xl: 1.5rem;      /* 24px */
  --font-size-2xl: 1.875rem;   /* 30px */
  --font-size-3xl: 2.25rem;    /* 36px */
  --font-size-4xl: 2.5rem;     /* 40px */
  --font-size-5xl: 2.875rem;   /* 46px - Figma Section Titles */
  --font-size-price: 5rem;     /* 80px - Figma Kit Price */

  /* Font Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.45;
  --line-height-relaxed: 1.6;

  /* ── 3. Spacing Units ─────────────────────────────────────────────────────── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* ── 4. Border Radius ─────────────────────────────────────────────────────── */
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 15px;           /* Thẻ cảm biến & tính năng app */
  --radius-lg: 20px;
  --radius-xl: 26px;           /* Thẻ cốt lõi & khung Hero */
  --radius-2xl: 29px;          /* Thẻ tab nhịp sinh hoạt */
  --radius-3xl: 39px;          /* Khung lớn Section 4 */
  --radius-pill: 30px;         /* Toàn bộ nút Button chuẩn Figma */
  --radius-faq: 40px;          /* Pill accordion FAQ chuẩn Figma */
  --radius-full: 9999px;

  /* ── 5. Shadows ───────────────────────────────────────────────────────────── */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.10);
  --shadow-figma-inset: 12px 8px 5px rgba(0, 0, 0, 0.25) inset; /* Inset shadow thẻ Figma */
  --shadow-figma-card: 10px 10px 4px rgba(0, 0, 0, 0.25);
  --shadow-figma-card-lg: 12px 12px 4px rgba(0, 0, 0, 0.25);

  /* ── 6. Transitions ───────────────────────────────────────────────────────── */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ── 7. Layout Containers ─────────────────────────────────────────────────── */
  --container-max-width: 1440px;
  --content-max-width: 1280px;
  --navbar-height: 100px;
}
