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

:root {
  --blue: #1a56db;
  --blue-light: #E6F1FB;
  --blue-mid: #185FA5;
  --blue-dark: #0C447C;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --bg: #ffffff;
  --bg-secondary: #F9FAFB;
  --border: rgba(0,0,0,0.1);
  --border-hover: rgba(0,0,0,0.2);
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text-primary); background: var(--bg); font-size: 16px; line-height: 1.6; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--text-primary); text-decoration: none; }
.nav-logo svg { color: var(--blue); }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--text-secondary); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { background: var(--blue); color: #fff !important; padding: 7px 16px; border-radius: var(--radius-md); font-weight: 500; }
.nav-cta:hover { background: var(--blue-mid); text-decoration: none !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: var(--text-primary); }

/* ── HERO ── */
.hero { background: var(--blue); padding: 64px 32px; text-align: center; }
.hero h1 { font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.hero p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 22px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; cursor: pointer; border: none; transition: all 0.15s; text-decoration: none; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #f0f4ff; text-decoration: none; }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-mid); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text-secondary); border: 0.5px solid var(--border-hover); }
.btn-ghost:hover { background: var(--bg-secondary); text-decoration: none; }

/* ── TRUST BAR ── */
.trust-bar { display: flex; justify-content: center; gap: 32px; padding: 14px 32px; border-bottom: 0.5px solid var(--border); flex-wrap: wrap; background: var(--bg); }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-secondary); }
.trust-item svg { color: var(--blue); flex-shrink: 0; }

/* ── SECTIONS ── */
.section { padding: 48px 32px; }
.section-alt { background: var(--bg-secondary); }
.section-label { font-size: 11px; font-weight: 600; color: var(--blue); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.section-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.section-sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; max-width: 540px; }
.section-center { text-align: center; }
.section-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }

/* ── CARDS ── */
.card { background: var(--bg); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.card-icon { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--blue-light); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; color: var(--blue); }
.card-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.card-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 10px; }
.card-price { font-size: 14px; font-weight: 600; color: var(--blue); }

/* ── KB CARDS ── */
.kb-card { background: var(--bg); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 18px; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; text-decoration: none; color: inherit; display: block; }
.kb-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); text-decoration: none; }
.kb-card-icon { font-size: 24px; margin-bottom: 10px; }
.kb-card-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--text-primary); }
.kb-card-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 10px; }
.kb-card-link { font-size: 12px; color: var(--blue); display: flex; align-items: center; gap: 4px; }

/* ── MSP CARDS ── */
.msp-card { background: var(--bg); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 18px; }
.msp-card svg { color: var(--blue); margin-bottom: 10px; }
.msp-card-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.msp-card-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--blue-light); border-radius: var(--radius-xl); padding: 32px; text-align: center; }
.cta-banner h3 { font-size: 18px; font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; }
.cta-banner p { font-size: 14px; color: var(--blue-mid); margin-bottom: 20px; }
.cta-banner-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── ABOUT ── */
.about-box { background: var(--bg-secondary); border-radius: var(--radius-xl); padding: 28px; display: flex; gap: 20px; align-items: flex-start; }
.about-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 700; flex-shrink: 0; }
.about-text h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.about-tagline { font-size: 12px; color: var(--blue); font-weight: 500; margin-bottom: 10px; }
.about-text p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.contact-card { background: var(--bg); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 18px; display: flex; align-items: center; gap: 14px; }
.contact-card-icon { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--blue-light); display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; }
.contact-label { font-size: 11px; color: var(--text-secondary); margin-bottom: 2px; }
.contact-val { font-size: 13px; font-weight: 600; }
.contact-val a { color: var(--text-primary); }

/* ── FOOTER ── */
.footer { background: var(--bg-secondary); border-top: 0.5px solid var(--border); padding: 24px 32px; text-align: center; font-size: 12px; color: var(--text-secondary); }
.footer-tagline { font-style: italic; margin-top: 4px; font-size: 11px; }

