/* ============================================================
   Botrometer Web App — main stylesheet
   D11: שקט, מינימליסטי. D7: dark mode.
   צבעי המותג ReazonBi — Night Blue + Gold.
   ============================================================ */

:root {
  /* ReazonBi brand palette */
  --night-blue:   #142238;
  --deep-blue:    #0A2E4A;
  --dark-blue:    #1B3A5C;
  --gold:         #C5A55A;
  --light-gold:   #D4BA7A;
  --amber:        #F0B030;

  /* Functional */
  --bg:           var(--night-blue);
  --bg-soft:      var(--deep-blue);
  --surface:      rgba(255, 255, 255, 0.04);
  --surface-2:    rgba(255, 255, 255, 0.07);
  --border:       rgba(197, 165, 90, 0.18);
  --border-soft:  rgba(255, 255, 255, 0.08);
  --fg:           #F4EFE4;
  --fg-dim:       rgba(244, 239, 228, 0.72);
  --fg-mute:      rgba(244, 239, 228, 0.48);
  --accent:       var(--gold);
  --accent-soft:  var(--light-gold);

  /* Spacing scale */
  --s-1:  0.25rem;
  --s-2:  0.5rem;
  --s-3:  0.75rem;
  --s-4:  1rem;
  --s-5:  1.5rem;
  --s-6:  2rem;
  --s-7:  3rem;
  --s-8:  4rem;
  --s-9:  6rem;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;

  --t-fast: 160ms cubic-bezier(.2,.8,.2,1);
  --t-slow: 480ms cubic-bezier(.2,.8,.2,1);
}

/* ─────  Reset  ───── */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.05vw + 12px, 18px);
  line-height: 1.6;
  color: var(--fg);
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(197, 165, 90, 0.08), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(27, 58, 92, 0.6), transparent 65%),
    linear-gradient(180deg, var(--night-blue) 0%, #0c1726 100%);
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-soft); }

/* ─────  Hero / "coming soon" page  ───── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 920px;
  margin-inline: auto;
  padding: var(--s-7) var(--s-5);
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  align-content: center;
  gap: var(--s-6);
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.hero__kicker {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg-mute);
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.6rem, 6vw + 1rem, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 50%, #f6e4b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__tagline {
  margin: 0;
  font-size: clamp(1.1rem, 1.4vw + 0.6rem, 1.4rem);
  font-weight: 500;
  color: var(--fg);
}

.hero__pitch {
  max-width: 60ch;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: var(--s-5) var(--s-5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero__pitch p {
  margin: 0;
  color: var(--fg-dim);
  font-size: 1rem;
  line-height: 1.7;
}

/* ─────  Status pill  ───── */
.status {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.status__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  align-self: start;
  padding: var(--s-3) var(--s-4);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(197, 165, 90, 0.14), rgba(197, 165, 90, 0.06));
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--accent-soft);
}

.status__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(240, 176, 48, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(240, 176, 48, 0.55);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 12px rgba(240, 176, 48, 0);
  }
}

.status__hint {
  margin: 0;
  color: var(--fg-mute);
  font-size: 0.95rem;
}

/* ─────  VU meter (logo placeholder + animation)  ───── */
.vu {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
  padding: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.vu__bar {
  width: 5px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), var(--dark-blue));
  transform-origin: bottom center;
  animation: vu-pulse 1.6s ease-in-out infinite;
}
.vu__bar--1 { animation-delay: 0.0s;  height: 60%; }
.vu__bar--2 { animation-delay: 0.15s; height: 85%; }
.vu__bar--3 { animation-delay: 0.30s; height: 100%; }
.vu__bar--4 { animation-delay: 0.45s; height: 75%; }
.vu__bar--5 { animation-delay: 0.60s; height: 50%; }

@keyframes vu-pulse {
  0%, 100% { transform: scaleY(0.55); opacity: 0.7; }
  50%      { transform: scaleY(1);    opacity: 1; }
}

/* בכבד תנועה — להפסיק את האנימציה */
@media (prefers-reduced-motion: reduce) {
  .vu__bar, .status__dot { animation: none; }
}

/* ─────  Footer  ───── */
.hero__foot {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  justify-content: space-between;
  color: var(--fg-mute);
  font-size: 0.9rem;
}

.hero__copyright,
.hero__hint { margin: 0; }

/* ─────  Mobile (375 + 768)  ───── */
@media (max-width: 768px) {
  .hero {
    padding: var(--s-6) var(--s-4);
    gap: var(--s-5);
  }
  .hero__pitch { padding: var(--s-4); }
  .hero__foot { flex-direction: column; }
}

@media (max-width: 375px) {
  .hero {
    padding: var(--s-5) var(--s-3);
    gap: var(--s-4);
  }
  .hero__pitch { padding: var(--s-3) var(--s-4); }
  .status__pill { padding: var(--s-2) var(--s-3); font-size: 0.9rem; }
  .vu { height: 30px; padding: 5px; }
  .vu .vu__bar { width: 4px; }
}

/* ─────  Print = hidden (we don't print this page)  ───── */
@media print {
  body { background: white; color: black; }
  .vu, .status__dot { display: none; }
}
