/* ═══════════════════════════════════════════
   Peace of Mind Filter — Marketing Site CSS
   ═══════════════════════════════════════════ */

:root {
  --primary: #1a56db;
  --primary-dark: #0f3a8a;
  --primary-light: #e8f0fe;
  --accent: #059669;
  --accent-light: #d1fae5;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --bg-dark-2: #1e293b;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-on-dark: #e2e8f0;
  --text-on-dark-muted: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* ── Layout ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section--dark .section-title {
  color: #fff;
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}
.section--dark .section-subtitle {
  color: var(--text-on-dark-muted);
}

/* ── Typography ── */
h1 { font-size: 48px; font-weight: 800; line-height: 1.1; }
h2 { font-size: 36px; font-weight: 700; line-height: 1.2; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.3; }
h4 { font-size: 18px; font-weight: 600; line-height: 1.4; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}
.btn-lg {
  padding: 18px 36px;
  font-size: 18px;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.nav-brand:hover { text-decoration: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}
.nav-links .btn-primary {
  color: #fff;
}
.nav-links .btn-primary:hover {
  color: #fff;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.2s;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a3a6b 100%);
  color: #fff;
  padding: 140px 0 100px;
  text-align: center;
}
.hero h1 {
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero-subtitle {
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  margin: 0 auto 40px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-note {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* ── Card Grid ── */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.card-icon--red { background: #fef2f2; color: #dc2626; }
.card-icon--yellow { background: #fffbeb; color: #d97706; }
.card-icon--blue { background: var(--primary-light); color: var(--primary); }
.card-icon--green { background: var(--accent-light); color: var(--accent); }
.card-icon--purple { background: #f5f3ff; color: #7c3aed; }
.card-icon--teal { background: #f0fdfa; color: #0d9488; }
.card h3 {
  margin-bottom: 12px;
}
.card p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ── Problem Cards ── */
.problem-card {
  text-align: center;
  border-top: 3px solid #dc2626;
}
.problem-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

/* ── Steps (How It Works) ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step h3 {
  margin-bottom: 8px;
}
.step p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ── Offer Card ── */
.offer-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.offer-card-header {
  background: var(--primary);
  color: #fff;
  padding: 24px 32px;
  text-align: center;
}
.offer-card-header h3 {
  font-size: 22px;
  color: #fff;
}
.offer-card-body {
  padding: 32px;
}
.offer-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.offer-item:last-child { border-bottom: none; }
.offer-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.offer-check svg {
  width: 14px;
  height: 14px;
}
.offer-item-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}
.offer-item-text span {
  font-size: 14px;
  color: var(--text-muted);
}
.offer-card-footer {
  padding: 24px 32px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.offer-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.offer-price-original {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-light);
  text-decoration: line-through;
  margin-right: 8px;
}
.offer-price-period {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}
.offer-item-value {
  font-size: 13px;
  color: var(--text-light);
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}
.offer-card-footer .btn {
  width: 100%;
  margin-top: 16px;
}
.offer-card-footer .offer-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
}

/* ── Platforms ── */
.platform-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.platform-item {
  text-align: center;
}
.platform-icon {
  font-size: 32px;
  margin-bottom: 8px;
}
.platform-item span {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── FAQ Accordion ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  line-height: 1.4;
}
.faq-question:hover { color: var(--primary); }
.faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--text-light);
}
.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Comparison Table ── */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -24px;
  padding: 0 24px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 600px;
}
.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  font-weight: 600;
  background: var(--bg-alt);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.compare-table thead th:nth-child(2) {
  color: var(--primary);
}
.compare-table td:first-child {
  font-weight: 500;
  color: var(--text);
}
.compare-table td:nth-child(2) {
  color: var(--accent);
  font-weight: 500;
}
.compare-yes { color: var(--accent); font-weight: 600; }
.compare-no { color: #dc2626; }
.compare-partial { color: #d97706; }

/* ── Social Proof ── */
.proof-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.proof-stat {
  text-align: center;
}
.proof-stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  display: block;
}
.proof-stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.testimonial {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.testimonial p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
}
.testimonial cite {
  font-size: 13px;
  color: var(--text-muted);
  font-style: normal;
}
@media (max-width: 768px) {
  .proof-stats { gap: 32px; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ── CTA Final ── */
.cta-final {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta-final h2 {
  color: #fff;
  margin-bottom: 16px;
}
.cta-final p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  font-size: 18px;
}

/* ── Footer ── */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 15px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--text-on-dark-muted);
  padding: 4px 0;
}
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 13px;
}

/* ── Page Header (subpages) ── */
.page-header {
  background: var(--bg-alt);
  padding: 120px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: 40px;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Content (prose pages) ── */
.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.content h2 {
  font-size: 28px;
  margin: 48px 0 16px;
}
.content h2:first-child { margin-top: 0; }
.content h3 {
  font-size: 22px;
  margin: 32px 0 12px;
}
.content p {
  margin-bottom: 16px;
  color: var(--text-muted);
}
.content p strong {
  color: var(--text);
}
.content ul, .content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
.content li {
  list-style: disc;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}
.content ol li { list-style: decimal; }

/* ── Feature List (features page) ── */
.feature-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.feature-section:last-child { border-bottom: none; }
.feature-section h3 {
  margin-bottom: 8px;
}
.feature-section .feature-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.tag-unique { background: var(--accent-light); color: var(--accent); }
.tag-ai { background: #f5f3ff; color: #7c3aed; }
.tag-security { background: #fef2f2; color: #dc2626; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  .section { padding: 56px 0; }
  .hero { padding: 110px 0 64px; }
  .hero-subtitle { font-size: 17px; }
  .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .platform-grid { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.active { display: flex; }
  .nav-links .btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .hero { padding: 100px 0 56px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .offer-price { font-size: 36px; }
}
