:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --text-primary: #ffffff;
  --text-secondary: #a1a1a6;
  --accent: #ffffff;
  --border: rgba(255,255,255,0.08);
}

/* ---------- RESET ---------- */

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

/* ---------- BASE ---------- */

html, body {
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  text-rendering: optimizeLegibility;
}

/* ---------- HEADER / NAV ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

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

/* ---------- BRAND ---------- */

.logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
}

/* ---------- DESKTOP NAV ---------- */

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* ---------- MOBILE TOGGLE ---------- */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 22px;
  cursor: pointer;
  z-index: 60;
}

/* ---------- MAIN ---------- */

main {
  width: 100%;
  overflow-x: hidden;
}

/* ---------- HERO SECTIONS ---------- */

section.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px;
  border-bottom: 1px solid var(--border);
  animation: fadeUp 0.6s ease forwards;
  width: 100%;
}

section.hero:last-of-type {
  border-bottom: none;
}

.hero > * {
  max-width: 820px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.hero p {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */

.button {
  padding: 14px 22px;
  font-size: 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button.primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* ---------- FORMS ---------- */

form {
  margin-top: 40px;
  max-width: 520px;
}

input,
textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 16px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
}

textarea {
  resize: none;
}
/* ---------- SERVICES FIT ---------- */

.services-fit {
  padding: 160px 24px;
  border-top: 1px solid var(--border);
}

/* ...other .services-fit / .fit-list rules here... */

.fit-closing {
  margin-top: 48px;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
}


/* ---------- CTA ---------- */

.services-cta {
  margin-top: 56px;
}


/* ---------- FOOTER ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 28px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---------- ANIMATION ---------- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================================= */
/* ================= MOBILE NAV ============================= */
/* ========================================================= */
@media (max-width: 768px) {

  .services-cta {
    margin-top: 56px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 40;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links-inner {
    background: #111;
    border-radius: 18px;
    width: 90%;
    max-width: 320px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links-inner a {
    padding: 14px;
    text-align: center;
    border-radius: 12px;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,0.04);
  }

  section.hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

/* ---------- SMALL DEVICES ---------- */

@media (max-width: 420px) {
  .hero h1 {
    font-size: 32px;
  }
}

/* ---------- ACCESSIBILITY ---------- */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

:focus-visible {
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.footer-text {
  color: #aaa; /* or whatever your footer text color is */
  font-size: 0.9rem;
}

.footer-link {
  color: inherit;        /* no blue */
  text-decoration: none; /* no underline */
  font-weight: 500;
}

.footer-link:hover {
  opacity: 0.85;
}

.footer-ig {
  margin-left: 8px;
  display: inline-flex;
  vertical-align: middle;
  color: inherit;        /* icon matches text */
  opacity: 0.9;
}

.footer-ig:hover {
  opacity: 1;
}
.brand {
  display: flex;
  align-items: center;
}

.logo-button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  height: 28px; /* tuned to match FileFlow text weight */
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.25rem; /* match your existing FileFlow size */
  font-weight: 600;
  letter-spacing: 0.2px;
}
/* ---------- SERVICES FIT ---------- */

.services-fit {
  padding: 160px 24px 80px; /* top | sides | bottom */
  border-top: 1px solid var(--border);
}


.fit-container {
  max-width: 1200px;
  margin: 0 auto;
}

.fit-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.fit-heading {
  max-width: 880px;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 72px;
}

.fit-columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: flex-start;
}

.fit-separator {
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
}

.fit-list h3 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.fit-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fit-list li {
  font-size: 16px;
  line-height: 1.8;
  padding: 10px 0;
  color: var(--text-secondary);
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Positive: subtle pull forward */
.fit-list.positive li:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* Negative: same base color, no opacity dimming */
.fit-list.negative {
  opacity: 1;
}

/* Negative: subtle push away */
.fit-list.negative li:hover {
  color: var(--text-secondary);
  transform: translateX(-4px);
}


.fit-closing {
  margin-top: 72px;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .fit-columns {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .fit-separator {
    display: none;
  }

  .fit-heading {
    font-size: 32px;
  }
}