/* ── CHATBOT ── */
.chat-fab-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.chat-fab-badge { background: var(--bg); border: 0.5px solid var(--border-hover); border-radius: 20px; padding: 7px 14px; font-size: 13px; color: var(--text-primary); font-weight: 500; box-shadow: var(--shadow-md); white-space: nowrap; animation: fadeIn 0.3s ease; }
.chat-fab-btn { width: 54px; height: 54px; border-radius: 50%; background: var(--blue); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow-md); transition: transform 0.15s; }
.chat-fab-btn:hover { transform: scale(1.06); }
.chat-fab-btn svg { width: 24px; height: 24px; }

.chat-window { position: fixed; bottom: 90px; right: 24px; width: 340px; max-height: 520px; background: var(--bg); border: 0.5px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); display: flex; flex-direction: column; overflow: hidden; z-index: 200; animation: slideUp 0.2s ease; }
.chat-window.hidden { display: none; }
.chat-header { background: var(--blue); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.chat-header-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-header-name { font-size: 14px; font-weight: 600; }
.chat-header-status { font-size: 11px; opacity: 0.85; }
.chat-close { margin-left: auto; background: none; border: none; color: #fff; cursor: pointer; opacity: 0.8; padding: 2px; display: flex; }
.chat-close:hover { opacity: 1; }
.chat-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; flex-direction: column; max-width: 90%; }
.msg.bot { align-self: flex-start; }
.msg.user { align-self: flex-end; }
.msg-bubble { padding: 9px 13px; border-radius: 14px; font-size: 13px; line-height: 1.5; }
.msg.bot .msg-bubble { background: var(--bg-secondary); color: var(--text-primary); border-bottom-left-radius: 4px; }
.msg.user .msg-bubble { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chat-options { display: flex; flex-direction: column; gap: 6px; align-self: flex-start; width: 90%; }
.chat-option-btn { background: var(--bg); border: 0.5px solid var(--border-hover); border-radius: var(--radius-md); padding: 9px 12px; font-size: 13px; text-align: left; cursor: pointer; transition: all 0.15s; color: var(--text-primary); }
.chat-option-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.chat-typing { display: flex; align-items: center; gap: 4px; padding: 9px 13px; background: var(--bg-secondary); border-radius: 14px; border-bottom-left-radius: 4px; align-self: flex-start; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: bounce 1.2s infinite; }
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
.rec-card { background: var(--bg); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 14px; align-self: flex-start; width: 90%; }
.rec-label { font-size: 10px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.rec-service { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.rec-price { font-size: 13px; color: var(--blue); margin-bottom: 10px; }
.rec-reason { font-size: 12px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }
.rec-btn { width: 100%; padding: 9px; border-radius: var(--radius-md); font-size: 13px; font-weight: 600; cursor: pointer; border: none; margin-bottom: 6px; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
.rec-btn-primary { background: var(--blue); color: #fff; }
.rec-btn-primary:hover { background: var(--blue-mid); text-decoration: none; }
.rec-btn-secondary { background: var(--bg-secondary); color: var(--text-primary); border: 0.5px solid var(--border-hover); }
.rec-btn-secondary:hover { border-color: var(--blue); text-decoration: none; }
.chat-input-row { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 0.5px solid var(--border); }
.chat-input { flex: 1; border: 0.5px solid var(--border-hover); border-radius: 20px; padding: 8px 14px; font-size: 13px; background: var(--bg-secondary); color: var(--text-primary); outline: none; font-family: inherit; }
.chat-input:focus { border-color: var(--blue); }
.chat-send { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); border: none; cursor: pointer; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-send:hover { background: var(--blue-mid); }
.chat-divider { font-size: 11px; color: var(--text-muted); text-align: center; padding: 2px 0; }
.skip-link { display: block; text-align: center; font-size: 12px; color: var(--blue); padding: 6px 12px 2px; cursor: pointer; text-decoration: none; }
.skip-link:hover { text-decoration: underline; }

/* ── ANIMATIONS ── */
@keyframes bounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── MOBILE ── */
@media (max-width: 640px) {
  .nav { padding: 12px 16px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 0.5px solid var(--border); padding: 16px; gap: 16px; }
  .nav-toggle { display: flex; }
  .hero { padding: 48px 16px; }
  .hero h1 { font-size: 26px; }
  .section { padding: 36px 16px; }
  .trust-bar { gap: 16px; padding: 12px 16px; }
  .about-box { flex-direction: column; }
  .chat-window { width: calc(100vw - 32px); right: 16px; }
}
