/* EnterJobs storefront theme — mirrors the enterleads.pro design system
   (dark base + amber accent + glass cards). Tokens lifted from
   Enter_Robotics_Website/public/src/dashboard/shared.css so the two brands feel related. */

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: rgba(15, 15, 15, 0.95);
  --bg-card: rgba(20, 20, 20, 0.8);
  --text-primary: #f5f5f5;
  --text-secondary: #a1a1a1;
  --text-muted: #666;
  --border-color: rgba(255, 255, 255, 0.1);
  --card-border: rgba(245, 158, 11, 0.3);
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --hover-bg: rgba(245, 158, 11, 0.12);
  --input-bg: rgba(0, 0, 0, 0.3);
  --input-border: rgba(245, 158, 11, 0.3);
  --ok: #22c55e;
  --err: #ef4444;
  --radius: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, 0.7); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--text-primary); }
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: 0.95rem; }
.nav-links a:hover { color: var(--text-primary); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  font-size: 0.98rem; font-weight: 600; cursor: pointer; transition: all 0.15s ease;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  color: #000; box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
.btn-primary:hover { color: #000; filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--card-border); color: var(--text-primary); }
.btn-ghost:hover { background: var(--hover-bg); color: var(--text-primary); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- cards / glass ---------- */
.card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 28px; backdrop-filter: blur(8px);
}
.card.accent { border-color: var(--card-border);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, rgba(20, 20, 20, 0.85) 100%); }

/* ---------- hero ---------- */
.hero { padding: 96px 0 72px; text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), #fbbf24);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.sub { color: var(--text-secondary); font-size: 1.2rem; max-width: 640px; margin: 20px auto 32px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; text-align: center; letter-spacing: -0.02em; }
.section .lead { color: var(--text-secondary); text-align: center; max-width: 620px; margin: 12px auto 40px; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--text-secondary); font-size: 0.96rem; }

/* ---------- pricing ---------- */
.price-card { max-width: 380px; margin: 0 auto; text-align: center; }
.price { font-size: 3rem; font-weight: 800; }
.price small { font-size: 1rem; color: var(--text-secondary); font-weight: 500; }
.price-card ul { list-style: none; text-align: left; margin: 22px 0; display: grid; gap: 10px; }
.price-card li { color: var(--text-secondary); }
.price-card li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 10px; }
.trial-note { color: var(--text-muted); font-size: 0.85rem; margin-top: 12px; }

/* ---------- forms ---------- */
.form { max-width: 400px; margin: 0 auto; display: grid; gap: 14px; }
.form label { font-size: 0.9rem; color: var(--text-secondary); }
.form input {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: var(--input-bg); border: 1px solid var(--input-border); color: var(--text-primary);
  font-size: 1rem; font-family: inherit;
}
.form input:focus { outline: none; border-color: var(--accent); }
.msg { font-size: 0.9rem; padding: 10px 14px; border-radius: 8px; display: none; }
.msg.show { display: block; }
.msg.ok { background: rgba(34, 197, 94, 0.12); color: var(--ok); border: 1px solid rgba(34, 197, 94, 0.3); }
.msg.err { background: rgba(239, 68, 68, 0.12); color: var(--err); border: 1px solid rgba(239, 68, 68, 0.3); }

/* ---------- footer ---------- */
.footer { margin-top: auto; border-top: 1px solid var(--border-color); padding: 32px 0; color: var(--text-muted); font-size: 0.88rem; }
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
  .nav-links a.hide-sm { display: none; }
}
