/* ==========================================================================
   HOMEPAGE LAYOUT
   ========================================================================== */

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background: #000;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}

.hero-glow {
  display: none;
}

.hero-content { text-align: center; max-width: 760px; margin: 0 auto 48px; }

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.08;
  color: #fff; margin-bottom: 18px;
}
.hero-h1-break { display: inline; }
.hero-h1-break::before { content: '\A'; white-space: pre; }

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #94A3B8; max-width: 540px; margin: 0 auto 28px; line-height: 1.6;
}

.hero-buttons { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

.hero-proof { margin-top: 14px; font-size: 0.78rem; color: #64748B; font-weight: 500; letter-spacing: 0.01em; }

@media (max-width: 768px) {
  .hero-h1-break::before { content: none; }
}
@media (max-width: 480px) {
  .hero-h1-break::before { content: none; }
}

/* ── Mockup (Proto-style Project Room) ───────────────────── */
.hero-visual { max-width: 940px; margin: 0 auto; position: relative; z-index: 2; }

.hero-app-mockup {
  border-radius: 10px; overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

/* Chrome header */
.mockup-chrome {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }

.mockup-breadcrumbs {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 500; color: #94A3B8;
  margin-left: 20px;
}
.bc-slash { color: #CBD5E1; }
.bc-badge {
  background: #F8FAFC; border: 1px solid #E2E8F0;
  padding: 1px 7px; border-radius: 3px;
  font-size: 0.68rem; font-weight: 600; color: #0F172A;
}
.bc-current { color: #0F172A; font-weight: 600; }

.mockup-header-right {
  display: flex; align-items: center; gap: 10px; color: #94A3B8;
}
.mockup-header-right i, .mockup-header-right svg { width: 14px; height: 14px; }
.mockup-avatar {
  width: 22px; height: 22px; background: #0F172A; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 600;
}

/* Body layout */
.mockup-body { display: grid; grid-template-columns: 180px 1fr; min-height: 340px; }

/* Sidebar */
.mockup-sidebar {
  padding: 12px 10px;
  background: #F8FAFC;
  border-right: 1px solid #E2E8F0;
  display: flex; flex-direction: column; gap: 1px;
}

.mockup-nav-label {
  font-size: 0.6rem; font-weight: 600; color: #94A3B8;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 10px 10px 6px;
}

.mockup-nav {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 5px;
  font-size: 0.72rem; font-weight: 500; color: #475569;
}
.mockup-nav i, .mockup-nav svg { width: 13px; height: 13px; }
.mockup-nav.active {
  background: #FFFFFF; color: #0F172A;
  box-shadow: 0 1px 2px rgba(15,23,42,0.05);
  border: 1px solid rgba(0,0,0,0.04);
}

.mockup-badge {
  margin-left: auto;
  background: #F1F5F9; border: 1px solid #E2E8F0;
  font-size: 0.6rem; font-weight: 600; color: #475569;
  padding: 1px 5px; border-radius: 99px;
}

/* Main feed area */
.mockup-main { display: flex; flex-direction: column; overflow: hidden; }

.mockup-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px 10px;
  border-bottom: 1px solid #E2E8F0;
}
.mockup-toolbar strong { font-family: var(--font-display); font-size: 0.9rem; color: #0F172A; }

.mockup-toolbar-actions { display: flex; align-items: center; gap: 8px; }
.mockup-search-pill {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.68rem; color: #94A3B8;
  background: #FFFFFF; border: 1px solid #E2E8F0;
  padding: 4px 10px; border-radius: 5px;
}
.mockup-search-pill i, .mockup-search-pill svg { width: 11px; height: 11px; }
.mockup-add-btn {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.68rem; font-weight: 600; color: #fff;
  background: var(--accent-primary); border-radius: 5px;
  padding: 4px 10px;
}
.mockup-add-btn i, .mockup-add-btn svg { width: 11px; height: 11px; }

.mockup-feed { padding: 12px 20px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }

.mockup-date {
  font-size: 0.62rem; font-weight: 600; color: #94A3B8;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding-bottom: 4px;
  border-bottom: 1px solid #F1F5F9;
}

.mockup-feed-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 12px 14px;
  transition: border-color 0.2s;
}
.mockup-feed-card:hover { border-color: #CBD5E1; }

.feed-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.6rem; font-weight: 600; padding: 2px 7px;
  border-radius: 3px; text-transform: uppercase; letter-spacing: 0.02em;
  margin-bottom: 6px; margin-right: 8px;
}
.feed-badge i, .feed-badge svg { width: 10px; height: 10px; }
.badge-purple { background: #FAF5FF; color: #7E22CE; }
.badge-blue { background: #EFF6FF; color: #1D4ED8; }
.badge-green { background: #ECFDF5; color: #047857; }
.badge-amber { background: #FFFBEB; color: #B45309; }

.card-time { font-size: 0.62rem; color: #94A3B8; font-weight: 500; }

.feed-title { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; color: #0F172A; margin-bottom: 6px; }

.feed-audio {
  display: flex; align-items: center; gap: 8px;
  background: #F8FAFC; border: 1px solid #E2E8F0;
  padding: 6px 10px; border-radius: 5px; margin-bottom: 8px;
  width: fit-content;
}
.audio-btn {
  width: 20px; height: 20px; background: var(--accent-primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.audio-bars { display: flex; gap: 2px; align-items: center; height: 14px; }
.audio-bars span {
  width: 2px; background: #CBD5E1; border-radius: 1px;
}
.audio-bars span:nth-child(1) { height: 4px; }
.audio-bars span:nth-child(2) { height: 9px; }
.audio-bars span:nth-child(3) { height: 13px; }
.audio-bars span:nth-child(4) { height: 7px; }
.audio-bars span:nth-child(5) { height: 11px; }
.audio-bars span:nth-child(6) { height: 5px; }
.audio-bars span:nth-child(7) { height: 12px; }
.audio-bars span:nth-child(8) { height: 8px; }
.feed-audio span:last-child { font-size: 0.65rem; font-weight: 600; color: #475569; }

.feed-quote {
  border-left: 2px solid #E2E8F0; padding-left: 10px;
  font-size: 0.7rem; color: #475569; font-style: italic; line-height: 1.4;
  margin-bottom: 8px;
}

.feed-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px; border-top: 1px solid #F1F5F9;
  font-size: 0.62rem; color: #94A3B8;
}
.feed-user { display: flex; align-items: center; gap: 5px; font-weight: 500; }
.micro-av {
  width: 16px; height: 16px; background: #E2E8F0;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.5rem; font-weight: 600; color: #0F172A;
}
.feed-action { display: flex; align-items: center; gap: 3px; font-weight: 600; color: #475569; cursor: pointer; }
.feed-action i, .feed-action svg { width: 11px; height: 11px; }

.feed-data {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 10px 12px; border-radius: 5px; margin-bottom: 4px;
}
.feed-data div { display: flex; flex-direction: column; gap: 1px; }
.dl { font-size: 0.58rem; color: #94A3B8; text-transform: uppercase; font-weight: 600; }
.dv { font-size: 0.72rem; color: #0F172A; font-weight: 500; }

.feed-desc { font-size: 0.68rem; color: #475569; margin-bottom: 6px; }

.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot-red { background: #EF4444; }
.dot-green { background: #22C55E; }
.dot-amber { background: #F59E0B; }
.dot-blue { background: #3B82F6; }

@media (max-width: 640px) {
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-sidebar { flex-direction: row; padding: 8px 10px; overflow-x: auto; border-right: none; border-bottom: 1px solid #E2E8F0; }
  .mockup-nav { white-space: nowrap; padding: 6px 8px; }
  .mockup-nav-label { display: none; }
  .mockup-breadcrumbs { display: none; }
  .mockup-header-right { display: none; }
}

/* ── Problem (Split Layout) ─────────────────────────────── */
.problem {
  padding: 100px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-dark);
}

.problem-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.problem-left h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
}

.problem-lead {
  font-size: 1rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 32px;
}

.problem-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  margin-top: 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}
.problem-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent-primary);
  line-height: 1;
  flex-shrink: 0;
}
.stat-pct {
  font-size: 1.2rem;
  font-weight: 700;
  vertical-align: super;
  margin-left: 1px;
}
.problem-stat-label {
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.45;
}

/* Right side — stacked items with a connecting line */
.problem-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.problem-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.problem-item:first-child { padding-top: 0; }
.problem-item:last-child { border-bottom: none; padding-bottom: 0; }

.problem-marker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
  border: 2px solid #475569;
  flex-shrink: 0;
  margin-top: 6px;
  transition: all 0.2s ease;
}
.problem-item:hover .problem-marker {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 8px rgba(224,93,54,0.3);
}

.problem-item-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.problem-item-content p {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .problem { padding: 72px 0; }
  .problem-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .problem-left { text-align: center; }
  .problem-left h2 br { display: none; }
  .problem-stat { text-align: left; }
  .problem-item { text-align: left; }
}

/* ── How It Works ───────────────────────────────────────── */
.how-it-works {
  padding: 96px 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.how-it-works .section-header { margin-bottom: 48px; }
.how-it-works .section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.steps-grid {
  display: flex; align-items: flex-start; justify-content: center;
  max-width: 1000px; margin: 0 auto;
}

.step-card { flex: 1; max-width: 300px; text-align: center; padding: 0 20px; }

.step-connector {
  display: flex; align-items: center; justify-content: center;
  padding-top: 72px; color: var(--text-light); flex-shrink: 0;
}
.step-connector i, .step-connector svg { width: 20px; height: 20px; }

.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--text-main); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  margin-bottom: 20px;
}

.step-visual { margin-bottom: 24px; }

.step-illustration {
  width: 100%; height: 120px;
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-subtle);
}

/* Step illustrations */
.il-doc {
  width: 72px; padding: 14px;
  background: var(--bg-subtle); border: 1px solid var(--border-light);
  border-radius: 5px; position: relative;
}
.il-line { height: 5px; background: var(--border-light); border-radius: 3px; margin-bottom: 7px; }
.il-line:last-of-type { margin-bottom: 0; }
.il-line.w80 { width: 80%; } .il-line.w60 { width: 60%; } .il-line.w70 { width: 70%; }

.il-pin {
  position: absolute; top: -7px; right: -7px;
  width: 24px; height: 24px;
  background: var(--accent-primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 2px 6px rgba(224,93,54,0.3);
}
.il-pin i, .il-pin svg { width: 12px; height: 12px; }

.il-handoff { display: flex; align-items: center; gap: 14px; }
.il-person {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.il-person i, .il-person svg {
  width: 28px; height: 28px; padding: 5px;
  background: var(--bg-subtle); border: 1px solid var(--border-light);
  border-radius: 50%; color: var(--text-muted);
}
.il-person-accent i, .il-person-accent svg {
  background: var(--accent-subtle); border-color: rgba(224,93,54,0.12); color: var(--accent-primary);
}
.il-person span {
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light);
}

.il-timeline { display: flex; flex-direction: column; width: 100%; padding: 12px 20px; }
.il-event {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; font-size: 0.72rem; font-weight: 500; color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}
.il-event:last-child { border-bottom: none; }

.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.step-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 768px) {
  .how-it-works { padding: 72px 0; }
  .steps-grid { flex-direction: column; align-items: center; gap: 36px; }
  .step-connector { display: none; }
  .step-card { max-width: 380px; }
}

/* ── Features ─────────────────────────────────────────── */
.features {
  padding: 96px 0;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-light);
}

.features-header {
  text-align: center;
  margin-bottom: 48px;
}
.features-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 12px;
}
.features-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Showcase cards — the 2 hero features */
.features-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 920px; margin: 0 auto 16px;
}

.feature-showcase-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.15s ease;
}
.feature-showcase-card:hover { border-color: #CBD5E1; box-shadow: 0 8px 24px -8px rgba(15,23,42,0.06); }

.fsc-content {
  padding: 28px 28px 20px;
}
.fsc-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.fsc-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

.fsc-visual {
  padding: 0 20px 20px;
}

/* Timeline visual */
.fsc-timeline {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 4px 0;
}
.fsc-event {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid #F1F5F9;
}
.fsc-event:last-child { border-bottom: none; }
.fsc-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.fsc-event-body { display: flex; justify-content: space-between; align-items: center; flex: 1; min-width: 0; }
.fsc-event-body strong { font-size: 0.72rem; font-weight: 600; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fsc-event-body span { font-size: 0.62rem; color: #94A3B8; font-weight: 500; white-space: nowrap; margin-left: 8px; flex-shrink: 0; }

/* Meeting visual */
.fsc-meeting {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px;
}
.fsc-meeting-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.fsc-meeting-avatars { display: flex; }
.fsc-meeting-avatars span {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.52rem; font-weight: 700; color: #fff;
  border: 2px solid #fff;
  margin-right: -6px;
}
.fsc-meeting-avatars span:last-child { margin-right: 0; }
.fsc-meeting-meta { display: flex; flex-direction: column; gap: 2px; }
.fsc-meeting-meta strong { font-size: 0.78rem; font-weight: 600; color: var(--text-main); }
.fsc-meeting-meta span { font-size: 0.65rem; color: #94A3B8; font-weight: 500; }

.fsc-meeting-notes { display: flex; flex-direction: column; gap: 6px; }
.fsc-note-line { height: 4px; background: #E2E8F0; border-radius: 2px; width: 85%; }
.fsc-note-line.short { width: 55%; }
.fsc-note-tag {
  margin-top: 6px;
  font-size: 0.62rem; font-weight: 600; color: #059669;
  display: flex; align-items: center; gap: 4px;
}
.fsc-note-tag::before {
  content: '';
  width: 5px; height: 5px;
  background: #059669;
  border-radius: 50%;
}

/* Smaller feature grid — 4 cards below */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 920px; margin: 0 auto;
}

.feature-card {
  padding: 24px 22px;
  border: 1px solid var(--border-light); border-radius: 10px;
  background: var(--bg-base);
  transition: all 0.15s ease;
}
.feature-card:hover { border-color: #CBD5E1; box-shadow: 0 4px 16px -4px rgba(15,23,42,0.06); }

.feature-icon-wrap {
  width: 34px; height: 34px; margin-bottom: 12px;
  background: var(--accent-subtle);
  border: 1px solid rgba(224,93,54,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-primary);
}
.feature-icon-wrap i, .feature-icon-wrap svg { width: 15px; height: 15px; }

.feature-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.feature-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .features { padding: 72px 0 64px; }
  .features-showcase { grid-template-columns: 1fr; gap: 12px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-card { padding: 20px 18px; }
  .features-header h2 br { display: none; }
  .fsc-content { padding: 22px 22px 16px; }
  .fsc-visual { padding: 0 16px 16px; }
}

/* ── Final CTA ─────────────────────────────────────────── */
.final-cta {
  padding: 96px 0 100px;
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(224,93,54,0.06) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-dark);
  text-align: center;
}

.final-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: #fff; margin-bottom: 14px;
  line-height: 1.1;
}

.final-cta p {
  font-size: 1rem; color: #94A3B8;
  line-height: 1.55; margin-bottom: 32px;
}

.final-cta-actions { margin-bottom: 24px; }

.btn-lg {
  padding: 15px 34px; font-size: 1rem;
}

.final-cta-proof {
  display: flex; align-items: center; justify-content: center; gap: 12px;
}

.proof-avatars {
  display: flex;
}
.proof-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.58rem; font-weight: 700; color: #fff;
  border: 2px solid var(--bg-dark);
  margin-right: -8px;
}
.proof-av:last-child { margin-right: 0; }

.proof-text {
  font-size: 0.82rem; color: #64748B; font-weight: 500;
  margin-left: 4px;
}

@media (max-width: 640px) {
  .final-cta { padding: 72px 0; }
  .final-cta-proof { flex-direction: column; gap: 8px; }
}

/* ── Responsive hero ────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    padding: 92px 0 56px;
  }
  .hero-content { margin-bottom: 36px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-buttons .btn-primary, .hero-buttons .btn-hero-secondary { width: 100%; justify-content: center; }
  .hero h1 { font-size: clamp(1.85rem, 6vw, 2.4rem); }
}
