/* ================================================================
   SMS Main Website — Custom Styles
   Based on Stack Bootstrap 4 Business Template Design
   ================================================================ */

/* ── Variables ─────────────────────────────────────── */
:root {
  --primary: #0054a6;
  --primary-dark: #003d7a;
  --primary-light: #e8f0fe;
  --secondary: #6c63ff;
  --accent: #00c9a7;
  --dark: #1a1a2e;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 50px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --transition: all 0.3s ease;
}

/* ── Reset & Base ──────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  overflow-x: hidden;
}
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { text-decoration: none; color: var(--primary-dark); }
img { max-width: 100%; }
section { padding: 100px 0; position: relative; }

/* ── Utilities ─────────────────────────────────────── */
.section-title { margin-bottom: 60px; }
.section-title h2 { font-size: 36px; font-weight: 800; color: var(--dark); margin-bottom: 15px; }
.section-title p { font-size: 16px; color: var(--gray-600); max-width: 600px; margin: 0 auto; }
.btn-primary-custom {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  display: inline-block;
  cursor: pointer;
}
.btn-primary-custom:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 84, 166, 0.3); color: #fff; }
.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  display: inline-block;
}
.btn-outline-custom:hover { background: var(--primary); color: #fff; }

/* ── Preloader ─────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.4s;
}
.preloader.loaded { opacity: 0; pointer-events: none; }
.preloader-spin {
  width: 40px; height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Navbar ────────────────────────────────────────── */
.navbar-area {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar-area.sticky {
  background: #fff;
  box-shadow: var(--shadow);
  padding: 10px 0;
}
.navbar-brand img { height: 36px; }
.navbar-brand .logo-dark { display: none; }
.navbar-brand .logo-white { display: inline; }
.navbar-area.sticky .navbar-brand .logo-dark { display: inline; }
.navbar-area.sticky .navbar-brand .logo-white { display: none; }
.navbar .navbar-nav .nav-link {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  transition: var(--transition);
}
.navbar-area.sticky .navbar-nav .nav-link { color: var(--dark); }
.navbar-area.sticky .navbar-nav .nav-link:hover,
.navbar-area.sticky .navbar-nav .nav-link.active { color: var(--primary); }
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active { color: var(--accent); }
.navbar-toggler { border: none; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler span {
  display: block; width: 24px; height: 2px;
  background: #fff; margin: 5px 0;
  transition: var(--transition);
}
.navbar-area.sticky .navbar-toggler span { background: var(--dark); }
.nav-btn .btn-primary-custom { padding: 10px 24px; font-size: 13px; }

/* ── Hero Section ──────────────────────────────────── */
.hero-area {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient);
  overflow: hidden;
}
.hero-area::after {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero-area::before {
  content: '';
  position: absolute; left: -50px; bottom: -50px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 35px;
  max-width: 520px;
}
.hero-content .btn-primary-custom { background: #fff; color: var(--primary); }
.hero-content .btn-primary-custom:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.hero-content .btn-outline-custom { border-color: rgba(255,255,255,0.5); color: #fff; margin-left: 12px; }
.hero-content .btn-outline-custom:hover { background: #fff; color: var(--primary); border-color: #fff; }
.hero-img { position: relative; z-index: 1; }
.hero-img img { border-radius: 12px; box-shadow: var(--shadow-lg); }

/* ── Features Section ──────────────────────────────── */
.features-area { background: var(--gray-100); }
.feature-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.feature-box:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--primary);
  transition: var(--transition);
}
.feature-box:hover .feature-icon { background: var(--gradient); color: #fff; }
.feature-box h4 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.feature-box p { font-size: 14px; color: var(--gray-600); margin: 0; }

/* ── About Section ─────────────────────────────────── */
.about-area .about-content h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; }
.about-area .about-content p { color: var(--gray-600); margin-bottom: 15px; }
.about-area .about-img { position: relative; }
.about-area .about-img img { border-radius: 12px; box-shadow: var(--shadow-lg); }
.about-list { list-style: none; padding: 0; margin: 20px 0 30px; }
.about-list li { padding: 8px 0; font-size: 15px; color: var(--gray-600); display: flex; align-items: center; gap: 10px; }
.about-list li i { color: var(--accent); font-size: 18px; }

/* ── Services Section ──────────────────────────────── */
.service-box {
  padding: 35px 25px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  height: 100%;
}
.service-box:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-5px); }
.service-icon { font-size: 36px; color: var(--primary); margin-bottom: 20px; }
.service-box h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-box p { font-size: 14px; color: var(--gray-600); margin: 0; }

/* ── Counter/Stats ─────────────────────────────────── */
.counter-area {
  background: var(--gradient);
  padding: 80px 0;
}
.counter-box { text-align: center; color: #fff; }
.counter-box h2 { font-size: 42px; font-weight: 800; margin-bottom: 5px; }
.counter-box p { font-size: 14px; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; }

/* ── Pricing Section ───────────────────────────────── */
.pricing-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 45px 35px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.pricing-box:hover, .pricing-box.popular { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pricing-box.popular { border: 2px solid var(--primary); }
.pricing-badge {
  position: absolute; top: 20px; right: -30px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}
.pricing-box .plan-name { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.pricing-box .plan-desc { font-size: 13px; color: var(--gray-600); margin-bottom: 20px; }
.pricing-box .price { font-size: 48px; font-weight: 800; color: var(--primary); margin-bottom: 5px; }
.pricing-box .price span { font-size: 16px; font-weight: 400; color: var(--gray-600); }
.pricing-features { list-style: none; padding: 0; margin: 25px 0; text-align: left; }
.pricing-features li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; gap: 10px;
}
.pricing-features li:last-child { border: none; }
.pricing-features li i { color: var(--accent); font-size: 14px; }
.pricing-features li.disabled { opacity: 0.4; text-decoration: line-through; }
.pricing-features li.disabled i { color: var(--gray-600); }

/* ── Testimonials ──────────────────────────────────── */
.testimonial-area { background: var(--gray-100); }
.testimonial-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow);
  margin: 10px;
}
.testimonial-box p { font-size: 15px; color: var(--gray-600); font-style: italic; margin-bottom: 20px; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-author h5 { font-size: 16px; font-weight: 700; margin: 0; }
.testimonial-author span { font-size: 13px; color: var(--gray-600); }

/* ── CTA / Call to Action ──────────────────────────── */
.cta-area {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
}
.cta-area h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 15px; }
.cta-area p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 30px; }
.cta-area .btn-primary-custom { background: #fff; color: var(--primary); }

/* ── Contact Section ───────────────────────────────── */
.contact-box {
  display: flex; align-items: center; gap: 20px;
  padding: 25px; background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.contact-icon {
  width: 55px; height: 55px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-box h5 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-box p { font-size: 14px; color: var(--gray-600); margin: 0; }
.contact-form .form-control {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  transition: var(--transition);
}
.contact-form .form-control:focus { border-color: var(--primary); box-shadow: none; }
.contact-form textarea.form-control { min-height: 140px; resize: vertical; }

/* ── Footer ────────────────────────────────────────── */
.footer-area {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}
.footer-area h4 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 36px; }
.footer-text { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-links li a:hover { color: #fff; padding-left: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  margin-top: 50px;
  text-align: center;
  font-size: 13px;
}
.footer-bottom a { color: var(--primary); }

/* ── Scroll to Top ─────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 45px; height: 45px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(0,84,166,0.3);
  transition: var(--transition);
  border: none;
}
.scroll-top:hover { transform: translateY(-3px); }
.scroll-top.active { display: flex; }

/* ── Page Header (for inner pages) ─────────────────── */
.page-header {
  background: var(--gradient);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
}
.page-header h1 { font-size: 42px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.page-header .breadcrumb {
  background: none;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: rgba(255,255,255,0.8); font-size: 14px; }
.page-header .breadcrumb-item.active { color: #fff; }

/* ── Auth Pages (Login / Signup) ───────────────────── */
.auth-area {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gray-100);
}
.auth-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}
.auth-cover {
  background: var(--gradient);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100%;
}
.auth-cover h2 { color: #fff; font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.auth-cover p { color: rgba(255,255,255,0.85); font-size: 14px; }
.auth-cover img { max-width: 200px; margin-bottom: 30px; filter: brightness(0) invert(1); }
.auth-form-wrap { padding: 50px 40px; }
.auth-form-wrap h3 { font-size: 26px; font-weight: 800; margin-bottom: 5px; }
.auth-form-wrap p { font-size: 14px; color: var(--gray-600); margin-bottom: 30px; }
.auth-form .form-group { margin-bottom: 20px; }
.auth-form .form-group label { font-size: 13px; font-weight: 600; color: var(--gray-800); margin-bottom: 6px; }
.auth-form .form-control {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  transition: var(--transition);
}
.auth-form .form-control:focus { border-color: var(--primary); box-shadow: none; }
.auth-form .btn-primary-custom { width: 100%; padding: 14px; font-size: 15px; }
.auth-divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--gray-200);
}
.auth-divider span {
  background: #fff;
  padding: 0 15px;
  position: relative;
  font-size: 13px;
  color: var(--gray-600);
}
.auth-social { display: flex; gap: 10px; justify-content: center; }
.auth-social a {
  width: 44px; height: 44px;
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--dark);
  transition: var(--transition);
}
.auth-social a:hover { border-color: var(--primary); color: var(--primary); }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--gray-600); }
.auth-footer a { font-weight: 600; }

