/* AI First Search - Site Styles */

:root {
  --primary: #09090b;
  --secondary: #18181b;
  --accent: #10b981;
  --text: #e4e4e7;
  --text-muted: #a1a1aa;
  --bg: #09090b;
  --card-bg: #18181b;
  --border: #27272a;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 18px;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--primary);
}

header .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

header .logo span {
  color: var(--accent);
}

article {
  padding: 3rem 0;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}

h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}

h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

li {
  margin-bottom: 0.75rem;
}

blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text);
}

.meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.cta-box {
  background: var(--secondary);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.cta-box h3 {
  margin-top: 0;
  color: var(--text);
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
  text-decoration: none;
}

.related-articles {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.related-articles h3 {
  margin-bottom: 1rem;
}

.related-articles ul {
  list-style: none;
  padding: 0;
}

.related-articles li {
  margin-bottom: 0.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(9, 9, 11, 0.24);
}

th, td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

th {
  color: var(--text);
  font-weight: 600;
  background: var(--secondary);
  border-bottom: 2px solid var(--accent);
}

td:first-child {
  color: var(--text);
  font-weight: 600;
}

tbody tr:nth-child(even) {
  background: rgba(39, 39, 42, 0.35);
}

tbody tr {
  transition: background 0.2s ease;
}

tbody tr:hover {
  background: rgba(39, 39, 42, 0.5);
}

tr:last-child td {
  border-bottom: none;
}

footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  body {
    font-size: 16px;
  }
}
