/* ===================================================================
   new-design.css — Design system from SaitDedAI
   Shared across: pricing, support, privacy, conditions pages
   =================================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --bg: #fff;
  --text: #000;
  --page-px: clamp(24px, 5vw, 200px);

  /* Nav */
  --nav-bg: #fff;
  --nav-border: #E4ECF5;
  --nav-hover: #f5f5f5;

  /* Badge */
  --badge-bg: #fff;
  --badge-border: #E3EAF4;

  /* Android btn */
  --android-bg: #fff;
  --android-border: #E3EAF4;
  --android-action-bg: #EBEBEB;
  --android-action-text: #BDBDBD;

  /* Chat */
  --chat-bg: #fff;
  --chat-border: #E7E7E7;
  --chat-shadow: rgba(132,155,172,0.29);
  --chat-header-bg: #F8F8F8;
  --chat-ask-border: #E3EAF4;
  --chat-ask-bg: #fff;
  --chat-ask-text: #000;
  --chat-tab-demo-border: #CBCBCB;
  --chat-tab-demo-text: #CBCBCB;
  --chat-tab-model-bg: #000;
  --chat-line: #EEE;
  --scroll-track: #F9F9F9;
  --scroll-thumb: #CECECE;
  --bot-bubble: #F2F2F2;
  --quick-border: #E9E9E9;
  --quick-hover: #f9f9f9;
  --quick-text: #000;
  --chat-fade-color: #fff;
  --chat-footer-bg: #F8F8F8;
  --input-border: #EAEAEA;
  --input-bg: #fff;
  --input-text: #000;
  --input-placeholder: #A7A7A7;

  /* Reviews */
  --reviews-bg: #F7F8FA;
  --badge-sec-border: #9BACC0;
  --badge-sec-text: #9BACC0;
  --rating-border: #ECF2F7;
  --rating-bg: #fff;
  --store-border: #DDE7EC;
  --store-text: #92A3B8;

  /* Features */
  --feat-bg: #000;
  --feat-btn-bg: #fff;
  --feat-btn-border: #005290;
  --feat-btn-text: #000;

  /* Footer */
  --footer-bg: #F7F8FA;
  --tg-border: #E3EAF4;
  --tg-bg: #fff;
  --footer-desc-color: #818181;
  --footer-link: #3B3B3B;
  --footer-bottom-bg: #fff;
  --footer-text: #2D2D2D;
}

