/* ============================================================
   SYSFUL MARKETING - Shared Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

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

:root {
  --green:        #2ea043;
  --green-dim:    #1e7a30;
  --green-glow:   rgba(46,160,67,0.15);
  --slate:        #3a3f47;
  --slate-dark:   #0d0f0e;
  --slate-mid:    #1a1d1b;
  --slate-card:   #1f2320;
  --slate-border: #2a2e2b;
  --off-white:    #f4f5f2;
  --muted:        #8a9099;
  --muted-light:  #b0b8b4;
  --radius:       4px;
  --radius-lg:    8px;
  --nav-h:        68px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--slate-dark);
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── SKIP LINK ───────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--green); color: #fff;
  padding: .5rem 1rem; border-radius: var(--radius);
  font-size: .85rem; font-weight: 600; z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(13,15,14,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-border);
  display: flex; align-items: center;
  padding: 0 2rem;
  z-index: 1000;
}

.nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: .75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted);
}

.nav-logo .logo-mark {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; font-weight: 900; color: #fff;
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: .875rem; font-weight: 500;
  color: var(--muted-light); letter-spacing: .02em;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--off-white); }

.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: .5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: .875rem !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--green-dim) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--off-white);
  transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--slate-mid);
  border-bottom: 1px solid var(--slate-border);
  padding: 1.5rem 2rem;
  flex-direction: column; gap: 1.5rem;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 500; color: var(--muted-light);
  padding: .25rem 0;
}
.mobile-menu a.active,
.mobile-menu a:hover { color: var(--off-white); }
.mobile-menu .nav-cta {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  padding: .65rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}

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

/* ── SECTIONS ────────────────────────────────────────────── */
.section {
  padding: 6rem 2rem;
}
.section-inner {
  max-width: 1200px; margin: 0 auto;
}
.section-label {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: .75rem;
  display: flex; align-items: center; gap: .5rem;
}
.section-label::before {
  content: ''; display: block;
  width: 20px; height: 2px; background: var(--green);
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.section-title .g { color: var(--green); }
.section-body {
  font-size: 1.0625rem; color: var(--muted-light);
  max-width: 580px; line-height: 1.7;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-size: .9375rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
  border: none;
}
.btn-primary {
  background: var(--green); color: #fff;
}
.btn-primary:hover { background: var(--green-dim); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--slate-border);
  color: var(--off-white);
}
.btn-outline:hover { border-color: var(--muted); transform: translateY(-1px); }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--slate-card);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color .2s, transform .2s;
}
.card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
.card-icon {
  width: 44px; height: 44px;
  background: var(--green-glow);
  border: 1px solid rgba(46,160,67,.3);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}
.card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em;
  margin-bottom: .6rem;
}
.card-body {
  font-size: .9375rem; color: var(--muted-light);
  line-height: 1.65;
}

/* ── GRID UTILITIES ──────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider {
  border: none; border-top: 1px solid var(--slate-border);
  margin: 0;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--slate-mid);
  border-top: 1px solid var(--slate-border);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
}
.footer-logo .fl-sys { color: var(--green); }
.footer-logo .fl-mkt { color: var(--muted); }
.footer-copy {
  font-size: .8125rem; color: var(--muted);
}
.footer-links {
  display: flex; gap: 2rem; list-style: none;
}
.footer-links a {
  font-size: .8125rem; color: var(--muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--off-white); }

/* ── FOCUS ───────────────────────────────────────────────── */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--green); outline-offset: 3px;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 4rem 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
  .btn { padding: .7rem 1.4rem; font-size: .875rem; }
  .section-title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .card { padding: 1.5rem; }
}
