/* Synchr marketing site — self-contained, mobile-first */

:root {
  --accent: #6C5CE7;
  --accent-dark: #5a4bd1;
  --accent-soft: #efedfc;
  --ink: #17181f;
  --ink-soft: #4b4e5c;
  --ink-faint: #8a8d9c;
  --bg: #ffffff;
  --bg-alt: #f7f7fb;
  --bg-dark: #17181f;
  --line: #e6e7ee;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(23, 24, 31, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow { max-width: 48rem; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.01em; }

h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); margin-bottom: 0.5rem; }

.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-sub {
  color: var(--ink-soft);
  max-width: 38rem;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 10px;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--bg); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.92rem; }
.btn-block { display: block; width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 1.9rem; height: 1.9rem; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.6rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0 1rem;
}
.site-nav.open { display: flex; }
.site-nav a {
  color: var(--ink-soft);
  font-weight: 500;
  padding: 0.45rem 0;
}
.site-nav a:hover { color: var(--accent); }
.site-nav .nav-login { color: var(--ink); }
.site-nav .btn { margin-top: 0.5rem; align-self: flex-start; color: #fff; }

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
  }
  .site-nav a { padding: 0; }
  .site-nav .btn { margin-top: 0; }
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, var(--accent-soft), transparent),
    var(--bg);
}
.hero-eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  max-width: 46rem;
  margin: 0 auto 1.25rem;
}
.hero-sub {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 40rem;
  margin: 0 auto 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.hero-note { color: var(--ink-faint); font-size: 0.9rem; }

.hero-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.diagram-node {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow);
}
.diagram-node-accent { border-color: var(--accent); color: var(--accent); }
.diagram-arrows span {
  font-size: 1.8rem;
  color: var(--accent);
  font-weight: 700;
}

/* Logos row */
.logos { padding: 2.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos-title {
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.logos-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 44rem;
  margin: 0 auto;
}
.logo-badge {
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  background: var(--bg-alt);
}
@media (min-width: 640px) {
  .logos-row { grid-template-columns: repeat(4, 1fr); }
}

/* How it works */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--bg);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.step p { color: var(--ink-soft); font-size: 0.97rem; }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.feature {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.feature-icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; }
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.plan-featured {
  border-color: var(--accent);
  box-shadow: 0 10px 34px rgba(108, 92, 231, 0.18);
}
.plan-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.plan-price { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--ink-faint); }
.plan-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.plan-features li {
  padding: 0.45rem 0 0.45rem 1.5rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--bg-alt);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Add-ons */
.addons {
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  background: var(--accent-soft);
}
.addons h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.addons-note {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-faint);
  margin-left: 0.5rem;
}
.addons-row {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.addon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}
.addon-name { font-weight: 600; font-size: 0.95rem; }
.addon-price { color: var(--accent); font-weight: 700; white-space: nowrap; }
@media (min-width: 800px) {
  .addons-row { grid-template-columns: repeat(4, 1fr); }
  .addon { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}

/* Security */
.section-dark {
  background: var(--bg-dark);
  color: #fff;
}
.section-dark .section-sub { color: #b9bcc9; }
.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.security-card {
  border: 1px solid #2c2e3a;
  border-radius: var(--radius);
  padding: 1.75rem;
  background: #1e2029;
}
.security-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.5rem; }
.security-card p { color: #b9bcc9; font-size: 0.95rem; }
@media (min-width: 800px) {
  .security-grid { grid-template-columns: repeat(3, 1fr); }
}

/* FAQ */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item p {
  padding: 1.1rem 1.4rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* Final CTA */
.cta-final {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 110%, var(--accent-soft), transparent),
    var(--bg);
}
.cta-final .section-sub { margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #b9bcc9;
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #2c2e3a;
}
.footer-brand .brand { color: #fff; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.92rem; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.footer-col a { color: #b9bcc9; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-legal { padding-top: 1.5rem; font-size: 0.85rem; color: #8a8d9c; }
@media (min-width: 800px) {
  .footer-inner { grid-template-columns: 1.5fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
