/* ==========================================================================
   Hafawa AI — Landing Design Tokens
   Source: design-system/hafaw ai/landing-tokens.css (1:1 copy, do not edit here)
   Theme: LIGHT · elegant ivory + gold
   ========================================================================== */

:root {
  /* Landing palette — light elegant */
  --ls-bg: #F5F1EA;
  --ls-bg-2: #FBF8F2;
  --ls-bg-3: #EFEAE0;
  --ls-line: rgba(27,31,34,0.08);
  --ls-line-2: rgba(27,31,34,0.14);
  --ls-text: #1B1F22;
  --ls-text-2: #2D3338;
  --ls-text-3: #4A5258;
  --ls-text-4: #6F767C;

  /* Gold — primary accent */
  --ls-gold: #B0884F;
  --ls-gold-2: #8E6B3A;
  --ls-gold-soft: rgba(176,136,79,0.14);
  --ls-gold-glow: rgba(176,136,79,0.22);

  /* Sage — secondary accent */
  --ls-sage: #4D6963;
  --ls-sage-soft: rgba(94,139,110,0.14);

  /* Gradients */
  --ls-grad-gold: linear-gradient(135deg, #C9A064 0%, #B0884F 50%, #8E6B3A 100%);
  --ls-grad-text-gold: linear-gradient(135deg, #B0884F 0%, #8E6B3A 100%);
  --ls-grad-text-warm: linear-gradient(135deg, #1B1F22 0%, #B0884F 100%);
  --ls-grad-light: linear-gradient(180deg, #FBF8F2 0%, #F5F1EA 100%);
  --ls-grad-mesh: radial-gradient(900px 600px at 10% 0%, rgba(176,136,79,0.12) 0%, transparent 60%),
                  radial-gradient(800px 500px at 90% 30%, rgba(94,139,110,0.10) 0%, transparent 55%),
                  radial-gradient(900px 600px at 50% 100%, rgba(176,136,79,0.08) 0%, transparent 60%);

  /* Glass (on light bg = subtle white + border + shadow) */
  --ls-glass-bg: rgba(255,255,255,0.66);
  --ls-glass-bg-2: rgba(255,255,255,0.88);
  --ls-glass-border: rgba(27,31,34,0.08);
  --ls-glass-blur: blur(14px) saturate(140%);

  /* Shadows */
  --ls-shadow-sm: 0 1px 2px rgba(27,31,34,0.05), 0 0 0 1px rgba(27,31,34,0.04);
  --ls-shadow-md: 0 6px 18px rgba(27,31,34,0.07), 0 1px 3px rgba(27,31,34,0.04);
  --ls-shadow-card: 0 18px 40px rgba(27,31,34,0.10), 0 2px 6px rgba(27,31,34,0.05);
  --ls-shadow-gold: 0 12px 32px rgba(176,136,79,0.30);

  /* Radii */
  --ls-r-card: 18px;
  --ls-r-pill: 999px;
  --ls-r-btn: 12px;

  /* Type */
  --ls-font-display: "Cormorant Garamond", "Tajawal", serif;
  --ls-font-ui: "Manrope", "Tajawal", system-ui, sans-serif;
  --ls-font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

.ls, .ls * {
  font-family: var(--ls-font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ls { background: var(--ls-bg); color: var(--ls-text); }
.ls-rtl { direction: rtl; }
.ls-ltr { direction: ltr; }

.ls .display { font-family: var(--ls-font-display); font-weight: 500; letter-spacing: -0.015em; }
.ls .mono { font-family: var(--ls-font-mono); }
.ls .num { font-feature-settings: "tnum" 1, "lnum" 1; font-variant-numeric: tabular-nums lining-nums; }

/* Gradient text */
.ls-text-gradient {
  background: var(--ls-grad-text-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.ls-text-warm {
  background: var(--ls-grad-text-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass card — on light bg = soft white with shadow */
.ls-glass {
  background: var(--ls-bg-2);
  border: 1px solid var(--ls-glass-border);
  border-radius: var(--ls-r-card);
  box-shadow: var(--ls-shadow-sm);
}
.ls-glass-2 {
  background: white;
  border: 1px solid var(--ls-glass-border);
  border-radius: var(--ls-r-card);
  box-shadow: var(--ls-shadow-md);
}

/* Buttons */
.ls-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: var(--ls-r-btn);
  border: 1px solid transparent; background: transparent;
  font: inherit; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: all .18s ease;
  white-space: nowrap; line-height: 1;
  text-decoration: none;
}
.ls-btn-gold {
  background: var(--ls-grad-gold);
  color: #F5F1EA;
  box-shadow: 0 6px 18px rgba(176,136,79,0.30);
}
.ls-btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(176,136,79,0.36); color: #F5F1EA; }
.ls-btn-outline {
  background: transparent; color: var(--ls-text);
  border-color: var(--ls-line-2);
}
.ls-btn-outline:hover { border-color: var(--ls-gold); color: var(--ls-gold-2); background: var(--ls-gold-soft); }
.ls-btn-glass {
  background: var(--ls-bg-2); color: var(--ls-text);
  border-color: var(--ls-line);
  box-shadow: var(--ls-shadow-sm);
}
.ls-btn-glass:hover { background: white; color: var(--ls-text); }
.ls-btn-dark {
  background: var(--ls-text); color: var(--ls-bg);
}
.ls-btn-dark:hover { background: var(--ls-text-2); color: var(--ls-bg); }
.ls-btn-sm { height: 36px; padding: 0 16px; font-size: 12px; }
.ls-btn-lg { height: 52px; padding: 0 28px; font-size: 15px; }
.ls-btn-block { width: 100%; justify-content: center; }
.ls-btn-icon { width: 40px; padding: 0; justify-content: center; }

/* Chip / Badge */
.ls-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: var(--ls-bg-3); color: var(--ls-text-3);
  border: 1px solid var(--ls-line);
}
.ls-chip-gold { background: var(--ls-gold-soft); color: var(--ls-gold-2); border-color: rgba(176,136,79,0.22); }
.ls-chip-sage { background: var(--ls-sage-soft); color: var(--ls-sage); border-color: rgba(94,139,110,0.22); }
.ls-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Divider */
.ls-divider { height: 1px; background: var(--ls-line); border: 0; }

/* Section spacing */
.ls-section { padding: 96px 24px; position: relative; }
.ls-section-wide { padding: 96px 56px; position: relative; }
.ls-container { max-width: 1280px; margin: 0 auto; }
.ls-container-narrow { max-width: 980px; margin: 0 auto; }

/* Section header */
.ls-section-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--ls-gold-soft); color: var(--ls-gold-2);
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid rgba(176,136,79,0.22);
}
.ls-section-title {
  font-family: var(--ls-font-display);
  font-size: 52px; font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.05;
  margin: 16px 0 14px;
}
.ls-section-subtitle {
  font-size: 16px; line-height: 1.65; color: var(--ls-text-3);
  max-width: 640px;
}

/* Particle */
.ls-particle {
  position: absolute; width: 4px; height: 4px;
  background: var(--ls-gold);
  border-radius: 50%; opacity: 0.4;
  filter: blur(0.5px);
}

/* Tiny utilities */
.ls-row { display: flex; align-items: center; gap: 12px; }
.ls-col { display: flex; flex-direction: column; }

/* Glow blob */
.ls-glow {
  position: absolute; pointer-events: none;
  background: radial-gradient(circle, var(--ls-gold-glow) 0%, transparent 70%);
  filter: blur(60px);
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

/* Form inputs (light theme) */
.ls-input {
  width: 100%; height: 48px; padding: 0 16px;
  border-radius: var(--ls-r-btn);
  border: 1px solid var(--ls-line-2);
  background: white;
  color: var(--ls-text); font: inherit; font-size: 14px;
  transition: all .15s ease;
}
.ls-input:focus { outline: none; border-color: var(--ls-gold); box-shadow: 0 0 0 3px var(--ls-gold-soft); }
.ls-input::placeholder { color: var(--ls-text-4); }
.ls-textarea { min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.ls-label { display: block; font-size: 12px; font-weight: 600; color: var(--ls-text-3); margin-bottom: 8px; letter-spacing: 0.04em; }

/* Default image placeholder — striped */
.ls-img-placeholder {
  width: 100%; aspect-ratio: 16/10;
  border-radius: 12px;
  background: repeating-linear-gradient(135deg, var(--ls-bg-3) 0 14px, var(--ls-bg-2) 14px 28px);
  border: 1px dashed var(--ls-line-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ls-text-4); font-family: var(--ls-font-mono); font-size: 11px;
  letter-spacing: 0.06em;
  position: relative;
}
.ls-img-placeholder::before {
  content: "";
  position: absolute; inset: 12px;
  border: 1.5px dashed var(--ls-gold);
  border-radius: 8px;
  opacity: 0.5;
}
.ls-img-placeholder-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--ls-bg-2);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--ls-line);
}
