/* ================================================
   GUARD EYE — Blog Post Page Styles
   Matches CrookCatcher blog layout exactly
   ================================================ */

/* -------- Blog Hero Image -------- */
.blog-hero {
  padding: 100px 0 0;
}

.blog-hero-image {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  gap: 24px;
}

/* Green decorative corners like CrookCatcher */
.blog-hero-image::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 400px;
  background: var(--green);
  border-radius: 40px;
  transform: rotate(-12deg);
  opacity: 0.7;
  z-index: 0;
}

.blog-hero-image::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 200px;
  height: 400px;
  background: var(--green);
  border-radius: 40px;
  transform: rotate(-12deg);
  opacity: 0.7;
  z-index: 0;
}

/* Phone mockup in blog hero */
.blog-phone {
  width: 260px;
  background: var(--bg);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.blog-phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.blog-phone-status .time { font-weight: 600; }
.blog-phone-status .signal { display: flex; align-items: center; gap: 4px; }

.blog-phone-content {
  padding: 0 16px 16px;
}

/* -------- Blog Article Body -------- */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.blog-article h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 16px;
}

.blog-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 64px;
}

.blog-article p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.blog-article ol {
  padding-left: 24px;
  margin-bottom: 32px;
}

.blog-article ol li {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.blog-article ul {
  list-style: disc;
  padding-left: 32px;
  margin-bottom: 32px;
}

.blog-article ul li {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.blog-article h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 64px;
  margin-bottom: 24px;
}

.blog-article h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 16px;
}

/* Inline highlight (like CrookCatcher's Device Admin / Gmail badges) */
.highlight {
  background: rgba(86, 197, 150, 0.15);
  color: var(--green);
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* CTA link in article */
.blog-cta-link {
  display: inline-block;
  color: var(--green);
  font-weight: 600;
  border-bottom: 1px solid var(--green-border);
  transition: border-color 0.2s;
}

.blog-cta-link:hover {
  border-bottom-color: var(--green);
}

/* -------- Feature Comparison Table (like CrookCatcher) -------- */
.feature-table {
  width: 100%;
  margin: 32px 0 48px;
  border-collapse: collapse;
}

.feature-table-header {
  display: grid;
  grid-template-columns: 1fr 80px 80px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.feature-table-header span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.feature-table-header span:first-child {
  text-align: left;
}

.ft-row {
  display: grid;
  grid-template-columns: 1fr 80px 80px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.ft-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.ft-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.ft-check, .ft-x {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-check svg {
  width: 28px;
  height: 28px;
}

.ft-x svg {
  width: 28px;
  height: 28px;
}

.check-circle {
  fill: var(--green);
}

.x-circle {
  fill: var(--text-muted);
  opacity: 0.5;
}

/* -------- Blog FAQ -------- */
.blog-faq {
  margin-top: 64px;
}

.blog-faq h2 {
  margin-bottom: 32px;
}

.blog-faq h3 {
  margin-top: 32px;
}

/* -------- Blog Sign-off -------- */
.blog-signoff {
  margin-top: 48px;
  font-style: italic;
}

/* -------- Blog CTA button (Google Play) -------- */
.blog-play-btn {
  display: block;
  text-align: center;
  margin: 48px 0;
}

.blog-play-btn img {
  height: 56px;
  display: inline-block;
}

/* -------- Responsive -------- */
@media (max-width: 768px) {
  .blog-hero-image {
    flex-direction: column;
    align-items: center;
    padding: 32px 16px;
  }
  
  .blog-phone {
    width: 100%;
    max-width: 280px;
  }

  .blog-article {
    padding: 48px 16px 80px;
  }

  .ft-row {
    grid-template-columns: 1fr 60px 60px;
  }
}
