/* ============================================================
   PAGES.CSS — Per-page layout and section styles
   ============================================================ */

/* ── HOME — Hero ── */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(70px, 10vw, 120px) 0 clamp(60px, 8vw, 90px);
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(6,71,224,0.18) 0%, transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6,71,224,0.12);
  border: 1px solid rgba(6,71,224,0.3);
  border-radius: 100px;
  padding: 6px 20px;
  margin-bottom: 28px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #93c5fd;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.06;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.hero-typing {
  font-size: clamp(1rem, 2.5vw, 1.45rem);
  color: var(--text3);
  min-height: 2.2rem;
  margin-bottom: 24px;
}
.typing-word { color: var(--blue-light); font-weight: 600; }
.cursor {
  display: inline-block;
  width: 2px; height: 1.1em;
  background: var(--blue-light);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

.hero-desc {
  color: var(--text3);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-image-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 56px;
  padding: 0 20px;
}

/* ── HOME — Stats ── */
.stats-section {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 6vw, 64px) 0;
}

/* ── HOME — Features ── */
.features-section {
  position: relative;
  z-index: 1;
  padding: clamp(60px, 8vw, 90px) 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(6,71,224,0.05), transparent 70%);
}

/* ── HOME — Founders ── */
.founders-section {
  position: relative;
  z-index: 1;
  padding: clamp(60px, 8vw, 90px) 0;
}

/* ── HOME — CTA ── */
.cta-section {
  position: relative;
  z-index: 1;
  padding: clamp(60px, 8vw, 90px) 0;
}

/* ── COMMANDS PAGE ── */
.commands-page {
  padding: clamp(50px, 7vw, 80px) 0;
  position: relative;
  z-index: 1;
}

.commands-search-wrap {
  max-width: 560px;
  margin: 0 auto 28px;
  position: relative;
}
.commands-search {
  width: 100%;
  padding: 13px 16px 13px 46px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.commands-search:focus {
  border-color: rgba(6,71,224,0.5);
  box-shadow: 0 0 0 3px rgba(6,71,224,0.1);
}
.commands-search::placeholder { color: var(--text3); }

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text3);
  line-height: 0;
}
.search-icon svg { width: 18px; height: 18px; }

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  justify-content: center;
}
.cat-btn {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text3);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.cat-btn.active,
.cat-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ── STATUS PAGE ── */
.status-page {
  padding: clamp(50px, 7vw, 80px) 0;
  position: relative;
  z-index: 1;
}

/* ── PRIVACY PAGE ── */
.privacy-page {
  padding: clamp(50px, 7vw, 80px) 24px;
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

/* ── CONTACT PAGE ── */
.contact-page {
  padding: clamp(50px, 7vw, 80px) 0;
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
}
.contact-form-panel h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 22px;
}

/* ── WEBHOOK PAGE ── */
.webhook-page {
  padding: clamp(50px, 7vw, 80px) 0;
  position: relative;
  z-index: 1;
}

.webhook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.webhook-builder-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.webhook-preview-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 80px;
}