[data-theme="dark"] {
  --bg: #111;
  --text: #fff;

  --nav-bg: #272727;
  --nav-border: #585858;
  --nav-hover: rgba(255,255,255,0.05);

  --badge-bg: #272727;
  --badge-border: #585858;

  --android-bg: #272727;
  --android-border: #585858;
  --android-action-bg: #434343;
  --android-action-text: #616161;

  --chat-bg: #000;
  --chat-border: #434343;
  --chat-shadow: rgba(0,0,0,0.4);
  --chat-header-bg: #1D1D1D;
  --chat-ask-border: #585858;
  --chat-ask-bg: #272727;
  --chat-ask-text: #fff;
  --chat-tab-demo-border: #5B5B5B;
  --chat-tab-demo-text: #5B5B5B;
  --chat-tab-model-bg: #545454;
  --chat-line: #434343;
  --scroll-track: #242424;
  --scroll-thumb: #646464;
  --bot-bubble: #FED63E;
  --quick-border: #5B5B5B;
  --quick-hover: rgba(255,255,255,0.05);
  --quick-text: #fff;
  --chat-fade-color: #000;
  --chat-footer-bg: #1D1D1D;
  --input-border: #8C8C8C;
  --input-bg: #404040;
  --input-text: #fff;
  --input-placeholder: #fff;

  --reviews-bg: #2D2D2D;
  --badge-sec-border: #8D8D8D;
  --badge-sec-text: #8D8D8D;
  --rating-border: #585858;
  --rating-bg: #272727;
  --store-border: #8D8D8D;
  --store-text: #8D8D8D;

  --feat-bg: #2D2D2D;
  --feat-btn-bg: #464646;
  --feat-btn-border: #585858;
  --feat-btn-text: #fff;

  --footer-bg: #2D2D2D;
  --tg-border: #585858;
  --tg-bg: #272727;
  --footer-desc-color: #B9B9B9;
  --footer-link: #fff;
  --footer-bottom-bg: #3D3D3D;
  --footer-text: #C7C7C7;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; transition: background 0.3s, color 0.3s; }
img { display: block; }

/* ===== PAGE CONTAINER ===== */
.page-wrap { max-width: 2100px; margin: 0 auto; }

/* ===== HEADER ===== */
.header {
  display: flex; align-items: center;
  padding: 0 var(--page-px); height: 83px; position: relative; z-index: 10;
}
.header .logo-group { margin-right: auto; }
.header .nav-menu { margin-right: 10px; }
.logo-group { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 40px; height: 40px; border-radius: 36px; overflow: hidden; flex-shrink: 0; }
.logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.logo-text .logo-title { font-weight: 800; font-size: 18px; line-height: 12.4px; color: var(--text); }
.logo-text .logo-subtitle { font-weight: 400; font-size: 10px; line-height: 12.4px; margin-top: 6px; color: var(--text); }

.nav-menu {
  display: flex; align-items: center;
  background: var(--nav-bg); border: 0.776px solid var(--nav-border); border-radius: 78px;
  padding: 5.4px 7px; gap: 3.9px;
}
.nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7.8px 19.4px; border-radius: 39px;
  font-size: 13px; font-weight: 600; line-height: 18.6px; cursor: pointer;
  text-decoration: none; color: var(--text); transition: background 0.2s;
}
.nav-item.active { background: linear-gradient(to right, #FED73E, #F7C543); color: #000; }
.nav-item:hover:not(.active) { background: var(--nav-hover); }
.nav-item img { width: 16px; height: 16px; }

/* ===== THEME BUTTON (header) ===== */
.theme-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 0.776px solid var(--nav-border);
  background: var(--nav-bg);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.2s;
  padding: 0; font-size: 18px; line-height: 1;
}
.theme-btn:hover { background: var(--nav-hover); }
.theme-btn-svg { display: block; color: var(--text); }
[data-theme="dark"] .theme-btn-svg { color: #fff; }

/* ===== HAMBURGER (hidden on desktop) ===== */
.hamburger {
  display: none; /* shown only on mobile */
  width: 32px; height: 32px;
  border: 0.64px solid #D7D7D7; border-radius: 64px;
  background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 0; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 14px; height: 0; border-top: 1.28px solid #9A9A9A;
  border-radius: 1px;
}
[data-theme="dark"] .hamburger { border-color: #585858; }
[data-theme="dark"] .hamburger span { border-top-color: #9A9A9A; }

/* ===== MOBILE MENU ===== */
.menu-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.3);
  z-index: 9998;
}
.menu-overlay.open { display: block; }

.mobile-menu {
  position: fixed; top: 0; right: -340px; width: 329px; height: 100vh;
  background: var(--bg); z-index: 9999;
  border-radius: 30px 0 0 30px;
  box-shadow: 0px 4px 34px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
}
.mobile-menu.open { right: 0; }

.menu-close {
  position: absolute; top: 15px; right: 24px;
  width: 32px; height: 32px; border: 0.64px solid #D7D7D7;
  border-radius: 64px; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.menu-close span {
  position: absolute; width: 14px; height: 0;
  border-top: 1.28px solid #9A9A9A;
}
.menu-close span:first-child { transform: rotate(45deg); }
.menu-close span:last-child { transform: rotate(-45deg); }
[data-theme="dark"] .menu-close { border-color: #585858; }
[data-theme="dark"] .menu-close span { border-top-color: #9A9A9A; }

.menu-items {
  position: absolute; top: 88px; left: 29px;
  width: 276px; display: flex; flex-direction: column; gap: 16px;
}
.menu-item {
  display: flex; align-items: center; justify-content: center;
  gap: 10.5px; padding: 10.5px 26.3px;
  border-radius: 52.6px; border: 1.05px solid #EBEBEB;
  text-decoration: none; color: var(--text); background: transparent;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; cursor: pointer;
}
.menu-item img { width: 17px; height: 17px; }
.menu-item.active {
  background: linear-gradient(90deg, #FED73E, #F7C543);
  border-color: transparent; color: #000;
}
.menu-item:not(.active):hover { background: var(--nav-hover); }
[data-theme="dark"] .menu-item { border-color: #3A3A3A; }
[data-theme="dark"] .menu-item.active { color: #000; }

/* ===== FOOTER ===== */
.footer-wrapper {
  margin-top: 57px; background: var(--footer-bg);
  border-radius: 50px 50px 0 0; padding: 46px 0 0;
}

.footer-top {
  margin: 0 var(--page-px); display: flex; justify-content: space-between;
  align-items: center; position: relative;
}
.tg-banner {
  display: flex; align-items: center; gap: 11px;
  padding: 6.4px 12.8px 6.4px 6.4px;
  border: 0.64px solid var(--tg-border); border-radius: 64px;
  cursor: pointer; background: var(--tg-bg);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  text-decoration: none;
}
.tg-banner-icon { width: 31.9px; height: 31.9px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.tg-banner-icon img { width: 100%; height: 100%; }
.tg-banner-text { font-weight: 500; font-size: 12px; line-height: 17.9px; color: var(--text); }

.footer-desc {
  font-weight: 400; font-size: 12px; line-height: 18px; color: var(--footer-desc-color);
  margin: 15px var(--page-px) 0; max-width: 404px;
}
.footer-links { display: flex; gap: 69px; }
.footer-links a { font-weight: 700; font-size: 12px; color: var(--footer-link); text-decoration: none; line-height: 20px; }
.footer-links a:hover { text-decoration: underline; }

.footer-bottom-section {
  background: var(--footer-bottom-bg); border-radius: 20px; margin: 36px 150px 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; height: 129px; padding: 18px 0 17px;
}
.footer-copyright { font-weight: 600; font-size: 12px; color: var(--footer-text); text-align: center; line-height: 22px; }
.footer-company { font-weight: 400; font-size: 11px; color: var(--footer-text); text-align: center; line-height: 20px; }
[data-theme="dark"] .footer-bottom-section { background: #2A2A2A; border: 1px solid #3A3A3A; }

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  position: fixed; bottom: 20px; right: 20px; z-index: 9999;
  border: none; padding: 10px 18px; border-radius: 40px;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600;
  cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background: #222; color: #fff; transition: background 0.3s, color 0.3s;
}
[data-theme="dark"] .theme-toggle {
  background: #FED73E; color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.theme-toggle .label-to-dark { display: inline; }
.theme-toggle .label-to-light { display: none; }
[data-theme="dark"] .theme-toggle .label-to-dark { display: none; }
[data-theme="dark"] .theme-toggle .label-to-light { display: inline; }


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

/* Footer bottom — adaptive margin via clamp */
.footer-bottom-section { margin: 36px clamp(24px, 5vw, 150px) 0; }

/* Tablet */
@media (max-width: 1024px) {
  .footer-top {
    flex-direction: column; gap: 20px; align-items: center;
  }
  .tg-banner { position: static; transform: none; }
  .footer-links { gap: 30px; }
  .footer-desc { margin-left: auto; margin-right: auto; text-align: center; max-width: 100%; }
  .footer-wrapper { border-radius: 30px 30px 0 0; }
}

/* Mobile (390px target) */
@media (max-width: 680px) {
  /* --- HEADER --- */
  .header { height: 62px; }
  .logo-icon { width: 32px; height: 32px; }
  .logo-text { display: none; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .theme-btn { display: none; }

  /* --- CONTENT PAGES --- */
  .page-content { padding: 30px 24px 40px; }
  .legal-content { padding: 30px 24px 40px; }
  .page-title { font-size: 24px; }
  .section-title { font-size: 18px; margin: 32px 0 16px; }

  /* --- FOOTER --- */
  .footer-wrapper {
    padding: 32px 0 0;
    border-radius: 40px 40px 0 0;
    margin-top: 57px;
    display: flex; flex-direction: column; align-items: center;
  }
  .footer-top {
    display: contents;
  }
  .footer-top .logo-text { display: block; }
  .footer-top .logo-text .logo-title { font-size: 16px; line-height: 1.27em; }
  .footer-top .logo-text .logo-subtitle { font-size: 10px; }
  .footer-top .logo-group { justify-content: center; order: 1; }
  .footer-top .logo-icon { width: 65.59px; height: 65.18px; border-radius: 50%; }

  .footer-desc {
    font-size: 10px; text-align: center; line-height: 1.6em;
    margin: 20px 0 0; max-width: 268px; color: var(--footer-desc-color);
    order: 2;
  }
  .footer-desc br { display: none; }

  .footer-top .tg-banner { position: static; transform: none; order: 3; margin-top: 20px; }

  .footer-top .footer-links {
    flex-direction: column; gap: 4px; align-items: center;
    width: 366px; max-width: 100%;
    order: 4; margin-top: 18px;
  }
  .footer-links a { font-size: 13px; font-weight: 700; line-height: 1.54em; }

  .footer-bottom-section {
    margin: 20px 24px 20px; height: auto; min-height: 129px;
    border-radius: 24px; padding: 24px 20px;
    order: 5; width: calc(100% - 48px);
  }
  .footer-copyright { font-size: 14px; font-weight: 600; }
  .footer-company { font-size: 11px; line-height: 1.6; }
  .footer-company br { display: inline; }

  .theme-toggle { bottom: 12px; right: 12px; padding: 8px 14px; font-size: 11px; }
}


/* ===================================================================
   Content page styles (pricing, support, terms, privacy)
   =================================================================== */

/* Page content container */
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 40px 60px;
}

/* Page title */
.page-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 12px;
}
.page-subtitle {
  font-size: 16px;
  color: var(--footer-desc-color);
  line-height: 1.5;
  margin-bottom: 40px;
}

/* Cards */
.card {
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 20px;
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: #FED63E;
  box-shadow: 0 4px 20px rgba(254,214,62,0.12);
}
.card.popular {
  border-color: #FED63E;
  box-shadow: 0 4px 20px rgba(254,214,62,0.15);
  position: relative;
}
.card-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #FED63E;
  color: #000;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Price cards grid */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.price-grid--single {
  grid-template-columns: 1fr;
  max-width: 480px;
}
.price-grid--plans {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid--single { grid-template-columns: 1fr; }
  .price-grid--plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .price-grid, .price-grid--plans, .price-grid--single {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Card eyebrow text */
.card-eyebrow {
  margin: 12px 0 16px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--footer-desc-color);
}

.price-name {
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 8px;
}
.price-amount {
  font-weight: 800;
  font-size: 36px;
  color: var(--text);
  line-height: 1;
}
.price-period {
  font-size: 14px;
  color: var(--footer-desc-color);
  margin-top: 4px;
  margin-bottom: 20px;
}
.price-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-features li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.price-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #FED63E;
  border-radius: 50%;
  flex-shrink: 0;
}
.price-features li.locked {
  color: var(--footer-desc-color);
  opacity: 0.5;
}
.price-features li.locked::before {
  background: var(--footer-desc-color);
}

/* Trial banner */
.trial-banner {
  background: var(--reviews-bg);
  border-radius: 20px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.trial-banner-text {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}
.trial-banner-price {
  font-weight: 800;
  font-size: 24px;
  color: var(--text);
}
[data-theme="dark"] .trial-banner-price {
  color: #FED63E;
}
@media (max-width: 680px) {
  .trial-banner { flex-direction: column; text-align: center; padding: 20px; }
}

/* Section titles for content pages */
.section-title {
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  margin: 48px 0 20px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--badge-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--badge-bg);
  transition: border-color 0.2s;
}
.faq-item:hover {
  border-color: #FED63E;
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--footer-desc-color);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item .faq-answer {
  padding: 0 20px 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--footer-desc-color);
}

/* Info box */
.info-box {
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--reviews-bg);
  border-left: 3px solid #FED63E;
  margin: 20px 0;
}
.info-box p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

/* Notice box (blue) */
.notice-box {
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--reviews-bg);
  border-left: 3px solid #24A1DE;
  margin: 20px 0;
}
.notice-box p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 680px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s;
}
.contact-card:hover {
  border-color: #FED63E;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
[data-theme="dark"] .contact-icon { background: #fff; color: #000; }
.contact-label {
  font-size: 13px;
  color: var(--footer-desc-color);
}
.contact-value {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }
[data-theme="dark"] .btn-primary { background: #FED63E; color: #000; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--badge-bg);
  color: var(--text);
  border: 1px solid var(--badge-border);
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: #FED63E; }

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checklist li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  padding-left: 28px;
  position: relative;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: #FED63E;
  border-radius: 50%;
}

/* Terms/legal pages */
.legal-hero {
  background: var(--reviews-bg);
  border-radius: 20px;
  padding: 40px 48px;
  margin-bottom: 40px;
}
.legal-hero h1 {
  font-weight: 700;
  font-size: 28px;
  color: var(--text);
  margin-bottom: 8px;
}
.legal-hero p {
  font-size: 15px;
  color: var(--footer-desc-color);
  line-height: 1.5;
  margin: 0;
}
.legal-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--footer-desc-color);
}
.legal-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 680px) {
  .legal-hero { padding: 28px 24px; border-radius: 16px; }
  .legal-hero h1 { font-size: 22px; }
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 40px 60px;
}
.legal-content h2 {
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin: 40px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--badge-border);
}
.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}
.legal-content h3 {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin: 24px 0 8px;
}
.legal-content p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 12px;
}
.legal-content ul, .legal-content ol {
  padding-left: 24px;
  margin-bottom: 12px;
}
.legal-content li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 6px;
}
.legal-content a {
  color: #24A1DE;
  text-decoration: none;
}
.legal-content a:hover {
  text-decoration: underline;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.legal-content th, .legal-content td {
  padding: 10px 14px;
  border: 1px solid var(--badge-border);
  font-size: 14px;
  text-align: left;
  color: var(--text);
}
.legal-content th {
  background: var(--reviews-bg);
  font-weight: 600;
}

/* AI modes table */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 40px;
}
@media (max-width: 1024px) { .modes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .modes-grid { grid-template-columns: 1fr; } }

.mode-card {
  padding: 20px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 16px;
}
.mode-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 6px;
}
.mode-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--footer-desc-color);
}

/* CTA section */
.cta-section {
  background: var(--reviews-bg);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}
.cta-section h2 {
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 15px;
  color: var(--footer-desc-color);
  margin-bottom: 24px;
}
@media (max-width: 680px) {
  .cta-section { padding: 28px 20px; }
  .cta-section h2 { font-size: 20px; }
}
