/* Mevak Blog & Landing Styles */
:root {
  --purple: #6a1b9a;
  --purple-light: #9c4dcc;
  --gradient: linear-gradient(135deg, #6a1b9a, #9c4dcc);
  --warm-bg: #faf6f1;
  --card-bg: #ffffff;
  --card-border: rgba(106,27,154,0.10);
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-muted: #666;
  --radius: 16px;
  --radius-sm: 8px;
}

/* ============================================
   LANDING PAGE
   ============================================ */

.landing-hero { padding: 0; }

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(106,27,154,0.06);
  border: 1px solid rgba(106,27,154,0.15);
  font-size: 13px;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* Hero visual mockup */
.hero-visual {
  margin-top: 60px;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  overflow: hidden;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 16px 48px rgba(106,27,154,0.08);
}
.hero-visual-bar {
  padding: 8px 16px;
  background: rgba(106,27,154,0.03);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  gap: 6px;
  align-items: center;
}
.hero-visual-bar .dot {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}
.hero-visual-body {
  display: flex;
  height: 320px;
  overflow: hidden;
}
.hero-visual-left {
  flex: 1;
  padding: 24px;
  border-right: 1px solid var(--card-border);
  text-align: left;
}
.hero-visual-right {
  flex: 1;
  padding: 24px;
  text-align: left;
}
.hero-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.transcript-line {
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.transcript-line .speaker {
  display: block;
  font-size: 10px;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 2px;
}
.extracted-deal {
  background: rgba(106,27,154,0.04);
  border: 1px solid rgba(106,27,154,0.12);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
}
.extracted-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: var(--warm-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  margin-bottom: 6px;
  font-size: 12px;
}
.role-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}
.extracted-action {
  padding: 8px 10px;
  background: var(--warm-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  margin-top: 6px;
}

/* Signal pills */
.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--pill-color) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--pill-color) 15%, transparent);
  font-size: 13px;
  color: var(--pill-color);
  font-weight: 500;
}

/* Landing sections */
.landing-section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Steps */
.steps-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.step-card {
  flex: 1;
  min-width: 260px;
  text-align: center;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(106,27,154,0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: rgba(106,27,154,0.25);
  box-shadow: 0 8px 32px rgba(106,27,154,0.08);
}
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(106,27,154,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

/* Compare table */
.compare-table {
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
  background: var(--card-bg);
  box-shadow: 0 8px 32px rgba(106,27,154,0.04);
  text-align: left;
}
.compare-header {
  display: flex;
  background: rgba(106,27,154,0.03);
  border-bottom: 1px solid var(--card-border);
}
.compare-header div {
  flex: 1;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
.compare-row {
  display: flex;
  border-bottom: 1px solid rgba(106,27,154,0.06);
}
.compare-row:last-child { border-bottom: none; }
.compare-row div {
  flex: 1;
  padding: 14px 20px;
  font-size: 14px;
}
.compare-row div:first-child { color: var(--text-muted); }
.compare-row div:last-child { color: var(--purple); font-weight: 500; }

/* Persona cards */
.persona-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  text-align: left;
}
.persona-card {
  flex: 1;
  min-width: 280px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 20px rgba(106,27,154,0.04);
}

/* ============================================
   BLOG INDEX
   ============================================ */

.blog-index { padding-bottom: 80px; }

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
  padding: 0 16px;
}
.cat-tab {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--card-border);
  transition: all 0.15s;
}
.cat-tab:hover {
  border-color: rgba(106,27,154,0.3);
  color: var(--purple);
}
.cat-tab.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  border-color: rgba(106,27,154,0.25);
  box-shadow: 0 8px 32px rgba(106,27,154,0.08);
  transform: translateY(-2px);
}
.post-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: rgba(106,27,154,0.05);
}
.post-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 8px 0;
  color: var(--text-primary);
}
.post-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 6px;
  align-items: center;
}

