/*
Theme Name: Done For You Network
Theme URI: https://doneforyounetwork.com/
Author: Done For You Network
Description: A focused WordPress landing-page theme for a done-for-you lead capture setup service. Includes homepage, demo, pricing, FAQ, contact form, and thank-you page.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: done-for-you-network
*/

:root {
  --dfyn-bg: #f7f9fc;
  --dfyn-surface: #ffffff;
  --dfyn-surface-2: #eef5ff;
  --dfyn-ink: #111827;
  --dfyn-muted: #5b667a;
  --dfyn-border: #dde5f0;
  --dfyn-navy: #0b1f3a;
  --dfyn-blue: #2366d1;
  --dfyn-blue-dark: #184ea6;
  --dfyn-green: #17a673;
  --dfyn-shadow: 0 18px 50px rgba(11, 31, 58, .10);
  --dfyn-radius: 22px;
  --dfyn-radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--dfyn-bg);
  color: var(--dfyn-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.dfyn-container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.dfyn-section { padding: 72px 0; }
.dfyn-section-tight { padding: 46px 0; }
.dfyn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(35, 102, 209, .10);
  color: var(--dfyn-blue-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .01em;
}
.dfyn-heading-xl {
  margin: 18px 0 18px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: .96;
  letter-spacing: -.055em;
  color: var(--dfyn-navy);
}
.dfyn-heading-lg {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--dfyn-navy);
}
.dfyn-heading-md {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--dfyn-navy);
}
.dfyn-lede { font-size: 19px; color: var(--dfyn-muted); max-width: 720px; }
.dfyn-small { font-size: 14px; color: var(--dfyn-muted); }
.dfyn-btns { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.dfyn-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.dfyn-btn:hover { transform: translateY(-1px); }
.dfyn-btn-primary { background: var(--dfyn-blue); color: #fff; box-shadow: 0 12px 22px rgba(35, 102, 209, .22); }
.dfyn-btn-primary:hover { background: var(--dfyn-blue-dark); }
.dfyn-btn-secondary { background: #fff; border-color: var(--dfyn-border); color: var(--dfyn-navy); }
.dfyn-btn-secondary:hover { box-shadow: var(--dfyn-shadow); }
.dfyn-card {
  background: var(--dfyn-surface);
  border: 1px solid var(--dfyn-border);
  border-radius: var(--dfyn-radius);
  box-shadow: var(--dfyn-shadow);
}
.dfyn-card-pad { padding: 28px; }
.dfyn-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.dfyn-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dfyn-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dfyn-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.dfyn-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--dfyn-muted); }
.dfyn-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(23, 166, 115, .12);
  color: var(--dfyn-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
}

/* Header */
.dfyn-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 229, 240, .75);
}
.dfyn-header-inner { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; gap: 22px; }
.dfyn-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; color: var(--dfyn-navy); letter-spacing: -.02em; }
.dfyn-logo-mark { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--dfyn-blue), var(--dfyn-green)); display: inline-flex; color: #fff; align-items: center; justify-content: center; font-weight: 900; }
.dfyn-nav { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 750; color: #2f3b4d; }
.dfyn-nav a { text-decoration: none; }
.dfyn-nav a:hover { color: var(--dfyn-blue); }
.dfyn-mobile-toggle { display: none; }

/* Hero */
.dfyn-hero { padding: 78px 0 42px; }
.dfyn-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 42px; align-items: center; }
.dfyn-trust-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.dfyn-trust-pill { padding: 8px 12px; border: 1px solid var(--dfyn-border); background: rgba(255,255,255,.70); border-radius: 999px; font-size: 13px; font-weight: 750; color: var(--dfyn-muted); }
.dfyn-hero-visual { position: relative; }
.dfyn-chat-card { padding: 22px; overflow: hidden; }
.dfyn-chat-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--dfyn-border); }
.dfyn-status { display: inline-flex; align-items: center; gap: 7px; color: var(--dfyn-green); font-weight: 800; font-size: 13px; }
.dfyn-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dfyn-green); box-shadow: 0 0 0 4px rgba(23, 166, 115, .12); }
.dfyn-bubbles { display: grid; gap: 12px; margin: 18px 0; }
.dfyn-bubble { padding: 13px 15px; border-radius: 18px; font-size: 14px; }
.dfyn-bubble.bot { background: var(--dfyn-surface-2); color: var(--dfyn-navy); justify-self: start; max-width: 88%; }
.dfyn-bubble.user { border: 1px solid var(--dfyn-border); background: #fff; justify-self: end; max-width: 88%; }
.dfyn-lead-captured { border: 1px solid var(--dfyn-border); border-radius: 16px; padding: 14px; background: #fff; }
.dfyn-lead-captured strong { color: var(--dfyn-navy); }
.dfyn-mini-metric { display: grid; gap: 4px; }
.dfyn-mini-metric span { font-size: 12px; color: var(--dfyn-muted); }
.dfyn-mini-metric b { font-size: 20px; color: var(--dfyn-navy); }

/* Sections */
.dfyn-section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 26px; }
.dfyn-section-header p { max-width: 640px; margin: 0; color: var(--dfyn-muted); }
.dfyn-problem-card { padding: 22px; min-height: 180px; }
.dfyn-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(35, 102, 209, .10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dfyn-blue);
  font-weight: 900;
  margin-bottom: 16px;
}
.dfyn-step { padding: 22px; position: relative; }
.dfyn-step-number { width: 36px; height: 36px; border-radius: 50%; background: var(--dfyn-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; margin-bottom: 16px; }
.dfyn-pricing-card { padding: 28px; display: flex; flex-direction: column; min-height: 100%; }
.dfyn-pricing-card.featured { border: 2px solid var(--dfyn-blue); transform: translateY(-8px); }
.dfyn-price { font-size: 44px; line-height: 1; letter-spacing: -.04em; color: var(--dfyn-navy); font-weight: 900; margin: 12px 0; }
.dfyn-price small { font-size: 16px; color: var(--dfyn-muted); font-weight: 700; }
.dfyn-pricing-card .dfyn-btn { margin-top: auto; }
.dfyn-demo-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.dfyn-demo-panel { background: #fff; border: 1px solid var(--dfyn-border); border-radius: 18px; padding: 18px; min-height: 170px; }
.dfyn-demo-panel h3 { margin-top: 0; }
.dfyn-cta-band { background: var(--dfyn-navy); color: #fff; border-radius: 30px; padding: 42px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.dfyn-cta-band h2 { margin: 0 0 10px; color: #fff; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -.04em; }
.dfyn-cta-band p { color: rgba(255,255,255,.78); }
.dfyn-cta-band .dfyn-btn-secondary { color: var(--dfyn-navy); }

/* Forms */
.dfyn-form { display: grid; gap: 14px; }
.dfyn-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dfyn-field label { display: block; font-size: 13px; font-weight: 800; color: var(--dfyn-navy); margin-bottom: 7px; }
.dfyn-field input,
.dfyn-field select,
.dfyn-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--dfyn-border);
  border-radius: 13px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
  color: var(--dfyn-ink);
}
.dfyn-field textarea { min-height: 110px; resize: vertical; }
.dfyn-field input:focus,
.dfyn-field select:focus,
.dfyn-field textarea:focus { outline: 3px solid rgba(35, 102, 209, .18); border-color: var(--dfyn-blue); }
.dfyn-hp { position: absolute; left: -9999px; top: -9999px; }
.dfyn-note { border-radius: 14px; padding: 14px; background: rgba(35,102,209,.08); color: var(--dfyn-muted); font-size: 14px; }

/* Demo page */
.dfyn-demo-browser { overflow: hidden; }
.dfyn-browser-bar { height: 46px; background: #eef3f9; border-bottom: 1px solid var(--dfyn-border); display: flex; align-items: center; padding: 0 16px; gap: 8px; }
.dfyn-browser-dot { width: 11px; height: 11px; border-radius: 50%; background: #b7c4d6; }
.dfyn-browser-url { margin-left: 12px; flex: 1; background: #fff; border: 1px solid var(--dfyn-border); color: var(--dfyn-muted); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.dfyn-demo-website { padding: 24px; background: #fff; }
.dfyn-demo-hero { border-radius: 20px; background: linear-gradient(135deg, #eff6ff, #ffffff); padding: 28px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: center; }
.dfyn-mock-form { background: #fff; border: 1px solid var(--dfyn-border); border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.dfyn-mock-input { border: 1px solid var(--dfyn-border); border-radius: 10px; padding: 10px; color: var(--dfyn-muted); font-size: 13px; }
.dfyn-chat-launcher { position: absolute; right: 26px; bottom: 24px; background: var(--dfyn-blue); color: #fff; border: none; border-radius: 999px; padding: 13px 16px; font-weight: 850; box-shadow: 0 14px 30px rgba(35,102,209,.30); cursor: pointer; }
.dfyn-demo-relative { position: relative; }
.dfyn-live-widget { position: absolute; right: 26px; bottom: 82px; width: 310px; max-width: calc(100% - 52px); background: #fff; border: 1px solid var(--dfyn-border); border-radius: 22px; box-shadow: var(--dfyn-shadow); overflow: hidden; display: none; }
.dfyn-live-widget.open { display: block; }
.dfyn-widget-header { background: var(--dfyn-navy); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dfyn-widget-close { background: transparent; border: none; color: #fff; font-size: 20px; cursor: pointer; }
.dfyn-widget-body { padding: 14px; display: grid; gap: 10px; }
.dfyn-widget-btn { width: 100%; border: 1px solid var(--dfyn-border); background: #fff; border-radius: 12px; padding: 10px; text-align: left; cursor: pointer; font-weight: 750; color: var(--dfyn-navy); }
.dfyn-widget-result { border-radius: 14px; background: var(--dfyn-surface-2); padding: 12px; font-size: 13px; color: var(--dfyn-muted); display: none; }
.dfyn-widget-result.show { display: block; }
.dfyn-flow-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 16px; }
.dfyn-flow-table th, .dfyn-flow-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--dfyn-border); font-size: 14px; }
.dfyn-flow-table th { background: #eef5ff; color: var(--dfyn-navy); }
.dfyn-flow-table tr:last-child td { border-bottom: none; }

/* FAQ */
.dfyn-faq-item { border: 1px solid var(--dfyn-border); background: #fff; border-radius: 18px; overflow: hidden; }
.dfyn-faq-question { width: 100%; background: transparent; border: none; padding: 18px 20px; text-align: left; display: flex; justify-content: space-between; gap: 18px; align-items: center; font: inherit; font-weight: 850; color: var(--dfyn-navy); cursor: pointer; }
.dfyn-faq-answer { display: none; padding: 0 20px 20px; color: var(--dfyn-muted); }
.dfyn-faq-item.open .dfyn-faq-answer { display: block; }

/* Footer */
.dfyn-footer { padding: 42px 0; border-top: 1px solid var(--dfyn-border); color: var(--dfyn-muted); }
.dfyn-footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.dfyn-footer a { color: var(--dfyn-muted); text-decoration: none; }
.dfyn-footer a:hover { color: var(--dfyn-blue); }

@media (max-width: 900px) {
  .dfyn-hero-grid,
  .dfyn-grid-2,
  .dfyn-grid-3,
  .dfyn-grid-4,
  .dfyn-cta-band,
  .dfyn-demo-hero,
  .dfyn-demo-strip { grid-template-columns: 1fr; }
  .dfyn-pricing-card.featured { transform: none; }
  .dfyn-section-header { display: block; }
  .dfyn-nav { display: none; position: absolute; left: 20px; right: 20px; top: 68px; background: #fff; border: 1px solid var(--dfyn-border); border-radius: 18px; padding: 18px; flex-direction: column; align-items: stretch; box-shadow: var(--dfyn-shadow); }
  .dfyn-nav.open { display: flex; }
  .dfyn-mobile-toggle { display: inline-flex; background: #fff; border: 1px solid var(--dfyn-border); border-radius: 12px; padding: 9px 12px; font-weight: 850; }
}

@media (max-width: 620px) {
  .dfyn-container { width: min(100% - 28px, 1120px); }
  .dfyn-section { padding: 52px 0; }
  .dfyn-hero { padding: 52px 0 30px; }
  .dfyn-form-row { grid-template-columns: 1fr; }
  .dfyn-card-pad { padding: 22px; }
  .dfyn-cta-band { padding: 28px; border-radius: 24px; }
  .dfyn-heading-xl { font-size: 42px; }
}
.dfyn-nav ul, .dfyn-menu { margin: 0; padding: 0; list-style: none; display: contents; }
.dfyn-nav li { list-style: none; margin: 0; padding: 0; }
