/* Glassmorphism — Tailwind CSS v4 theme, Hebrew / RTL.
   Put this in your main CSS file (instead of a bare @import "tailwindcss").
   In RTL use logical utilities: ms-* me-* ps-* pe-* start-* end-* text-start text-end. */
@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;600;800&display=swap");
@import "tailwindcss";

@theme {
  --color-bg: #0B1026;
  --color-surface: rgba(255,255,255,0.08);
  --color-surface-2: rgba(255,255,255,0.10);
  --color-fg: #F5F7FF;
  --color-muted: #B9C0DD;
  --color-primary: #9B8CFF;
  --color-on-primary: #0B1026;
  --color-accent: #2DD4BF;
  --color-on-accent: #0B1026;
  --color-line: rgba(255,255,255,0.18);
  --color-success: #4ADE80;
  --color-warning: #FBBF24;
  --color-danger: #FB7185;

  --font-display: "Heebo", system-ui, "Segoe UI", Arial, sans-serif;
  --font-sans: "Heebo", system-ui, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Heebo", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --text-display: 55px;
  --text-h1: 43px;
  --text-h2: 34px;
  --text-h3: 26px;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-button: 14px;
  --radius-input: 14px;

  --shadow-card: 0 10px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
  --shadow-raised: 0 18px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.18);
  --shadow-button: 0 6px 20px rgba(155,140,255,0.35);
}

@layer base {
  html { direction: rtl; }
  body {
    background-color: var(--color-bg);
    background-image: radial-gradient(900px 600px at 85% -10%, rgba(155,140,255,0.45), transparent 60%), radial-gradient(700px 500px at 0% 40%, rgba(45,212,191,0.30), transparent 60%), radial-gradient(800px 600px at 60% 110%, rgba(236,72,153,0.22), transparent 60%);
    background-attachment: fixed;
    color: var(--color-fg);
    font-family: var(--font-sans);
    line-height: 1.65;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.15;
  }
  :focus-visible { outline: 3px solid #9B8CFF; outline-offset: 2px; }
}

/* Card / button recipes for this style:
   card:    bg-surface border-[1px] border-line rounded-lg shadow-card backdrop-blur-[18px] p-6
   button:  bg-primary text-on-primary rounded-button shadow-button px-5 min-h-11 font-semibold border-[1px] border-primary
   input:   bg-surface border-[1px] border-line rounded-input px-3 min-h-11 */
