
:root {
  --bg-main: #27272A;
  --bg-deep: #1F1F22;
  --panel-bg: #3F3F46;
  --border-color: #52525B;
  --text-main: #FFFFFF;
  --text-muted: #A1A1AA;
  --text-label: #71717A;
  --accent: #8FA3B8;
  --signal-warn: #C2A25A;
  --signal-error: #B4736A;
  --radius: 8px;
  --font-ui: 'Ubuntu', 'Heebo', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-ui);
  line-height: 1.5;
  direction: rtl; /* Default Hebrew */
}

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--border-color);
}
nav { display: flex; gap: 20px; }
nav a { color: var(--text-muted); font-size: 16px; }
nav a.active { color: var(--text-main); font-weight: 500; }

.hero { padding: 80px 0; text-align: center; }
h1 { font-size: 48px; font-weight: 300; margin-bottom: 24px; }
p.lead { font-size: 20px; color: var(--text-muted); margin-bottom: 40px; }

.receipt-panel {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
}
.receipt-header {
  padding: 16px; border-bottom: 1px solid var(--border-color);
  font-family: var(--font-mono); font-size: 14px; text-align: center;
}
.receipt-image {
  position: relative; width: 100%; height: 180px; overflow: hidden;
}
.receipt-image img { width: 100%; height: 100%; object-fit: cover; }
.receipt-body {
  padding: 16px; font-family: var(--font-mono); font-size: 14px;
}
.receipt-row {
  display: flex; justify-content: space-between; margin-bottom: 8px;
}
.receipt-total {
  border-top: 1px solid var(--border-color);
  margin-top: 16px; padding-top: 16px;
}
.total-sum { font-size: 32px; font-weight: 300; }
.total-tax { font-size: 12px; color: var(--text-muted); }

.content-section { padding: 60px 0; }
h2 { font-size: 32px; font-weight: 400; margin-bottom: 32px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.card { background: var(--panel-bg); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border-color); }
.card h3 { font-size: 20px; margin-bottom: 16px; }
.card p { color: var(--text-muted); font-size: 16px; }

footer {
  border-top: 1px solid var(--border-color); padding: 40px 0; margin-top: 80px;
  text-align: center; font-size: 14px; color: var(--text-label);
}

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  nav { display: none; /* simple mobile */ }
}
