/* ═══════════════════════════════════════════════════
   נשמיא — Design System
   עודכן: 15/05/2026
   ═══════════════════════════════════════════════════ */

/* ─── Design Tokens ───────────────────── */
:root {
  /* Brand Primary */
  --bg-deep: #160d24;
  --bg-rich: #24143d;
  --bg-medium: #3a205f;
  --violet: #6b2fa0;
  --lilac: #a855d4;
  --lilac-light: #d4a8f0;
  --lilac-pale: #f5eeff;
  --lavender: #d0bef0;

  /* Accent */
  --gold: #d4a843;
  --gold-soft: rgba(212,168,67,0.6);

  /* Text */
  --text-shell: #fdf6ff;
  --text-plum: #2a1048;
  --text-muted: #6b5080;
  --text-faint: #9b80b0;

  /* Cards */
  --card-bg: #ffffff;
  --card-bg-soft: #f0e5ff;
  --card-border: rgba(168,85,212,0.15);
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(212,168,240,0.18);

  /* Spacing (8px base) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px;
  --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px; --space-24: 96px;

  /* Radii */
  --radius-sm: 8px; --radius-md: 14px;
  --radius-lg: 20px; --radius-xl: 24px;
  --radius-pill: 50px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(107,47,160,0.08);
  --shadow-md: 0 4px 20px rgba(107,47,160,0.12);
  --shadow-lg: 0 8px 28px rgba(168,85,212,0.4);
  --shadow-glow: 0 0 24px rgba(212,168,240,0.5);

  /* Transitions */
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast: 200ms;
  --t-mid: 350ms;
  --t-slow: 800ms;

  /* Layout */
  --max-w: 1200px;
  --max-w-text: 720px;
}

/* ─── Reset ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Heebo', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-shell);
  background: var(--bg-deep);
  direction: rtl;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: opacity var(--t-fast) var(--ease-soft); }
button { cursor: pointer; font-family: inherit; border: 0; background: none; color: inherit; }

/* ─── Cosmic Background ───────────────── */
.cosmic-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(107,47,160,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(168,85,212,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(36,20,61,0.6) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-rich) 50%, var(--bg-deep) 100%);
}
.cosmic-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, var(--text-shell), transparent),
    radial-gradient(1px 1px at 60% 70%, var(--lilac-light), transparent),
    radial-gradient(1px 1px at 80% 20%, var(--text-shell), transparent),
    radial-gradient(2px 2px at 10% 60%, var(--gold), transparent),
    radial-gradient(1px 1px at 90% 50%, var(--lilac-light), transparent),
    radial-gradient(1px 1px at 30% 90%, var(--text-shell), transparent);
  background-size: 200% 200%;
  opacity: 0.6;
  animation: starsDrift 60s linear infinite;
}
@keyframes starsDrift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}

/* ─── Typography ──────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Frank Ruhl Libre', 'Heebo', serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-shell);
}
.h1-hero {
  font-weight: 900;
  font-size: clamp(48px, 8vw, 90px);
  letter-spacing: -0.5px;
  line-height: 1.05;
}
.h2-section {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: var(--space-6);
}
.h3-card {
  font-size: clamp(20px, 2.4vw, 26px);
  margin-bottom: var(--space-3);
}
.lead {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--lavender);
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

/* ─── Layout ──────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}
section { padding-block: clamp(60px, 10vw, 120px); position: relative; }

/* ─── Buttons ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: all var(--t-mid) var(--ease-soft);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, var(--lilac) 100%);
  color: var(--text-shell);
  box-shadow: var(--shadow-lg);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(168,85,212,0.55), var(--shadow-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text-shell);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--glass-bg);
  border-color: var(--lilac-light);
}

/* ─── Navbar ──────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: rgba(22,13,36,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--t-mid);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.nav-logo {
  font-family: 'Frank Ruhl Libre', serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--text-shell);
}
.nav-logo .gold-dot { color: var(--gold); }
.nav-links { display: flex; gap: var(--space-6); list-style: none; }
.nav-links a {
  font-size: 15px;
  font-weight: 400;
  color: var(--lavender);
  position: relative;
}
.nav-links a:hover { color: var(--text-shell); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; right: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t-mid) var(--ease-soft);
}
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; font-size: 24px; }

/* ─── Hero ────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
}
.hero-inner { max-width: 900px; margin-inline: auto; }
.hero h1 {
  background: linear-gradient(135deg, var(--text-shell) 0%, var(--lilac-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-block: var(--space-4);
}
.hero-sub {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 300;
  color: var(--lavender);
  max-width: 640px;
  margin: var(--space-6) auto var(--space-10);
}
.hero-ctas { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }
.hero-footnote {
  margin-top: var(--space-10);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-faint);
}
.hero-decor {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80vmin; height: 80vmin;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,212,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.5; }
  50%      { transform: translate(-50%,-50%) scale(1.1); opacity: 0.8; }
}

/* ─── Sections General ────────────────── */
.section-head {
  text-align: center;
  max-width: var(--max-w-text);
  margin: 0 auto var(--space-16);
}