/* ── Blog Cards ────────────────────────────────────── */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 25px; }
.blog-card-body .date { font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.blog-card-body h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.blog-card-body h4 a { color: var(--dark); }
.blog-card-body h4 a:hover { color: var(--primary); }
.blog-card-body p { font-size: 14px; color: var(--gray-600); }

/* ── Team Section ──────────────────────────────────── */
.team-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.team-box:hover { box-shadow: var(--shadow); }
.team-box img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 4px solid var(--primary-light); }
.team-box h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.team-box span { font-size: 13px; color: var(--gray-600); }
.team-social { margin-top: 12px; display: flex; gap: 8px; justify-content: center; }
.team-social a { color: var(--gray-600); font-size: 16px; }
.team-social a:hover { color: var(--primary); }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 36px; }
  .section-title h2 { font-size: 28px; }
  .navbar-collapse { background: #fff; padding: 15px; border-radius: var(--radius); margin-top: 10px; box-shadow: var(--shadow); }
  .navbar-collapse .nav-link { color: var(--dark) !important; }
  .hero-img { margin-top: 40px; }
}
@media (max-width: 767px) {
  section { padding: 60px 0; }
  .hero-content h1 { font-size: 30px; }
  .hero-area { padding-top: 120px; }
  .auth-cover { display: none; }
  .auth-form-wrap { padding: 40px 25px; }
  .counter-box { margin-bottom: 30px; }
  .pricing-box { margin-bottom: 20px; }
}

