/* ============================================================
   BotJockie — Global Stylesheet
   ============================================================ */

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

:root {
  --brand-blue:   #4FA8D8;
  --deep-black:   #0A0A0A;
  --dark-navy:    #0D1B2A;
  --mid-slate:    #1A2E42;
  --steel-blue:   #2D6A94;
  --ice-blue:     #A8D8F0;
  --off-white:    #E8F4FC;
  --pure-white:   #FFFFFF;
  --success:      #3DB88A;
  --warning:      #F0A832;
  --error:        #E05555;
  --nav-h:        68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--deep-black);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Syne', sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAV ──────────────────────────────────────── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 200;
  height: var(--nav-h);
  padding: 0 5%;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(79,168,216,0.1);
  transition: background 0.3s;
}
.nav-brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.nav-logo {
  height: 34px; width: auto; display: block;
  filter: drop-shadow(0 0 6px rgba(79,168,216,0.25));
}
.nav-wordmark {
  font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800;
  color: var(--pure-white); letter-spacing: -0.02em;
}
.nav-wordmark span { color: var(--brand-blue); }

.footer-brand-wrap { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.footer-logo { height: 120px; width: auto; display: block; opacity: 0.9; }

.nav-links {
  display: flex; align-items: center; gap: 0.25rem; list-style: none;
}
.nav-links a {
  font-size: 0.85rem; font-weight: 500; padding: 0.45rem 0.85rem;
  border-radius: 4px; color: rgba(232,244,252,0.65);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--pure-white); background: rgba(79,168,216,0.08); }

.nav-cta {
  background: var(--brand-blue); color: var(--deep-black);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.82rem;
  padding: 0.5rem 1.25rem; border-radius: 4px; border: none;
  cursor: pointer; letter-spacing: 0.03em;
  transition: opacity 0.2s, transform 0.15s; display: inline-block;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--off-white); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── PAGE WRAPPER ─────────────────────────────── */
.page-top { padding-top: var(--nav-h); }

/* ── COMMON SECTION ───────────────────────────── */
section { padding: 6rem 5%; }
.section-label {
  font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-blue);
  margin-bottom: 0.75rem; display: block;
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 800;
  letter-spacing: -0.025em; color: var(--pure-white); line-height: 1.1;
  margin-bottom: 0.85rem;
}
.section-title .accent { color: var(--brand-blue); }
.section-divider {
  width: 44px; height: 3px; background: var(--brand-blue);
  border-radius: 2px; margin-bottom: 3rem;
}
.section-center { text-align: center; }
.section-center .section-divider { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ──────────────────────────────────── */
.btn-primary {
  background: var(--brand-blue); color: var(--deep-black);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem;
  padding: 0.85rem 2rem; border-radius: 4px; border: none;
  cursor: pointer; letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.15s; display: inline-block;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--brand-blue);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem;
  padding: 0.83rem 2rem; border-radius: 4px;
  border: 1px solid rgba(79,168,216,0.4);
  cursor: pointer; letter-spacing: 0.02em;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--brand-blue); background: rgba(79,168,216,0.06); transform: translateY(-1px); }

/* ── GRID BACKGROUND ──────────────────────────── */
.grid-bg {
  background-image:
    linear-gradient(rgba(79,168,216,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,168,216,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── BADGE / PILL ─────────────────────────────── */
.badge-pulse {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(240,168,50,0.1); border: 1px solid rgba(240,168,50,0.3);
  padding: 0.35rem 0.9rem; border-radius: 100px;
  font-size: 0.78rem; font-weight: 500; color: var(--warning);
  letter-spacing: 0.04em; width: fit-content;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--warning); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── CARDS ────────────────────────────────────── */
.card {
  background: var(--mid-slate); border-radius: 10px;
  border: 1px solid rgba(79,168,216,0.08);
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(79,168,216,0.22); transform: translateY(-3px); }

/* ── REVIEW CARD ──────────────────────────────── */
.review-card {
  background: var(--mid-slate); border-radius: 10px;
  border: 1px solid rgba(79,168,216,0.08); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.review-card:hover { border-color: rgba(79,168,216,0.22); transform: translateY(-2px); }
.review-stars { color: #00b67a; font-size: 0.82rem; letter-spacing: 2px; }
.review-text { font-size: 0.88rem; color: rgba(232,244,252,0.7); font-weight: 300; line-height: 1.75; flex: 1; }
.review-author { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(79,168,216,0.12); border: 1px solid rgba(79,168,216,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 700;
  color: var(--brand-blue); flex-shrink: 0;
}
.review-name { font-size: 0.85rem; font-weight: 600; color: var(--pure-white); }
.review-loc { font-size: 0.72rem; color: rgba(232,244,252,0.32); }
.tp-verified {
  font-size: 0.68rem; color: rgba(61,184,138,0.8);
  border: 1px solid rgba(61,184,138,0.3); padding: 0.2rem 0.5rem;
  border-radius: 3px; font-weight: 500; white-space: nowrap;
}

/* ── STATS ROW ────────────────────────────────── */
.stats-row {
  display: flex; gap: 3rem; flex-wrap: wrap;
  padding: 2.5rem 0; border-top: 1px solid rgba(79,168,216,0.1);
  border-bottom: 1px solid rgba(79,168,216,0.1);
}
.stat-item { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800;
  color: var(--brand-blue); line-height: 1; letter-spacing: -0.03em;
}
.stat-label { font-size: 0.78rem; color: rgba(232,244,252,0.45); font-weight: 300; letter-spacing: 0.04em; }
.stat-note { font-size: 0.65rem; color: rgba(232,244,252,0.25); margin-top: 0.1rem; }

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: var(--deep-black);
  border-top: 1px solid rgba(79,168,216,0.08);
  padding: 3.5rem 5% 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand-col {}
.footer-wordmark {
  font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 800;
  color: var(--pure-white); letter-spacing: -0.02em;
  display: inline-block;
}
.footer-wordmark span { color: var(--brand-blue); }
.footer-tagline { font-size: 0.82rem; color: rgba(232,244,252,0.4); font-weight: 300; line-height: 1.6; max-width: 220px; }
.footer-col-title {
  font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(232,244,252,0.4);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.85rem; color: rgba(232,244,252,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--brand-blue); }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid rgba(79,168,216,0.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-note { font-size: 0.72rem; color: rgba(232,244,252,0.2); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 6px;
  border: 1px solid rgba(79,168,216,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: rgba(232,244,252,0.4);
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

/* ── PAGE HERO (inner pages) ──────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 5% 4rem;
  background: var(--dark-navy); position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(79,168,216,0.1);
}
.page-hero-glow {
  position: absolute; top: -150px; right: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,168,216,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ── AUTHOR BYLINE (blog posts) ───────────────── */
.author-byline {
  display: flex; align-items: center; gap: 0.85rem;
  padding-top: 1.75rem; margin-top: 1.5rem;
  border-top: 1px solid rgba(79,168,216,0.1);
}
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(79,168,216,0.25);
  flex-shrink: 0; object-fit: cover;
}
.author-name { font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--pure-white); margin-bottom: 0.15rem; }
.author-role { font-size: 0.78rem; color: rgba(232,244,252,0.4); font-weight: 300; }

/* ── ANIMATIONS ───────────────────────────────── */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ── MOBILE ───────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,10,0.98); padding: 1.5rem 5% 2rem;
    border-bottom: 1px solid rgba(79,168,216,0.1);
    gap: 0.25rem;
  }
  .nav-links.open a { font-size: 1rem; padding: 0.65rem 0.5rem; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  section { padding: 4rem 5%; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 2rem; }
}
