:root {
  --bg: #FAF7F2;
  --bg-elevated: #F0EBE1;
  --bg-card: #FFFFFF;
  --fg: #1E2A36;
  --fg-muted: #5A6E7F;
  --fg-dim: #8FA3B1;
  --accent: #1E7A5F;
  --accent-dim: rgba(30, 122, 95, 0.08);
  --accent-glow: rgba(30, 122, 95, 0.12);
  --border: rgba(30, 122, 95, 0.12);
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===================== HERO (Teal Gradient) ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2rem;
  background: linear-gradient(135deg, #1B6B52 0%, #134F40 40%, #0D3D30 100%);
  overflow: hidden;
}

/* Decorative teal orb glow */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 180, 140, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(15, 90, 70, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-split {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem 0 4rem;
}

.hero-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35), 0 4px 16px rgba(0,0,0,0.2);
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrap.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-eyebrow.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: #fff;
  min-height: 2.16em;
}

/* Typewriter container */
.typewriter-wrap {
  display: block;
}

.typewriter-text {
  display: inline;
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: rgba(255,255,255,0.8);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: cursorBlink 0.8s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}

.hero-sub.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

.hero-actions.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-cta-primary {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  background: #fff;
  color: #0D3D30;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: opacity 0.2s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-cta-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.hero-cta-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero-cta-secondary {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.9rem 2rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.18s ease;
  backdrop-filter: blur(4px);
}

.hero-cta-secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* Stats Bar */
.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 1rem;
  padding: 0;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 3rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-stat-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-stat-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Nav on dark hero */
.hero + .site-nav .site-nav,
.site-nav.on-hero-dark {
  background: rgba(13, 61, 48, 0.85);
  border-bottom-color: rgba(255,255,255,0.08);
}

/* ===================== PROBLEM ===================== */
.problem {
  padding: 6rem 2rem;
  background: var(--bg);
}

.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.problem-label,
.capabilities-label,
.how-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.problem h2,
.capabilities h2,
.how-it-works h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 3rem;
  color: var(--fg);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
  border-color: rgba(30, 122, 95, 0.25);
  box-shadow: 0 4px 20px rgba(30, 122, 95, 0.06);
}

