/* Homepage-specific styles */
body { padding-top: 70px; }

/* skip-link and sr-only defined in style.css */

/* Hero */
.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45,134,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero h1 .accent {
  color: var(--blue);
  font-style: normal;
}
.hero > p { color: var(--text-dim); font-size: 1.2rem; max-width: 620px; margin: 0 auto 2.5rem; line-height: 1.6; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero .badge {
  margin-bottom: 1.5rem;
}
.hero .badge .pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
  vertical-align: middle;
}
.hero-actions .btn-primary {
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
}

/* Live stats text strip */
.live-bar {
  display: flex; justify-content: center; align-items: center;
  padding: 0.75rem 2rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.live-text {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Three paths — featured layout */
.paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.paths-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.path-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: left;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.path-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.path-card h3 { color: var(--text-bright); font-size: 1.3rem; margin-bottom: 0.5rem; }
.path-card .desc { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.5; }
.path-card .price { color: var(--green); font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; }
.path-card ul { list-style: none; text-align: left; padding: 0; margin-bottom: 1.5rem; }
.path-card li { padding: 0.35rem 0; color: var(--text); font-size: 0.9rem; }
.path-card li::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* Featured (primary) path card */
.path-card.featured {
  border-color: var(--blue);
  padding: 3rem 2.5rem;
}
.path-card.featured .featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.path-card.featured h3 {
  font-size: 1.6rem;
}
.path-card.featured .desc {
  font-size: 1.05rem;
}
.path-card .btn-full { width: 100%; }

/* Agent preview */
.agent-preview {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.preview-text .badge {
  margin-bottom: 1rem;
}
.preview-text h2 { color: var(--text-bright); font-size: 2rem; margin-bottom: 1rem; }
.preview-text p { color: var(--text-dim); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1rem; text-align: left; }
.preview-text ul { list-style: none; padding: 0; margin-bottom: 1.5rem; text-align: left; }
.preview-text li { padding: 0.4rem 0; color: var(--text); font-size: 0.95rem; }
.preview-text li::before { content: "◉ "; color: var(--blue); }

/* Mock dashboard */
.dash-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.dash-titlebar {
  background: var(--bg);
  padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-dim);
}
.dash-dots { display: flex; gap: 6px; margin-right: 0.5rem; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dash-dot-red { background: #ff5f57; }
.dash-dot-yellow { background: #febc2e; }
.dash-dot-green { background: #28c840; }
.dash-body { padding: 1.5rem; }
.dash-agent {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.dash-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  position: relative;
}
.dash-avatar .pulse {
  position: absolute; bottom: 2px; right: 2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--surface);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }
.dash-info h4 { color: var(--text-bright); font-size: 1rem; margin-bottom: 0.1rem; }
.dash-info .status { color: var(--green); font-size: 0.8rem; }
.dash-info .mood { color: var(--text-dim); font-size: 0.75rem; }
.dash-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
  margin-bottom: 1rem;
}
.dash-stat {
  background: var(--bg);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
}
.dash-stat .val { color: var(--text-bright); font-weight: 700; font-size: 1.1rem; }
.dash-stat .lbl { color: var(--text-dim); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.1rem; }
.dash-activity {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  background: var(--bg);
  border-radius: 8px;
  padding: 0.75rem;
  line-height: 1.8;
}
.dash-activity .t { color: var(--text-dim); }
.dash-activity .ok { color: var(--green); }
.dash-activity .info { color: var(--blue); }

/* How it works */
.section-centered { text-align: center; }
.section-sub { max-width: 500px; margin: 0 auto 3rem; }
.section-sub-wide { max-width: 600px; margin: 0 auto 3rem; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.how-step {
  text-align: center;
  padding: 1.5rem;
}
.how-step .num {
  width: 48px; height: 48px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(45,134,255,0.1);
  border: 1px solid var(--border-hover);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-weight: 700; font-size: 1.2rem;
}
.how-step h4 { color: var(--text-bright); margin-bottom: 0.4rem; }
.how-step p { color: var(--text-dim); font-size: 0.9rem; text-align: left; }

/* Use cases — 2-column editorial layout */
.use-cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.use-case {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.use-case:nth-child(odd) {
  border-right: 1px solid var(--border);
}
.use-case:nth-last-child(-n+2) {
  border-bottom: none;
}
.use-case h4 { color: var(--text-bright); margin-bottom: 0.5rem; font-size: 1.1rem; }
.use-case p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.6; text-align: left; }

/* Trust section */
.trust-prose {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}
.trust-note {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 500px;
  margin: 0 auto;
}

/* CTA */
.cta-section {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.cta-section h2 { color: var(--text-bright); font-size: 2rem; margin-bottom: 1rem; }
.cta-section p { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-btn {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}
.cta-sub {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Footer handled by <ic-footer> component */

@media (max-width: 768px) {
  .paths-secondary { grid-template-columns: 1fr; }
  .path-card.featured .featured-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .use-cases { grid-template-columns: 1fr; }
  .use-case:nth-child(odd) { border-right: none; }
  .use-case:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .use-case:last-child { border-bottom: none; }
  .live-bar { gap: 1.5rem; }
}
@media (max-width: 480px) {
  .how-grid { grid-template-columns: 1fr; }
}