/* FloBuildr marketing — aligned with app/src/styles/variables.css */

:root {
  --bg: #F2F0EC;
  --bg-card: #FAF8F5;
  --bg-elevated: #FFFCF8;
  --bg-muted: #E8E4DD;
  --border-color: #DDD8CF;
  --border-color-strong: #C4BDB2;
  --text: #1C1917;
  --text-2: #44403C;
  --text-muted: #78716C;
  --accent: #C2410C;
  --accent-hover: #9A3412;
  --accent-light: #EDD5C8;
  --accent-faint: rgba(194, 65, 12, 0.07);
  --success: #0D9488;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --shadow-xs: 0 1px 2px rgba(28, 25, 23, 0.045);
  --shadow-sm: 0 2px 4px rgba(28, 25, 23, 0.04), 0 4px 12px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 4px 8px rgba(28, 25, 23, 0.06), 0 8px 24px rgba(28, 25, 23, 0.07);
  --shadow-lg: 0 8px 16px rgba(28, 25, 23, 0.08), 0 16px 48px rgba(28, 25, 23, 0.09);
  --focus-ring: 0 0 0 3px rgba(194, 65, 12, 0.25);
  --gradient-nav: linear-gradient(180deg, #C2410C 0%, #9A3412 100%);
  --gradient-bg: linear-gradient(165deg, #ebe6df 0%, #f0ece6 28%, #f4f1ec 55%, #f7f5f2 100%);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1140px;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

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

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */

.site-header {
  background: var(--gradient-nav);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo:hover {
  color: #fff;
}

.logo svg {
  flex-shrink: 0;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  background: #fff;
  color: var(--accent) !important;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.15s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--bg-elevated);
  color: var(--accent-hover) !important;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--border-color-strong);
  color: var(--text);
}

.btn-white {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.btn-white:hover {
  background: var(--bg-elevated);
  color: var(--accent-hover);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ── Hero ── */

.hero {
  padding: 72px 0 80px;
  background: var(--gradient-bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-faint);
  border: 1px solid rgba(194, 65, 12, 0.15);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-note strong {
  color: var(--text-2);
  font-weight: 600;
}

/* ── Screenshot placeholder ── */

.screenshot-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.screenshot-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border-color);
}

.screenshot-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color-strong);
}

.screenshot-dot:nth-child(1) { background: #E8A598; }
.screenshot-dot:nth-child(2) { background: #D4C4A8; }
.screenshot-dot:nth-child(3) { background: #A8C4A0; }

.screenshot-url {
  flex: 1;
  margin-left: 8px;
  padding: 4px 12px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.screenshot-body {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    linear-gradient(135deg, var(--accent-faint) 0%, transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 23px,
      rgba(221, 216, 207, 0.4) 23px,
      rgba(221, 216, 207, 0.4) 24px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 23px,
      rgba(221, 216, 207, 0.4) 23px,
      rgba(221, 216, 207, 0.4) 24px
    ),
    var(--bg-elevated);
  padding: 32px;
  text-align: center;
}

.screenshot-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.screenshot-hint {
  font-size: 0.75rem;
  color: var(--border-color-strong);
  max-width: 220px;
}

.screenshot-body--tall {
  aspect-ratio: 4 / 3;
}

/* ── Stats bar ── */

.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.stat-value span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── Logo strip ── */

.logo-strip {
  padding: 48px 0;
  text-align: center;
}

.logo-strip-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.logo-strip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 48px;
}

.logo-placeholder {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--border-color-strong);
  letter-spacing: -0.01em;
  padding: 8px 16px;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
}

/* ── Sections ── */

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Feature rows ── */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-visual {
  order: 1;
}

.feature-copy h3 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.feature-copy p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: var(--accent-faint);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C2410C'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5L12 4l1 1-6.5 6.5z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Feature cards grid ── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-color-strong);
}

.feature-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-faint);
  border-radius: var(--radius-md);
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Testimonials ── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-quote {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}

.testimonial-quote::before {
  content: '\201C';
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-light);
  margin-bottom: 8px;
  font-weight: 700;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-nav);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── Pricing teaser ── */

.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.pricing-card .price-note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-highlight {
  display: inline-block;
  background: var(--accent-faint);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 0.875rem;
}

/* ── CTA band ── */

.cta-band {
  padding: 80px 0;
  background: var(--gradient-nav);
  text-align: center;
  color: #fff;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: #fff;
}

.cta-band p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── Forms ── */

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-family: var(--font);
  background: var(--bg-elevated);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}

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

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ── Subpages ── */

.page-header {
  padding: 56px 0 48px;
  background: var(--gradient-bg);
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}

.page-header .subtitle {
  color: var(--text-muted);
  margin-top: 10px;
  font-size: 1rem;
  max-width: 560px;
}

.page-main {
  padding: 48px 0 80px;
}

.page-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.prose h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin: 2rem 0 0.5rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0.75rem 0;
  line-height: 1.7;
}

.prose ul {
  margin: 0.75rem 0 0.75rem 1.25rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.contact-list a {
  color: var(--accent);
}

.info-card h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.info-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ── Footer ── */

.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-top: 12px;
  max-width: 280px;
}

.footer-brand .logo {
  margin-bottom: 4px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .hero-grid,
  .feature-row,
  .page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-visual {
    order: unset;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .section {
    padding: 56px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-value {
    font-size: 1.625rem;
  }

  .form-card {
    padding: 24px;
  }
}
