/* ============================================================
   TaskFlow marketing site — shared styles
   Landing page + legal pages + contact, with responsive layout.
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; background: #F7F5F0; color: #1A1A1A; overflow-x: hidden; }
a { text-decoration: none; }

/* ── Navigation ────────────────────────────────────────────── */
.site-nav { background: #1A1A1A; padding: 0 5%; height: 60px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 20px; color: #fff; }
.nav-logo span { color: #4A80E8; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #888; font-size: 13px; cursor: pointer; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { background: #4A80E8; color: #0F0F0F !important; font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 7px; transition: background 0.2s; }
.nav-cta:hover { background: #3B6FD4; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* ── Shared section helpers ────────────────────────────────── */
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #4A80E8; margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 34px; color: #1A1A1A; margin-bottom: 16px; line-height: 1.25; }
.section-sub { font-size: 15px; color: #888; line-height: 1.7; max-width: 560px; margin: 0 auto 48px; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { background: #1A1A1A; padding: 90px 5% 80px; text-align: center; position: relative; overflow: hidden; }
.hero-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, #4A80E815 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.hero-eyebrow { display: inline-block; background: #1A2540; border: 1px solid #1E3F8A; color: #4A80E8; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 24px; }
.hero-headline { font-family: 'Playfair Display', serif; font-size: 52px; color: #fff; line-height: 1.15; margin: 0 auto 20px; max-width: 700px; }
.hero-headline em { color: #4A80E8; font-style: normal; }
.hero-sub { font-size: 17px; color: #999; line-height: 1.7; max-width: 520px; margin: 0 auto 36px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-hero { background: #4A80E8; color: #0F0F0F; font-size: 15px; font-weight: 600; padding: 13px 28px; border-radius: 8px; cursor: pointer; border: none; font-family: 'DM Sans', sans-serif; transition: background 0.2s; display: inline-block; }
.btn-hero:hover { background: #3B6FD4; }
.btn-hero-ghost { background: transparent; color: #aaa; font-size: 14px; font-weight: 500; padding: 13px 20px; border-radius: 8px; cursor: pointer; border: 1px solid #333; font-family: 'DM Sans', sans-serif; transition: all 0.2s; display: inline-block; }
.btn-hero-ghost:hover { color: #fff; border-color: #555; }
.hero-note { margin-top: 20px; font-size: 12px; color: #666; }
.hero-note span { color: #4A80E8; }

/* ── Pain section ──────────────────────────────────────────── */
.pain { background: #fff; padding: 70px 5%; }
.pain-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.pain-card { background: #F7F5F0; border: 1px solid #E8E5DF; border-radius: 12px; padding: 22px 24px; }
.pain-icon { font-size: 24px; color: #F87171; margin-bottom: 12px; }
.pain-title { font-size: 15px; font-weight: 600; color: #1A1A1A; margin-bottom: 6px; }
.pain-desc { font-size: 13px; color: #888; line-height: 1.65; }

/* ── Arrow divider ─────────────────────────────────────────── */
.arrow-section { background: #F7F5F0; padding: 30px 5%; text-align: center; }
.arrow-text { font-family: 'Playfair Display', serif; font-size: 22px; color: #1A1A1A; }
.arrow-text span { color: #4A80E8; }

/* ── Features ──────────────────────────────────────────────── */
.features { background: #F7F5F0; padding: 70px 5%; }
.features-inner { max-width: 960px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.feat-card { background: #fff; border: 1px solid #E8E5DF; border-radius: 12px; padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start; }
.feat-icon-wrap { width: 44px; height: 44px; border-radius: 10px; background: #EEF3FD; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feat-icon-wrap i { font-size: 22px; color: #1A4FAF; }
.feat-title { font-size: 15px; font-weight: 600; color: #1A1A1A; margin-bottom: 5px; }
.feat-desc { font-size: 13px; color: #888; line-height: 1.65; }

/* ── How it works ──────────────────────────────────────────── */
.how { background: #1A1A1A; padding: 80px 5%; }
.how-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.how-inner .section-title { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; text-align: left; }
.step { position: relative; padding: 26px 24px; border: 1px solid #2A2A2A; border-radius: 12px; background: #0F0F0F; }
.step-num { font-family: 'Playfair Display', serif; font-size: 36px; color: #2A2A2A; font-weight: 600; margin-bottom: 14px; }
.step-title { font-size: 15px; font-weight: 600; color: #E8E5DF; margin-bottom: 6px; }
.step-desc { font-size: 13px; color: #777; line-height: 1.65; }
.step-accent { position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: #4A80E8; border-radius: 12px 0 0 12px; }

/* ── Pricing ───────────────────────────────────────────────── */
.pricing { background: #fff; padding: 80px 5%; }
.pricing-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.pricing-step-label { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #4A80E8; margin-bottom: 20px; }
.pricing-setup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pricing-monthly-wrap { max-width: 560px; margin: 0 auto; }
.pricing-card { border: 1px solid #E8E5DF; border-radius: 14px; padding: 28px 30px; background: #F7F5F0; text-align: left; }
.pricing-card.featured { background: #1A1A1A; border-color: #1E3F8A; }
.pricing-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #888; margin-bottom: 10px; }
.pricing-card.featured .pricing-label { color: #4A80E8; }
.pricing-name { font-size: 18px; font-weight: 600; color: #1A1A1A; margin-bottom: 4px; }
.pricing-card.featured .pricing-name { color: #fff; }
.pricing-amount { font-family: 'Playfair Display', serif; font-size: 38px; color: #1A1A1A; margin: 14px 0 4px; }
.pricing-card.featured .pricing-amount { color: #4A80E8; }
.pricing-cadence { font-size: 13px; color: #888; margin-bottom: 20px; }
.pricing-card.featured .pricing-cadence { color: #777; }
.pricing-divider { height: 1px; background: #E8E5DF; margin-bottom: 18px; }
.pricing-card.featured .pricing-divider { background: #2A2A2A; }
.pricing-item { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #555; margin-bottom: 10px; }
.pricing-card.featured .pricing-item { color: #999; }
.pricing-item i { font-size: 15px; color: #4A80E8; flex-shrink: 0; }
.pricing-item.muted { color: #aaa; font-size: 12px; margin-top: 6px; align-items: flex-start; }
.pricing-item.muted i { font-size: 13px; margin-top: 1px; }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #4A80E8; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }
.pricing-note { margin-top: 20px; font-size: 12px; color: #aaa; text-align: center; }
.pricing-monthly-flex { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.pricing-monthly-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.pricing-monthly-explain { margin-top: 16px; padding: 12px 14px; background: #0F0F0F; border-radius: 8px; font-size: 13px; color: #888; line-height: 1.6; }
.contract-banner { max-width: 700px; margin: 24px auto 0; background: #FEF3C7; border: 1px solid #FDE68A; border-radius: 10px; padding: 14px 18px; display: flex; align-items: flex-start; gap: 12px; text-align: left; }
.contract-banner i { color: #D97706; font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.contract-banner p { font-size: 13px; color: #92400E; line-height: 1.6; }
.contract-banner strong { color: #78350F; }

/* ── About ─────────────────────────────────────────────────── */
.about { background: #F7F5F0; padding: 80px 5%; }
.about-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.about-body { font-size: 16px; color: #555; line-height: 1.8; margin-top: 24px; }
.about-body strong { color: #1A1A1A; font-weight: 600; }

/* ── Final CTA ─────────────────────────────────────────────── */
.cta-section { background: #1A1A1A; padding: 80px 5%; text-align: center; }
.cta-title { font-family: 'Playfair Display', serif; font-size: 38px; color: #fff; margin-bottom: 16px; line-height: 1.25; }
.cta-title span { color: #4A80E8; }
.cta-sub { font-size: 15px; color: #999; margin-bottom: 36px; line-height: 1.7; }
.cta-fine { margin-top: 16px; font-size: 12px; color: #666; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: #0F0F0F; padding: 28px 5%; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #1E1E1E; gap: 16px; flex-wrap: wrap; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 16px; color: #666; }
.footer-logo span { color: #4A80E8; }
.footer-copy { font-size: 12px; color: #555; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 12px; color: #555; transition: color 0.2s; }
.footer-links a:hover { color: #999; }

/* ── Legal pages (terms / privacy) ─────────────────────────── */
.page-hero { background: #1A1A1A; padding: 60px 5% 50px; text-align: center; }
.page-eyebrow { display: inline-block; background: #1A2540; border: 1px solid #1E3F8A; color: #4A80E8; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 13px; border-radius: 20px; margin-bottom: 18px; }
.page-title { font-family: 'Playfair Display', serif; font-size: 38px; color: #fff; margin-bottom: 10px; }
.page-sub { font-size: 14px; color: #999; line-height: 1.6; }
.doc-wrap { max-width: 760px; margin: 0 auto; padding: 60px 5%; }
.doc-section { margin-bottom: 40px; }
.doc-section-title { font-size: 16px; font-weight: 600; color: #1A1A1A; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #E8E5DF; }
.doc-body { font-size: 14px; color: #555; line-height: 1.8; }
.doc-body p { margin-bottom: 12px; }
.doc-body ul { padding-left: 20px; margin-bottom: 12px; }
.doc-body ul li { margin-bottom: 6px; }
.doc-body strong { color: #1A1A1A; font-weight: 600; }
.doc-body a { color: #1A4FAF; }
.last-updated { font-size: 12px; color: #aaa; margin-bottom: 40px; }

/* ── Contact page ──────────────────────────────────────────── */
.contact-wrap { max-width: 860px; margin: 0 auto; padding: 60px 5%; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.contact-card { background: #fff; border: 1px solid #E8E5DF; border-radius: 12px; padding: 24px 26px; }
.contact-card-icon { font-size: 22px; color: #4A80E8; margin-bottom: 12px; }
.contact-card-title { font-size: 14px; font-weight: 600; color: #1A1A1A; margin-bottom: 6px; }
.contact-card-body { font-size: 13px; color: #888; line-height: 1.65; }
.contact-card-body a { color: #1A4FAF; }
.contact-form-card { background: #fff; border: 1px solid #E8E5DF; border-radius: 12px; padding: 28px 30px; }
.contact-form-title { font-family: 'Playfair Display', serif; font-size: 22px; color: #1A1A1A; margin-bottom: 6px; }
.contact-form-sub { font-size: 13px; color: #888; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { margin-bottom: 14px; }
.form-label { font-size: 11px; font-weight: 600; color: #666; letter-spacing: 0.04em; text-transform: uppercase; }
.form-input, .form-select, .form-textarea { border: 1px solid #E0DDD7; border-radius: 8px; padding: 9px 12px; font-size: 13px; color: #1A1A1A; font-family: 'DM Sans', sans-serif; background: #FAFAF8; outline: none; transition: border-color 0.15s; width: 100%; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: #4A80E8; }
.form-textarea { resize: vertical; min-height: 110px; }
.form-input::placeholder, .form-textarea::placeholder { color: #ccc; }
/* Honeypot — hidden from real users, catches bots */
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { background: #1A1A1A; color: #fff; font-size: 14px; font-weight: 600; padding: 11px 24px; border-radius: 8px; cursor: pointer; border: none; font-family: 'DM Sans', sans-serif; transition: background 0.2s; display: inline-flex; align-items: center; gap: 7px; }
.btn-submit:hover { background: #333; }
.response-note { font-size: 12px; color: #aaa; margin-top: 10px; }
.form-alert { border-radius: 8px; padding: 12px 14px; font-size: 13px; margin-bottom: 20px; line-height: 1.5; }
.form-alert.ok { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.form-alert.err { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: 60px; left: 0; right: 0; background: #1A1A1A; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 5%; border-top: 1px solid #2A2A2A; transform: translateY(-120%); transition: transform 0.25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 12px 0; font-size: 15px; }
  .nav-cta { width: 100%; text-align: center; margin: 8px 0; padding: 12px; }

  .hero-headline { font-size: 38px; }
  .section-title { font-size: 27px; }
  .pain-grid, .steps, .pricing-setup-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid, .form-row { grid-template-columns: 1fr; }
  .pricing-monthly-checks { grid-template-columns: 1fr; }
  .cta-title, .page-title { font-size: 30px; }
  .site-footer { flex-direction: column; text-align: center; }
}
