:root {
  --accentb: #0b4ea2;
  --bg: #f6f8fb;
  --card: #ffffff;
  --muted: rgb(75, 85, 90);
  --text: #071524;
  --radius: 10px;
  --focus: rgba(11, 78, 162, 0.18);
  /* new gradient vars inspired by logo */
  /* --bg-gradient: linear-gradient(
                              135deg,
                              rgba(11, 78, 162, 0.06) 0%,
                              rgba(6, 96, 168, 0.04) 25%,
                              rgba(255, 255, 255, 0.98) 60%
                          ); */
  /* Option A — "Blue Ribbon" (subtle cool blue -> white) */
  /* good for corporate, high contrast with cards */
  /* --bg-gradient: linear-gradient(
                              135deg,
                              rgba(11, 78, 162, 0.07) 0%,
                              rgba(6, 96, 168, 0.04) 30%,
                              rgba(255, 255, 255, 0.98) 70%
                          ); */

  /* Option B — "Teal Wave" (soft teal / aqua) */
  /* friendly, modern tone */
  /* --bg-gradient: linear-gradient(
                              120deg,
                              rgba(3, 155, 152, 0.06) 0%,
                              rgba(3, 169, 162, 0.04) 35%,
                              rgba(255, 255, 255, 0.98) 75%
                          ); */

  /* Option C — "Warm Sunrise" (warm coral -> peach) */
  /* inviting, good for lighter brand vibes */
  /* --bg-gradient: linear-gradient(
                              135deg,
                              rgba(255, 99, 71, 0.06) 0%,
                              rgba(255, 159, 67, 0.04) 30%,
                              rgba(255, 255, 255, 0.98) 70%
                          ); */
  /* layered: soft base gradient + thin repeating diagonal lines */
  /* --bg-gradient: linear-gradient(
                        135deg,
                        rgba(11, 78, 162, 0.06) 0%,
                        rgba(255, 255, 255, 0.98) 70%
                    ),
                    repeating-linear-gradient(
                        135deg,
                        rgba(11, 78, 162, 0.025) 0px,
                        rgba(11, 78, 162, 0.025) 1px,
                        transparent 1px,
                        transparent 14px
                    ); */

  --bg-accent: linear-gradient(
    180deg,
    rgba(11, 78, 162, 0.06),
    rgba(6, 96, 168, 0.03)
  );
}

.text-primary {
  color: hsl(210, 100%, 70%) !important;
}
html {
  container-type: size;
  container-name: element;
}
@container element (height > 100px) {
  .custom-pg {
    /* height = 100% of container query height */
    height: 100cqh;
  }
}

.custom-pg {
  min-height: 100vh;
  max-width: 100vw;
  margin: 0;
  font-size: 1rem !important; /* base font size 16px */
  color: var(--text) !important;
  font-family: 'Noto Sans', sans-serif !important;
  font-variation-settings: 'wdth' 100 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.custom-pg:not(.card) {
  background: var(--bg) !important;
}

.custom-pg .wrap {
  height: 100%;
  width: 100%;
  /* font-size: 1.125rem; */
  margin: 0 auto;
  padding: 0 0 0.75rem 0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(11, 78, 162, 0.06);
}

/* Header inspired by conventionalcommits.org: left brand + middle nav + right CTAs */
.custom-pg header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dadce0;
  padding: 0.5rem 2rem;
  gap: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  background: white;
}

.custom-pg header .brand {
  display: flex;
  align-items: start;
  gap: 16px;
}

