/* HowToAIJob - Shared Stylesheet */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #185FA5;
  --blue-dark: #0C447C;
  --blue-light: #E6F1FB;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --text-faint: #999;
  --bg: #ffffff;
  --bg-surface: #f5f5f3;
  --border: rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg-surface);
  font-size: 16px;
  line-height: 1.7;
}

/* ---- NAV ---- */
nav {
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav-logo {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--bg-surface); color: var(--text); }
.nav-links a.active { color: var(--blue); background: var(--blue-light); }

/* ---- LAYOUT ---- */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.hero { margin-bottom: 40px; }
.hero h1 { font-size: 28px; font-weight: 600; line-height: 1.3; margin-bottom: 12px; }
.hero h1 span { color: var(--blue); }
.hero p { font-size: 15px; color: var(--text-muted); max-width: 560px; }

/* ---- CARDS ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}
.card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.card-icon { font-size: 24px; margin-bottom: 12px; }
.card h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ---- DIVIDER ---- */
hr { border: none; border-top: 0.5px solid var(--border); margin: 32px 0; }

/* ---- SECTION LABEL ---- */
.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 12px;
}

/* ---- TAGS ---- */
.tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 12px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: var(--radius);
  padding: 4px 12px;
}

/* ---- PRIVACY BLOCKS ---- */
.policy-block {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.policy-block h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.policy-block h3 .icon { font-size: 16px; }
.policy-block p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-size: 14px;
  font-family: inherit;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 110px; }

.btn {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: var(--blue-dark); }

.info-box {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.info-box h3 { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.info-row .dot { color: var(--blue); margin-top: 3px; }

.success-note {
  display: none;
  background: #EAF3DE;
  color: #3B6D11;
  border: 0.5px solid #97C459;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  margin-top: 12px;
}

/* ---- FOOTER ---- */
footer {
  border-top: 0.5px solid var(--border);
  background: var(--bg);
  padding: 28px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
}
footer a { color: var(--blue); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 8px; }
