/* Bfoskey.com styles
   Color palette: black background, green accents, light-blue highlights.
*/

:root {
  --bg0: #000b0a;
  --bg1: #001615;
  --panel: rgba(4, 18, 16, 0.78);
  --panel2: rgba(10, 32, 29, 0.55);
  --text: #d7fff7;
  --muted: rgba(215, 255, 247, 0.75);
  --muted2: rgba(215, 255, 247, 0.6);

  --green: #00d084;
  --green2: #22c55e;
  --blue: #66d0ff;
  --blue2: #38bdf8;

  --border: rgba(0, 208, 132, 0.26);
  --border2: rgba(102, 208, 255, 0.22);

  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  --shadow2: 0 10px 30px rgba(0, 208, 132, 0.12);

  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(0, 208, 132, 0.18), transparent 55%),
    radial-gradient(900px 520px at 90% 10%, rgba(102, 208, 255, 0.16), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
}

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

a:hover {
  text-decoration: underline;
}

/* Decorative background grid */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(102, 208, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 208, 132, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(700px 400px at 50% 20%, #000 35%, transparent 70%);
  opacity: 0.9;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(0, 10, 9, 0.5);
  border-bottom: 1px solid rgba(0, 208, 132, 0.15);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 208, 132, 0.35);
  overflow: hidden;
  background: rgba(0, 208, 132, 0.08);
}

.brand-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name strong {
  font-size: 14px;
  letter-spacing: 0.2px;
}

.brand-name span {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  min-width: 220px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 650;
  letter-spacing: 0.2px;
  cursor: pointer;
  user-select: none;
  transition: transform 120ms ease, box-shadow 160ms ease, border-color 160ms ease,
    background 160ms ease, color 160ms ease;
  color: var(--text);
}

.btn:focus {
  outline: 2px solid rgba(102, 208, 255, 0.6);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.95), rgba(34, 197, 94, 0.75));
  border-color: rgba(0, 208, 132, 0.35);
  box-shadow: var(--shadow2);
  color: #04110d;
}

.btn-primary:hover {
  box-shadow: 0 18px 70px rgba(0, 208, 132, 0.22);
}

.btn-ghost {
  background: rgba(0, 208, 132, 0.07);
  border-color: rgba(0, 208, 132, 0.25);
}

.btn-link {
  background: rgba(102, 208, 255, 0.07);
  border-color: rgba(102, 208, 255, 0.25);
}

.main {
  padding: 22px 0 60px;
}

.hero {
  padding: 26px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 3.3vw, 46px);
  letter-spacing: -0.6px;
}

.tagline {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-card {
  border-radius: var(--radius);
  border: 1px solid rgba(102, 208, 255, 0.18);
  background: linear-gradient(180deg, var(--panel), rgba(0, 0, 0, 0));
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(0, 208, 132, 0.13);
}

.hero-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0, 208, 132, 0.04);
  border: 1px solid rgba(0, 208, 132, 0.13);
}

.hero-card li strong {
  font-size: 13px;
  letter-spacing: 0.2px;
}

.hero-card li span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 26px 0;
}

.section + .section {
  border-top: 1px solid rgba(0, 208, 132, 0.12);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.section h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.2px;
}

.section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.panel {
  border-radius: var(--radius);
  border: 1px solid rgba(0, 208, 132, 0.18);
  background: linear-gradient(180deg, var(--panel), rgba(0, 0, 0, 0.2));
  box-shadow: var(--shadow);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.62fr);
  gap: 16px;
  align-items: start;
}

.about-copy {
  padding: 22px 24px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-copy-body {
  max-width: 58ch;
  width: 100%;
}

.about-copy-body p {
  margin: 0 0 0.85rem;
  line-height: 1.7;
  text-align: left;
  color: var(--muted);
  font-size: 14px;
}

.about-copy-body p:last-child {
  margin-bottom: 0;
}

.about-list {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.about-list .row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(102, 208, 255, 0.14);
  background: rgba(102, 208, 255, 0.05);
}

.about-list .row strong {
  font-size: 13px;
}

.about-list .row span,
.about-list .row a {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.cert-grid {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cert-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 208, 132, 0.22);
  background:
    linear-gradient(180deg, rgba(0, 208, 132, 0.08), rgba(0, 0, 0, 0.15));
  position: relative;
  overflow: hidden;
  transition: transform 140ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.cert-card::before {
  content: "";
  position: absolute;
  inset: -50px -60px auto auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at 30% 30%, rgba(102, 208, 255, 0.28), transparent 62%);
  opacity: 0.8;
  pointer-events: none;
}

.cert-card:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 208, 255, 0.36);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.cert-card .cert-issuer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.cert-card .cert-issuer .tag {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(102, 208, 255, 0.22);
  background: rgba(102, 208, 255, 0.07);
  color: rgba(215, 255, 247, 0.85);
}

.cert-card h3 {
  margin: 10px 0 8px;
  font-size: 14px;
  letter-spacing: -0.1px;
}

.resume-form-container {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.form-card {
  padding: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 13px;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 208, 132, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 10px 12px;
  font-size: 14px;
}

.field textarea {
  resize: vertical;
  min-height: 118px;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(102, 208, 255, 0.45);
  outline-offset: 1px;
  border-color: rgba(102, 208, 255, 0.35);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.form-actions .form-note {
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.5;
}

.status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(102, 208, 255, 0.22);
  background: rgba(102, 208, 255, 0.06);
  color: rgba(215, 255, 247, 0.9);
  display: none;
}

.status.show {
  display: block;
}

.site-footer {
  padding: 24px 0 40px;
  color: var(--muted2);
  border-top: 1px solid rgba(0, 208, 132, 0.12);
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-actions {
    min-width: 0;
  }
  .brand {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .cert-card {
    transition: none;
  }
  .btn:hover,
  .cert-card:hover {
    transform: none;
  }
}

@media (max-width: 700px) {
  .site-header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav,
  .header-actions {
    justify-content: center;
    width: 100%;
  }
}

