/* FlowGet Clients — landing styles */

:root {
  --navy-950: #060d18;
  --navy-900: #0a1628;
  --navy-800: #0f2137;
  --navy-700: #152d4a;
  --navy-600: #1c3a5c;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --cyan-300: #67e8f9;
  --text: #e8edf4;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(45, 212, 191, 0.25);
  --surface: rgba(15, 33, 55, 0.6);
  --surface-raised: rgba(21, 45, 74, 0.7);
  --glow: rgba(45, 212, 191, 0.15);
  --max-width: 1120px;
  --radius: 12px;
  --radius-lg: 16px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal-400);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--cyan-300);
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* Animations */

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

.fade-in {
  animation: fadeIn 0.7s ease both;
}

.fade-in:nth-child(2) { animation-delay: 0.08s; }
.fade-in:nth-child(3) { animation-delay: 0.16s; }
.fade-in:nth-child(4) { animation-delay: 0.24s; }
.fade-in:nth-child(5) { animation-delay: 0.32s; }
.fade-in:nth-child(6) { animation-delay: 0.4s; }

.fade-up {
  animation: fadeIn 0.6s ease both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in,
  .fade-up {
    animation: none;
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 13, 24, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 0.875rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text);
}

.brand-logo {
  width: 44px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--teal-400);
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  color: var(--navy-950);
  border-color: var(--teal-500);
  box-shadow: 0 4px 20px var(--glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-500));
  color: var(--navy-950);
  box-shadow: 0 6px 28px rgba(45, 212, 191, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--teal-400);
  border-color: var(--border-strong);
}

.btn-light {
  background: var(--text);
  color: var(--navy-900);
  border-color: var(--text);
}

.btn-light:hover {
  background: #fff;
  color: var(--navy-900);
}

.btn-sm {
  font-size: 0.875rem;
  padding: 0.5625rem 1.125rem;
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 1rem 1.75rem;
}

/* Hero */

.hero {
  position: relative;
  padding: 5.5rem 0 6.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(45, 212, 191, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 50%, rgba(20, 184, 166, 0.06), transparent 50%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: 3rem;
  align-items: center;
}

.hero-inner {
  position: relative;
  max-width: none;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-400);
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-subheadline {
  margin: 0 0 2rem;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 62ch;
}

.hero-bullets {
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.hero-bullets li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 8px var(--glow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Hero snapshot card */

.hero-card {
  position: relative;
  padding: 1.5rem;
  background:
    linear-gradient(160deg, rgba(21, 45, 74, 0.95) 0%, rgba(10, 22, 40, 0.98) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(45, 212, 191, 0.06) inset,
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-400), var(--cyan-300));
  opacity: 0.85;
}

.hero-card-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.hero-card-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-400);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 999px;
}

.hero-card-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.3;
}

.hero-card-body {
  display: grid;
  gap: 1rem;
}

.hero-card-block {
  padding: 0.875rem 1rem;
  background: rgba(6, 13, 24, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hero-card-label {
  margin: 0 0 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-card-tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-card-tags li {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 999px;
}

.hero-card-impacts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.hero-card-impacts li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.impact-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 6px var(--glow);
}

.hero-card-fix {
  padding: 1rem 1.125rem;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(20, 184, 166, 0.06));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.hero-card-fix-value {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--teal-400);
  line-height: 1.4;
}

.hero-card.fade-in {
  animation-delay: 0.45s;
}

/* Sections */

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--navy-900);
  border-block: 1px solid var(--border);
}

.section-intro {
  max-width: 680px;
  margin-bottom: 3.5rem;
}

.section-intro.centered {
  text-align: center;
  margin-inline: auto;
}

.section-intro h2,
.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
}

.section-intro p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Problem cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  padding: 2rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.25rem;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.1);
  color: var(--teal-400);
}

.card-icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.card h3 {
  margin: 0 0 0.625rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 0.9875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Process steps */

.process {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  left: 1.75rem;
  top: 2rem;
  bottom: 2rem;
  width: 1px;
  background: linear-gradient(180deg, var(--teal-500), transparent);
  opacity: 0.35;
}

.process-step {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  position: relative;
}

.process-step:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.process-number {
  flex-shrink: 0;
  width: 3.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--teal-400);
  padding-top: 0.15rem;
}

.process-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text);
}

.process-content p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.65;
}

/* Niche grid */

.niche-lead {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--teal-400);
  text-transform: uppercase;
}

.niche-secondary-note {
  margin: 2rem 0 1.25rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 58ch;
}

.niche-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.875rem;
}

.niche-grid li {
  padding: 1rem 1.25rem;
  font-size: 0.9875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.niche-grid li:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.niche-grid-primary li {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-raised);
  border-color: var(--border-strong);
}

.niche-grid-primary li:hover {
  border-color: rgba(45, 212, 191, 0.4);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.niche-grid-secondary {
  margin-top: 0;
}

.niche-grid-secondary li {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  background: rgba(15, 33, 55, 0.35);
  border-color: rgba(148, 163, 184, 0.08);
  padding: 0.75rem 1rem;
}

.niche-grid-secondary li:hover {
  color: var(--text-muted);
  border-color: var(--border);
}

/* Offer */

.offer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.offer-lead {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.offer-includes-label {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.offer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.offer-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.offer-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-400);
  font-weight: 700;
}

.offer-cta-box {
  padding: 2.5rem 2rem;
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  text-align: center;
}

.offer-cta-label {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}

.offer-note {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Benefits */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit {
  padding: 2rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease;
}

.benefit:hover {
  border-color: var(--border-strong);
}

.benefit h3 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.benefit p {
  margin: 0;
  font-size: 0.9875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Final CTA */

.final-cta {
  padding: 5.5rem 0;
  background:
    linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 50%, var(--navy-800) 100%);
  border-block: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(45, 212, 191, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 600px;
}

.final-cta h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.625rem, 3.5vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}

.final-cta p {
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Footer */

.site-footer {
  padding: 3rem 0;
  background: var(--navy-950);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
}

.footer-brand:hover {
  color: var(--text);
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--teal-400);
}

.footer-copy {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-card {
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }

  .offer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.nav-open .header-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1.25rem 1.25rem 1.5rem;
    background: rgba(6, 13, 24, 0.97);
    border-bottom: 1px solid var(--border);
    gap: 1.25rem;
    margin-left: 0;
  }

  .site-header.nav-open .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .site-header.nav-open .nav a {
    padding: 0.625rem 0;
  }

  .site-header.nav-open .header-cta {
    justify-content: center;
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-inner {
    position: relative;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .process::before {
    display: none;
  }

  .process-step {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem 0;
  }

  .hero {
    padding: 3.5rem 0 4.5rem;
  }

  .hero-layout {
    gap: 2rem;
  }

  .hero-card {
    max-width: none;
    order: 1;
  }

  .hero-inner {
    order: 0;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .niche-grid {
    grid-template-columns: 1fr;
  }
}
