/* =========================================
   FONTS: Barlow Condensed (headings) + DM Sans (body)
   ========================================= */

/* =========================================
   DESIGN TOKENS
   ========================================= */
:root {
  --hero-bg:       #0e0e0e;
  --cream:         #f8f5f0;
  --cream-2:       #f2eee8;
  --orange:        #e05c1a;
  --orange-dark:   #c44f14;
  --steel:         #6b7280;
  --steel-light:   #9ca3af;
  --gray-900:     #111827;
  --gray-800:     #1f2937;
  --gray-700:     #374151;
  --gray-100:     #f3f4f6;
  --white:        #ffffff;
  --border:       #e5e0d8;
  --font-head:    'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
.section-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
}

.section-body {
  font-size: 1.0625rem;
  color: var(--gray-700);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

/* =========================================
   NAV
   ========================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-accent { color: var(--orange); }

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

.nav-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.nav-link:hover { color: var(--white); }

.nav-cta {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--white);
  background: var(--orange);
  padding: 0.5rem 1.125rem;
  border-radius: 4px;
  transition: background 0.2s;
  letter-spacing: 0.01em;
}

.nav-cta:hover { background: var(--orange-dark); }

/* =========================================
   HERO
   ========================================= */
.hero {
  background: var(--hero-bg);
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem 5.5rem;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(224,92,26,0.12);
  border: 1px solid rgba(224,92,26,0.3);
  padding: 0.35rem 0.875rem;
  border-radius: 3px;
  margin-bottom: 1.75rem;
}

.hero-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  background: var(--orange);
  padding: 0.875rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
  letter-spacing: 0.01em;
}

.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  background: transparent;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  display: inline-block;
  letter-spacing: 0.01em;
}

.btn-secondary:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }

.btn-full { width: 100%; }
.btn-outline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--orange);
  background: transparent;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  letter-spacing: 0.01em;
  text-align: center;
}

.btn-outline:hover { background: var(--orange); color: var(--white); }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.pill {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
}

/* =========================================
   PROBLEM
   ========================================= */
.problem {
  background: var(--gray-900);
  color: var(--white);
}

.problem-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--white);
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.problem-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.problem-stat {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.problem-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

.problem-body {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =========================================
   SOLUTION
   ========================================= */
.solution { background: var(--cream); }

.solution-visual {
  margin-top: 2rem;
}

.solution-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.chain-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  min-width: 140px;
}

.chain-lead  { background: var(--gray-100); border: 1px solid var(--border); }
.chain-ai    { background: #0e0e0e; border: 1px solid rgba(255,255,255,0.1); }
.chain-capture { background: var(--gray-100); border: 1px solid var(--border); }
.chain-organize { background: #f0e8dc; border: 1px solid #d4c4a8; }

.chain-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}

.chain-icon-ai { background: var(--orange); }

.chain-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.3;
}

.chain-ai .chain-text { color: rgba(255,255,255,0.8); }
.chain-organize .chain-text { color: #8b6a3e; }

.chain-arrow {
  color: var(--steel-light);
  flex-shrink: 0;
}

/* =========================================
   FEATURES
   ========================================= */
.features { background: var(--cream-2); }

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: #fdf3ee;
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}

.feature-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1875rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.55;
}

/* =========================================
   PRICING
   ========================================= */
.pricing { background: var(--cream); }

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

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-card-featured {
  border-color: var(--orange);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--gray-900);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3rem;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-period {
  font-size: 1.5rem;
  color: var(--steel);
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--steel);
  margin-bottom: 1rem;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.9375rem;
  color: var(--gray-700);
  padding-left: 1.5rem;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.pricing-footer {
  font-size: 0.8125rem;
  color: var(--steel);
  text-align: center;
}

/* =========================================
   DEMO CONVERSATION
   ========================================= */
.demo-conversation { background: var(--cream-2); }

.demo-chat-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.demo-chat {
  width: 100%;
  max-width: 640px;
}

.demo-chat-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-msg {
  border-radius: 14px;
  padding: 1.125rem 1.375rem;
  max-width: 82%;
}

.demo-customer {
  background: var(--white);
  border: 1px solid var(--border);
}

.demo-ai {
  background: var(--gray-900);
  color: var(--white);
}

.demo-msg-source {
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.4rem;
}

.demo-ai-source { color: rgba(255,255,255,0.45); }

.demo-msg-text {
  font-size: 0.9375rem;
  line-height: 1.55;
}

.demo-ai .demo-msg-text { color: rgba(255,255,255,0.88); }

/* System collects */
.demo-collects {
  width: 100%;
  max-width: 640px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.375rem 1.75rem;
}

.demo-collects-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.demo-collects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.demo-collect-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
}

.demo-explain {
  font-size: 1.0625rem;
  color: var(--gray-700);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* =========================================
   LEAD CAPTURE
   ========================================= */
.lead-capture { background: var(--gray-900); }

.lead-capture-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.lead-capture-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.lead-capture-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group-full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-head);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}

.form-group select option { background: var(--gray-800); color: var(--white); }

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.09);
}

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

/* =========================================
   FAQ
   ========================================= */
.faq { background: var(--cream); }

.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.375rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--gray-900);
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--orange); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--steel);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.65;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--hero-bg);
  color: var(--white);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.footer-logo-accent { color: var(--orange); }

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 1.5rem 2rem;
}

.footer-disclaimer p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
}

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

  .hero { padding: 5rem 1.25rem 4rem; }
  .hero-headline { font-size: 2.75rem; }

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

  .solution-chain { gap: 0.5rem; }
  .chain-step { min-width: 100px; padding: 1rem; }
  .chain-arrow { display: none; }

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

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-featured { order: -1; }

  .lead-capture-box { grid-template-columns: 1fr; gap: 2.5rem; }

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

  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .footer-links { gap: 1.25rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; width: 100%; }
  .hero-pills { gap: 0.5rem; }
  .features-grid { grid-template-columns: 1fr; }
}
