/* ── Flowdesk — Modern SaaS Dark Theme ── */

:root {
  --bg:       #080810;
  --surface:  #0f0f1a;
  --surface2: #16162a;
  --border:   rgba(255,255,255,0.08);
  --text:     #f0f0ff;
  --muted:    #7070a0;
  --violet:   #7c3aed;
  --violet2:  #a855f7;
  --cyan:     #06b6d4;
  --radius:   14px;
  --font:     'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: linear-gradient(135deg, var(--violet2) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAV ── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.logo-accent { color: var(--violet2); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--text); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet2) 100%);
  color: #fff;
  box-shadow: 0 0 24px rgba(124,58,237,0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(124,58,237,0.5);
}

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

.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: 10px; }

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 2rem 7rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--violet2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
}

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

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── LOGOS ── */
.logos {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--surface);
}

.logos-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.logos-row span {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  letter-spacing: -0.02em;
}

/* ── SECTIONS ── */
.section {
  padding: 7rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet2);
  margin-bottom: 1rem;
  text-align: center;
}

.features h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 3.5rem;
  line-height: 1.2;
}

/* ── CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet) 0%, var(--cyan) 100%);
  opacity: 0;
  transition: opacity 0.2s;
}

.card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }

.card-icon { font-size: 1.75rem; display: block; margin-bottom: 1rem; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.card p  { color: var(--muted); font-size: 0.93rem; line-height: 1.7; }

/* ── PROOF ── */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.proof-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 2rem;
}

.stars { font-size: 1.4rem; color: #fbbf24; margin-bottom: 1.5rem; letter-spacing: 0.1em; }

.proof blockquote {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.proof cite { color: var(--muted); font-size: 0.9rem; font-style: normal; }
.proof cite strong { color: var(--text); }

/* ── CTA ── */
.cta {
  text-align: center;
  padding: 7rem 2rem;
}

.cta-inner {
  max-width: 580px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.25rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.cta-input:focus { border-color: var(--violet2); }
.cta-input::placeholder { color: var(--muted); }

.cta-note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer p { color: var(--muted); font-size: 0.85rem; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav { padding: 1.25rem; }
  .nav-links a:not(.btn) { display: none; }
  .hero-content { padding: 3rem 1.25rem 5rem; }
  .section { padding: 4rem 1.25rem; }
  .footer { flex-direction: column; text-align: center; padding: 2rem; }
  .logos-row { gap: 1.5rem; }
}
