/* TradieTax — shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #E8530A;
  --orange-dark: #C4420A;
  --orange-light: #FFF0E8;
  --bg: #FFFFFF;
  --bg-alt: #F7F6F2;
  --text: #1A1A1A;
  --text-muted: #666660;
  --border: #E5E4E0;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--orange); text-decoration: none; }
.btn-nav {
  background: var(--orange);
  color: white !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 14px !important;
}
.btn-nav:hover { background: var(--orange-dark); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: white;
}
.btn-primary:hover { background: var(--orange-dark); text-decoration: none; color: white; }
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover { background: var(--orange-light); text-decoration: none; }

/* ─── SECTIONS ─── */
section { padding: 80px 24px; }
.container { max-width: 1040px; margin: 0 auto; }
.section-label {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 700; }
p { color: var(--text-muted); }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(160deg, #fff 0%, var(--orange-light) 100%);
  padding: 100px 24px 80px;
  text-align: center;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 { margin-bottom: 20px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero p {
  font-size: 20px;
  max-width: 540px;
  margin: 0 auto 40px;
  color: var(--text-muted);
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.appstore-badge {
  display: inline-block;
  height: 52px;
}
.appstore-badge img { height: 52px; }
.appstore-badge-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1A1A1A;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  height: 52px;
  text-decoration: none;
}
.appstore-badge-placeholder:hover { background: #333; color: white; text-decoration: none; }

/* phone mockup */
.hero-phone {
  margin: 60px auto 0;
  max-width: 260px;
  background: #1A1A1A;
  border-radius: 44px;
  padding: 14px;
  box-shadow: 0 40px 100px rgba(232,83,10,0.25), 0 8px 30px rgba(0,0,0,0.18);
}
.phone-screen {
  background: var(--orange);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-status { background: var(--orange); padding: 12px 18px 4px; display: flex; justify-content: space-between; }
.phone-status span { color: rgba(255,255,255,0.9); font-size: 11px; font-weight: 600; }
.phone-content {
  background: var(--bg);
  border-radius: 0 0 32px 32px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-refund-card {
  background: var(--orange);
  border-radius: 12px;
  padding: 16px;
  color: white;
  text-align: center;
}
.phone-refund-card .label { font-size: 10px; opacity: 0.85; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.phone-refund-card .amount { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 3px 0; }
.phone-refund-card .sub { font-size: 10px; opacity: 0.75; }
.phone-stats { display: flex; gap: 7px; }
.phone-stat { flex: 1; background: var(--bg-alt); border-radius: 8px; padding: 8px 6px; text-align: center; }
.phone-stat .n { font-size: 16px; font-weight: 800; color: var(--orange); }
.phone-stat .l { font-size: 9px; color: var(--text-muted); }
.phone-receipts { display: flex; flex-direction: column; gap: 6px; }
.phone-receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 8px 10px;
  gap: 8px;
}
.phone-receipt-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.phone-receipt-info { flex: 1; min-width: 0; }
.phone-receipt-info .name { font-size: 11px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-receipt-info .cat { font-size: 9px; color: var(--text-muted); }
.phone-receipt-amt { font-size: 11px; font-weight: 700; color: var(--text); flex-shrink: 0; }
.phone-snap-btn {
  background: var(--orange);
  color: white;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
}

/* ─── FEATURES ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: white;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { margin-bottom: 8px; font-size: 17px; }
@media (max-width: 860px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ─── HOW IT WORKS ─── */
.how-it-works { background: var(--bg-alt); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 48px; }
.step { text-align: center; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; }

/* ─── TRADES ─── */
.trades-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  justify-content: center;
}
.trade-pill {
  background: var(--orange-light);
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 20px;
}

/* ─── TRUST STRIP ─── */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
  background: var(--bg-alt);
}
.trust-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: 16px;
}
@media (max-width: 640px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-item { font-size: 13px; }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-icon {
  width: 34px;
  height: 34px;
  background: var(--orange-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}

/* ─── CTA BAND ─── */
.cta-band {
  background: var(--orange);
  padding: 80px 24px;
  text-align: center;
  color: white;
}
.cta-band h2 { color: white; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 36px; }
.btn-white {
  background: white;
  color: var(--orange);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-white:hover { background: var(--orange-light); color: var(--orange); text-decoration: none; }

/* ─── FOOTER ─── */
footer {
  background: #1A1A1A;
  color: rgba(255,255,255,0.6);
  padding: 48px 24px;
  font-size: 14px;
}
.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand { color: white; font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: white; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── PAGE HEADER (inner pages) ─── */
.page-header {
  background: linear-gradient(160deg, #fff 0%, var(--orange-light) 100%);
  padding: 60px 24px 48px;
}
.page-header h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.page-header p { font-size: 17px; max-width: 560px; }

/* ─── PROSE (privacy/support) ─── */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px;
}
.prose h2 { font-size: 22px; margin: 40px 0 12px; color: var(--text); }
.prose h3 { font-size: 17px; margin: 24px 0 8px; color: var(--text); }
.prose p { margin-bottom: 14px; line-height: 1.75; }
.prose ul { margin: 0 0 14px 20px; color: var(--text-muted); line-height: 1.75; }
.prose ul li { margin-bottom: 6px; }
.prose a { color: var(--orange); }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 2px; margin-top: 32px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 18px; }
.faq-chevron { transition: transform 0.3s ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* ─── CONTACT CARD ─── */
.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin-top: 40px;
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { margin-bottom: 20px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  section { padding: 60px 20px; }
  .nav-links { display: none; }
  .hero { padding: 80px 20px 60px; }
  .hero p { font-size: 17px; }
}
