/* TradiePulse Landing Page — styles.css */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #f97316;       /* orange — tradesperson energy */
  --brand-dark: #c2410c;
  --dark: #111827;
  --dark2: #1f2937;
  --mid: #374151;
  --muted: #6b7280;
  --light: #f9fafb;
  --border: #e5e7eb;
  --white: #ffffff;
  --radius: 12px;
  --font: 'Inter', system-ui, sans-serif;
}

body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-size: 1.25rem; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; }
.logo span { color: var(--brand); }

/* BUTTONS */
.btn { display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: all 0.15s; border: 2px solid transparent; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; text-align: center; display: block; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--dark); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--dark); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: var(--white); }

/* HERO */
.hero { background: var(--dark); color: var(--white); padding: 80px 0 80px; text-align: center; }
.hero-badge { display: inline-block; background: rgba(249,115,22,0.15); color: var(--brand); border: 1px solid rgba(249,115,22,0.3); border-radius: 100px; padding: 6px 16px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 24px; letter-spacing: -1px; }
.hero h1 .accent { color: var(--brand); }
.hero-sub { font-size: 1.2rem; color: #d1d5db; max-width: 600px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero .btn-ghost, .cta-section .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.4); }
.hero .btn-ghost:hover, .cta-section .btn-ghost:hover { border-color: var(--white); }
.hero-proof { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: 0.9rem; color: #9ca3af; }

/* SECTIONS */
.section { padding: 80px 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-align: center; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 48px; font-size: 1.05rem; }

/* PROBLEM */
.problem { background: var(--light); }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 48px; }
.problem-card { background: var(--white); border-radius: var(--radius); padding: 32px; text-align: center; border: 1px solid var(--border); }
.problem-num { font-size: 3rem; font-weight: 800; color: var(--brand); margin-bottom: 12px; line-height: 1; }
.problem-card p { color: var(--mid); }

/* STEPS */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 720px; margin: 0 auto; margin-top: 48px; }
.step { display: flex; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; }
.step-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step-body p { color: var(--mid); }
.step-body em { font-style: italic; color: var(--dark); }

/* FEATURES */
.features-section { background: var(--dark); color: var(--white); }
.features-section .section-title { color: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.feature-card { background: var(--dark2); border-radius: var(--radius); padding: 28px; border: 1px solid #374151; }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.feature-card p { color: #9ca3af; font-size: 0.95rem; }

/* COMPARE */
.compare-section { background: var(--light); }
.compare-table-wrap { overflow-x: auto; margin-top: 40px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.compare-table thead th { background: var(--dark); color: var(--white); font-weight: 700; }
.compare-table thead th:first-child { border-radius: 8px 0 0 0; }
.compare-table .highlight-col { background: rgba(249,115,22,0.07); font-weight: 600; }
.compare-table thead .highlight-col { background: var(--brand); color: var(--white); }
.compare-table tbody tr:hover td { background: #f3f4f6; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.pricing-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; position: relative; }
.pricing-featured { border-color: var(--brand); border-width: 2px; }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand); color: var(--white); padding: 4px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.pricing-tier { font-size: 1rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.pricing-price { font-size: 2rem; font-weight: 800; color: var(--dark); }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.pricing-monthly { font-size: 1.1rem; font-weight: 600; color: var(--brand); margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { padding: 6px 0; color: var(--mid); font-size: 0.95rem; border-bottom: 1px solid var(--border); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-note { text-align: center; color: var(--muted); margin-top: 24px; font-size: 0.9rem; }

/* CTA */
.cta-section { background: var(--dark); color: var(--white); }
.cta-box { max-width: 680px; margin: 0 auto; text-align: center; }
.cta-box h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 16px; }
.cta-box p { color: #d1d5db; margin-bottom: 16px; }
.cta-sub { font-size: 0.95rem; }
.cta-contact { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 32px 0 24px; }
.cta-note { font-size: 0.9rem; color: #9ca3af; margin-bottom: 24px; }
.cta-email { font-size: 0.95rem; color: #9ca3af; margin-top: 18px; text-align: center; }
.cta-email a { color: var(--brand); font-weight: 600; text-decoration: none; word-break: break-all; }
.cta-email a:hover { text-decoration: underline; }
.cta-email a { cursor: pointer; }
.copied-msg { margin-left: 10px; color: #22c55e; font-weight: 600; font-size: 0.9rem; }

/* FORM */
.contact-form { text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.contact-form input { width: 100%; padding: 14px 16px; border-radius: 8px; border: 1px solid #374151; background: var(--dark2); color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.contact-form input::placeholder { color: #6b7280; }
.contact-form input:focus { outline: 2px solid var(--brand); border-color: transparent; }
.contact-form .btn-primary { margin-top: 4px; font-size: 1.05rem; padding: 16px; }

/* FOOTER */
.footer { background: var(--dark2); color: #6b7280; text-align: center; padding: 32px 24px; font-size: 0.9rem; }
.footer p { margin-bottom: 6px; }

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero { padding: 60px 0; }
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .cta-contact { flex-direction: column; align-items: center; }
  .step { flex-direction: column; }
}