.custom-pg .logo-img-container {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: right;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(11, 78, 162, 0.12);
  background: linear-gradient(135deg, var(--accentb), #0660a8);
  cursor: pointer;
}
/* .logo-img {
  width: 60px;
  height: 60px;
  display: block;
} */

.custom-pg .title {
  font-family: inherit;
  color: var(--accentb);
}

.custom-pg .wrap .brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.custom-pg .wrap .brand-title .title {
  margin: 2px 0 0;
  font-size: 1.3rem; /* 21px */
  font-weight: 700;
  color: var(--accentb);
}
.custom-pg .wrap .brand-title .tag {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 8px;
}

.custom-pg .wrap header nav.primary-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: 24px;
  flex: 1;
  justify-content: center;
}
.custom-pg .wrap header nav.primary-nav a,
.custom-pg .wrap header nav.primary-nav button {
  color: var(--text) !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 8px;
}

.custom-pg .wrap header nav.primary-nav button.cta {
  min-width: 217px;
  border: solid 1px var(--accentb);
  border-radius: 1rem;
  padding: 0.5rem;
}

.custom-pg .wrap header nav.primary-nav a:hover,
.custom-pg .wrap header nav.primary-nav button:hover {
  background: rgba(11, 78, 162, 0.04);
  color: var(--accentb);
}

.custom-pg .header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.custom-pg .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  background-color: var(--accentb) !important;
  color: #fff;
  font-size: 14px;
}
.custom-pg .btn.secondary {
  background: transparent;
  color: var(--accentb);
  border: 1px solid rgba(11, 78, 162, 0.12);
  font-weight: 600;
}
.custom-pg .btn.ghost {
  background: transparent;
  color: var(--accentb);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.custom-pg .btn:focus {
  outline: 1px solid var(--focus);
  outline-offset: 2px;
}

/* rest of page kept from previous design */
.custom-pg .controls {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  align-items: center;
}
.custom-pg .features {
  display: flex;
  flex-direction: row;
  max-width: 80vw;
  gap: 18px;
  padding: 2rem 3rem;
  margin: 0 auto;
  justify-self: center;
  flex-wrap: wrap;
}

.custom-pg .card {
  flex: 1;
  min-width: 260px;
  background: #fbfdff;
  border-radius: 10px;
  padding: 14px;
  border: 1px solid rgba(11, 78, 162, 0.04);
}
.custom-pg .features .card--left {
  background: linear-gradient(
    180deg,
    rgba(11, 78, 162, 0.04),
    rgba(11, 78, 162, 0.02)
  );
  border-left: 6px solid var(--accentb);
  padding: 18px;
  box-shadow: 0 6px 18px rgba(11, 78, 162, 0.03);
}
.custom-pg .features .card:nth-child(2) {
  flex-grow: 1;
}
.custom-pg .card strong {
  /* display: block; */
  margin-bottom: 8px;
  color: #083a66;
  font-size: 1.015rem;
  font-weight: 700;
}
.custom-pg .features-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.custom-pg .features-list li {
  font-size: 0.95rem;
  position: relative;
  padding-left: 46px;
  color: #0b3650;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0)
  );
  border-radius: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  border: 1px solid rgba(11, 78, 162, 0.03);
}
.custom-pg .features-list li::before {
  content: '✔';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accentb);
  font-weight: 700;
  background: rgba(11, 78, 162, 0.08);
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(11, 78, 162, 0.04);
  font-size: 13px;
}
.custom-pg .features-list li span.meta {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}

.custom-pg .sample-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.chip {
  margin: 2px 0;
  padding: 10px 12px !important;
  /* border-radius: 999px; */
  border: 1px solid rgba(11, 78, 162, 0.06);
  cursor: pointer;
  /* font-size: 13px; */
  font-weight: 600;
  white-space: wrap !important;
  text-align: left !important;
  background: #eef6ff;
  color: var(--accentb);
}
.chip:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.custom-pg .search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.custom-pg .search-box div {
  flex: 1;
  height: 50px;
  padding: 5px 6px;
  border-radius: 8px;
  border: 1px solid #e6e9ee;
  font-size: 0.875rem;
  align-content: center;
}
.custom-pg .search-box div:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

