/* TimeBlock Text Lite — Base styles (customize as needed) */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f9fafb;
  color: #1f2937;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hero */
.hero {
  background: #fff;
  padding: 6rem 1.5rem;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e5e7eb;
}
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; font-weight: 700; }
.hero-tagline { font-size: 1.3rem; opacity: 0.75; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; }

/* How It Works */
.how-it-works { padding: 4rem 1.5rem; max-width: 1200px; width: 100%; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.section-header p { font-size: 1.1rem; color: #6b7280; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.step { text-align: center; padding: 2rem; background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; }
.step-number { width: 60px; height: 60px; background: #f3f4f6; border-radius: 50%; font-size: 1.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border: 1px solid #d1d5db; }
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { color: #6b7280; font-size: 0.95rem; line-height: 1.6; }
.step-preview { margin-top: 1.5rem; background: #f9fafb; border-radius: 6px; border: 1px solid #e5e7eb; }
.step-preview pre { background: #f8f9fa; padding: 1rem; font-size: 0.8rem; line-height: 1.6; color: #333; font-family: Monaco, 'Courier New', monospace; white-space: pre-wrap; }

/* Header */
header { background: #fff; padding: 2.5rem 1.5rem; text-align: center; border-bottom: 1px solid #e5e7eb; }
header h1 { font-size: 2rem; margin-bottom: 0.4rem; }
header p { opacity: 0.75; font-size: 1rem; }

/* Main */
main { max-width: 750px; width: 100%; margin: 1.5rem auto; padding: 0 1rem; flex: 1; }

/* Cards */
.card { background: #fff; border-radius: 8px; padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05); border: 1px solid #e5e7eb; }
.card h2 { color: #1f2937; margin-bottom: 1rem; font-size: 1.25rem; }

/* Labels / Selects / Inputs */
.tz-label { display: flex; align-items: center; gap: 0.5rem; margin: 1rem 0; font-weight: 500; font-size: 0.9rem; }
select { padding: 0.4rem 0.6rem; border: 1px solid #d1d5db; border-radius: 4px; font-size: 0.9rem; }
input[type="text"] { padding: 0.6rem 0.75rem; border: 1px solid #d1d5db; border-radius: 4px; font-size: 0.95rem; }
input:focus, select:focus { outline: none; border-color: #1f2937; }

/* Buttons */
a.btn-primary, .btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: #1f2937;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  width: 100%;
}
.btn-primary:hover { background: #374151; }
.btn-secondary { padding: 0.6rem 1rem; background: #fff; color: #1f2937; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer; font-size: 0.9rem; }
.btn-secondary:hover { background: #1f2937; color: #fff; }

/* Error */
.error { background: #fef2f2; color: #991b1b; padding: 0.75rem 1rem; border-radius: 4px; border-left: 4px solid #dc2626; margin-bottom: 1rem; font-size: 0.9rem; }

/* Loading */
.loading { text-align: center; padding: 1.5rem; color: #1f2937; font-weight: 500; }

/* Results */
.results pre { background: #f9fafb; padding: 1.25rem; border-radius: 4px; border: 1px solid #e5e7eb; font-family: Monaco, 'Courier New', monospace; font-size: 0.85rem; line-height: 1.6; white-space: pre-wrap; max-height: 500px; overflow-y: auto; margin-bottom: 1rem; }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.actions button { flex: 1; min-width: 120px; }

/* Auth bar */
.auth-bar {
  background: #fff;
  padding: 0.5rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.9rem;
  color: #6b7280;
}
.auth-bar .btn-link {
  background: none;
  border: none;
  color: #1f2937;
  text-decoration: underline;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Plan badge */
.plan-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.plan-free { background: #f3f4f6; color: #6b7280; }
.plan-premium { background: #d1fae5; color: #065f46; }

/* Secondary link button */
a.btn-secondary-link {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: #fff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
a.btn-secondary-link:hover { background: #f3f4f6; }

/* Pricing */
.pricing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}
.pricing-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: #1f2937;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
}
.pricing-card.featured::before {
  content: "POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.pricing-name { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
.pricing-price { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.pricing-period { color: #9ca3af; font-size: 0.9rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e5e7eb; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.pricing-features li { padding: 0.5rem 0; color: #6b7280; font-size: 0.95rem; }
.pricing-features li::before { content: "\2713  "; color: #1f2937; font-weight: 700; }
.pricing-features li.disabled { color: #d1d5db; }
.pricing-features li.disabled::before { content: "\2717  "; color: #d1d5db; }
.pricing-cta {
  width: 100%;
  padding: 0.75rem;
  background: #1f2937;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}
.pricing-cta:hover { background: #374151; }
.pricing-cta.secondary { background: #fff; color: #1f2937; border: 1px solid #d1d5db; }
.pricing-cta.secondary:hover { background: #1f2937; color: #fff; }

/* Footer */
footer { background: #fff; color: #9ca3af; text-align: center; padding: 1.25rem; font-size: 0.85rem; border-top: 1px solid #e5e7eb; }
footer a { color: #1f2937; }

/* Mobile */
@media (max-width: 600px) {
  .hero-content h1 { font-size: 2rem; }
  .hero { padding: 3rem 1rem; min-height: auto; }
  header h1 { font-size: 1.5rem; }
  .actions { flex-direction: column; }
  .actions button { width: 100%; }
  .tz-label { flex-direction: column; align-items: flex-start; }
  .pricing-container { grid-template-columns: 1fr; }
}
