/* TextPilot.ai - Shared Styles for HTML Tool Pages */
/* This stylesheet ensures HTML tool pages match the main React UI theme */

:root {
  /* Light Mode Colors (matching React app) */
  --tp-bg: hsl(0 0% 100%);
  --tp-text: hsl(220 15% 6%);
  --tp-text-muted: hsl(220 9% 42%);
  --tp-primary: hsl(239 84% 67%);
  --tp-border: hsl(220 15% 90%);
  --tp-card: hsl(0 0% 100%);
  --tp-muted-bg: hsl(220 15% 95%);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Dark Mode Colors (matching React app) */
    --tp-bg: hsl(222 47% 5%);
    --tp-text: hsl(210 40% 93%);
    --tp-text-muted: hsl(217 11% 61%);
    --tp-primary: hsl(239 84% 67%);
    --tp-border: hsl(215 28% 11%);
    --tp-card: hsl(221 39% 7%);
    --tp-muted-bg: hsl(217 33% 10%);
  }
}

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

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: var(--tp-text);
  background-color: var(--tp-bg);
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--tp-text);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
  margin-top: 2.5rem;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-top: 2rem;
}

p {
  margin-bottom: 1rem;
  color: var(--tp-text);
}

a {
  color: var(--tp-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--tp-text);
}

.hero {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--tp-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn, .tp-start-btn {
  display: inline-block;
  background: var(--tp-primary);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover, .tp-start-btn:hover {
  opacity: 0.9;
  text-decoration: none;
}

.section {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.section h2 {
  margin-top: 0;
}

footer {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--tp-border);
  text-align: center;
  color: var(--tp-text-muted);
  font-size: 0.875rem;
}

/* Code blocks */
code, pre {
  background-color: var(--tp-muted-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.875em;
}

pre {
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 20px 16px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }
}




