/* Local AI Research Digest — Product Page Styles */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.65;
  color: #E0E0E0;
  background: #0D0D0D;
  -webkit-font-smoothing: antialiased;
}

a { color: #7EB8FF; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1E1E1E;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.nav-links a:not(.btn) { color: #A0A0A0; }
.nav-links a:not(.btn):hover { color: #FFFFFF; text-decoration: none; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn-primary {
  background: #1E3A8A;
  color: #FFFFFF;
  border: 1px solid #1E3A8A;
}
.btn-primary:hover {
  background: #1E40AF;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #A0A0A0;
  border: 1px solid #333333;
}
.btn-outline:hover {
  color: #FFFFFF;
  border-color: #555555;
  text-decoration: none;
}

.btn-large {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

/* --- Hero --- */
.hero {
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid #1E1E1E;
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.0625rem;
  color: #A0A0A0;
  max-width: 640px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* --- Sections --- */
.section { padding: 3rem 0; }
.section-light { background: #111111; border-top: 1px solid #1E1E1E; border-bottom: 1px solid #1E1E1E; }
.section-dark { background: #0A0A0A; }

.section h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.section-intro {
  color: #A0A0A0;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* --- Feature list --- */
.feature-list {
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.feature-list li {
  margin-bottom: 0.75rem;
  color: #C8C8C8;
}

.feature-list strong { color: #FFFFFF; }

/* --- Audience grid --- */
.audience-grid {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.audience-grid li {
  padding: 0.875rem 1rem;
  background: #161616;
  border-radius: 4px;
}

.audience-grid strong { color: #FFFFFF; }

/* --- Examples --- */
.examples {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.example-card h3 {
  font-size: 1.125rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.example-card p {
  color: #B0B0B0;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.example-visual {
  border: 1px solid #262626;
  border-radius: 8px;
  overflow: hidden;
}

.visual-label {
  display: block;
  padding: 0.4rem 0.75rem;
  background: #1A1A1A;
  font-size: 0.75rem;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Mock email */
.mock-email {
  padding: 1rem;
  background: #141414;
  font-family: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #B0B0B0;
}

.mock-header {
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #2A2A2A;
  font-weight: 600;
  color: #D0D0D0;
}

.mock-section {
  margin-bottom: 0.875rem;
}

/* Mock Telegram */
.mock-tg {
  padding: 1rem;
  background: #1A1A2E;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #D0D0D0;
}

.mock-tg-header {
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #2A2A4E;
  font-weight: 600;
  color: #7EB8FF;
}

.mock-tg-body { white-space: pre-wrap; }

/* --- Pipeline diagram --- */
.pipeline-diagram {
  background: #141414;
  border: 1px solid #262626;
  border-radius: 8px;
  padding: 1.25rem;
  font-family: "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #A0A0A0;
  overflow-x: auto;
  margin-top: 1.5rem;
}

/* --- Requirement table --- */
.req-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.req-table th, .req-table td {
  text-align: left;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid #262626;
}

.req-table th {
  color: #FFFFFF;
  font-weight: 600;
  width: 35%;
}

.req-table td { color: #B0B0B0; }

.req-table code {
  background: #1A1A1A;
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  font-size: 0.8125rem;
  color: #D0D0D0;
}

/* --- Price table --- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.price-table th, .price-table td {
  text-align: left;
  padding: 0.75rem 0.875rem;
  border-bottom: 1px solid #262626;
}

.price-table th { color: #FFFFFF; font-weight: 600; }
.price-table td { color: #B0B0B0; }
.price-table tr:last-child td { border-bottom: none; }

.price-highlight td {
  background: #161616;
  color: #FFFFFF;
  font-weight: 600;
}

.price-highlight td:first-child { color: #7EB8FF; }

.note {
  color: #888888;
  font-size: 0.875rem;
  font-style: italic;
}

/* --- FAQ --- */
.faq-list dt {
  font-weight: 600;
  color: #FFFFFF;
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}

.faq-list dd {
  color: #B0B0B0;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid #262626;
}

.faq-list code {
  background: #1A1A1A;
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  font-size: 0.8125rem;
  color: #D0D0D0;
}

/* --- CTA box --- */
.cta-box {
  text-align: center;
  padding: 2rem 1rem;
}

.cta-box .btn-primary {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
  padding: 0.875rem 2.5rem;
}

.cta-note {
  color: #888888;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

/* --- Footer --- */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid #1E1E1E;
  text-align: center;
  font-size: 0.8125rem;
  color: #888888;
}

.footer-links { margin-top: 0.5rem; }
.footer-links a { color: #888888; }
.footer-links a:hover { color: #999999; }

/* --- Responsive --- */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.75rem; }
  .nav-links { gap: 1rem; font-size: 0.8125rem; }
  .nav-links a:not(.btn) { display: none; }
  .site-header .container { flex-wrap: wrap; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
