/* ============================================
   BuddieGPT — Warm, fun, reassuring design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

:root {
  --blue: #2E86C1;
  --blue-hover: #2672a5;
  --blue-light: #5a9fd4;
  --blue-pale: #e8f1f8;
  --accent: #e8913a;
  --accent-light: #fde8cc;
  --bg: #FAFBFC;
  --bg-white: #FFFFFF;
  --bg-section: #F0F4F8;
  --text: #1e2a38;
  --text-secondary: #5a6a7e;
  --text-muted: #8896a6;
  --border: #e2e8f0;
  --max-w: 1120px;
  --radius: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
/* Offset anchored home-page sections so headings aren't cramped at the top */
.use-cases-section, .feature-section, .privacy-section {
  scroll-margin-top: 3.5rem;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Material Icons --- */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
.head-xl {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text);
}
.head-lg {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}
.head-md {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.head-sm {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}
.text-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.text-secondary {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  white-space: nowrap;
}

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(46,134,193,0.2);
}
.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 4px 16px rgba(46,134,193,0.3);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-section);
  color: var(--text);
  border-color: var(--text-muted);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue-pale);
  border-color: var(--blue-hover);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

/* --- Navigation --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.nav-logo {
  display: block;
  height: 32px;
  width: auto;
  min-width: 0;
  flex-shrink: 0;
}
.nav-brand .brand-text > span { color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  display: none;
}

.nav-close {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover,
.nav-links a.active {
  color: var(--text);
}
.nav-links a.active { font-weight: 600; }

.nav-login {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-login:hover {
  color: var(--text);
}

.btn-nav {
  background: var(--blue);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(46,134,193,0.15);
}
.btn-nav:hover {
  background: var(--blue-hover);
  box-shadow: 0 4px 14px rgba(46,134,193,0.25);
  transform: translateY(-1px);
}

/* --- Hero --- */
.hero {
  padding-top: 4rem;
  padding-bottom: 7rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.hero-tag::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: var(--accent);
}

.hero-head {
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}
.hero-actions .hero-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.875rem;
  padding: 0.75rem 1rem;
  background: #f3faf4;
  border: 1px solid #d4ecd8;
  border-radius: var(--radius);
  max-width: 480px;
}
.hero-trust-icon {
  color: #2e7d32;
  font-size: 22px;
  flex-shrink: 0;
}
.hero-trust-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.hero-trust-text strong {
  font-size: 0.875rem;
  color: var(--text);
}
.hero-trust-text span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}