.problem-icon {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.55;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===================== CAPABILITIES ===================== */
.capabilities {
  padding: 6rem 2rem;
  background: var(--bg-elevated);
}

.capabilities-inner {
  max-width: 860px;
  margin: 0 auto;
}

.cap-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.cap-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.cap-marker {
  width: 12px;
  height: 12px;
  min-width: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.45rem;
}

.cap-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.cap-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===================== HOW IT WORKS ===================== */
.how-it-works {
  padding: 6rem 2rem;
  background: var(--bg);
}

.how-inner {
  max-width: 780px;
  margin: 0 auto;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 1rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  min-width: 50px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.step-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===================== CLOSING ===================== */
.closing {
  padding: 8rem 2rem;
  background: var(--bg-elevated);
  text-align: center;
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===================== FOOTER ===================== */
.site-footer {
  padding: 3rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

.footer-note {
  font-size: 0.82rem;
  color: var(--fg-dim);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-label {
  font-size: 0.82rem;
  color: var(--fg-dim);
  margin-right: 0.25rem;
}

.footer-social-link {
  color: var(--accent);
  display: flex;
  align-items: center;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-social-link:hover {
  opacity: 0.7;
}

/* ===================== NAV ===================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.7; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--fg);
  background: var(--bg-elevated);
}

.nav-cta {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 0.45rem 1.15rem;
  border-radius: 100px;
  border: 1px solid rgba(30, 122, 95, 0.3);
  margin-left: 0.5rem;
  transition: background 0.2s, border-color 0.2s;
}

.nav-cta:hover {
  background: var(--accent-dim);
  border-color: rgba(30, 122, 95, 0.5);
}

.nav-admin-link {
  font-size: 0.84rem;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  margin-left: 0.15rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-admin-link:hover {
  color: var(--fg);
  background: var(--bg-elevated);
}

.nav-tenant-link {
  font-size: 0.84rem;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  margin-right: 0.5rem;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.nav-tenant-link:hover {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(30, 122, 95, 0.3);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg-muted);
  padding: 0.25rem;
}

/* ===================== PAGE HERO ===================== */
.page-hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.page-hero-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--fg);
}

.page-hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===================== FEATURE GRID (Products page) ===================== */
.features-section {
  padding: 5rem 2rem;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: rgba(30, 122, 95, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(30, 122, 95, 0.07);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--fg);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.feature-benefit {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials {
  padding: 5rem 2rem;
  background: var(--bg-elevated);
}

.testimonials-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.section-header p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg);
}

.testimonial-meta {
  font-size: 0.78rem;
  color: var(--fg-dim);
  margin-top: 0.2rem;
}

/* ===================== PRICING ===================== */
.pricing-section {
  padding: 5rem 2rem;
}

.pricing-inner {
  max-width: 950px;
  margin: 0 auto;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.pricing-card.featured {
  border-color: rgba(30, 122, 95, 0.35);
  background: linear-gradient(180deg, rgba(30, 122, 95, 0.04) 0%, var(--bg-card) 100%);
  box-shadow: 0 4px 24px rgba(30, 122, 95, 0.06);
}

.pricing-tier {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.pricing-price sub {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-muted);
}

.pricing-desc {
  font-size: 0.86rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  margin-bottom: 1.75rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.86rem;
  color: var(--fg-muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.05rem;
  flex-shrink: 0;
}

.pricing-cta {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--fg);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.pricing-card.featured .pricing-cta {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pricing-card.featured .pricing-cta:hover {
  opacity: 0.88;
}

.pricing-cta:hover {
  background: var(--accent-dim);
  border-color: rgba(30, 122, 95, 0.3);
}

.pricing-note {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.82rem;
  color: var(--fg-dim);
}

.pricing-trial-callout {
  margin-top: 2rem;
  text-align: center;
  font-size: 1rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.most-popular-badge {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.trial-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
}

.trial-signup-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-left: 0.5rem;
  transition: opacity 0.2s;
}

.trial-signup-link:hover { opacity: 0.75; }

/* ===================== HOW IT WORKS PAGE ===================== */
.page-overview-section {
  padding: 0 2rem 5rem;
  background: var(--bg-elevated);
}

.page-overview-inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-overview-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.page-overview-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.page-overview-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.page-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.page-overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.page-overview-card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  display: block;
}

.page-overview-card h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.35rem;
}

.page-overview-card p {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ===================== STEP FLOW (detailed steps) ===================== */
.step-flow-section {
  padding: 5rem 2rem;
  background: var(--bg);
}

.step-flow-inner {
  max-width: 800px;
  margin: 0 auto;
}

.step-flow-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--fg);
  text-align: center;
}

.step-flow-sub {
  font-size: 0.95rem;
  color: var(--fg-muted);
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.step-flow-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.step-flow-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.step-flow-item:hover {
  border-color: rgba(30, 122, 95, 0.22);
  box-shadow: 0 4px 20px rgba(30, 122, 95, 0.05);
}

.step-flow-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--accent-dim);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.step-flow-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.4rem;
}

.step-flow-body p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-flow-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  margin-left: auto;
  min-width: 32px;
  text-align: right;
  line-height: 52px;
}

/* ===================== NO LONGER SECTION ===================== */
.no-longer-section {
  padding: 5rem 2rem;
  background: var(--bg-elevated);
}

.no-longer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.no-longer-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--fg);
  text-align: center;
}

.no-longer-sub {
  font-size: 0.95rem;
  color: var(--fg-muted);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.no-longer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.no-longer-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.no-longer-icon {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 0.1rem;
  min-width: 20px;
}

.no-longer-text {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ===================== WHO ITS FOR ===================== */
.who-for-section {
  padding: 5rem 2rem;
  background: var(--bg);
}

.who-for-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.who-for-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.who-for-sub {
  font-size: 0.95rem;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.who-for-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: left;
}

.who-for-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}

.who-for-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.who-for-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.who-for-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

/* ===================== PROCESS (How It Works page) ===================== */
.process-section {
  padding: 5rem 2rem;
  background: var(--bg-elevated);
}

.process-inner {
  max-width: 800px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 1rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  min-width: 50px;
}

.process-step-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.process-step-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===================== CONTACT ===================== */
.contact-section {
  padding: 5rem 2rem;
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 0.45rem;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(30, 122, 95, 0.4);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.9rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 0.5rem;
}

.form-submit:hover { opacity: 0.88; }

.contact-info {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: center;
}

.contact-info-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}

.contact-info-item h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--fg);
}

.contact-info-item p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ===================== WHY NOT APPFOLIO SECTION (HOMEPAGE) ===================== */
.why-not-section {
  padding: 5rem 2rem;
  background: var(--bg-elevated);
}

.why-not-inner {
  max-width: 800px;
  margin: 0 auto;
}

.why-not-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.why-not-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 0.9rem;
}

.why-not-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.why-not-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.why-not-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.5;
}

.why-not-check {
  font-size: 1.1rem;
  min-width: 28px;
  text-align: center;
  line-height: 1.4;
}

