:root {
  --color-bg: #fdfaf6;
  --color-primary: #d6336c;
  --color-primary-dark: #a61e4d;
  --color-text: #2b2b2b;
  --color-muted: #6b6b6b;
  --color-card-bg: #ffffff;
  --color-todo-bg: #fff3cd;
  --color-todo-border: #e8b339;
  --font-main: "Segoe UI", Arial, sans-serif;
  --radius: 12px;
  --max-width: 960px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}

.hero h1 { margin: 0 0 0.5rem; font-size: 2rem; }
.hero-sub { margin: 0 0 1.5rem; opacity: 0.95; }

.cta-button {
  background: #fff;
  color: var(--color-primary-dark);
  border: none;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

.cta-button:hover { opacity: 0.9; }

.industries-section { padding: 2.5rem 0; }

.tablist {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  border-bottom: 2px solid #eee;
  margin-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  border-bottom: 3px solid transparent;
  color: var(--color-muted);
}

.tab-btn[aria-selected="true"] {
  color: var(--color-primary-dark);
  border-bottom-color: var(--color-primary);
  font-weight: bold;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.industry-card {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.industry-card h3 { margin-top: 0; }

.flow-list { padding-inline-start: 1.25rem; }

.todo-note {
  background: var(--color-todo-bg);
  border: 1px dashed var(--color-todo-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #6b5300;
  margin: 1rem 0;
}

.how-it-works { padding: 1.5rem 0 3rem; }

/* מודאל */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.hidden { display: none; }

.modal-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

.product-option {
  display: block;
  width: 100%;
  text-align: right;
  background: #f7f7f7;
  border: 2px solid #eee;
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
}

.product-option:hover, .product-option:focus {
  border-color: var(--color-primary);
}

#order-form label {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

#order-form input {
  display: block;
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  min-height: 44px;
}

.hidden { display: none !important; }

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--color-muted);
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
}
