/* ============================================================
   FILTROWL STUDIOS · Design System
   Dark minimal, single accent, production
   ============================================================ */

:root {
  /* SURFACES — near-black, warm neutrals */
  --bg:            #0A0A0B;
  --bg-1:          #0F0F11;
  --bg-2:          #15151A;
  --bg-3:          #1C1C22;
  --bg-4:          #24242C;

  /* INK */
  --ink:           #F5F5F7;
  --ink-1:         #D4D4D9;
  --ink-2:         #8E8E96;
  --ink-3:         #5E5E66;
  --ink-4:         #3A3A42;

  /* LINES */
  --line:          rgba(255,255,255,0.06);
  --line-1:        rgba(255,255,255,0.10);
  --line-2:        rgba(255,255,255,0.18);

  /* SINGLE ACCENT — lime-chartreuse (distinct, energetic, rare in agency sites) */
  --accent:        #D6FF3C;
  --accent-dim:    #BCE221;
  --accent-soft:   rgba(214,255,60,0.14);
  --accent-glow:   rgba(214,255,60,0.35);
  --accent-ink:    #0A0A0B;       /* text on accent */

  /* UTILITY */
  --good:          #46E3A1;
  --warn:          #FFB55B;
  --bad:           #FF6B8A;

  /* TYPE */
  --font-sans:     "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display:  "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono:     "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* RADII */
  --r-sm:          8px;
  --r-md:          14px;
  --r-lg:          20px;
  --r-xl:          28px;

  /* SHADOWS */
  --shadow-sm:     0 1px 0 rgba(255,255,255,0.04), 0 4px 14px rgba(0,0,0,0.35);
  --shadow-md:     0 20px 40px -12px rgba(0,0,0,0.55);
  --shadow-lg:     0 40px 80px -20px rgba(0,0,0,0.7);

  /* SPACING */
  --container:     1200px;
  --gutter:        24px;
}

/* ============ RESET ============ */
*,*::before,*::after { box-sizing: border-box; }
html,body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
input, textarea, select { font: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ============ LAYOUT ============ */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section.block {
  padding: 140px 0;
  position: relative;
}
@media (max-width: 720px) {
  section.block { padding: 88px 0; }
}

/* ============ TYPE ============ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 500; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.02em; }
h4 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
h5 { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }

p { margin: 0; color: var(--ink-1); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.kicker.center::before { display: none; }
.kicker.center {
  padding: 8px 14px;
  border: 1px solid var(--line-1);
  border-radius: 999px;
  color: var(--ink-1);
  background: rgba(255,255,255,0.02);
}
.kicker.center .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

.accent-text { color: var(--accent); }
.mono { font-family: var(--font-mono); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-1); }
.muted { color: var(--ink-2); }

/* section heads */
.section-head {
  margin-bottom: 72px;
  max-width: 720px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 { margin: 16px 0 18px; }
.section-head p { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; max-width: 58ch; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: #E9FF66;
  box-shadow: 0 10px 30px -8px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--ink-2);
}

.btn-link {
  padding: 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  padding-bottom: 4px;
}
.btn-link:hover { border-color: var(--accent); color: var(--accent); transform: none; }

.btn-lg { padding: 18px 28px; font-size: 15.5px; }
.btn-sm { padding: 10px 16px; font-size: 13px; }

/* ============ CARDS ============ */
.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.card:hover {
  border-color: var(--line-2);
  background: var(--bg-2);
}
.card-interactive:hover { transform: translateY(-2px); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line-1);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.tag.accent { color: var(--accent); border-color: rgba(214,255,60,0.25); background: var(--accent-soft); }

/* ============ NAV ============ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,11,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topnav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
}
.topnav .brand { display: flex; align-items: center; gap: 10px; }
.topnav .brand img { height: 30px; width: auto; }
.topnav nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.topnav nav a {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink-1);
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.topnav nav a:hover { color: var(--ink); background: rgba(255,255,255,0.04); }
.topnav nav a.current { color: var(--accent); }
.topnav nav .nav-cta {
  margin-left: 8px;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  font-weight: 500;
}
.topnav nav .nav-cta:hover { background: #E9FF66; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-1);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 16px;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after  { top:  5px; }

@media (max-width: 900px) {
  .topnav nav { display: none; }
  .topnav nav.open {
    display: flex;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    padding: 20px var(--gutter);
    gap: 4px;
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
    align-items: stretch;
  }
  .topnav nav.open a { padding: 14px 16px; font-size: 16px; }
  .topnav nav.open .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav-toggle { display: inline-flex; }
}

/* ============ FOOTER ============ */
.sitefoot {
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
  background: var(--bg);
}
.sitefoot .wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.sitefoot .fbrand img { height: 36px; margin-bottom: 20px; }
.sitefoot .fbrand p { color: var(--ink-2); font-size: 14px; max-width: 36ch; line-height: 1.55; }
.sitefoot h5 { margin-bottom: 18px; }
.sitefoot .fcol a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.15s;
}
.sitefoot .fcol a:hover { color: var(--ink); }
.sitefoot .fbottom {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-3);
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 780px) {
  .sitefoot .wrap { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .sitefoot .fbrand { grid-column: 1 / -1; }
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2,0.8,0.2,1), transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
}
.reveal.on { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============ ANIMATIONS ============ */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.35); }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes dash {
  to { stroke-dashoffset: -200; }
}

/* motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}

/* ============ UTILITY ============ */
.grid   { display: grid; }
.flex   { display: flex; }
.center { display: flex; align-items: center; justify-content: center; }
.between{ display: flex; align-items: center; justify-content: space-between; }
.stack  { display: flex; flex-direction: column; }
.gap-8  { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.mb-8{margin-bottom:8px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.mb-32{margin-bottom:32px}.mb-48{margin-bottom:48px}

/* divider line with label */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-1);
}

/* ============ FORM ============ */
.field { display: block; margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-1);
  margin-bottom: 8px;
}
.field label .req { color: var(--accent); }
.input, .select, .textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line-1);
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.15s, background 0.15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: 0;
  border-color: var(--accent);
  background: var(--bg-1);
}
.input::placeholder { color: var(--ink-3); }

/* ============ FLOATING WA ============ */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 10px 30px -5px rgba(37,211,102,0.4);
  z-index: 40;
  transition: transform 0.2s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 26px; height: 26px; }
@media (max-width: 720px) {
  .wa-fab { width: 50px; height: 50px; bottom: 18px; right: 18px; }
}
