/* ─── Arbor Dash Marketing Site ─── */

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #0D2818;
  --green-800: #143D28;
  --green-700: #1B5E3A;
  --green-600: #22764A;
  --green-500: #2D9B5E;
  --green-400: #4CC97E;
  --green-300: #7EDBA0;
  --green-200: #B4EACA;
  --green-100: #E5F7ED;
  --green-50:  #F0FBF4;

  --teal-500: #0ABAB5;
  --teal-400: #2DD4CF;
  --teal-100: #CCFBF1;

  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;

  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; height: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

body > .footer { margin-top: auto; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── Typography ─── */

h1, h2, h3, h4 { line-height: 1.2; color: var(--gray-900); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p { color: var(--gray-600); }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-600);
  margin-bottom: 0.75rem;
}

.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

/* ─── Layout ─── */

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

section {
  padding: 5rem 0;
}

.section-alt { background: var(--gray-50); }
.section-dark { background: var(--green-900); color: var(--white); }
.section-dark p { color: var(--green-200); }
.section-dark h2 { color: var(--white); }
.section-dark .section-label { color: var(--teal-400); }

.text-center { text-align: center; }

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-700);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: var(--white);
  color: var(--green-700);
  border: 2px solid var(--green-700);
}
.btn-secondary:hover { background: var(--green-50); }

.btn-ghost {
  color: var(--green-200);
  border: 2px solid var(--green-200);
  background: transparent;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: var(--white); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

.btn-icon svg { width: 18px; height: 18px; }

/* ─── Nav ─── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-700);
}
.nav-logo svg { width: 32px; height: 32px; }
.nav-logo img { height: 36px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--green-700); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }

.nav-mobile-toggle {
  display: none;
  padding: 0.5rem;
  color: var(--gray-700);
}
.nav-mobile-toggle svg { width: 24px; height: 24px; }

.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 0;
  z-index: 99;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.nav-mobile a:hover { color: var(--green-700); }

/* ─── Hero ─── */

.hero {
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, var(--green-50) 0%, var(--white) 50%, var(--teal-100) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content h1 span { color: var(--green-700); }
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; max-width: 520px; }

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  position: relative;
}
.hero-screenshot {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  overflow: hidden;
}
.hero-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
}

.hero-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
}
.hero-badge .badge-icon {
  width: 40px;
  height: 40px;
  background: var(--green-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
}

/* ─── Features Grid ─── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.2s ease;
}
.feature-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--green-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--green-700);
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; }

/* ─── How It Works ─── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}

.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; }

/* connector lines */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  height: 2px;
  background: var(--green-300);
}

/* ─── QB Integration Section ─── */

.integration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.integration-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.integration-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.integration-item .check {
  width: 24px;
  height: 24px;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green-700);
}
.integration-item .check svg { width: 14px; height: 14px; }

.integration-item h4 { margin-bottom: 0.25rem; }
.integration-item p { font-size: 0.875rem; }

.integration-visual {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
}
.integration-visual .qb-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.sync-arrows {
  color: var(--green-500);
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.sync-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.sync-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* ─── Pricing ─── */

.pricing-single {
  max-width: 800px;
  margin: 3rem auto 0;
  text-align: center;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.2s;
}
.pricing-card.featured {
  border-color: var(--green-700);
  position: relative;
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured::before {
  content: 'All-Inclusive';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-700);
  color: var(--white);
  padding: 0.25rem 1.25rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.pricing-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}
.pricing-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.pricing-period { color: var(--gray-500); font-size: 0.85rem; margin-bottom: 2.5rem; }

.pricing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}
.pricing-feature-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-700);
  margin-bottom: 0.75rem;
}

.pricing-features {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.pricing-features li svg { width: 18px; height: 18px; color: var(--green-600); flex-shrink: 0; }

.pricing-enterprise {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--gray-500);
}
.pricing-enterprise a {
  color: var(--green-700);
  text-decoration: underline;
  font-weight: 500;
}

/* ─── CTA Section ─── */

.cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-content h2 { margin-bottom: 1rem; }
.cta-content p { margin-bottom: 2rem; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ─── Footer ─── */

.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p { font-size: 0.9rem; margin-top: 0.75rem; max-width: 280px; }
.footer-brand .nav-logo { margin-bottom: 0.5rem; }

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer ul a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: color 0.15s;
}
.footer ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-legal { display: flex; gap: 2rem; }

/* ─── Page Header (non-home pages) ─── */

.page-header {
  padding: 8rem 0 3rem;
  background: var(--green-50);
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
}
.page-header p { max-width: 560px; margin: 0.75rem auto 0; }

.page-content {
  padding: 4rem 0;
}

/* ─── Prose (for privacy/terms) ─── */

.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
.prose h3 { margin: 2rem 0 0.5rem; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4rem; font-size: 0.95rem; color: var(--gray-600); }
.prose a { color: var(--green-700); text-decoration: underline; }

/* ─── Support page ─── */

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.support-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.support-card h3 { margin-bottom: 0.5rem; }
.support-card p { font-size: 0.9rem; }

.faq-list { margin-top: 3rem; max-width: 780px; margin-left: auto; margin-right: auto; }

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gray-400);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-answer { padding-top: 0.75rem; font-size: 0.9rem; color: var(--gray-600); }

/* ─── Features page detail ─── */

.feature-detail {
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.feature-detail-visual {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}
.feature-detail-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-detail-content { max-width: 720px; }
.feature-detail-content h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.feature-detail-content p { margin-bottom: 1.25rem; }
.feature-detail-content ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
}
.feature-detail-content ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.feature-detail-content ul li svg { width: 16px; height: 16px; color: var(--green-600); flex-shrink: 0; }

/* ─── Contact form ─── */

.contact-form { max-width: 520px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(27,94,58,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── Responsive ─── */

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .integration-grid { grid-template-columns: 1fr; }
  .feature-detail-content ul { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .hero { padding: 7rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-content { text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-badge { position: static; margin-top: 1.5rem; display: inline-flex; }

  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .step:not(:last-child)::after { display: none; }
  .pricing-features-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-toggle { display: block; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
