/**
 * Vatech Asia Design Tokens & Variables
 * Derived directly from Vatech CI Standards & Frontend Brief
 */

:root {
  /* Official Brand Colors */
  --color-brand-red: #db072f;         /* Official Vatech Red */
  --color-brand-red-hover: #b80526;   /* Deepened state for interactive hover */
  --color-brand-blue: #c1daee;        /* Official Vatech Blue (Watermarks, accents) */
  --color-brand-gray: #f7f8f8;        /* Official Vatech Gray (Alternate surface backgrounds) */
  --color-brand-black: #000000;       /* Official Vatech Black (Footer, deep contrast) */
  --color-brand-white: #ffffff;       /* Official Vatech White (Pristine surfaces) */
  --color-brand-green: #00965e;       /* Official Green X Primary Green */
  --color-brand-green-x: #85bb5a;     /* Green X Series Accent from X onwards (#85bb5a) */
  --color-brand-orange: #ed6d1d;      /* Smart Plus / PaX-i Plus Accent (#ed6d1d) */
  --color-brand-a9: #6d6863;          /* A9 Series Neutral (#6d6863) */
  --color-brand-ez-suffix: #59554c;   /* EzRay / EzSensor Suffix Accent (#59554c) */
  --color-brand-software-primary: #00a271; /* Software Primary Green (Ez / CleverOne / Davis) */
  --color-brand-software-suffix: #8cc448;  /* Software Suffix Accent (#8cc448) */

  /* Surface Mappings */
  --color-bg-light: var(--color-brand-white);
  --color-bg-subtle: var(--color-brand-gray);
  --color-bg-dark: var(--color-brand-black);
  --color-bg-watermark: #f2f7fc;

  /* Typography Colors */
  --color-text-primary: #111111;      /* Charcoal black for primary readability */
  --color-text-secondary: #555555;    /* Supporting copy */
  --color-text-muted: #8E959E;        /* Captions, labels, arrows */
  --color-text-white: #ffffff;        /* Hero overlays and dark footer copy */
  --color-text-dark-muted: rgba(255, 255, 255, 0.65);

  /* Outline Typography Strokes */
  --stroke-outline-light: rgba(255, 255, 255, 0.45);
  --stroke-outline-dark: #111111;
  --stroke-outline-blue: var(--color-brand-blue); /* Section 4 watermark tint */

  /* Interactive Elements (Pills & CTAs) */
  --color-pill-bg: #ffffff;
  --color-pill-text: #111111;
  --color-pill-border: rgba(0, 0, 0, 0.12);
  --color-pill-dark-bg: #111111;
  --color-pill-dark-text: #ffffff;

  /* Font Families */
  --font-display: 'Vatech Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Noto Sans', 'Segoe UI', sans-serif;

  /* Hero Headline Typography Standards (Standardized to Home page hero headline) */
  --hero-headline-font-family: var(--font-display);
  --hero-headline-font-weight: 700;
  --hero-headline-line-height: 0.92;          /* Standardized tight hero linespacing across all pages */
  --hero-headline-letter-spacing: -0.035em;   /* Standardized character tracking across all pages */

  /* Layout & Viewport Spacing */
  --container-max-width: 1440px;
  --container-padding: clamp(20px, 4vw, 64px);
  --section-spacing-y: clamp(80px, 10vw, 160px);

  /* Elevation & Shadows */
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 18px 40px rgba(0, 0, 0, 0.08);
  --shadow-header: 0 4px 20px rgba(0, 0, 0, 0.04);

  /* Z-Indices */
  --z-watermark: 0;
  --z-card-base: 1;
  --z-content: 2;
  --z-header: 1000;
  --z-drawer: 1100;
  --z-modal: 1200;

  /* Image Stand-In & Breathing Placeholder Tokens */
  --color-placeholder-light: #f1f4f8;
  --color-placeholder-dark: #121518;
  --color-placeholder-subtle: #f8fafc;
  --color-placeholder-glow-light: rgba(220, 230, 242, 0.45);
  --color-placeholder-glow-dark: rgba(255, 255, 255, 0.08);
  --ease-image-reveal: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-image-reveal: 400ms;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-image-hover: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-image-hover: 500ms;
  --transition-image-hover: transform var(--duration-image-hover, 500ms) var(--ease-image-hover, cubic-bezier(0.16, 1, 0.3, 1));
  --transition-fast: 200ms ease;
  --transition-normal: 300ms var(--ease-out-expo);
  --transition-slow: 600ms var(--ease-out-expo);
}