/* Category badges */
.category-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
}
.cat-sales-strategy { background: rgba(37,99,235,0.08); color: #2563eb; }
.cat-ai-in-sales { background: rgba(106,27,154,0.08); color: #6a1b9a; }
.cat-crm-tips { background: rgba(34,197,94,0.08); color: #16a34a; }
.cat-meeting-intelligence { background: rgba(217,119,6,0.08); color: #d97706; }
.cat-deal-management { background: rgba(220,38,38,0.08); color: #dc2626; }
.cat-general { background: rgba(100,116,139,0.08); color: #64748b; }

/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
}
.page-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--card-border);
  transition: all 0.15s;
}
.page-link:hover {
  border-color: rgba(106,27,154,0.3);
  color: var(--purple);
}
.page-link.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

/* ============================================
   BLOG POST
   ============================================ */

.blog-post { padding-bottom: 80px; }

.post-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--card-border);
}
.post-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 12px 0 16px;
  color: var(--text-primary);
}
.post-meta {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

/* Article content typography */
.post-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.post-content h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 48px 0 16px;
  letter-spacing: -0.3px;
}
.post-content h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 14px;
  letter-spacing: -0.2px;
}
.post-content h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 12px;
}
.post-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 28px 0 10px;
}
.post-content p {
  margin: 0 0 20px;
}
.post-content a {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-color: rgba(106,27,154,0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s;
}
.post-content a:hover {
  text-decoration-color: var(--purple);
}
.post-content strong { color: var(--text-primary); font-weight: 600; }
.post-content em { font-style: italic; }

.post-content ul, .post-content ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.post-content li {
  margin-bottom: 8px;
}
.post-content li::marker {
  color: var(--purple);
}

.post-content blockquote {
  border-left: 3px solid var(--purple);
  padding: 16px 20px;
  margin: 24px 0;
  background: rgba(106,27,154,0.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}
.post-content blockquote p:last-child { margin-bottom: 0; }

.post-content pre {
  background: #1a1a2e;
  color: #e2e8f0;
  padding: 20px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.6;
}
.post-content code {
  font-family: 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.9em;
}
.post-content p code, .post-content li code {
  background: rgba(106,27,154,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--purple);
}

.post-content img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 24px 0;
}

.post-content hr {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 40px 0;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.post-content th, .post-content td {
  padding: 10px 14px;
  border: 1px solid var(--card-border);
  text-align: left;
}
.post-content th {
  background: rgba(106,27,154,0.04);
  font-weight: 600;
  color: var(--text-primary);
}

/* Post CTA */
.post-cta {
  margin: 48px 0;
  padding: 40px;
  background: rgba(106,27,154,0.04);
  border: 1px solid rgba(106,27,154,0.12);
  border-radius: var(--radius);
  text-align: center;
}

/* Related posts */
.related-posts {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--card-border);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s;
}
.related-card:hover {
  border-color: rgba(106,27,154,0.25);
}

/* ============================================
   CONTENT TYPE BADGES & TABS
   ============================================ */

.content-type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ct-insights { background: rgba(106,27,154,0.08); color: #6a1b9a; }
.ct-guides { background: rgba(34,197,94,0.08); color: #16a34a; }
.ct-compare { background: rgba(37,99,235,0.08); color: #2563eb; }
.ct-learn { background: rgba(217,119,6,0.08); color: #d97706; }

.content-type-tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 16px;
}
.ct-tab {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--card-border);
  transition: all 0.15s;
}
.ct-tab:hover {
  border-color: rgba(106,27,154,0.3);
  color: var(--purple);
}
.ct-tab.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

/* ============================================
   GEO COMPONENTS — TL;DR
   ============================================ */

.post-illustration {
  margin: 0 0 32px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #18181b;
  border: 1px solid rgba(106,27,154,0.12);
}
.post-illustration svg {
  display: block;
  width: 100%;
  height: auto;
}

.geo-tldr {
  margin: 0 0 32px;
  padding: 20px 24px;
  background: rgba(106,27,154,0.04);
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.geo-tldr-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--purple);
  margin-bottom: 8px;
}
.geo-tldr-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   GEO COMPONENTS — KEY TAKEAWAYS
   ============================================ */

.geo-takeaways {
  margin: 32px 0;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.geo-takeaways-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
}
.geo-takeaways-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.geo-takeaways-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(106,27,154,0.06);
}
.geo-takeaways-list li:last-child { border-bottom: none; }
.geo-takeaways-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
  font-size: 14px;
}

/* ============================================
   GEO COMPONENTS — FAQ ACCORDION
   ============================================ */

.geo-faqs {
  margin: 40px 0;
}
.geo-faqs-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
}
.geo-faq-item {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--card-bg);
}
.geo-faq-item[open] {
  border-color: rgba(106,27,154,0.2);
}
.geo-faq-question {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.geo-faq-question::-webkit-details-marker { display: none; }
.geo-faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--purple);
  transition: transform 0.2s;
}
.geo-faq-item[open] .geo-faq-question::after {
  content: "\2212";
}
.geo-faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================
   GEO COMPONENTS — BREADCRUMBS
   ============================================ */

.geo-breadcrumbs {
  margin-bottom: 24px;
  padding-top: 20px;
}
.geo-breadcrumbs ol {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}
.geo-breadcrumbs li {
  color: var(--text-muted);
}
.geo-breadcrumbs li + li::before {
  content: "/";
  margin: 0 8px;
  color: var(--card-border);
}
.geo-breadcrumbs a {
  color: var(--purple);
  font-weight: 500;
}
.geo-breadcrumbs a:hover {
  text-decoration: underline;
}

/* ============================================
   GEO COMPONENTS — CTA BANNER
   ============================================ */

.geo-cta-banner {
  margin: 48px 0;
  padding: 40px;
  background: rgba(106,27,154,0.04);
  border: 1px solid rgba(106,27,154,0.12);
  border-radius: var(--radius);
  text-align: center;
}

/* ============================================
   HUB PAGES
   ============================================ */

.hub-header {
  text-align: center;
  padding: 60px 0 32px;
}
.hub-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.hub-description {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* Glossary index (A-Z) */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.glossary-card {
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.glossary-card:hover {
  border-color: rgba(106,27,154,0.25);
  box-shadow: 0 4px 16px rgba(106,27,154,0.06);
}
.glossary-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.glossary-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page { min-height: 60vh; }

.legal-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 12px;
  font-family: 'Newsreader', Georgia, serif;
}
.legal-para {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.legal-list {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-left: 20px;
}
.legal-list li { margin-bottom: 4px; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; gap: 40px; }
  .persona-grid { flex-direction: column; }
  .compare-row div { padding: 10px 12px; font-size: 13px; }
  .compare-header div { padding: 10px 12px; }

  .hero-visual-body {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }
  .hero-visual-left {
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }

  .hero-title { letter-spacing: -1px; }
  .section-title { font-size: 28px; }

  .post-title { margin-top: 8px; }
  .post-cta { padding: 24px; }
}
