/* Flowledge marketing styles */
:root {
  --ink: #0b1220;
  --ink-2: #101a2e;
  --ink-3: #16223a;
  --paper: #ffffff;
  --paper-2: #f6f8fb;
  --line: #e6eaf1;
  --line-dark: rgba(255, 255, 255, 0.08);
  --text: #1d2939;
  --muted: #5b6779;
  --muted-dark: #9aa7bd;
  --brand: #10b981;
  --brand-dark: #0d9f70;
  --brand-soft: rgba(16, 185, 129, 0.12);
  --amber: #f59e0b;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(11, 18, 32, 0.09);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--brand-dark); text-decoration: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #34d399);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #06281d;
  font-size: 0.9rem;
  font-weight: 900;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav .nav-link { color: var(--muted-dark); font-size: 0.92rem; font-weight: 500; transition: color 0.15s; }
.site-nav .nav-link:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font);
}
.btn-primary { background: var(--brand); color: #052e21; }
.btn-primary:hover { background: #0fd692; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35); }
.btn-ghost { background: transparent; color: #dbe3f0; border-color: rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-lg { padding: 14px 30px; font-size: 1.02rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 75% -10%, rgba(16, 185, 129, 0.18), transparent 60%),
    radial-gradient(700px 380px at 10% 10%, rgba(52, 211, 153, 0.08), transparent 55%),
    var(--ink);
  color: #fff;
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lede { color: var(--muted-dark); font-size: 1.13rem; max-width: 34rem; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { color: #64748b; font-size: 0.85rem; }
.hero-stats { display: flex; gap: 36px; margin-top: 38px; }
.hero-stat b { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.hero-stat span { color: var(--muted-dark); font-size: 0.82rem; }

/* Product mock */
.mock {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  font-size: 0.82rem;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #2a3a55; }
.mock-dot:first-child { background: #ef4444; }
.mock-dot:nth-child(2) { background: #f59e0b; }
.mock-dot:nth-child(3) { background: #22c55e; }
.mock-url { margin-left: 12px; background: var(--ink-3); color: #7d8aa3; border-radius: 6px; padding: 3px 12px; font-size: 0.72rem; }
.mock-body { padding: 18px; display: grid; gap: 10px; }
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 12px 14px;
  color: #c8d2e4;
}
.mock-row small { display: block; color: #7d8aa3; font-size: 0.72rem; }
.chip { border-radius: 999px; padding: 3px 10px; font-size: 0.7rem; font-weight: 700; white-space: nowrap; }
.chip-green { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.chip-amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.chip-blue { background: rgba(96, 165, 250, 0.15); color: #93c5fd; }
.mock-draft {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  padding: 14px;
  color: #b6f3dd;
}
.mock-draft b { color: #6ee7b7; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 6px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--paper-2); }
.kicker {
  color: var(--brand-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}
.section .sub { color: var(--muted); font-size: 1.06rem; max-width: 40rem; }
.section-head { max-width: 46rem; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; color: var(--ink); letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.feature h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.popular { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #052e21;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 4px; }
.plan .plan-for { color: var(--muted); font-size: 0.88rem; margin-bottom: 20px; min-height: 2.6em; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.price b { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.price span { color: var(--muted); font-size: 0.9rem; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 28px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--text); }
.plan li::before { content: '✓'; color: var(--brand-dark); font-weight: 800; flex-shrink: 0; }
.plan li.mute { color: var(--muted); }
.plan li.mute::before { content: '—'; color: #c3ccd9; }

.enterprise-strip {
  margin-top: 28px;
  background: var(--ink);
  border-radius: 18px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.enterprise-strip h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.enterprise-strip p { color: var(--muted-dark); font-size: 0.92rem; max-width: 34rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); font-size: 0.93rem; padding-bottom: 18px; }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-side h2 { margin-bottom: 14px; }
.contact-side p { color: var(--muted); margin-bottom: 22px; }
.contact-points { display: grid; gap: 14px; }
.contact-point { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; color: var(--text); }
.contact-point b { color: var(--ink); }
.contact-point .dot { color: var(--brand-dark); font-weight: 800; }

.card-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.85rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.field textarea { resize: vertical; min-height: 130px; }

.notice { border-radius: 10px; padding: 14px 18px; font-size: 0.92rem; margin-bottom: 20px; }
.notice-ok { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.35); color: #067154; }
.notice-err { background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.3); color: #b91c1c; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; text-align: center; padding: 84px 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-band p { color: var(--muted-dark); margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: #0a101c; color: var(--muted-dark); padding: 56px 0 36px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 9px; }
.footer-grid a { color: var(--muted-dark); }
.footer-grid a:hover { color: #fff; }
.footer-about p { margin-top: 12px; max-width: 20rem; font-size: 0.86rem; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.82rem; color: #64748b; }

/* ---------- Auth pages ---------- */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  background:
    radial-gradient(700px 400px at 80% 0%, rgba(16, 185, 129, 0.16), transparent 60%),
    var(--ink);
  color: #fff;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-side .quote { font-size: 1.35rem; line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; max-width: 26rem; }
.auth-side .quote-by { margin-top: 18px; color: var(--muted-dark); font-size: 0.9rem; }
.auth-points { display: grid; gap: 12px; margin-top: 40px; }
.auth-points div { display: flex; gap: 10px; color: #c8d2e4; font-size: 0.93rem; }
.auth-points div::before { content: '✓'; color: var(--brand); font-weight: 800; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--paper-2); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .card-form { padding: 38px; }
.auth-card h1 { font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--muted); }
.plan-note {
  background: var(--brand-soft);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #067154;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.86rem;
  margin-bottom: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 26rem; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .site-nav .nav-link { display: none; }
}
@media (max-width: 620px) {
  .steps, .features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 70px; }
  .section { padding: 60px 0; }
}
