/* Pipelane Landing Page — Custom Styles */
/* Layered on top of Tailwind CSS CDN */

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Nav ---- */
.nav {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* ---- Buttons ---- */
.btn-primary {
  background-color: #0f766e;
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.15s ease, transform 0.1s ease;
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #0d6d66;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: #0f766e;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid #0f766e;
  transition: background-color 0.15s ease;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: rgba(15, 118, 110, 0.05);
}

/* ---- Slack Mockup ---- */
.slack-mockup {
  background: #1a1d21;
  border-radius: 0.75rem;
  color: #d1d2d3;
  font-family: 'Lato', 'Inter', sans-serif;
  font-size: 0.938rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.slack-header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #2c2d30;
  font-size: 0.875rem;
  color: #ababad;
}

.slack-header .channel-name {
  font-weight: 700;
  color: #d1d2d3;
}

.slack-body {
  padding: 1rem 1.25rem;
}

.slack-app-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.slack-app-name {
  font-weight: 700;
  color: #e8e8e8;
  font-size: 0.938rem;
}

.slack-app-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #ababad;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.slack-timestamp {
  color: #616061;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

.slack-message-title {
  font-weight: 700;
  color: #e8e8e8;
  font-size: 1rem;
  margin: 0.5rem 0 0.75rem;
}

.slack-body p {
  margin: 0.5rem 0;
}

.slack-divider {
  border: none;
  border-top: 1px solid #2c2d30;
  margin: 0.75rem 0;
}

.slack-signal {
  margin: 0.5rem 0;
  padding-left: 0.25rem;
}

.slack-signal-icon {
  margin-right: 0.375rem;
}

.slack-signal strong {
  color: #e8e8e8;
}

.slack-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slack-btn {
  padding: 0.375rem 0.875rem;
  border-radius: 0.375rem;
  font-size: 0.813rem;
  font-weight: 600;
  border: 1px solid #4a4a4d;
  background: transparent;
  color: #d1d2d3;
  cursor: default;
}

.slack-btn--primary {
  background: #007a5a;
  border-color: #007a5a;
  color: #fff;
}

/* ---- Persona Cards ---- */
.persona-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition: box-shadow 0.15s ease;
}

.persona-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ---- Steps ---- */
.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #0f766e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---- Before/After Table ---- */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.comparison-table thead th {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table thead th:first-child {
  background: #fef2f2;
  color: #991b1b;
}

.comparison-table thead th:last-child {
  background: #ecfdf5;
  color: #065f46;
}

.comparison-table td {
  padding: 1rem 1.25rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.938rem;
  line-height: 1.5;
  vertical-align: top;
}

.comparison-table tr:nth-child(even) td {
  background: #f9fafb;
}

.comparison-table td:first-child {
  border-right: 1px solid #e5e7eb;
}

/* ---- Accordion ---- */
.accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}

.accordion-item + .accordion-item {
  margin-top: 0.75rem;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  text-align: left;
  font-family: inherit;
}

.accordion-trigger:hover {
  background: #f9fafb;
}

.accordion-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: #6b7280;
}

.accordion-item[data-open="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.accordion-content-inner {
  padding: 0 1.25rem 1.25rem;
  color: #4b5563;
  font-size: 0.938rem;
  line-height: 1.7;
}

/* ---- Pricing Cards ---- */
.pricing-card {
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 2rem;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.pricing-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.pricing-card--featured {
  border-color: #0f766e;
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: #0f766e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.5rem 0;
  font-size: 0.938rem;
  color: #374151;
}

.pricing-check {
  color: #0f766e;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* ---- Form ---- */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.375rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.938rem;
  font-family: inherit;
  color: #111827;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.form-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='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-success {
  text-align: center;
  padding: 2rem;
}

/* ---- Callout ---- */
.callout {
  border-left: 3px solid #0f766e;
  padding: 1.25rem 1.5rem;
  background: #f0fdfa;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: #134e4a;
  font-size: 1rem;
  line-height: 1.6;
}

/* ---- Section Spacing ---- */
.section {
  padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 2rem;
  }
}

/* ---- Utilities ---- */
.max-w-content {
  max-width: 1120px;
  margin: 0 auto;
}

.max-w-narrow {
  max-width: 720px;
  margin: 0 auto;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}
