/* =============================================
   SitemapPro – Custom Styles
   Bootstrap 5 base + custom overrides
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --primary-xlight: #eff6ff;
  --secondary: #64748b;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --dark: #0f172a;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --radius: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,.07), 0 4px 6px -4px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.06);
  --shadow-blue: 0 10px 25px -5px rgba(37,99,235,.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  color: var(--gray-800);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--gray-900); }
p { color: var(--gray-600); line-height: 1.75; }
a { text-decoration: none; }
a:hover { text-decoration: none; }

/* ── Navbar ── */
.navbar {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  box-shadow: 0 1px 20px rgba(0,0,0,.04);
  padding: 0.75rem 0;
  transition: all .3s ease;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.navbar-brand .brand-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.navbar-brand .brand-icon i { color: #fff; font-size: 18px; }
.navbar-brand .brand-text { display: flex; flex-direction: column; line-height: 1; }
.navbar-brand .brand-name { font-weight: 800; font-size: 1.1rem; color: var(--gray-900); }
.navbar-brand .brand-sub { font-size: 0.65rem; color: var(--primary); font-weight: 600; letter-spacing: .3px; }
.nav-link {
  font-weight: 500; font-size: 0.9rem; color: var(--gray-600) !important;
  padding: 0.5rem 0.9rem !important; border-radius: 8px;
  transition: all .2s; position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--primary) !important; background: var(--primary-xlight); }
.dropdown-menu {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 270px;
  margin-top: 8px !important;
}
.dropdown-item {
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  display: flex; align-items: flex-start; gap: 12px;
  transition: all .15s;
}
.dropdown-item:hover { background: var(--primary-xlight); color: var(--primary); }
.dropdown-item .di-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .15s;
}
.dropdown-item:hover .di-icon { background: var(--primary); }
.dropdown-item:hover .di-icon i { color: #fff !important; }
.dropdown-item .di-icon i { color: var(--primary); font-size: 14px; }
.dropdown-item .di-text .di-title { font-weight: 600; margin-bottom: 1px; }
.dropdown-item .di-text .di-desc { font-size: 0.75rem; color: var(--gray-400); font-weight: 400; }
.btn-nav-cta {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff !important; font-weight: 600; font-size: 0.85rem;
  padding: 0.5rem 1.1rem !important; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
  transition: all .2s; border: none;
}
.btn-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37,99,235,.35) !important; background: linear-gradient(135deg, #1d4ed8, #1e40af) !important; }
.navbar-toggler { border: none; padding: 4px; }
.navbar-toggler:focus { box-shadow: none; }
.page-content { padding-top: 72px; }

/* ── Hero ── */
.hero-section {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 40%, #e0f2fe 70%, #f0f9ff 100%);
  min-height: calc(100vh - 72px);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 80px 0;
}
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .35; pointer-events: none;
}
.hero-blob-1 { width: 600px; height: 600px; background: #bfdbfe; top: -200px; left: -200px; }
.hero-blob-2 { width: 500px; height: 500px; background: #a5f3fc; bottom: -150px; right: -100px; }
.hero-blob-3 { width: 350px; height: 350px; background: #c7d2fe; top: 50%; left: 20%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.8); backdrop-filter: blur(8px);
  border: 1px solid rgba(37,99,235,.15); border-radius: 50px;
  padding: 6px 16px; font-size: 0.8rem; font-weight: 600;
  color: var(--primary); margin-bottom: 24px;
}
.hero-badge i { font-size: 12px; }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.15; color: var(--gray-900); margin-bottom: 20px; }
.hero-title span { background: linear-gradient(135deg, #2563eb, #0ea5e9); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 1.1rem; color: var(--gray-600); line-height: 1.75; max-width: 540px; margin-bottom: 36px; }
.hero-card {
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.8);
  padding: 32px; max-width: 600px;
}
.hero-stats { margin-top: 40px; }
.hero-stat-value { font-size: 2rem; font-weight: 900; color: var(--gray-900); }
.hero-stat-label { font-size: 0.8rem; color: var(--gray-500); margin-top: 2px; }

/* ── Buttons ── */
.btn-primary-custom {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; font-weight: 600; padding: 12px 28px;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: all .2s; box-shadow: var(--shadow-blue); font-size: 0.95rem;
}
.btn-primary-custom:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,99,235,.35); color: #fff; background: linear-gradient(135deg, #1d4ed8, #1e40af); }
.btn-primary-custom:active { transform: translateY(0); }
.btn-outline-custom {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--primary); font-weight: 600;
  padding: 11px 26px; border-radius: var(--radius); border: 2px solid var(--primary-light);
  cursor: pointer; transition: all .2s; font-size: 0.95rem;
}
.btn-outline-custom:hover { background: var(--primary-xlight); border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn-sm-custom {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px; font-size: 0.82rem;
  font-weight: 600; cursor: pointer; transition: all .2s; border: none;
}
.btn-copy { background: #f1f5f9; color: var(--gray-700); }
.btn-copy:hover { background: #e2e8f0; }
.btn-copy.copied { background: #d1fae5; color: #065f46; }
.btn-download { background: var(--primary); color: #fff; }
.btn-download:hover { background: var(--primary-dark); }
.btn-stop { background: #fee2e2; color: #dc2626; }
.btn-stop:hover { background: #fecaca; }
.btn-reset { background: var(--gray-100); color: var(--gray-600); }
.btn-reset:hover { background: var(--gray-200); }

/* ── Section Headings ── */
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 14px;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--gray-900); margin-bottom: 16px; }
.section-desc { font-size: 1.05rem; color: var(--gray-500); line-height: 1.75; max-width: 560px; margin: 0 auto; }

/* ── Cards ── */
.sp-card {
  background: #fff; border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: all .3s; overflow: hidden;
}
.sp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gray-200); }
.card-icon-wrap {
  width: 56px; height: 56px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card-icon-wrap i { font-size: 24px; }
.feature-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.feature-check i { color: var(--success); margin-top: 2px; flex-shrink: 0; }
.feature-check span { font-size: 0.88rem; color: var(--gray-700); }

/* ── Steps (How It Works) ── */
.steps-connector {
  position: absolute; top: 28px; left: 50%; right: -50%;
  height: 2px; background: linear-gradient(90deg, var(--primary-light), transparent);
  z-index: 0;
}
.step-number {
  width: 56px; height: 56px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  font-size: 1.5rem; position: relative; z-index: 1;
  box-shadow: var(--shadow-sm);
}

/* ── Tool Form ── */
.tool-section { background: var(--gray-50); min-height: 100vh; }
.tool-hero {
  background: #fff; border-bottom: 1px solid var(--gray-100);
  padding: 48px 0 36px;
}
.tool-icon-wrap {
  width: 64px; height: 64px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; flex-shrink: 0;
}
.form-input {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-size: 0.95rem; font-family: inherit;
  color: var(--gray-800); background: #fff;
  transition: all .2s; outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-input.error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
.form-input-icon { position: relative; }
.form-input-icon i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: 16px; pointer-events: none; }
.form-input-icon .form-input { padding-left: 40px; }
.form-label { font-weight: 600; font-size: 0.875rem; color: var(--gray-700); margin-bottom: 6px; display: block; }
.error-msg { color: var(--danger); font-size: 0.8rem; margin-top: 5px; display: flex; align-items: center; gap: 4px; }
.adv-toggle { cursor: pointer; font-size: 0.85rem; color: var(--gray-500); display: inline-flex; align-items: center; gap: 6px; border: none; background: none; padding: 0; transition: color .2s; }
.adv-toggle:hover { color: var(--gray-700); }
.advanced-panel { border-top: 1px solid var(--gray-100); padding-top: 20px; margin-top: 20px; }
.toggle-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider { width: 42px; height: 23px; background: var(--gray-300); border-radius: 12px; position: relative; transition: .3s; flex-shrink: 0; }
.toggle-slider::before { content: ''; position: absolute; width: 17px; height: 17px; background: #fff; border-radius: 50%; top: 3px; left: 3px; transition: .3s; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(19px); }
.toggle-label { font-size: 0.85rem; font-weight: 500; color: var(--gray-700); }

/* ── Progress ── */
.progress-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--gray-100); padding: 24px; }
.progress-bar-track { height: 8px; background: var(--gray-100); border-radius: 4px; overflow: hidden; }
.progress-bar-fill {
  height: 100%; border-radius: 4px; min-width: 4%;
  background: linear-gradient(90deg, #2563eb, #3b82f6, #2563eb);
  background-size: 200% 100%;
  animation: shimmerProgress 1.5s infinite;
  transition: width .3s ease;
}
@keyframes shimmerProgress {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.url-list { max-height: 220px; overflow-y: auto; background: var(--gray-50); border-radius: var(--radius); border: 1px solid var(--gray-100); }
.url-item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--gray-100); font-size: 0.8rem; }
.url-item:last-child { border-bottom: none; }
.url-num { color: var(--gray-400); min-width: 28px; text-align: right; flex-shrink: 0; }
.url-text { font-family: 'Courier New', monospace; color: var(--gray-700); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.url-depth { color: var(--gray-400); flex-shrink: 0; }

/* ── Output Box ── */
.output-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--gray-100); overflow: hidden; }
.output-header { padding: 16px 20px; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.output-textarea {
  width: 100%; min-height: 300px; background: #0f172a; color: #4ade80;
  font-family: 'Courier New', Courier, monospace; font-size: 0.78rem;
  line-height: 1.65; padding: 20px; border: none; resize: vertical; outline: none;
  word-break: break-all; white-space: pre-wrap;
}
.next-steps { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius); padding: 16px 20px; }
.next-steps h6 { color: #92400e; font-weight: 700; margin-bottom: 10px; }
.next-steps ol { color: #78350f; font-size: 0.85rem; padding-left: 20px; margin: 0; }
.next-steps ol li { margin-bottom: 6px; }
.next-steps code { background: #fef3c7; padding: 1px 5px; border-radius: 4px; font-size: 0.8rem; }

/* ── Status Badges ── */
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }
.status-crawling { background: #dbeafe; color: #1d4ed8; }
.status-done { background: #d1fae5; color: #065f46; }
.status-error { background: #fee2e2; color: #991b1b; }
.status-stopped { background: #fef3c7; color: #92400e; }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-icon { width: 80px; height: 80px; background: var(--primary-xlight); border-radius: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.empty-icon i { font-size: 36px; color: var(--primary-light); }
.empty-title { font-size: 1.1rem; font-weight: 600; color: var(--gray-600); margin-bottom: 8px; }
.empty-desc { font-size: 0.875rem; color: var(--gray-400); max-width: 320px; margin: 0 auto; }

/* ── FAQ Accordion ── */
.faq-item { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); margin-bottom: 10px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--primary-light); box-shadow: 0 4px 16px rgba(37,99,235,.08); }
.faq-question { padding: 20px 24px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: none; background: none; width: 100%; text-align: left; font-weight: 600; font-size: 0.95rem; color: var(--gray-900); }
.faq-question i { color: var(--gray-400); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-answer { padding: 0 24px 20px; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { margin: 0; color: var(--gray-600); line-height: 1.75; font-size: 0.9rem; }

/* ── Blog Cards ── */
.blog-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--gray-100); overflow: hidden; height: 100%; transition: all .3s; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--gray-200); }
.blog-card-thumb { height: 180px; background: linear-gradient(135deg, var(--primary-xlight), var(--primary-light)); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-category { font-size: 0.72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 10px; border-radius: 50px; display: inline-block; margin-bottom: 10px; }
.blog-card-title { font-size: 1rem; font-weight: 700; color: var(--gray-900); line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-desc { font-size: 0.85rem; color: var(--gray-500); line-height: 1.65; flex: 1; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-meta { border-top: 1px solid var(--gray-100); padding-top: 14px; display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: var(--gray-400); }
.blog-card-meta a { color: var(--primary); font-weight: 600; text-decoration: none; }
.blog-card-meta a:hover { text-decoration: underline; }
.blog-featured { border-radius: var(--radius-lg); border: 1px solid var(--gray-100); overflow: hidden; background: #fff; transition: box-shadow .3s; }
.blog-featured:hover { box-shadow: var(--shadow-md); }
.blog-featured-thumb { height: 260px; background: linear-gradient(135deg, #dbeafe, #bfdbfe, #a5f3fc); display: flex; align-items: center; justify-content: center; font-size: 5rem; }

/* ── Footer ── */
.site-footer { background: #0a0f1e; color: #94a3b8; }
.footer-cta { background: linear-gradient(135deg, #1d4ed8, #2563eb); padding: 56px 0; }
.footer-cta h2 { color: #fff; font-size: 1.8rem; margin-bottom: 8px; }
.footer-cta p { color: rgba(255,255,255,.7); margin-bottom: 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-icon { width: 40px; height: 40px; background: linear-gradient(135deg, #3b82f6, #2563eb); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.footer-brand-icon i { color: #fff; font-size: 18px; }
.footer-brand-name { font-weight: 800; font-size: 1.15rem; color: #fff; }
.footer-brand-sub { font-size: 0.68rem; color: #60a5fa; font-weight: 600; }
.footer-desc { font-size: 0.875rem; line-height: 1.75; color: #64748b; max-width: 280px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: #1e293b; display: flex; align-items: center; justify-content: center; color: #94a3b8; transition: all .2s; text-decoration: none; }
.footer-social a:hover { background: #2563eb; color: #fff; transform: translateY(-2px); }
.footer-heading { font-size: 0.78rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #e2e8f0; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.footer-heading i { color: #3b82f6; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #64748b; font-size: 0.875rem; text-decoration: none; display: flex; align-items: center; gap: 6px; transition: all .2s; }
.footer-links a i { font-size: 10px; opacity: 0; transition: opacity .2s; }
.footer-links a:hover { color: #60a5fa; padding-left: 4px; }
.footer-links a:hover i { opacity: 1; }
.footer-divider { border-color: #1e293b; }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { font-size: 0.82rem; color: #475569; margin: 0; }
.footer-legal a { color: #475569; font-size: 0.78rem; text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: #94a3b8; }

/* ── Page Hero Sections ── */
.page-hero {
  background: linear-gradient(135deg, #f8faff 0%, #eff6ff 60%, #f0f9ff 100%);
  border-bottom: 1px solid var(--gray-100);
  padding: 56px 0 48px;
}
.breadcrumb-custom a { color: var(--gray-400); text-decoration: none; font-size: 0.82rem; }
.breadcrumb-custom a:hover { color: var(--primary); }
.breadcrumb-custom span { color: var(--gray-300); font-size: 0.82rem; margin: 0 6px; }
.breadcrumb-custom .current { color: var(--gray-600); font-size: 0.82rem; font-weight: 500; }

/* ── Testimonials ── */
.testimonial-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--gray-100); padding: 28px; }
.stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 14px; font-size: 0.9rem; }
.testimonial-card blockquote { color: var(--gray-700); font-size: 0.9rem; line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #60a5fa, #2563eb); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.testimonial-name { font-weight: 600; font-size: 0.875rem; color: var(--gray-900); }
.testimonial-role { font-size: 0.75rem; color: var(--gray-400); }

/* ── Tags / Badges ── */
.tag { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; text-decoration: none; transition: all .2s; }
.tag-blue { background: #dbeafe; color: #1d4ed8; }
.tag-blue:hover { background: #bfdbfe; color: #1d4ed8; }
.tag-purple { background: #ede9fe; color: #6d28d9; }
.tag-green { background: #d1fae5; color: #065f46; }
.tag-orange { background: #ffedd5; color: #9a3412; }
.tag-pink { background: #fce7f3; color: #9d174d; }

/* ── Blog Post Content ── */
.blog-content h2 { font-size: 1.6rem; font-weight: 800; color: var(--gray-900); margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-xlight); }
.blog-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--gray-800); margin: 28px 0 12px; }
.blog-content p { color: var(--gray-600); line-height: 1.85; margin-bottom: 18px; font-size: 0.975rem; }
.blog-content ul, .blog-content ol { color: var(--gray-600); padding-left: 24px; margin-bottom: 18px; }
.blog-content li { margin-bottom: 8px; line-height: 1.7; font-size: 0.975rem; }
.blog-content code { background: var(--gray-100); padding: 2px 7px; border-radius: 5px; font-size: 0.85rem; font-family: 'Courier New', monospace; color: #be185d; }
.blog-content pre { background: #0f172a; border-radius: var(--radius); padding: 20px 24px; overflow-x: auto; margin: 24px 0; }
.blog-content pre code { background: none; color: #4ade80; font-size: 0.82rem; padding: 0; }
.blog-content strong { font-weight: 700; color: var(--gray-800); }
.blog-content a { color: var(--primary); text-decoration: underline; }
.blog-content blockquote { border-left: 4px solid var(--primary); background: var(--primary-xlight); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; font-style: italic; color: var(--gray-700); }

/* ── Legal Pages ── */
.legal-content h2 { font-size: 1.3rem; font-weight: 700; color: var(--gray-900); margin: 36px 0 12px; border-left: 4px solid var(--primary); padding-left: 14px; }
.legal-content h3 { font-size: 1.05rem; font-weight: 600; color: var(--gray-800); margin: 24px 0 10px; }
.legal-content p { color: var(--gray-600); line-height: 1.8; margin-bottom: 14px; font-size: 0.92rem; }
.legal-content ul { color: var(--gray-600); padding-left: 24px; margin-bottom: 14px; }
.legal-content li { margin-bottom: 6px; line-height: 1.7; font-size: 0.92rem; }
.legal-content strong { color: var(--gray-700); }

/* ── Contact ── */
.contact-info-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { width: 42px; height: 42px; border-radius: var(--radius); background: var(--primary-xlight); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon i { color: var(--primary); font-size: 16px; }

/* ── Error/Alert ── */
.alert-custom { border-radius: var(--radius); padding: 14px 18px; display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #065f46; }
.alert-custom i { flex-shrink: 0; margin-top: 1px; }

/* ── About ── */
.value-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 28px; height: 100%; transition: all .3s; }
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #60a5fa, #2563eb); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; font-weight: 700; margin: 0 auto 14px; box-shadow: 0 8px 20px rgba(37,99,235,.25); }

/* ── Custom spacing & typography utilities ── */
.fw-extrabold { font-weight: 800 !important; }
.py-md-6 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
@media (max-width: 767.98px) { .py-md-6 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; } }
.py-2-5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }

/* ── Blog Article Pages ── */
.blog-article { max-width: 100%; }
.blog-article h2 { font-size: 1.55rem; font-weight: 800; color: var(--gray-900); margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-xlight); }
.blog-article h3 { font-size: 1.15rem; font-weight: 700; color: var(--gray-800); margin: 28px 0 12px; }
.blog-article p { color: var(--gray-600); line-height: 1.85; margin-bottom: 18px; font-size: 0.975rem; }
.blog-article ul, .blog-article ol { color: var(--gray-600); padding-left: 24px; margin-bottom: 18px; }
.blog-article li { margin-bottom: 8px; line-height: 1.7; font-size: 0.975rem; }
.blog-article code { background: var(--gray-100); padding: 2px 7px; border-radius: 5px; font-size: 0.85rem; font-family: 'Courier New', monospace; color: #be185d; }
.blog-article strong { font-weight: 700; color: var(--gray-800); }
.blog-article a { color: var(--primary); text-decoration: underline; }
.blog-article table { font-size: 0.875rem; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 0.85rem; color: var(--gray-400); }
.blog-meta span { display: flex; align-items: center; gap: 4px; }
.article-lead { font-size: 1.1rem; color: var(--gray-700); line-height: 1.8; font-weight: 500; border-left: 4px solid var(--primary-light); padding-left: 20px; }
.article-callout { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius); padding: 16px 20px; margin: 24px 0; display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--gray-700); line-height: 1.7; }
.article-callout strong { color: var(--gray-800); }
.article-cta { background: var(--primary-xlight); border: 1px solid var(--primary-light); border-radius: var(--radius-lg); padding: 20px 24px; margin-top: 40px; font-size: 0.95rem; color: var(--gray-700); display: flex; align-items: center; gap: 10px; }
.article-cta a { color: var(--primary); }
.code-block { background: #0f172a; border-radius: var(--radius); padding: 20px 24px; overflow-x: auto; margin: 20px 0; }
.code-block pre { color: #4ade80; font-size: 0.82rem; margin: 0; white-space: pre-wrap; word-break: break-all; font-family: 'Courier New', Courier, monospace; line-height: 1.65; }
.blog-sidebar { position: sticky; top: 90px; }
.sidebar-tool-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); font-size: 0.875rem; color: var(--gray-700); text-decoration: none; font-weight: 500; transition: all .2s; margin-bottom: 4px; }
.sidebar-tool-link:hover { background: var(--primary-xlight); color: var(--primary); }
.sidebar-post-link { display: block; font-size: 0.875rem; color: var(--gray-600); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--gray-100); transition: color .2s; }
.sidebar-post-link:last-child { border-bottom: none; }
.sidebar-post-link:hover { color: var(--primary); padding-left: 4px; }

/* ── Blog listing page extra ── */
.blog-card-img { height: 200px; display: flex; align-items: center; justify-content: center; }
.blog-card-excerpt { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; flex: 1; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-featured-img { height: 260px; background: linear-gradient(135deg, var(--primary-xlight), var(--primary-light)); display: flex; align-items: center; justify-content: center; }

/* ── Contact info cards ── */
.contact-info-icon { width: 48px; height: 48px; background: var(--primary-xlight); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ── Legal pages ── */
.legal-doc h2 { font-size: 1.3rem; font-weight: 700; color: var(--gray-900); margin: 36px 0 12px; border-left: 4px solid var(--primary); padding-left: 14px; }
.legal-doc h3 { font-size: 1.05rem; font-weight: 600; color: var(--gray-800); margin: 24px 0 10px; }
.legal-doc p { color: var(--gray-600); line-height: 1.8; margin-bottom: 14px; font-size: 0.92rem; }
.legal-doc ul { color: var(--gray-600); padding-left: 24px; margin-bottom: 14px; }
.legal-doc li { margin-bottom: 6px; line-height: 1.7; font-size: 0.92rem; }
.legal-doc strong { color: var(--gray-700); }
.legal-doc code { background: var(--gray-100); padding: 2px 6px; border-radius: 4px; font-size: 0.85rem; font-family: 'Courier New', monospace; color: #be185d; }
.legal-doc a { color: var(--primary); }

/* ── Misc ── */
.divider-gradient { height: 1px; background: linear-gradient(90deg, transparent, var(--gray-200), transparent); margin: 0; border: none; }
.highlight-box { background: linear-gradient(135deg, var(--primary-xlight), #e0f2fe); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--primary-light); }
.spinner-custom { width: 20px; height: 20px; border: 2px solid rgba(37,99,235,.2); border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.fade-in { animation: fadeIn .4s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .hero-section { min-height: auto; padding: 60px 0 80px; }
  .hero-stats .col { text-align: center; }
  .navbar .btn-nav-cta { display: none; }
  .hero-title { font-size: 2rem; }
  .steps-connector { display: none; }
}
@media (max-width: 767.98px) {
  .hero-section { padding: 40px 0 60px; }
  .hero-card { padding: 20px; }
  .hero-title { font-size: 1.7rem; }
  .section-title { font-size: 1.5rem; }
  .page-hero { padding: 40px 0 30px; }
  .footer-cta h2 { font-size: 1.4rem; }
  .output-header { flex-direction: column; align-items: flex-start; }
  .blog-featured-thumb { height: 180px; }
}
@media (max-width: 575.98px) {
  body { font-size: 15px; }
  .hero-title { font-size: 1.5rem; }
  .hero-card { padding: 16px; }
  .btn-primary-custom, .btn-outline-custom { font-size: 0.875rem; padding: 10px 20px; }
  .tool-icon-wrap { width: 52px; height: 52px; font-size: 22px; }
  .url-list { max-height: 160px; }
  .output-textarea { min-height: 220px; }
}