.why-not-row:first-child .why-not-check { color: #dc2626; }
.why-not-row:last-child .why-not-check { color: var(--accent); }

.why-not-proof {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  border-left: 4px solid var(--accent);
}

.why-not-quote {
  font-style: italic;
  font-size: 1rem;
  color: var(--fg);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.why-not-attribution {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* ===================== CTA BANNER ===================== */
.cta-banner {
  padding: 5rem 2rem;
  background: var(--bg-elevated);
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--fg);
}

.cta-banner p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta-btn:hover { opacity: 0.88; }

.cta-btn-outline {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 2.2rem;
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: 100px;
  text-decoration: none;
  margin-left: 0.75rem;
  transition: background 0.2s, border-color 0.2s;
}

.cta-btn-outline:hover {
  background: var(--accent-dim);
  border-color: rgba(30, 122, 95, 0.3);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .nav-mobile-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(250, 247, 242, 0.97);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
  }

  .nav-links.nav-open { display: flex; }

  .nav-link { width: 100%; text-align: center; }

  .nav-cta {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .page-hero { padding: 7rem 1.5rem 3rem; }

  .features-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .contact-info { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .pricing-card.featured { box-shadow: 0 4px 24px rgba(30, 122, 95, 0.08); }

  .cta-btn-outline { margin-left: 0; margin-top: 0.75rem; }

  .hero { min-height: 80vh; padding: 4rem 1.5rem 3rem; }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-image-wrap {
    order: -1;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem,
  .capabilities,
  .how-it-works,
  .why-not-section {
    padding: 4rem 1.5rem;
  }

  .why-not-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .why-not-check {
    min-width: auto;
  }

  .why-not-proof {
    padding: 1.25rem 1.25rem;
  }

  .closing {
    padding: 5rem 1.5rem;
  }

  .step {
    gap: 1.25rem;
  }

  .step-num {
    font-size: 2rem;
    min-width: 36px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .cap-item {
    gap: 1rem;
  }

  .page-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-flow-item {
    gap: 1.25rem;
    padding: 1.5rem 1.5rem;
  }

  .no-longer-grid {
    grid-template-columns: 1fr;
  }

  .who-for-cards {
    grid-template-columns: 1fr;
  }

  .process-step {
    gap: 1.25rem;
  }

  .step-flow-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.2rem;
  }

  .step-flow-num {
    display: none;
  }
}

/* ===================== SCROLL REVEAL ANIMATIONS ===================== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(28px);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0);
}

/* Stagger delays for grouped items */
.reveal-up[style*="--delay"] { transition-delay: var(--delay); }

/* ===================== HERO ENTRANCE ANIMATION ===================== */
.hero .hero-eyebrow {
  animation: heroEyebrow 0.6s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero h1 {
  animation: heroH1 0.7s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.hero .hero-sub {
  animation: heroSub 0.7s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.hero .hero-actions {
  animation: heroActions 0.7s ease forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.hero-image-wrap {
  animation: heroImage 0.8s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

@keyframes heroEyebrow {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroH1 {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroSub {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroActions {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroImage {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ===================== HERO IMAGE FLOAT ANIMATION ===================== */
.hero-img-float {
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* ===================== ENHANCED BUTTON HOVER ===================== */
.hero-cta-primary,
.cta-btn {
  transition: opacity 0.2s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
}

.hero-cta-primary:hover,
.cta-btn:hover {
  opacity: 0.88 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 122, 95, 0.28);
}

.hero-cta-primary:active,
.cta-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ===================== FEATURE CARD LIFT ENHANCEMENT ===================== */
.feature-card:hover,
.problem-card:hover,
.testimonial-card:hover,
.step-flow-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 122, 95, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ===================== TESTIMONIAL CARD LIFT ===================== */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* ===================== STEP FLOW ITEM HOVER ===================== */
.step-flow-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

/* ===================== NAV LINK HOVER SCALE ===================== */
.nav-link:hover,
.nav-admin-link:hover {
  transform: scale(1.03);
}

/* ===================== CTA OUTLINE HOVER ===================== */
.cta-btn-outline:hover {
  transform: translateY(-2px);
  background: var(--accent-dim);
  border-color: rgba(30, 122, 95, 0.5);
  box-shadow: 0 4px 16px rgba(30, 122, 95, 0.12);
}

/* ===================== PRICING CARD HOVER ===================== */
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(30, 122, 95, 0.08);
  border-color: rgba(30, 122, 95, 0.28);
}

/* ===================== PARALLAX ON HERO IMAGE ===================== */
@media (prefers-reduced-motion: no-preference) {
  .hero-img-float {
    animation: heroFloat 6s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img-float,
  .reveal-up,
  .reveal-left,
  .reveal-right {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}