/* ─── About (Section 1) ───────────────── */
.about-icons {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  margin-top: var(--space-10);
  flex-wrap: wrap;
}
.about-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--lavender);
}
.about-icon-glyph {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  backdrop-filter: blur(10px);
}

/* ─── Categories (Section 2) ──────────── */
.cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.cat-card {
  background: var(--card-bg);
  color: var(--text-plum);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  position: relative;
  overflow: hidden;
  transition: all var(--t-mid) var(--ease-soft);
  cursor: pointer;
  border: 1px solid var(--card-border);
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--lilac), var(--gold));
  opacity: 0.8;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.cat-emoji { font-size: 40px; margin-bottom: var(--space-4); }
.cat-card h3 {
  color: var(--text-plum);
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 22px;
  margin-bottom: var(--space-2);
}
.cat-card p { color: var(--text-muted); font-size: 15px; margin-bottom: var(--space-4); }
.cat-price {
  color: var(--violet);
  font-weight: 500;
  font-size: 14px;
}

/* ─── Crystals (Section 3) ────────────── */
.crystals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-5);
}
.crystal-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-4);
  text-align: center;
  backdrop-filter: blur(20px);
  transition: all var(--t-mid) var(--ease-soft);
}
.crystal-card:hover {
  transform: translateY(-4px);
  border-color: var(--lilac-light);
  box-shadow: var(--shadow-glow);
}
.crystal-emoji { font-size: 36px; margin-bottom: var(--space-3); }
.crystal-card h4 {
  color: var(--text-shell);
  font-size: 18px;
  margin-bottom: var(--space-2);
}
.crystal-card p {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: var(--space-1);
}
.crystal-card .chakra { color: var(--gold); font-size: 12px; }
.cta-row { text-align: center; margin-top: var(--space-10); }

/* ─── Story (Section 4) ───────────────── */
.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
  max-width: var(--max-w-text);
  margin-inline: auto;
  text-align: center;
}
.story p {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.8;
  color: var(--lavender);
  margin-bottom: var(--space-4);
}
.story-signature {
  font-family: 'Frank Ruhl Libre', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 20px;
  margin-top: var(--space-4);
}

/* ─── Testimonials (Section 5) ────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.testimonial {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  position: relative;
  backdrop-filter: blur(10px);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -20px; right: 20px;
  font-size: 80px;
  color: var(--gold);
  opacity: 0.3;
  font-family: 'Frank Ruhl Libre', serif;
  line-height: 1;
}
.testimonial p {
  font-style: italic;
  color: var(--lilac-pale);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}
.testimonial-author {
  color: var(--gold);
  font-weight: 500;
  font-size: 14px;
}

/* ─── Contact (Section 6) ─────────────── */
.contact {
  background: linear-gradient(135deg, rgba(107,47,160,0.2) 0%, rgba(168,85,212,0.1) 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
.contact-info ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-6); }
.contact-info li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 16px;
  color: var(--lavender);
}
.contact-info li strong { color: var(--text-shell); margin-left: var(--space-2); }
.contact-info li .icon {
  width: 40px; height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  backdrop-filter: blur(20px);
}
.form-group { margin-bottom: var(--space-4); }
.form-group label {
  display: block;
  font-size: 14px;
  color: var(--lilac-light);
  margin-bottom: var(--space-2);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-shell);
  font-family: inherit;
  font-size: 16px;
  transition: border-color var(--t-fast);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lilac);
  background: rgba(255,255,255,0.08);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-submit { width: 100%; margin-top: var(--space-2); }
.form-feedback {
  margin-top: var(--space-4);
  font-size: 14px;
  text-align: center;
  display: none;
}
.form-feedback.show { display: block; }
.form-feedback.success { color: var(--success, #6bb86b); }
.form-feedback.error { color: var(--error, #c4546d); }

/* ─── Footer ──────────────────────────── */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-12) 0 var(--space-8);
  text-align: center;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 22px;
  margin-bottom: var(--space-6);
}
.footer-tagline {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}
.footer-social a {
  width: 44px; height: 44px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: all var(--t-mid);
}
.footer-social a:hover {
  background: var(--violet);
  border-color: var(--lilac);
  transform: translateY(-2px);
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: var(--space-4);
}
.footer-links a:hover { color: var(--lilac-light); }
.footer-copyright {
  font-size: 13px;
  color: var(--text-faint);
}

/* ─── Animations ──────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease-soft),
              transform var(--t-slow) var(--ease-soft);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Mobile ──────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; right: 0; left: 0;
    background: rgba(22,13,36,0.95);
    padding: var(--space-6);
    border-top: 1px solid var(--glass-border);
  }
  .contact-wrap { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero { padding-top: 100px; min-height: 90vh; }
  .about-icons { gap: var(--space-6); }
}

/* ─── Accessibility ───────────────────── */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
