/* ==========================================================================
   北京览智科技有限公司 (Beijing Lanzhi Technology Co., Ltd.)
   官方网站核心样式表 - Modern Corporate Tech Stylesheet
   ========================================================================== */

:root {
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-light: #eff6ff;
  --primary-glow: rgba(29, 78, 216, 0.18);
  --accent: #0284c7;
  --accent-cyan: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.2);

  --dark-bg: #0b1120;
  --dark-surface: #1e293b;
  --dark-card: #0f172a;

  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 22px 35px -8px rgba(29, 78, 216, 0.15);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-py {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-py-sm {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
  border-bottom-color: var(--border-light);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 42px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hotline-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

.hotline-btn svg {
  color: var(--primary);
}

.hotline-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  border-color: #bfdbfe;
  color: var(--primary-hover);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  border: 1px solid rgba(191, 219, 254, 0.8);
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 160px;
  padding-bottom: 100px;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 70%, #f8fafc 100%);
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 80%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-2 {
  position: absolute;
  bottom: 0;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 52px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -1px;
  color: #0b1528;
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Hero Stats Bar */
.hero-stats-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 2;
  max-width: 1060px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-light);
}

.stat-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-sans);
}

.stat-unit {
  font-size: 22px;
  font-weight: 700;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* Service Cards Grid (Based directly on business scope) */
.services-section {
  background-color: var(--bg-subtle);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #bfdbfe;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.05);
}

.service-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.service-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background-color: #f1f5f9;
  color: var(--text-secondary);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
}

.service-card-link svg {
  transition: transform var(--transition-fast);
}

.service-card-link:hover svg {
  transform: translateX(4px);
}

/* Solutions Section */
.solutions-section {
  background-color: #ffffff;
}

.solutions-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.sol-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sol-tab-btn {
  text-align: left;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 14px;
}

.sol-tab-btn:hover {
  border-color: #bfdbfe;
  background: #f8fafc;
}

.sol-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.sol-tab-btn.active .tab-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.tab-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tab-text-wrap .tab-title {
  font-size: 15px;
  font-weight: 700;
  display: block;
}

.tab-text-wrap .tab-desc {
  font-size: 12px;
  opacity: 0.8;
  display: block;
  margin-top: 2px;
}

.sol-content-panel {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
}

.sol-panel {
  display: none;
}

.sol-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.sol-panel-header {
  margin-bottom: 24px;
}

.sol-panel-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.sol-panel-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.sol-panel-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.sol-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
  margin-bottom: 32px;
}

.sol-feat-card {
  padding: 18px 20px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.sol-feat-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sol-feat-card h4 svg {
  color: var(--primary);
}

.sol-feat-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Service Process & Delivery Section */
.process-section {
  background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
  color: #ffffff;
}

.process-section .section-title {
  color: #ffffff;
}

.process-section .section-desc {
  color: #94a3b8;
}

.process-section .section-badge {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.4);
  color: #60a5fa;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 50px;
}

.process-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 30px 22px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: #3b82f6;
  background: rgba(30, 41, 59, 0.95);
  box-shadow: 0 12px 28px -5px rgba(29, 78, 216, 0.3);
}

.process-step-num {
  font-size: 13px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: inline-block;
  padding: 2px 8px;
  background: rgba(56, 189, 248, 0.12);
  border-radius: var(--radius-sm);
}

.process-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #f8fafc;
}

.process-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
}

/* Why Choose Lanzhi / Strengths */
.why-us-section {
  background-color: #ffffff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.why-card:hover {
  background: #ffffff;
  box-shadow: var(--shadow-xl);
  border-color: #bfdbfe;
  transform: translateY(-4px);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.why-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.why-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Interactive Consultation / Inquiry Section */
.inquiry-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 50%, #faf5ff 100%);
  position: relative;
}

.inquiry-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.1);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: grid;
  grid-template-columns: 420px 1fr;
}

.inquiry-info {
  background: linear-gradient(145deg, #1d4ed8, #0f172a);
  color: #ffffff;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.inquiry-info-top h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.inquiry-info-top p {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-direct-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-direct-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-direct-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.contact-direct-meta span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
}

.contact-direct-meta strong {
  font-size: 15px;
  color: #ffffff;
}

.inquiry-form-wrap {
  padding: 48px 44px;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: var(--bg-subtle);
  font-size: 14px;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Footer Section */
.site-footer {
  background-color: #0b1120;
  color: #94a3b8;
  padding-top: 80px;
  padding-bottom: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-about .footer-logo-wrap {
  margin-bottom: 18px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13.5px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
}

.footer-contact-item svg {
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

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

.footer-legal-links a:hover {
  color: #ffffff;
}

/* Floating Sidebar (Back to Top & Quick Contact) */
.floating-widget {
  position: fixed;
  right: 24px;
  bottom: 36px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  position: relative;
}

.floating-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.floating-btn .tooltip {
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%);
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-fast);
}

.floating-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

#backToTop {
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

/* Toast Message Notification */
.toast-container {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  animation: slideInRight 0.3s ease;
  min-width: 280px;
  max-width: 400px;
}

.toast.toast-success {
  border-left-color: #10b981;
}

.toast.toast-error {
  border-left-color: #ef4444;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  width: 90%;
  max-width: 420px;
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 20px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solutions-wrapper {
    grid-template-columns: 1fr;
  }
  .sol-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .sol-tab-btn {
    min-width: 220px;
  }
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 868px) {
  .hero-title {
    font-size: 38px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .inquiry-card {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-actions .hotline-btn {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .sol-features-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .inquiry-form {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Subpage Specific Layouts & Components
   ========================================================================== */
.page-banner {
  padding-top: 140px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, #edf5ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.page-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.page-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.7;
}

/* Service Detail Block */
.service-detail-block {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}

.service-detail-block:last-child {
  border-bottom: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.service-detail-grid.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.service-detail-grid.reverse .service-detail-content {
  order: 2;
}

.service-detail-grid.reverse .service-detail-visual {
  order: 1;
}

.service-detail-visual {
  background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.detail-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.detail-heading {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.35;
}

.detail-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.feature-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.feature-check-item svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Timeline component for About page */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 40px auto 0 auto;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #cbd5e1;
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-year {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 868px) {
  .service-detail-grid, .service-detail-grid.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .service-detail-grid.reverse .service-detail-content {
    order: 1;
  }
  .service-detail-grid.reverse .service-detail-visual {
    order: 2;
  }
}

