/* Capzo public pages — tokens, reset, buttons (no app panel styles) */

:root {
  --bg: #0a0c10;
  --bg-elevated: #11141a;
  --bg-soft: #171b23;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #eef2f7;
  --text-muted: #9aa4b2;
  --text-subtle: #6b7280;
  --primary: #14b8a6;
  --primary-strong: #0d9488;
  --primary-soft: rgba(20, 184, 166, 0.12);
  --accent: #38bdf8;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius-lg: 18px;
  --font: "Vazirmatn", Tahoma, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --container: 1180px;
  --transition: 180ms ease;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary {
  color: #042f2e;
  background: linear-gradient(135deg, #5eead4, #14b8a6);
}

.btn-primary:hover:not(:disabled) { filter: brightness(1.05); }

.btn-secondary {
  color: var(--text);
  background: var(--bg-soft);
  border-color: var(--border);
}

.btn-secondary.is-active,
.btn-secondary:hover:not(:disabled) {
  border-color: rgba(20, 184, 166, 0.35);
  background: var(--primary-soft);
}

.btn-ghost {
  color: var(--text-muted);
  background: transparent;
  border-color: var(--border);
}

.btn-ghost:hover:not(:disabled) { color: var(--text); }

.btn-sm { padding: 0.5rem 0.75rem; font-size: 0.8rem; }

.btn-lg {
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
}

.btn-block { width: 100%; }

.hidden { display: none !important; }

body.subscription-modal-open { overflow: hidden; }

.subscription-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.subscription-modal.hidden { display: none; }

.subscription-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(4px);
}

.subscription-modal-card {
  position: relative;
  width: min(100%, 380px);
  padding: 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  text-align: center;
}

.subscription-modal-close {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.subscription-modal-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--primary);
  background: var(--primary-soft);
}

.subscription-modal-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.subscription-modal-lead,
.subscription-modal-phone {
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.subscription-modal-phone a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
