/* pages.css — shared styles for all inner pages */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:    #C0392B;
  --red-dk: #962d22;
  --navy:   #1A2B4A;
  --navy-dk:#0F1B2E;
  --gold:   #D4820A;
  --gold-lt:#F9A825;
  --bg:     #FFFFFF;
  --bg2:    #F5F7FA;
  --bg3:    #EEF1F7;
  --txt:    #1A2038;
  --sub:    #5A657D;
  --bdr:    #DDE3EE;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.65;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--navy-dk);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #fff;
}
.logo img { width: 34px; height: 34px; border-radius: 7px; }
.logo-name { font-weight: 800; font-size: 1rem; }
.logo-name span { color: var(--gold-lt); }
nav { display: flex; align-items: center; gap: 28px; }
nav a {
  color: #9AADCC;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color .2s;
}
nav a:hover { color: #fff; }
.header-cta {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: 7px;
  text-decoration: none;
  transition: background .2s;
}
.header-cta:hover { background: var(--red-dk); }

/* ── PAGE HERO ── */
.page-hero {
  padding: 52px 40px 44px;
}
.page-hero-inner { max-width: 900px; margin: 0 auto; }
.breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.page-hero p { color: #7A9ABB; font-size: 1rem; }

/* ── MAIN CONTENT ── */
.page-main {
  padding: 56px 40px 72px;
}
.page-content {
  max-width: 780px;
  margin: 0 auto;
}

/* Typography */
.page-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-dk);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg2);
}
.page-content h2:first-child { margin-top: 0; }
.page-content p { font-size: 0.95rem; color: var(--sub); margin-bottom: 14px; }
.page-content a { color: var(--red); text-decoration: underline; }
.page-content a:hover { color: var(--red-dk); }
.page-content ul, .page-content ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.page-content li {
  font-size: 0.94rem;
  color: var(--sub);
  margin-bottom: 6px;
}
.page-content strong { color: var(--txt); }
.page-content code {
  background: var(--bg2);
  color: var(--red);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.82em;
  font-family: monospace;
}

/* Info Box */
.info-box {
  background: #FEF9EE;
  border: 1px solid #F9C84A;
  border-left: 4px solid var(--gold-lt);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #6B5800;
  margin-bottom: 28px;
}
.info-box p { margin: 0; color: inherit; font-size: inherit; }

/* CTA Box */
.cta-box {
  background: linear-gradient(145deg, #0F1B2E 0%, #1A304A 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 44px 32px;
  text-align: center;
  margin-top: 48px;
  box-shadow: 0 16px 40px rgba(15, 27, 46, 0.25);
}
.cta-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 10px;
}
.page-content .cta-box p,
.cta-box p {
  color: #9AADCC !important;
  font-size: 0.98rem;
  margin-bottom: 24px;
  line-height: 1.6;
}
.page-content .cta-box a.btn-red,
.cta-box a.btn-red,
.cta-box .btn-red {
  color: #ffffff !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.page-content .cta-box a.btn-red:hover,
.cta-box a.btn-red:hover,
.cta-box .btn-red:hover {
  background: var(--red-dk);
  transform: translateY(-2px);
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.5);
}

/* About page */
.about-intro {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg2);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 36px;
  border: 1px solid var(--bdr);
}
.about-logo { width: 64px; height: 64px; border-radius: 14px; flex-shrink: 0; }
.about-intro h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-dk);
  margin: 0 0 4px;
  border: none;
  padding: 0;
}
.about-tagline { color: var(--sub); font-size: 0.92rem; }

/* Contact page list layout */
.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.contact-row-card {
  background: var(--bg2);
  border: 1px solid var(--bdr);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-row-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(192, 57, 43, 0.05);
}
.contact-row-icon {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid var(--bdr);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-row-info {
  flex: 1;
}
.contact-row-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dk);
  margin-bottom: 4px;
}
.contact-row-info p {
  font-size: 0.88rem;
  color: var(--sub);
  margin: 0;
}
.contact-row-btn {
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.contact-row-btn.btn-red {
  background: var(--red);
  color: #fff !important;
}
.contact-row-btn.btn-red:hover {
  background: var(--red-dk);
}
.contact-row-btn.btn-outline {
  border: 1.5px solid var(--red);
  color: var(--red) !important;
  background: #fff;
}
.contact-row-btn.btn-outline:hover {
  background: var(--red);
  color: #fff !important;
}
.contact-row-btn.email-btn {
  font-family: monospace;
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .contact-row-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .contact-row-btn {
    width: 100%;
  }
}

/* ── FOOTER ── */
footer, .footer {
  background: var(--navy-dk);
  padding: 56px 40px 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto 36px;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 280px;
  flex-shrink: 0;
}
.footer-brand img { width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0; }
.footer-brand-name {
  font-weight: 800;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.footer-brand-sub { font-size: 0.8rem; color: #7A9ABB; line-height: 1.45; }
.footer-cols, .footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 32px;
  flex: 1;
}
.footer-col, .footer-links-grid > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6B8BB0;
  margin-bottom: 4px;
}
footer a, .footer-links-grid a {
  font-size: 0.85rem;
  color: #A0C0E0;
  text-decoration: none;
  transition: color .2s ease;
}
footer a:hover, .footer-links-grid a:hover { color: #fff; }
.footer-bottom {
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #6B8BB0;
}

@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-cols, .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
}
@media (max-width: 480px) {
  .footer-cols, .footer-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar { padding: 0 18px; }
  nav { display: none; }
  .page-hero { padding: 40px 20px 32px; }
  .page-main { padding: 40px 20px 52px; }
  .footer { padding: 36px 20px 24px; }
  .footer-links-grid { gap: 28px; }
  .about-intro { flex-direction: column; text-align: center; }
}

/* ── PRICING ──────────────────────────────────── */
.pricing-bg { background: var(--bg2); }
.pricing-tabs-wrapper {
  text-align: center;
  margin-bottom: 36px;
}
.pricing-tabs {
  display: inline-flex;
  background: var(--bg3);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--bdr);
}
.pricing-tab-btn {
  background: transparent;
  border: none;
  color: var(--sub);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.pricing-tab-btn.active {
  background: #fff;
  color: var(--navy-dk);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.price-grid {
  display: none;
  gap: 20px;
}
.price-grid.active {
  display: grid;
}
#pricing-credits-grid {
  grid-template-columns: repeat(4, 1fr);
}
#pricing-unlimited-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 990px) {
  #pricing-credits-grid { grid-template-columns: repeat(2, 1fr); }
  #pricing-unlimited-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  #pricing-credits-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  #pricing-unlimited-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}
.price-card {
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  padding: 32px 26px;
  text-align: center;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.09); }
.price-card.pop {
  border-color: var(--red);
  box-shadow: 0 6px 28px rgba(192,57,43,.12);
}
.pop-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.price-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--sub);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 0.82rem;
}
.price-amt {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--navy-dk);
  letter-spacing: -1px;
}
.price-amt .cur { font-size: 1.4rem; vertical-align: top; margin-top: 8px; display: inline-block; color: var(--red); }
.price-credits { font-size: 0.82rem; color: var(--sub); margin: 4px 0 6px; }
.price-rate { font-size: 0.82rem; color: #16A34A; font-weight: 600; margin-bottom: 24px; }
.price-cta {
  display: block;
  padding: 11px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.price-cta.solid { background: var(--red); color: #fff; }
.price-cta.solid:hover { background: var(--red-dk); }
.price-cta.ghost {
  border: 1.5px solid var(--bdr);
  color: var(--sub);
}
.price-cta.ghost:hover { border-color: var(--red); color: var(--red); }