#demoCard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}
#demoArea {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
#demoPanel {
  flex: 1;
  min-width: 260px;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid rgba(11, 78, 162, 0.04);
}
#demoInputDisplay {
  background: #f7fbff;
  border: 1px dashed rgba(11, 78, 162, 0.06);
  padding: 12px;
  border-radius: 8px;
  min-height: 56px;
  font-size: 15px;
  color: #0b375a;
  white-space: pre-wrap;
  word-break: break-word;
  position: relative;
  overflow: hidden;
}
#demoCaret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accentb);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.custom-pg .demo-controls {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
}
.custom-pg .small {
  padding: 8px 10px;
  /* font-size: 13px; */
  border-radius: 8px;
}
.custom-pg .ghost {
  background: transparent;
  border: 1px solid rgba(11, 78, 162, 0.08);
}
#demoVideo {
  border-radius: 8px;
  max-width: 360px;
  border: 1px solid #e6eefb;
  display: none;
}

#chatFrame {
  width: 100%;
  height: 640px;
  border: 1px solid #e6e9ee;
  border-radius: 8px;
  display: none;
  margin-top: 18px;
}
.custom-pg footer {
  /* display: flex; */
  width: 100%;
  margin-top: 0;
  font-size: 13px;
  color: var(--muted);
}

.custom-pg footer div {
  /* margin: 1rem 1.2rem; */
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
li {
  margin-top: 0.25rem;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.custom-pg .botsim {
  min-height: 230px;
  padding-top: 0.65rem;
  background-color: rgba(11, 78, 162, 0.02);
  border-bottom: 6px solid var(--accentb);
  border-radius: 10px;
}

@media (max-width: 1360px) {
  .custom-pg .features {
    max-width: 100%;
    padding: 1rem 0;
  }
}

@media (max-width: 920px) {
  .custom-pg .wrap header nav.primary-nav {
    display: none;
  }

  .custom-pg .wrap header .header-cta button:not(#user-nav-button):not(:hover) {
    border: solid 1px var(--accentb);
    color: var(--accentb);
  }

  .custom-pg .wrap header .brand-title .title {
    font-size: 1rem;
  }
  .custom-pg .wrap header .logo {
    width: 48px;
    height: 48px;
  }
  .custom-pg .wrap header .logo-img {
    width: 34px;
    height: 34px;
  }
  .custom-pg .wrap {
    padding: 18px;
  }

  .custom-pg .features {
    flex-direction: column-reverse;
    flex-wrap: nowrap;
  }

  .intro {
    font-size: 0.9rem !important;
  }

  .custom-pg .wrap .brand-title .tag {
    font-size: 0.9rem;
  }
  .sample-questions + form.search-box {
    flex-direction: column;
  }
  .sample-questions + form.search-box #quickQuery {
    width: 100%;
  }

  .chip {
    height: 3rem !important;
  }
}

@media (max-width: 600px) {
  .custom-pg .wrap {
    max-width: 90vw;
    margin: 10px auto;
    padding: 5px;
    font-size: 0.9rem;
  }
  .chip.text-sm {
    font-size: 0.8rem !important;
  }
  .custom-pg .search-box div {
    height: 70px;
    font-size: 0.8rem;
  }
}

@media (max-width: 599px) {
  .chip.text-sm {
    font-size: 0.75rem !important;
  }
}

/* Pricing Plans CSS */

.pricing-container {
  max-width: 80vw;
  padding: 2rem 3rem;
  margin: 0 auto;
}

.pricing-container .intro {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pricing-container .intro :not(h1, h2, h3, h4, h5, h6) {
  font-size: 0.9rem;
}

.pricing-container .intro h1,
.pricing-container .intro h2,
.pricing-container .intro h3,
.pricing-container .intro h4,
.pricing-container .intro h5,
.pricing-container .intro h6 {
  display: inline-flex;
  align-items: center;
  /* color: #1a73e8; */
  font-weight: 500;
  line-height: 2;
  font-size: 1.15rem;
}

.pricing-container.intro p {
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  color: #5f6368;
}

.pricing-container .intro ul {
  list-style: none;
  margin-top: 1rem;
}

.pricing-container .intro li::before {
  content: '•';
  color: #1a73e8;
  font-weight: bold;
  margin-right: 0.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background: white;
  border-radius: 8px;
  border: 1px solid #dadce0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.pricing-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.pricing-card .featured {
  border: 2px solid #1a73e8;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

.pricing-card .card-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e8eaed;
}

.pricing-card .card-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.pricing-card .card-price {
  font-size: 2rem;
  font-weight: 500;
  color: #1a73e8;
  margin-bottom: 0.5rem;
}

.pricing-card .card-price span {
  font-size: 1rem;
  color: #5f6368;
}
.pricing-card .card-description {
  font-size: 0.875rem;
  color: #5f6368;
}

.pricing-card .card-body {
  padding: 0.5rem 1.5rem;
}

.pricing-card .plan-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.pricing-card .plan-features-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e8eaed;
  font-size: 0.95rem;
  color: #3c4043;
}

.pricing-card .plan-features-list li:last-child {
  border-bottom: none;
}

.pricing-card .plan-features-list li::before {
  content: '✓ ';
  color: #1a73e8;
  font-weight: bold;
  margin-right: 0.5rem;
}

.pricing-card .card-footer {
  padding: 1.5rem;
  border-top: 1px solid #e8eaed;
}

.pricing-card .card-footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1.5rem;
  text-align: center;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pricing-card .card-footer .btn-primary {
  background: #1a73e8;
  color: white;
}

.pricing-card .card-footer .btn-primary:hover {
  background: #0043b2;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.custom-pg .pricing-card .card-footer .btn.btn-primary:disabled {
  background-color: #7f8692 !important;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.pricing-card .card-footer.btn-secondary {
  background: #f8f9fa;
  color: #1a73e8;
  border: 1px solid #dadce0;
}

.pricing-card .card-footer .btn-secondary:hover {
  background: #f1f3f4;
  border-color: #cce0fc;
}

.pricing-comparison-section {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pricing-comparison-section .comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.pricing-comparison-section .comparison-table th,
.pricing-comparison-section .comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e8eaed;
}

.pricing-comparison-section .comparison-table th {
  background: #f8f9fa;
  font-weight: 600;
}

.pricing-comparison-section .comparison-table tr:last-child td {
  border-bottom: none;
}

.pricing-comparison-section .feature-name {
  font-weight: 500;
  width: 40%;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card header h1 {
    font-size: 1.5rem;
  }

  .pricing-card .card-price {
    font-size: 1.5rem;
  }
}

/* ===========================================
   LEGAL PAGES (Privacy, Terms, Contact)
   =========================================== */

.legal-page .legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.legal-page .legal-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-align: center;
}