/* ── Toast Notifications ───────────────────────────────── */
.sms-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  width: calc(100% - 40px);
}
.sms-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  animation: smsToastIn 0.35s ease;
  position: relative;
  overflow: hidden;
  border-left: 4px solid transparent;
}
.sms-toast.removing {
  animation: smsToastOut 0.3s ease forwards;
}
.sms-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.sms-toast-body {
  flex: 1;
  min-width: 0;
}
.sms-toast-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}
.sms-toast-msg {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.4;
  word-wrap: break-word;
}
.sms-toast-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.sms-toast:hover .sms-toast-close { opacity: 1; }
.sms-toast-close:hover { background: var(--gray-100); }
.sms-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0 0 0 12px;
  animation: smsToastProgress linear forwards;
}
/* Types */
.sms-toast.success { border-left-color: #16a34a; }
.sms-toast.success .sms-toast-icon { background: #dcfce7; color: #16a34a; }
.sms-toast.success .sms-toast-progress { background: #16a34a; }

.sms-toast.error { border-left-color: #ef4444; }
.sms-toast.error .sms-toast-icon { background: #fef2f2; color: #ef4444; }
.sms-toast.error .sms-toast-progress { background: #ef4444; }

.sms-toast.warning { border-left-color: #f59e0b; }
.sms-toast.warning .sms-toast-icon { background: #fef3c7; color: #f59e0b; }
.sms-toast.warning .sms-toast-progress { background: #f59e0b; }

.sms-toast.info { border-left-color: #3b82f6; }
.sms-toast.info .sms-toast-icon { background: #eff6ff; color: #3b82f6; }
.sms-toast.info .sms-toast-progress { background: #3b82f6; }

@keyframes smsToastIn {
  from { opacity: 0; transform: translateX(40px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes smsToastOut {
  from { opacity: 1; transform: translateX(0); max-height: 200px; }
  to { opacity: 0; transform: translateX(40px); max-height: 0; padding: 0 18px; margin: 0; }
}
@keyframes smsToastProgress {
  from { width: 100%; }
  to { width: 0%; }
}
@media (max-width: 480px) {
  .sms-toast-container { top: 10px; right: 10px; left: 10px; max-width: none; width: auto; }
}

/* ── Legal Pages ───────────────────────────────────────── */
.legal-wrap { min-height: 100vh; background: linear-gradient(160deg, #f0f4f8 0%, #e8edf5 100%); padding: 0 1rem 4rem; }
.legal-container { max-width: 880px; margin: 0 auto; }
.legal-header {
  background: linear-gradient(145deg, #002f6c 0%, #0054a6 50%, #0ea5e9 100%);
  color: #fff; padding: 2.5rem; border-radius: 18px 18px 0 0; position: relative; overflow: hidden;
}
.legal-header::before { content: ''; position: absolute; top: -60px; right: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.06); }
.legal-header-back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.65); text-decoration: none; font-size: 13px; margin-bottom: 1.25rem; transition: color .15s; }
.legal-header-back:hover { color: #fff; }
.legal-header-row { display: flex; align-items: center; gap: 1.25rem; }
.legal-header-icon { width: 58px; height: 58px; border-radius: 16px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 30px; flex-shrink: 0; backdrop-filter: blur(4px); }
.legal-header h1 { font-size: 28px; font-weight: 800; margin: 0 0 .3rem; }
.legal-header p { font-size: 13px; opacity: .72; margin: 0; }
.legal-pills { display: flex; gap: 8px; margin-top: 1rem; flex-wrap: wrap; }
.legal-pill { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); text-decoration: none; border: 1px solid rgba(255,255,255,.2); transition: all .2s; }
.legal-pill:hover { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.1); }
.legal-pill.active { color: #fff; background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.4); }
.legal-body { background: #fff; border-radius: 0 0 18px 18px; box-shadow: 0 6px 32px rgba(0,0,0,.09); padding: 2.5rem; }
.legal-body h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin: 2rem 0 .85rem; padding-bottom: .6rem; border-bottom: 2px solid #eef4ff; }
.legal-body h3:first-of-type { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 14px; color: #4a5568; line-height: 1.85; }
.legal-body ul { padding-left: 1.5rem; }
.legal-body strong { color: var(--dark); }
.legal-body a { color: var(--primary); }
.legal-highlight { background: #eef4ff; border-left: 4px solid var(--primary); border-radius: 0 10px 10px 0; padding: 1rem 1.25rem; font-size: 13.5px; color: #344054; margin-bottom: 2rem; line-height: 1.6; }
.legal-toc { background: #f8fafc; border: 1px solid #e9ecef; border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 2.25rem; }
.legal-toc-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-600); margin-bottom: .75rem; }
.legal-toc a { display: block; font-size: 13.5px; color: var(--primary); padding: 3px 0; text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-footer { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #e9ecef; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; font-size: 12px; color: var(--gray-600); }
@media (max-width: 767px) { .legal-header { padding: 1.5rem; } .legal-body { padding: 1.5rem; } .legal-header h1 { font-size: 22px; } }

/* ── SMSWEB API content classes (for DB-stored legal content) ── */
.sms-legal-highlight { background: #eef4ff; border-left: 4px solid #0054a6; border-radius: 0 10px 10px 0; padding: 1rem 1.25rem; font-size: 13.5px; color: #344054; margin-bottom: 2rem; line-height: 1.6; }
.sms-legal-toc { background: #f8fafc; border: 1px solid #e9ecef; border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 2.25rem; }
.sms-legal-toc__title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #667380; margin-bottom: .75rem; }
.sms-legal-toc a { display: block; font-size: 13.5px; color: #0054a6; padding: 3px 0; text-decoration: none; }
.sms-legal-toc a:hover { text-decoration: underline; }
.legal-body h3 .sec-num, .sms-legal-body h3 .sec-num { font-size: 13px; font-weight: 700; color: #fff; background: #0054a6; border-radius: 6px; padding: 1px 8px; flex-shrink: 0; }
.legal-body h3 { display: flex; align-items: center; gap: 10px; }
.sms-legal-info-box { background: #f8fafc; border: 1px solid #e9ecef; border-radius: 12px; padding: 1.5rem; margin-top: 1rem; }
.sms-data-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: .75rem; margin-bottom: 2rem; }
.sms-data-card { text-align: center; padding: 1rem .75rem; border-radius: 12px; border: 1px solid; }
.sms-legal-footer, .sms-lf { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid #e9ecef; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.sms-lf__btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.sms-lf__btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all .2s; }
.sms-lf__btn--outline { border: 1px solid #e9ecef; color: #4a5568; background: #fff; }
.sms-lf__btn--outline:hover { border-color: #0054a6; color: #0054a6; }
.sms-lf__btn--fill { background: #0054a6; color: #fff; border: 1px solid #0054a6; }
.sms-lf__btn--fill:hover { background: #003d7a; }
.sms-lf__arrow { margin-left: auto; }
.sms-lf__copy { font-size: 12px; color: #667380; }
@media (max-width: 600px) { .sms-data-cards { grid-template-columns: repeat(2,1fr); } }

/* ── Chatbot Widget ────────────────────────────────────── */
.chatbot-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 9998;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gradient); border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,84,166,.35);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; transition: all .3s;
}
.chatbot-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(0,84,166,.45); }
.chatbot-btn .dot { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #16a34a; border: 2px solid #fff; }

.chatbot-box {
  position: fixed; bottom: 90px; right: 24px; z-index: 9998;
  width: 380px; height: 500px; border-radius: 16px;
  background: #fff; box-shadow: 0 12px 48px rgba(0,0,0,.15);
  display: none; flex-direction: column;
  animation: chatSlideUp .3s ease;
}
@keyframes chatSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.chatbot-header {
  background: var(--gradient); padding: 16px 20px;
  display: flex; align-items: center; gap: 12px; color: #fff;
}
.chatbot-header-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.chatbot-header-info h4 { margin: 0; font-size: 15px; font-weight: 700; color: #fff; }
.chatbot-header-info span { font-size: 11px; opacity: .8; }
.chatbot-close { background: none; border: none; color: rgba(255,255,255,.7); font-size: 20px; cursor: pointer; margin-left: auto; padding: 4px; }
.chatbot-close:hover { color: #fff; }

.chatbot-messages {
  flex: 1; padding: 16px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
  background: #f8f9fa; min-height: 0;
}
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; word-wrap: break-word; }
.chat-msg.bot { background: #fff; color: var(--dark); border: 1px solid #e9ecef; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg .typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.chat-msg .typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gray-600); animation: typingDot 1.2s infinite; }
.chat-msg .typing span:nth-child(2) { animation-delay: .2s; }
.chat-msg .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot { 0%,80%,100% { opacity: .3; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }

.chatbot-quick { padding: 8px 16px; display: flex; flex-wrap: wrap; gap: 6px; background: #fff; border-top: 1px solid #e9ecef; max-height: 120px; overflow-y: auto; flex-shrink: 0; }
.chatbot-quick button {
  padding: 6px 12px; border-radius: 16px; border: 1px solid var(--primary);
  background: #fff; color: var(--primary); font-size: 11px; font-weight: 600;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.chatbot-quick button:hover { background: var(--primary); color: #fff; }

.chatbot-input {
  padding: 12px 16px; border-top: 1px solid #e9ecef;
  display: flex; gap: 8px; background: #fff; flex-shrink: 0;
}
.chatbot-input input {
  flex: 1; border: 1px solid #e9ecef; border-radius: 20px;
  padding: 8px 16px; font-size: 13px; outline: none;
}
.chatbot-input input:focus { border-color: var(--primary); }
.chatbot-input button {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); border: none; color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: .2s;
}
.chatbot-input button:hover { background: var(--primary-dark); }

@media (max-width: 480px) {
  .chatbot-box { width: calc(100% - 20px); right: 10px; bottom: 80px; max-height: 70vh; }
  .chatbot-btn { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 22px; }
}
