/* ============================================================
   GM IT Consulting — Shared Design System
   Matches index.php tokens exactly
   ============================================================ */

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

:root {
  --bg:   #0d0d0d;
  --bg-2: #141414;
  --bg-3: #1a1a1a;
  --bg-4: #222222;

  --line:   rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.11);
  --line-3: rgba(255,255,255,0.18);

  --text:   #f2f2f2;
  --text-2: rgba(242,242,242,0.52);
  --text-3: rgba(242,242,242,0.26);

  --acc:   #e8df2a;
  --acc-d: rgba(232,223,42,0.12);
  --acc-b: rgba(232,223,42,0.28);

  --green:   #22c55e;
  --green-d: rgba(34,197,94,0.12);
  --red:     #ef4444;
  --red-d:   rgba(239,68,68,0.12);
  --yellow:  #f59e0b;
  --yellow-d:rgba(245,158,11,0.12);
  --blue:    #3b82f6;
  --blue-d:  rgba(59,130,246,0.12);

  --font: 'DM Sans', system-ui, Arial, sans-serif;
  --max:  1260px;
  --r:    12px;
  --rl:   18px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font); }
img { display: block; max-width: 100%; }

/* ── NAV ── */
.gm-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 66px;
  display: flex; align-items: center;
  padding: 0 40px;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.gm-nav.sc { background: rgba(13,13,13,0.97); }

.gm-nav-w {
  width: 100%; max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
}

.gm-logo {
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.03em;
  color: var(--text); flex-shrink: 0; text-decoration: none;
}
.gm-logo b { color: var(--acc); }

.gm-nav-links {
  display: flex; gap: 1.5rem; list-style: none; flex: 1;
}
.gm-nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-2); transition: color 0.2s; text-decoration: none;
}
.gm-nav-links a:hover,
.gm-nav-links a.active { color: var(--text); }

.gm-nav-right {
  display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0;
}

.gm-nav-btn {
  font-size: 0.84rem; font-weight: 600; font-family: var(--font);
  padding: 0.52rem 1.1rem; border-radius: 100px;
  transition: all 0.2s; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; white-space: nowrap; border: none;
}
.gm-nav-btn-ghost {
  background: transparent; border: 1.5px solid var(--line-2); color: var(--text-2);
}
.gm-nav-btn-ghost:hover { border-color: var(--line-3); color: var(--text); }
.gm-nav-btn-acc {
  background: var(--acc); color: #0d0d0d; border: 1.5px solid var(--acc);
}
.gm-nav-btn-acc:hover { background: #f5ec3a; }
.gm-nav-btn-outline {
  background: transparent; border: 1.5px solid rgba(232,223,42,0.4); color: var(--acc);
}
.gm-nav-btn-outline:hover { border-color: var(--acc); background: var(--acc-d); }

/* Mobile hamburger */
.gm-nav-ham {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; margin-left: 8px; cursor: pointer;
}
.gm-nav-ham span { display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; }

.gm-nav-mob-auth { display: none; align-items: center; gap: 6px; margin-left: auto; }

/* Mobile drawer */
.gm-nav-mob {
  display: none; position: fixed; top: 66px; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 199;
  flex-direction: column; padding: 2rem 28px; gap: 1.5rem;
  border-top: 1px solid var(--line); list-style: none; overflow-y: auto;
}
.gm-nav-mob.open { display: flex; }
.gm-nav-mob a { font-size: 1.15rem; font-weight: 600; color: var(--text); text-decoration: none; }
.gm-nav-mob li a:hover { color: var(--acc); }
.gm-nav-mob-divider { height: 1px; background: var(--line); }

/* NAV spacer so fixed nav doesn't overlap page */
.gm-nav-spacer { height: 66px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.8rem 1.65rem; border-radius: 100px;
  font-family: var(--font); font-size: 0.875rem; font-weight: 700;
  transition: all 0.22s; border: none; cursor: pointer; text-decoration: none;
}
.btn-acc  { background: var(--acc); color: #0d0d0d; }
.btn-acc:hover  { background: #f5ec3a; }
.btn-wh   { background: var(--text); color: var(--bg); }
.btn-wh:hover   { background: var(--acc); color: var(--bg); }
.btn-gh   { background: transparent; color: var(--text-2); border: 1px solid var(--line-2); }
.btn-gh:hover   { color: var(--text); border-color: var(--line-3); }

/* ── SECTION LABEL ── */
.s-label {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; font-weight: 600; color: var(--text-3);
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.s-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--text-3); }

/* ── FORM ELEMENTS ── */
.gm-input {
  background: var(--bg-3); color: var(--text);
  border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 0.85rem 1rem; font-family: var(--font); font-size: 0.875rem;
  outline: none; transition: border-color 0.2s; width: 100%;
}
.gm-input::placeholder { color: var(--text-3); }
.gm-input:focus { border-color: var(--acc); }

/* ── CARDS / PANELS ── */
.gm-card {
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: var(--rl); padding: 24px;
}
.gm-card-sm {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px;
}

/* ── PAGE WRAPPER ── */
.page-wrap { max-width: 860px; margin: 0 auto; padding: 0 24px 100px; }
.page-wrap-lg { max-width: 1100px; margin: 0 auto; padding: 0 24px 100px; }

/* ── HERO ── */
.page-hero { max-width: 860px; margin: 0 auto; padding: 56px 24px 44px; text-align: center; }
.page-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--acc-d); border: 1px solid var(--acc-b); color: var(--acc);
  padding: 5px 14px; border-radius: 99px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 16px;
}
.page-hero h1 em { font-style: normal; color: var(--acc); }
.page-hero p { font-size: 1rem; color: var(--text-2); line-height: 1.75; max-width: 600px; margin: 0 auto 32px; }

/* ── FEAT PILLS ── */
.feat-pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.feat-pill {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--text-2);
  background: var(--bg-2); border: 1px solid var(--line); padding: 6px 12px; border-radius: 99px;
}

/* ── SCORE RING ── */
.score-ring { position: relative; width: 100px; height: 100px; flex-shrink: 0; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.score-num { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.04em; }
.score-lbl { font-size: 0.58rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .gm-nav { padding: 0 20px; }
  .gm-nav-links, .gm-nav-right { display: none; }
  .gm-nav-ham { display: flex; }
  .gm-nav-mob-auth { display: flex; }
}
@media (max-width: 600px) {
  .page-hero { padding: 40px 16px 28px; }
  .page-wrap, .page-wrap-lg { padding: 0 16px 80px; }
}
