/* ══════════════════════════════════════════
   SHARED SITE STYLES
   Used across all redesigned public pages
══════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --blue: #1a6ef5;
  --blue-dark: #0d5ee0;
  --navy: #0f1c3f;
  --text: #1a2340;
  --muted: #5a6580;
  --border: #e4e9f2;
  --bg: #f5f7fa;
  --white: #fff;
}

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(160deg, var(--navy) 0%, #162d6e 55%, #1a3a8a 100%);
  padding: 72px 40px 80px; text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.page-header::after {
  content: ''; position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,110,245,.25) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(26,110,245,.18); border: 1px solid rgba(26,110,245,.35);
  color: #7fb5ff; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 18px;
}
.page-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 6px #34d399;
}
.page-header h1 {
  font-size: clamp(30px, 4vw, 48px); font-weight: 800; color: var(--white);
  letter-spacing: -.02em; line-height: 1.1; margin-bottom: 14px;
}
.page-header p {
  font-size: 16px; color: rgba(255,255,255,.55); line-height: 1.7;
}

/* ── CTA BUTTONS ── */
.btn-cta-primary {
  background: var(--blue); color: var(--white); padding: 13px 32px; border-radius: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(26,110,245,.4);
  text-decoration: none; display: inline-block;
}
.btn-cta-primary:hover {
  background: var(--blue-dark); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,110,245,.5); color: var(--white); text-decoration: none;
}
.btn-cta-ghost {
  background: transparent; color: rgba(255,255,255,.7);
  border: 1.5px solid rgba(255,255,255,.2); padding: 13px 32px; border-radius: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: all .15s; text-decoration: none; display: inline-block;
}
.btn-cta-ghost:hover {
  border-color: rgba(255,255,255,.5); color: var(--white);
  background: rgba(255,255,255,.07); text-decoration: none;
}
.btn-cta-outline {
  background: transparent; color: var(--blue); border: 1.5px solid var(--blue);
  padding: 13px 32px; border-radius: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: all .15s; text-decoration: none; display: inline-block;
}
.btn-cta-outline:hover { background: var(--blue); color: var(--white); text-decoration: none; }

/* ── CTA LAYOUT ── */
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }

/* ── SIDEBAR COMPONENTS (shared: FAQ + Legal) ── */
.sidebar-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #b0b8cc; margin-bottom: 12px; padding-left: 14px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 9px;
  font-size: 13px; font-weight: 600; color: var(--muted); transition: background .15s, color .15s;
}
.sidebar-link:hover { background: var(--white); color: var(--navy); }
.sidebar-link.active {
  background: var(--white); color: var(--blue); box-shadow: 0 2px 10px rgba(26,110,245,.08);
}
.sidebar-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--border);
  flex-shrink: 0; transition: background .15s;
}
.sidebar-link.active .sidebar-dot,
.sidebar-link:hover .sidebar-dot { background: var(--blue); }
.sidebar-help {
  margin-top: 20px; background: var(--navy); border-radius: 14px;
  padding: 20px 18px; position: relative; overflow: hidden;
}
.sidebar-help::after {
  content: ''; position: absolute; bottom: -60px; right: -60px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,110,245,.3) 0%, transparent 70%);
}
.sidebar-help-title { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 6px; position: relative; }
.sidebar-help-desc { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.6; margin-bottom: 14px; position: relative; }
.sidebar-help-btn {
  display: inline-block; background: var(--blue); color: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 8px; position: relative; transition: background .15s;
}
.sidebar-help-btn:hover { background: var(--blue-dark); }

/* ── PRICING GRID + PLAN CARDS (shared: main + pricing pages) ── */
.pricing-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.plan-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px 24px;
    position: relative;
    transition: box-shadow .25s, border-color .25s, transform .25s;
}

.plan-card:hover {
    box-shadow: 0 12px 40px rgba(26,110,245,.1);
    transform: translateY(-4px);
}

.plan-card.featured {
    border-color: var(--blue);
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 20px 60px rgba(26,110,245,.25);
    transform: translateY(-8px);
}

.plan-badge {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.plan-name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--blue);
    margin-bottom: 10px;
}

.plan-card.featured .plan-name { color: #5ca0ff; }

.plan-price {
    font-size: 40px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -.03em;
}

.plan-card.featured .plan-price { color: var(--white); }

.plan-price sup {
    font-size: 18px;
    font-weight: 700;
    vertical-align: super;
    letter-spacing: 0;
}

.plan-cents { font-size: 20px; font-weight: 600; }

.plan-period {
    font-size: 13px;
    color: #8a94aa;
    margin-bottom: 24px;
}

.plan-card.featured .plan-period { color: #8fa5cc; }

.plan-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 20px;
}

.plan-card.featured .plan-divider { background: rgba(255,255,255,.1); }

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    padding-left: 0;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    color: #374060;
    line-height: 1.4;
}

.plan-card.featured .plan-features li { color: #c8d8f0; }

.plan-features li::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='8' fill='%231a6ef5' fill-opacity='.12'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%231a6ef5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
}

.plan-card.featured .plan-features li::before {
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='8' fill='%235ca0ff' fill-opacity='.2'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%235ca0ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
}

.plan-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    text-decoration: none;
    border: none;
}

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

.plan-btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

.plan-btn-solid {
    background: var(--blue);
    color: var(--white);
}

.plan-btn-solid:hover {
    background: var(--blue-dark);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(26,110,245,.35);
}

.plan-btn-white {
    background: var(--white);
    color: var(--blue);
}

.plan-btn-white:hover { background: #e8f0ff; }

@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .plan-card.featured { transform: none; }
}

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

/* ── NAV ── */
nav.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 8px 14px;
    border-radius: 8px;
    transition: color .15s, background .15s;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--navy);
    background: var(--bg);
    text-decoration: none;
}

.nav-btn {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--blue);
    padding: 9px 20px;
    border-radius: 9px;
    transition: background .15s, transform .15s;
    text-decoration: none;
}

.nav-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    color: var(--white);
    text-decoration: none;
}

/* ── FOOTER ── */
footer.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .5);
    font-family: 'Inter', sans-serif;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 40px 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    text-decoration: none;
}

.footer-brand img {
    height: 28px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: .85;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
    max-width: 260px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    padding: 7px 14px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, .08);
    transition: color .15s, border-color .15s, background .15s;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .05);
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .3);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .35);
    transition: color .15s;
    text-decoration: none;
}

.footer-legal a:hover { color: rgba(255, 255, 255, .7); }

.footer-email {
    font-size: 12px;
    color: rgba(255, 255, 255, .3);
    margin-top: 10px;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .page-header { padding: 56px 20px 64px; }
  .footer-inner { padding: 40px 20px 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    nav.site-nav { padding: 0 20px; }
    .nav-link { display: none; }
}
@media (min-width: 641px) {
    nav.site-nav { padding: 0 40px; }
    .hero-btn-doc-mobile { display: none; }
}
@media (max-width: 560px) {
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions a { text-align: center; }
}
