/* ============================================================
   PBX Monitor — Marketing Website Stylesheet
   Font: Plus Jakarta Sans (body) + Inter (display)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #ffffff;
  --surface:   #f8fafc;
  --border:    #e2e8f0;
  --ink:       #0f172a;
  --ink2:      #1e293b;
  --muted:     #64748b;
  --accent:    #3b82f6;
  --accent2:   #6366f1;
  --green:     #10b981;
  --amber:     #f59e0b;
  --red:       #ef4444;
  --purple:    #8b5cf6;
  --radius:    14px;
  --shadow:    0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.13);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  font-size: 16px; color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1,h2,h3,h4,h5 { font-family: 'Inter', sans-serif; line-height: 1.2; color: var(--ink); }
p { color: var(--muted); line-height: 1.7; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none; border: 2px solid transparent;
  transition: all 0.2s ease; font-family: 'Outfit', sans-serif; white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; border-color: transparent; box-shadow: 0 4px 16px rgba(59,130,246,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,130,246,0.45); }
.btn-ghost { background: transparent; color: var(--ink2); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); border-color: var(--accent); color: var(--accent); }
.btn-white { background: #fff; color: var(--ink2); border-color: transparent; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-ghost-white { background: transparent; color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.3); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-full { width: 100%; justify-content: center; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-family: 'Inter', sans-serif; color: var(--ink); text-decoration: none; font-weight: 700; }
.logo--white { color: rgba(255,255,255,0.9); }
.logo-icon { width: 34px; height: 34px; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.nav-links { display: flex; list-style: none; gap: 4px; margin-left: auto; }
.nav-links a { display: block; padding: 7px 14px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; border-radius: 8px; transition: color 0.15s, background 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--surface); }
.nav-cta { margin-left: 8px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; font-size: 20px; color: var(--ink); }
.nav-mobile { display: none; flex-direction: column; gap: 2px; padding: 0 24px 16px; border-top: 1px solid var(--border); }
.nav-mobile a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 8px; }
.nav-mobile a:hover { background: var(--surface); }
.nav-mobile.open { display: flex; }

.hero { padding: 148px 0 100px; text-align: center; position: relative; overflow: hidden; }
.hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 48px 48px; opacity: 0.4; pointer-events: none; }
.hero-glow { position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 65%); pointer-events: none; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.2); color: var(--accent); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 28px; }
.badge-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); } 50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); } }
.hero-title { font-family: 'Inter', sans-serif; font-size: clamp(2.8rem, 5.5vw, 4.4rem); font-weight: 800; color: var(--ink); margin-bottom: 24px; letter-spacing: -0.02em; }
.hero-title em { font-style: normal; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { max-width: 580px; margin: 0 auto 36px; font-size: 1.1rem; color: var(--muted); line-height: 1.7; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: inline-flex; align-items: center; gap: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 40px; }
.stat-item { text-align: center; }
.stat-num { display: block; font-family: 'Inter', sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--ink); }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.compat { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.compat-label { text-align: center; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 20px; }
.compat-logos { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.compat-logo { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.compat-logo i { color: var(--accent); }

.section-label { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.2); padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.section-title { font-family: 'Inter', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--ink); margin-bottom: 16px; letter-spacing: -0.02em; }
.section-sub { max-width: 520px; font-size: 1.05rem; color: var(--muted); margin-bottom: 52px; }

.features { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.feature-card--large { grid-column: span 2; }
@media (max-width: 700px) { .feature-card--large { grid-column: span 1; } }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow 0.2s, transform 0.2s; }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; }
.feature-card h3 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.feature-list { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.feature-list li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink2); }
.feature-list li i { color: var(--green); font-size: 12px; }

.how { padding: 80px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how .section-title { margin-bottom: 52px; }
.how-steps { display: flex; align-items: flex-start; gap: 0; justify-content: center; flex-wrap: wrap; }
.how-step { max-width: 240px; text-align: center; padding: 0 20px; }
.step-num { font-family: 'Inter', sans-serif; font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 14px; opacity: 0.4; }
.how-step h4 { font-size: 1rem; margin-bottom: 10px; color: var(--ink); }
.how-step p { font-size: 13.5px; }
.how-arrow { font-size: 20px; color: var(--border); padding: 0 8px; margin-top: 12px; }

.ai-spotlight { padding: 100px 0; }
.ai-spotlight-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 800px) { .ai-spotlight-inner { grid-template-columns: 1fr; } }
.ai-spotlight-text h2 { font-family: 'Inter', sans-serif; font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; color: var(--ink); }
.ai-spotlight-text p { font-size: 1rem; color: var(--muted); margin-bottom: 28px; }
.ai-examples { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.ai-examples li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink2); background: var(--surface); border: 1px solid var(--border); padding: 10px 16px; border-radius: 10px; }
.ai-examples li i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.ai-chat-mockup { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: linear-gradient(135deg, #1e40af, #312e81); color: #fff; }
.chat-avatar { width: 38px; height: 38px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.chat-name { font-weight: 700; font-size: 14px; }
.chat-status { font-size: 11px; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.live-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
.chat-messages { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.6; max-width: 88%; }
.chat-msg.user { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg.bot { background: #fff; border: 1px solid var(--border); color: var(--ink2); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-input-row { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border); }
.chat-input-placeholder { flex: 1; font-size: 13px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; }
.chat-input-row button { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); border: none; color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; cursor: default; }

.page-hero { padding: 130px 0 64px; text-align: center; background: var(--surface); border-bottom: 1px solid var(--border); }
.page-hero-title { font-family: 'Inter', sans-serif; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; color: var(--ink); margin-bottom: 16px; letter-spacing: -0.02em; }
.page-hero-sub { font-size: 1.05rem; max-width: 560px; margin: 0 auto; color: var(--muted); }

.pricing-section { padding: 80px 0 100px; }
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 40px; }
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px 18px; position: relative; transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; gap: 4px; }
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pricing-card--featured { border-color: var(--accent); background: #fff; box-shadow: 0 8px 40px rgba(59,130,246,0.15); }
.pricing-card--enterprise { border-color: var(--border); background: var(--ink2); color: #fff; }
.pricing-card--enterprise .pricing-tier, .pricing-card--enterprise .pricing-range, .pricing-card--enterprise .pricing-desc, .pricing-card--enterprise .pricing-features li { color: rgba(255,255,255,0.75); }
.pricing-card--enterprise h3 { color: #fff; }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }
.pricing-tier { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--ink); margin-top: 8px; }
.pricing-range { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 6px; }
.pricing-price .price-num { font-family: 'Inter', sans-serif; font-size: 2rem; font-weight: 800; color: var(--ink); }
.pricing-price .price-mo { font-size: 14px; color: var(--muted); }
.pricing-price-contact { font-family: 'Inter', sans-serif; font-size: 1.8rem; font-weight: 800; color: #fff; margin: 10px 0 6px; }
.pricing-desc { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 7px; flex: 1; margin-bottom: 22px; }
.pricing-features li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink2); }
.pricing-features li i { color: var(--green); font-size: 11px; }
.pricing-note { background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.15); border-radius: 10px; padding: 14px 20px; font-size: 13px; color: var(--muted); display: flex; gap: 10px; margin-bottom: 60px; }
.pricing-note i { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.faq-section { padding-top: 20px; }
.faq-title { font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 800; margin-bottom: 32px; color: var(--ink); }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.faq-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.faq-item p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

.contact-section { padding: 80px 0 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 { font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 800; margin-bottom: 14px; color: var(--ink); }
.contact-info > p { font-size: 14px; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-item-icon { width: 40px; height: 40px; background: rgba(59,130,246,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 16px; flex-shrink: 0; }
.contact-item-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.contact-item-val { font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-reasons { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.contact-reasons-title { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.contact-reasons ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.contact-reasons li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink2); }
.contact-reasons li i { color: var(--green); font-size: 11px; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 36px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink2); }
.form-group input, .form-group select, .form-group textarea { padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 14px; font-family: 'Outfit', sans-serif; color: var(--ink); background: #fff; transition: border-color 0.2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { display: flex; align-items: center; gap: 10px; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25); color: var(--green); border-radius: 10px; padding: 14px 18px; font-weight: 600; font-size: 14px; }

.cta-banner { background: linear-gradient(135deg, #1e40af 0%, #312e81 100%); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 48px 48px; }
.cta-banner h2 { font-family: 'Inter', sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

.footer { background: var(--ink2); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links h5 { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 24px 28px; }
  .stat-divider { width: 40px; height: 1px; }
  .how-steps { flex-direction: column; align-items: center; }
  .how-arrow { transform: rotate(90deg); }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
/* ── BoltLogic footer note ───────────────────────────────── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-boltlogic {
  font-size: 12px !important;
  color: rgba(255,255,255,0.22) !important;
}
.footer-boltlogic a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-boltlogic a:hover { color: rgba(255,255,255,0.7); }

/* ── Compat brand badges ─────────────────────────────────── */
.compat-logo--yeastar,
.compat-logo--3cx {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 10px;
}
.compat-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  flex-shrink: 0;
}
.yeastar-icon {
  width: 34px;
  height: 34px;
  background: #e8371e;
  color: #fff;
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -1px;
}
.threecx-icon {
  width: 40px;
  height: 34px;
  background: #0c3f6e;
  color: #fff;
  font-size: 9px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
  border-radius: 8px;
}
.compat-brand-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink2);
  line-height: 1.2;
}
.compat-brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
