/* ============================================
   ZERRAMAX — CSS Variables
   Theme: Clean White & Light Grey
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {

  /* ── Palette ─────────────────────────────── */
  --color-bg:           #FFFFFF;
  --color-bg-2:         #F7F7F8;
  --color-bg-card:      #FFFFFF;
  --color-bg-card-hover:#F0F8F1;
  --color-surface:      #F2F2F4;
  --color-surface-2:    #E8E8EC;

  --color-border:       rgba(0,0,0,0.08);
  --color-border-hover: rgba(0,0,0,0.16);

  --color-accent:       #2e9e79;
  --color-accent-light: #22886e;
  --color-accent-dark:  #1f6455;
  --color-accent-glow:  rgba(46,158,58,0.10);

  --color-gold:         #C9A84C;
  --color-gold-light:   #E0C070;

  --color-text-primary:   #111318;
  --color-text-secondary: #555A64;
  --color-text-muted:     #8A8F9A;
  --color-text-inverse:   #FFFFFF;

  --color-success:  #2E9E3A;
  --color-error:    #E05C5C;

  /* Gradient shortcuts */
  --gradient-accent:  linear-gradient(135deg, var(--color-accent) 0%, #1E7228 100%);
  --gradient-gold:    linear-gradient(135deg, var(--color-gold) 0%, #A07830 100%);
  --gradient-surface: linear-gradient(180deg, var(--color-bg-2) 0%, var(--color-bg) 100%);
  --gradient-hero:    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(46,158,58,0.06) 0%, transparent 70%),
                      radial-gradient(ellipse 50% 50% at 20% 80%, rgba(46,158,58,0.04) 0%, transparent 60%),
                      var(--color-bg);

  /* ── Typography ──────────────────────────── */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  1.875rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-5xl:  3.75rem;
  --text-6xl:  4.5rem;
  --text-7xl:  6rem;

  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-extrabold:800;

  --leading-tight:   1.15;
  --leading-snug:    1.3;
  --leading-normal:  1.6;
  --leading-relaxed: 1.75;

  --tracking-tight:  -0.03em;
  --tracking-normal: -0.01em;
  --tracking-wide:    0.06em;
  --tracking-wider:   0.12em;

  /* ── Spacing ─────────────────────────────── */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;
  --space-40:  10rem;

  /* ── Layout ──────────────────────────────── */
  --container-max:   1200px;
  --container-wide:  1400px;
  --container-pad:   clamp(1.25rem, 5vw, 3rem);
  --section-pad-y:   clamp(4rem, 8vw, 7rem);

  /* ── Borders & Radius ────────────────────── */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   28px;
  --radius-2xl:  40px;
  --radius-full: 9999px;

  /* ── Shadows ─────────────────────────────── */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.10);
  --shadow-xl:   0 20px 60px rgba(0,0,0,0.12);
  --shadow-accent: 0 8px 30px rgba(46,158,58,0.18);
  --shadow-accent-lg: 0 16px 50px rgba(46,158,58,0.25);
  --shadow-gold:  0 8px 30px rgba(201,168,76,0.18);

  /* ── Transitions ─────────────────────────── */
  --ease-out:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in:    cubic-bezier(0.55, 0, 0.55, 0.2);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);

  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --duration-slower: 600ms;

  --transition-base: var(--duration-base) var(--ease-out);
  --transition-slow: var(--duration-slow) var(--ease-out);

  /* ── Z-index ─────────────────────────────── */
  --z-base:    0;
  --z-raised:  10;
  --z-sticky:  100;
  --z-overlay: 200;
  --z-modal:   300;
  --z-toast:   400;

  /* ── Navbar ──────────────────────────────── */
  --navbar-height: 72px;
}