/* --- Chat UI Mockup --- */
.chat-mockup {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.03);
  overflow: hidden;
  max-width: 480px;
}
.chat-mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}
.chat-mockup-dots {
  display: flex;
  gap: 6px;
}
.chat-mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.chat-mockup-dots span:first-child { background: #fca5a5; }
.chat-mockup-dots span:nth-child(2) { background: #fcd34d; }
.chat-mockup-dots span:last-child { background: #86efac; }
.chat-mockup-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 0.5rem;
}
.chat-mockup-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 300px;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.6;
  animation: fade-in-up 0.4s ease both;
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble.buddy {
  align-self: flex-start;
  background: var(--bg-section);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-bubble:nth-child(1) { animation-delay: 0.1s; }
.chat-bubble:nth-child(2) { animation-delay: 0.5s; }
.chat-bubble:nth-child(3) { animation-delay: 1s; }
.chat-bubble:nth-child(4) { animation-delay: 1.5s; }

.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-white);
}
.chat-input-placeholder {
  flex: 1;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--bg-section);
  padding: 0.5rem 1rem;
  border-radius: 99px;
}
.chat-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.chat-send-btn .material-symbols-outlined {
  font-size: 18px;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Use Cases --- */
.use-cases-section {
  padding: 6.5rem 0;
  background: #EAF3FA;
}
.use-cases-header {
  text-align: center;
  margin-bottom: 3rem;
}
.use-cases-header .head-lg {
  margin-bottom: 0.75rem;
}
.use-cases-header .text-body {
  max-width: 520px;
  margin: 0 auto;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.use-case-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.25s ease;
}
.use-case-card:hover {
  border-color: var(--blue-light);
  box-shadow: 0 4px 20px rgba(46,134,193,0.08);
  transform: translateY(-2px);
}

.use-case-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
}
.use-case-icon.blue { background: var(--blue-pale); color: var(--blue); }
.use-case-icon.orange { background: var(--accent-light); color: var(--accent); }
.use-case-icon.teal { background: #e0f7fa; color: #00838f; }
.use-case-icon.purple { background: #f3e5f5; color: #7b1fa2; }
.use-case-icon.green { background: #e8f5e9; color: #2e7d32; }
.use-case-icon.red { background: #fce4ec; color: #c62828; }

.use-case-card .material-symbols-outlined {
  font-size: 22px;
}

.use-case-card h3 {
  margin-bottom: 0.5rem;
}
.use-case-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --- Privacy Section --- */
.feature-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 6.5rem 0;
}
.feature-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}
.feature-header .tag { margin-bottom: 1rem; }
.feature-header .head-lg { margin: 0.5rem 0 0.75rem; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
.feature-icon {
  font-size: 28px;
  color: var(--blue);
}
.feature-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-section);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.feature-badge.badge-plus {
  color: var(--blue);
  background: var(--blue-pale);
  border-color: transparent;
}
.feature-badge.badge-soon {
  color: #b06a1f;
  background: var(--accent-light);
  border-color: transparent;
}
.feature-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.feature-card-soon {
  border-style: dashed;
  background: transparent;
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-section { padding: 4.5rem 0; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; gap: 1rem; }
}
.privacy-section {
  padding: 6rem 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}
.privacy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.privacy-visual {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.privacy-shield {
  width: 100px;
  height: 100px;
  color: var(--blue);
}
.privacy-shield .material-symbols-outlined {
  font-size: 100px;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}
.privacy-float {
  position: absolute;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.privacy-float.top-right { top: 1.5rem; right: 1.5rem; }
.privacy-float.bottom-left { bottom: 1.5rem; left: 1.5rem; }
.privacy-float .check { color: #2e7d32; }

.privacy-content .head-lg {
  margin-bottom: 1rem;
}
.privacy-content .text-body {
  margin-bottom: 1.5rem;
}
.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.privacy-list li .material-symbols-outlined {
  font-size: 20px;
  color: var(--blue);
  margin-top: 2px;
  flex-shrink: 0;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- CTA band --- */
.cta-section {
  padding: 5rem 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}
.cta-band {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.cta-band .head-lg {
  margin-bottom: 0.75rem;
}
.cta-band .text-body {
  margin-bottom: 2rem;
}

/* --- Footer --- */
.footer-wrap {
  border-top: 1px solid var(--border);
  background: var(--bg-white);
}
.footer-content {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* --- Mobile --- */
@media (max-width: 900px) {
  .hero-inner,
  .privacy-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .chat-mockup {
    max-width: 100%;
    margin: 0 auto;
  }
  .nav-toggle { display: flex; }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(30, 42, 56, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .nav-backdrop.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: min(19.5rem, 85vw);
    padding: 5.5rem 1.5rem 2rem;
    background: var(--bg-white);
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 24px rgba(30, 42, 56, 0.08);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-links a:not(.btn) {
    width: 100%;
    padding: 0.65rem 0;
    font-size: 1rem;
  }
  .nav-login { padding: 0.65rem 0; }
  .btn-nav { width: 100%; margin-top: 0.75rem; padding: 0.75rem 1.35rem; }
  .nav-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
  }
  .nav-close:hover { background: var(--bg-section); }
  .nav-close:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
  }
  .hero { padding-top: 2.5rem; padding-bottom: 4rem; }
}

@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .faq-page { padding-top: 1.5rem; }
  main > .container:first-child { padding-top: 2rem; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .nav { padding: 0.875rem 0; }
  .nav-logo { height: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
  .privacy-float { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links,
  .nav-backdrop,
  .nav-toggle span {
    transition: none;
  }
}

/* --- Feature rows (features page) --- */
.feat-seq {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  padding-top: 1rem;
}
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.feat-row.reverse .feat-col-text { order: 2; }
.feat-row.reverse .feat-col-icon { order: 1; }

.feat-col-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
}
.feat-col-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.feat-col-icon-text {
  font-size: 32px;
  margin-bottom: 1rem;
}
.feat-col-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}
.feat-col-icon-inner {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.feat-col-icon-inner .material-symbols-outlined {
  font-size: 36px;
}
.feat-col-icon-inner.blue { background: var(--blue-pale); }
.feat-col-icon-inner.ice { background: var(--ice); }
@media (max-width: 900px) {
  .feat-seq { gap: 3rem; }
  .feat-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .feat-row .feat-col-text,
  .feat-row.reverse .feat-col-text { order: 2; }
  .feat-row .feat-col-icon,
  .feat-row.reverse .feat-col-icon { order: 1; justify-content: flex-start; }
  .feat-col-icon-inner {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }
  .feat-col-icon-inner .material-symbols-outlined { font-size: 28px; }
}

/* --- Trust bar (features page) --- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.trust-icon .material-symbols-outlined { font-size: 26px; }
.trust-lbl {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}
@media (max-width: 900px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (max-width: 540px) {
  .trust-bar { grid-template-columns: 1fr; }
}

/* --- Pricing grid --- */
.price-head {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text);
}
.price-cta-head {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}
.price-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.price-card:hover {
  border-color: var(--blue-light);
  box-shadow: 0 4px 20px rgba(46,134,193,0.08);
}
.price-featured {
  border-color: var(--blue);
  box-shadow: 0 4px 24px rgba(46,134,193,0.12);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.price-name {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.price-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 1.75rem;
}
.price-curr {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.price-val {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.price-per {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.price-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 1.75rem;
}
.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.price-feat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.6rem 0;
}
.price-feat-upcoming {
  font-weight: 700;
  color: var(--text);
  background: rgba(232,145,58,0.08);
  border: 1px dashed var(--accent);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  margin: 0.15rem 0;
}
.price-soon-badge {
  margin-left: auto;
  background: var(--accent-light);
  color: #b06a1f;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.2s ease;
}
.price-feat-upcoming:hover .price-soon-badge {
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .price-feat-upcoming:hover .price-soon-badge { transform: none; }
}
.price-feat a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.price-feat a:hover {
  color: var(--blue-hover);
}
.price-feat-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 480px;
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .price-card { padding: 1.5rem; }
  .price-val { font-size: 2rem; }
}

/* --- Pricing value strip --- */
.price-value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.price-value-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.price-value-item .material-symbols-outlined {
  color: var(--blue);
  font-size: 22px;
  flex-shrink: 0;
}
.price-value-item strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.15rem;
}
.price-value-item span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .price-value-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .price-value-strip { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* --- Comparison Table --- */
.compare-wrap {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 0.9375rem;
}
.compare-table th,
.compare-table td {
  padding: 0.95rem 1.1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  font-weight: 700;
  font-size: 0.9rem;
}
.compare-table thead tr {
  background: var(--bg-section);
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody tr:nth-child(even) {
  background: #fafcfe;
}
.compare-feat {
  text-align: left !important;
  color: var(--text);
  font-weight: 500;
}
.compare-buddie {
  color: #2e7d32;
  font-weight: 700;
  white-space: nowrap;
}
.compare-main {
  color: var(--text-muted);
}
.compare-table .ck {
  color: #2e7d32;
  font-size: 24px;
  vertical-align: middle;
}
.compare-table .x {
  color: #c0392b;
  font-size: 24px;
  vertical-align: middle;
  opacity: 0.6;
}
@media (max-width: 540px) {
  .compare-table th,
  .compare-table td {
    padding: 0.7rem 0.5rem;
    font-size: 0.85rem;
  }
}

/* --- FAQ Page (sticky two-column layout) --- */
.faq-page {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}
.faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}
/* Left column: sticky category navigation */
.faq-nav-col {
  position: sticky;
  top: 2rem;
}
.faq-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0;
  border-left: 2px solid var(--border);
}
.faq-nav-link {
  padding: 0.55rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.faq-nav-link:hover {
  color: var(--text);
}
.faq-nav-link.active {
  color: var(--blue);
  border-left-color: var(--blue);
  background: var(--blue-pale);
  font-weight: 600;
}
/* Right pane: answers grouped by category */
.faq-content {
  min-width: 0;
}
.faq-group {
  margin-bottom: 2.5rem;
  scroll-margin-top: 6rem;
}
.faq-group-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
/* Individual FAQ item (also used on other pages) */
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq-item:hover {
  border-color: var(--blue-light);
  box-shadow: 0 2px 12px rgba(46,134,193,0.06);
}
.faq-item[open] {
  border-color: var(--blue-light);
  box-shadow: 0 2px 12px rgba(46,134,193,0.08);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--blue);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-ans {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
}
/* Still have questions? CTA */
.faq-contact {
  margin-top: 1.5rem;
  padding: 2rem;
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  text-align: center;
}
/* Responsive: collapse to single column on small screens */
@media (max-width: 820px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .faq-nav-col {
    position: static;
  }
  .faq-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-left: none;
    border-bottom: 2px solid var(--border);
    padding: 0 0 1rem;
  }
  .faq-nav-link {
    border-left: none;
    margin-left: 0;
    padding: 0.45rem 0.9rem;
    border-radius: 99px;
    border: 1px solid var(--border);
  }
  .faq-nav-link.active {
    border-color: var(--blue);
  }
}
@media (max-width: 540px) {
  .faq-page {
    padding-top: 1.5rem;
  }
  .faq-item summary {
    padding: 1.1rem 1rem;
    font-size: 0.9375rem;
    min-height: 48px;
  }
  .faq-ans {
    padding: 0 1rem 1rem;
  }
  .compare-table th,
  .compare-table td {
    padding: 0.6rem 0.5rem;
    font-size: 0.85rem;
  }
}
