/* HRStak Inner Pages — Shared Dark Theme */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0e1a;
  --bg2: #111827;
  --bg3: #1a2035;
  --bg4: #232b42;
  --blue: #3b82f6;
  --blue2: #2563eb;
  --blue3: #60a5fa;
  --purple: #8b5cf6;
  --green: #10b981;
  --red: #ef4444;
  --text: #f1f5f9;
  --text2: #94a3b8;
  --text3: #64748b;
  --border: #1e293b;
  --border2: #334155;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background glow */
.bg-glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-glow::before { content: ''; position: absolute; top: -40%; left: -20%; width: 80%; height: 80%; background: radial-gradient(ellipse, rgba(59,130,246,0.08) 0%, transparent 70%); animation: drift 20s ease-in-out infinite; }
.bg-glow::after { content: ''; position: absolute; bottom: -30%; right: -20%; width: 70%; height: 70%; background: radial-gradient(ellipse, rgba(139,92,246,0.06) 0%, transparent 70%); animation: drift 25s ease-in-out infinite reverse; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, -30px); } }

.wrapper { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(17,24,39,0.9);
  backdrop-filter: blur(12px);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 800;
}
.logo-text { font-weight: 700; font-size: 1.15rem; }
header nav { display: flex; gap: 24px; }
header nav a { color: var(--text2); text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: color 0.2s; }
header nav a:hover { color: var(--text); }

/* Breadcrumb */
.breadcrumb { font-size: 0.8rem; color: var(--text3); margin-bottom: 24px; }
.breadcrumb a { color: var(--blue3); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* CTA button */
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff; border: none; border-radius: 12px;
  padding: 16px 36px; font-size: 1rem; font-weight: 700;
  font-family: inherit; cursor: pointer; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,130,246,0.3); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 24px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-mark {
  width: 24px; height: 24px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 7px; font-weight: 800;
}
.footer-name { font-weight: 700; font-size: 0.9rem; }
.footer-copy { font-size: 0.72rem; color: var(--text3); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text3); text-decoration: none; font-size: 0.75rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 700px) {
  header nav { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