.legal-page .legal-content .last-updated,
.legal-page .legal-content .intro {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.legal-page .legal-content section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(11, 78, 162, 0.08);
}

.legal-page .legal-content section:last-child {
  border-bottom: none;
}

.legal-page .legal-content h2 {
  font-size: 1.25rem;
  font-weight: 500;
  /* color: var(--accentb); */
  margin-bottom: 1rem;
}

.legal-page .legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.25rem 0 0.75rem;
}

.legal-page .legal-content p {
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.legal-page .legal-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page .legal-content ul li {
  line-height: 1.7;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.legal-page .legal-content a {
  color: var(--accentb);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page .legal-content a:hover {
  text-decoration: none;
}

/* Payment Provider Section */
.legal-page .payment-provider {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 2rem;
}

.legal-page .payment-provider h2 {
  margin-bottom: 0.75rem;
}

.legal-page .payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.legal-page .viva-logo {
  height: 40px;
  width: auto;
}

.legal-page .payment-methods {
  height: 32px;
  width: auto;
}

/* Related Links Section */
.legal-page .related-links ul {
  list-style: none;
  margin-left: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.legal-page .related-links li {
  margin-bottom: 0;
}

/* ===========================================
   CONTACT PAGE SPECIFIC
   =========================================== */

.contact-page .contact-container {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 80vw;
  gap: 3rem;
  padding: 2rem 3rem;
  margin: 0 auto;
  /* border: solid 1px var(--accentb); */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border-radius: 0.8rem;
  color: var(--muted);
  /* background: linear-gradient(
    135deg,
    rgba(11, 78, 162, 0.02),
    rgba(6, 96, 168, 0.01)
  ); */
  background: #fff;
}

.contact-page .contact-info {
  border: none;
  padding-bottom: 0;
}

.contact-page .info-block {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
}

.contact-page .info-block h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-page .info-block p {
  margin-bottom: 0.25rem;
}

.contact-page .info-block .note {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-page .contact-form-section {
  border: none;
  padding-bottom: 0;
}

.contact-page .contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-page .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-page .form-group label {
  line-height: 2;
  font-weight: 500;
  color: var(--text);
}

.contact-page .form-group .border-input {
  border-color: #a2a2a2;
}

.contact-page .form-group .bg-background {
  background: var(--card);
}

.contact-page .submit-btn {
  margin-top: 0.5rem;
  background: var(--accentb);
  color: white;
}

.contact-page .submit-btn:hover {
  background: #0a3d82;
}

.contact-page .success-message {
  text-align: center;
  padding: 2rem;
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--radius);
}

.contact-page .success-message h3 {
  color: #16a34a;
  margin-top: 0;
}

.contact-page .error-message {
  text-align: center;
  padding: 1rem;
  background: rgba(239, 68, 68, 0.1);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.contact-page .error-message p {
  color: #dc2626;
  margin: 0;
}

/* FAQ Section */
.contact-page .faq-section {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.contact-page .faq-item {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(11, 78, 162, 0.1);
}

.contact-page .faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-page .faq-item h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.contact-page .faq-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}
.contact-page .faq-item ul {
  list-style: none;
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}
.contact-page .faq-item li::before {
  content: '✔';
  color: var(--accentb);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ===========================================
   CUSTOM FOOTER
   =========================================== */

.custom-footer {
  background: var(--bg);
  padding: 2rem 1.5rem 1rem;
  margin-top: auto;
}

.custom-footer .footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(11, 78, 162, 0.1);
}

.custom-footer .footer-section h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.custom-footer .footer-section p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.custom-footer .footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-footer .footer-section ul li {
  margin-bottom: 0.5rem;
}

.custom-footer .footer-section a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.custom-footer .footer-section ul a:hover {
  color: var(--accentb);
}

.custom-footer .payment-section .payment-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.custom-footer .payment-section .viva-logo {
  height: 28px;
  width: 56px;
}

.custom-footer .payment-section .payment-methods {
  height: auto;
  width: auto;
}

.custom-footer .footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.custom-footer .footer-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.custom-footer .footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.custom-footer .footer-links a:hover {
  color: var(--accentb);
}

.custom-footer .footer-links span {
  color: rgba(11, 78, 162, 0.3);
}

.custom-footer .footer-section.payment-section {
  margin: 0 auto;
  text-align: center;
}

/* Responsive Styles for Legal Pages and Footer */
@media (max-width: 768px) {
  .legal-page .legal-content {
    padding: 1.5rem 1rem;
  }

  .legal-page .legal-content h1 {
    font-size: 1.5rem;
  }

  .contact-page .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .custom-footer .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .custom-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .pricing-container {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .custom-footer .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .custom-footer .payment-section .payment-logos {
    align-items: center;
  }

  .legal-page .related-links ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .legal-page .payment-logos {
    flex-direction: column;
  }
}

/* Guide Page Styles */
.guide-page .guide-content {
  padding: 2rem 3rem;
  max-width: 80vw;
  margin: 0 auto;
}

.guide-page .guide-content h1 {
  font-size: 2rem;
  color: var(--accentb);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.guide-page .guide-content .intro {
  font-size: 1rem;
  padding: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.guide-page .process-section,
.guide-page .features-section,
.guide-page .tips-section,
.guide-page .disclaimer-section {
  margin-bottom: 3rem;
}

.guide-page .guide-content h2 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 700;
  border-bottom: 2px solid rgba(11, 78, 162, 0.1);
  padding-bottom: 0.5rem;
}

.guide-page .steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.guide-page .step-card {
  position: relative;
  border: 1px solid #e5e7eb;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.guide-page .step-card:hover {
  box-shadow: 0 8px 24px rgba(11, 78, 162, 0.1);
  transform: translateY(-2px);
}

.guide-page .step-card.featured {
  color: var(--muted);
  border-color: var(--accentb);
  /* background: linear-gradient(
    135deg,
    rgba(11, 78, 162, 0.02),
    rgba(6, 96, 168, 0.01)
  ); */
  background: #fff;
}
.guide-page .step-card.featured span {
  color: rgb(7, 21, 36);
}

.guide-page .step-number {
  position: absolute;
  top: -12px;
  left: 16px;
  width: 28px;
  height: 28px;
  background: var(--accentb);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.guide-page .step-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.guide-page .example-questions {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
}

.guide-page .example-questions li {
  padding: 0.5rem 0.75rem;
  background: rgba(11, 78, 162, 0.04);
  border-radius: 6px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-style: italic;
}

.guide-page .feature-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
}

.guide-page .feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  color: var(--text);
}

.guide-page .feature-list li svg {
  color: var(--accentb);
  flex-shrink: 0;
}

.guide-page .info-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(11, 78, 162, 0.06);
  border-radius: 8px;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  background-color: rgba(11, 78, 162, 0.04);
}

.guide-page .info-box svg {
  flex-shrink: 0;
}

.guide-page .answer-features {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
}

.guide-page .answer-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  color: var(--text);
}

/* Features Grid */
.guide-page .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.guide-page .feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  transition: transform 0.2s;
}

.guide-page .feature-item:hover {
  transform: translateY(-4px);
}

.guide-page .feature-item svg {
  margin-bottom: 1rem;
  color: var(--accentb);
}

.guide-page .feature-item h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.guide-page .feature-item p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Tips Section */
.guide-page .tips-section .bg-card {
  background-color: #fff;
}

.guide-page .tips-content {
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(11, 78, 162, 0.02),
    rgba(6, 96, 168, 0.01)
  );
  color: rgb(7, 21, 36);
}

.guide-page .tips-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-page .tips-content li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
  line-height: 1.6;
  color: var(--muted);
}

.guide-page .tips-content li:last-child {
  border-bottom: none;
}

.guide-page .tips-content li strong {
  color: var(--accentb);
}

/* Disclaimer */
.guide-page .disclaimer-card {
  border-left: 4px solid #f59e0b;
  background: rgba(245, 158, 11, 0.05);
}

.guide-page .disclaimer-card.text-card-foreground {
  color: var(--muted);
  font-weight: 600;
}

.guide-page .disclaimer-card p {
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 787px) {
  .guide-page .guide-content {
    padding: 0;
  }
}

/* Balance Warning Toast */

.toast span.banner--balance-warning a {
  color: white;
  text-decoration: underline;
}

.toast div[data-content]:has(span.banner--balance-warning) {
  font-size: 0.85rem !important;
}

.toast button:has(~ div[data-content] span.banner--balance-warning) {
  opacity: 1 !important;
  width: 30px !important;
  height: 30px !important;
}

.toast button:has(~ div[data-content] span.banner--balance-warning) svg {
  width: 20px !important;
  height: 20px !important;
}

/* Wave Animation */
@keyframes wave {
  0%,
  100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(3px);
  }
}

button[id='readme-button'] {
  margin-right: 0.5rem;
}
