/* ═══════════════════════════════════════════════════════
   JetCi Landing — Design Tokens & Variables
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  /* ─── Brand Colors ─── */
  --brand-primary:     #10b981;   /* emerald-500 */
  --brand-primary-h:   #059669;   /* emerald-600 hover */
  --brand-primary-l:   #34d399;   /* emerald-400 light */
  --brand-dark:        #064e3b;   /* emerald-900 */
  --brand-mid:         #065f46;   /* emerald-800 */
  --brand-light:       #ecfdf5;   /* emerald-50 */
  --brand-light-2:     #d1fae5;   /* emerald-100 */

  /* ─── Accent ─── */
  --accent:            #6366f1;   /* indigo-500 */
  --accent-h:          #4f46e5;   /* indigo-600 */
  --accent-light:      #eef2ff;   /* indigo-50 */

  /* ─── Neutrals ─── */
  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-300:  #cbd5e1;
  --gray-400:  #94a3b8;
  --gray-500:  #64748b;
  --gray-600:  #475569;
  --gray-700:  #334155;
  --gray-800:  #1e293b;
  --gray-900:  #0f172a;

  /* ─── Semantic ─── */
  --success:   #10b981;
  --warning:   #f59e0b;
  --danger:    #ef4444;
  --info:      #3b82f6;

  /* ─── Text ─── */
  --text-primary:    #0f172a;
  --text-secondary:  #475569;
  --text-muted:      #94a3b8;
  --text-white:      #ffffff;
  --text-on-brand:   #ffffff;

  /* ─── Background ─── */
  --bg-page:         #ffffff;
  --bg-alt:          #f8fafc;
  --bg-card:         #ffffff;
  --bg-glass:        rgba(255, 255, 255, 0.72);

  /* ─── Border ─── */
  --border-color:    #e2e8f0;
  --border-radius:   12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;
  --border-radius-xl: 32px;
  --border-radius-full: 9999px;

  /* ─── Shadow ─── */
  --shadow-sm:   0 1px 3px 0 rgb(0 0 0 / 0.07), 0 1px 2px -1px rgb(0 0 0 / 0.07);
  --shadow-md:   0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
  --shadow-lg:   0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --shadow-xl:   0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.08);
  --shadow-green: 0 10px 30px -5px rgba(16, 185, 129, 0.35);
  --shadow-green-lg: 0 20px 50px -10px rgba(16, 185, 129, 0.4);

  /* ─── Typography ─── */
  --font-family:    'Vazirmatn', system-ui, -apple-system, sans-serif;
  --font-size-xs:   0.75rem;    /* 12px */
  --font-size-sm:   0.875rem;   /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg:   1.125rem;   /* 18px */
  --font-size-xl:   1.25rem;    /* 20px */
  --font-size-2xl:  1.5rem;     /* 24px */
  --font-size-3xl:  1.875rem;   /* 30px */
  --font-size-4xl:  2.25rem;    /* 36px */
  --font-size-5xl:  3rem;       /* 48px */
  --font-size-6xl:  3.75rem;    /* 60px */

  --font-weight-light:   300;
  --font-weight-normal:  400;
  --font-weight-medium:  500;
  --font-weight-semi:    600;
  --font-weight-bold:    700;
  --font-weight-extra:   800;
  --font-weight-black:   900;

  --line-height-tight:  1.25;
  --line-height-snug:   1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed:1.625;
  --line-height-loose:  2;

  /* ─── 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;

  /* ─── Layout ─── */
  --container-max:    1200px;
  --container-pad:    clamp(1rem, 5vw, 2rem);
  --navbar-height:    72px;
  --section-padding:  clamp(4rem, 8vw, 7rem);

  /* ─── Transitions ─── */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ─── Gradients ─── */
  --gradient-brand:   linear-gradient(135deg, #10b981 0%, #059669 50%, #064e3b 100%);
  --gradient-hero:    linear-gradient(135deg, #ecfdf5 0%, #d1fae5 30%, #a7f3d0 60%, #6ee7b7 100%);
  --gradient-card:    linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
  --gradient-glass:   linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  --gradient-text:    linear-gradient(135deg, #059669, #6366f1);

  /* ─── Z-index ─── */
  --z-base:    1;
  --z-above:   10;
  --z-modal:   100;
  --z-navbar:  200;
  --z-tooltip: 300;
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-page:         #0f172a;
    --bg-alt:          #1e293b;
    --bg-card:         #1e293b;
    --bg-glass:        rgba(15, 23, 42, 0.85);
    --text-primary:    #f1f5f9;
    --text-secondary:  #94a3b8;
    --text-muted:      #64748b;
    --border-color:    #334155;
  }
}
