:root {
  --bg-white: #FFFFFF;
  --bg-slate: #F8FAFC;
  --bg-soft-blue: #F1F5FF;
  --navy: #0F172A;
  --slate: #475569;
  --muted: #64748B;
  --border: #E2E8F0;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --purple: #7C3AED;
  --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-white);
  color: var(--slate);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-slate { background-color: var(--bg-slate); }
.section-header { text-align: center; max-width: 740px; margin: 0 auto 44px; }
.section-header h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-header p { font-size: 16px; color: var(--slate); }
.text-gradient {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #4F46E5);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38); color: #FFFFFF; }
.btn-secondary {
  background: var(--bg-white);
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-white {
  background: #FFFFFF;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}
.btn-white:hover { transform: translateY(-1px); background: #F8FAFC; color: var(--navy); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px; }
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  white-space: nowrap;
}
.header-cta { flex-shrink: 0; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; height: 72px; }
.nav-links > li { position: static; height: 72px; display: flex; align-items: center; }
.nav-links > li > a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  height: 100%;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--blue); font-weight: 600; }
.nav-chevron { transition: transform 0.2s ease; opacity: 0.65; }
.nav-links > li:hover .nav-chevron,
.nav-links > li.mega-open .nav-chevron { transform: rotate(180deg); opacity: 1; color: var(--blue); }

/* Mega Menu */
header.site-header .mega-menu {
  display: none !important;
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1040px, calc(100vw - 48px));
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  z-index: 120;
}
header.site-header .mega-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
header.site-header .nav-links > li.mega-open .mega-menu,
header.site-header .nav-links > li:focus-within .mega-menu { display: grid !important; grid-template-columns: 1fr 250px; gap: 24px; align-items: stretch; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 14px; }
.mega-grid-2 { grid-template-columns: repeat(2, 1fr); }
.mega-item {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.mega-item strong { font-size: 13px; font-weight: 600; color: var(--navy); }
.mega-item span { font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.mega-item:hover { background: var(--bg-soft-blue); }
.mega-item:hover strong { color: var(--blue); }
.mega-aside {
  background: linear-gradient(135deg, #F8FAFF 0%, #EEF2FF 100%);
  border: 1px solid #E0E7FF;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mega-aside h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.mega-aside p { font-size: 12.5px; color: var(--slate); line-height: 1.5; margin-bottom: 14px; }
.mega-aside-link { font-size: 13px; font-weight: 600; color: var(--blue); }

.mobile-sublinks { list-style: none; padding-left: 14px; margin-top: 6px; display: flex; flex-direction: column; gap: 6px; border-left: 2px solid var(--border); }
.mobile-sublinks a { font-size: 13px; color: var(--slate); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--navy); }
.mobile-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.mobile-drawer.open { display: block; }
.mobile-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }

/* Hero & Internal Page Hero */
.hero {
  padding: 56px 0 64px;
  background: radial-gradient(circle at 82% 28%, rgba(124, 58, 237, 0.11), transparent 45%),
              radial-gradient(circle at 65% 75%, rgba(37, 99, 235, 0.08), transparent 45%),
              linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
  overflow: hidden;
}
.page-hero {
  padding: 56px 0 48px;
  background: radial-gradient(circle at 85% 20%, rgba(124, 58, 237, 0.09), transparent 45%),
              linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--blue); }
.page-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  max-width: 820px;
}
.page-hero p { font-size: 17px; color: var(--slate); max-width: 700px; margin-bottom: 24px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #EEF2FF;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.hero-copy { font-size: 16px; color: var(--slate); margin-bottom: 26px; max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.check-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #DCFCE7;
  color: #16A34A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* Integration Strip */
.integration-wrap { margin-top: -20px; position: relative; z-index: 2; }
.integration-bar {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.integration-title { font-size: 14px; font-weight: 700; color: var(--navy); max-width: 180px; line-height: 1.35; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.tool-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--navy); }
.tool-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* Grids & Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, 0.35); }
.card h2, .card h3 { color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.card h2 { font-size: 20px; }
.card h3 { font-size: 17px; }
.card p { font-size: 14px; color: var(--slate); line-height: 1.6; }
.spec-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.spec-list li { font-size: 13px; color: var(--navy); display: flex; align-items: flex-start; gap: 8px; }
.spec-list li::before { content: "✓"; color: var(--blue); font-weight: 700; }

.dept-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.dept-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, 0.35); }
.icon-box {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--bg-soft-blue);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dept-body { flex: 1; }
.dept-body h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
.dept-body p { font-size: 13px; color: var(--slate); line-height: 1.45; }
.dept-arrow { color: var(--blue); font-weight: 700; font-size: 16px; align-self: center; }

.ind-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ind-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ind-thumb {
  height: 78px;
  background: linear-gradient(135deg, #EFF6FF, #F3E8FF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.ind-label { padding: 14px 12px; font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.3; }

.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.2s, border-color 0.2s;
}
.svc-card:hover { transform: translateY(-2px); border-color: rgba(124, 58, 237, 0.35); }
.svc-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.svc-card p { font-size: 13px; color: var(--slate); }

/* Process & Why Choose Us & Delivery */
.process-box {
  background: var(--bg-soft-blue);
  border: 1px solid #E0E7FF;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  gap: 32px;
  align-items: center;
}
.process-intro h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 10px; line-height: 1.25; }
.process-intro p { font-size: 14px; color: var(--slate); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-item { text-align: center; position: relative; }
.step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.step-item h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.step-item p { font-size: 12px; color: var(--slate); line-height: 1.45; }

.why-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 28px;
  align-items: center;
}
.why-intro h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 8px; line-height: 1.25; }
.why-intro p { font-size: 14px; color: var(--slate); }
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.why-pill { text-align: center; padding: 14px 8px; border-radius: 12px; background: var(--bg-slate); border: 1px solid var(--border); }
.why-pill h3 { font-size: 12px; font-weight: 700; color: var(--navy); margin-top: 8px; line-height: 1.3; }

.delivery-box {
  background: linear-gradient(135deg, #F8FAFF 0%, #EEF2FF 100%);
  border: 1px solid #E0E7FF;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.delivery-content h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 16px; }
.delivery-content p { font-size: 15px; color: var(--slate); margin-bottom: 12px; line-height: 1.65; }
.delivery-content p:last-child { margin-bottom: 0; }

/* Use Cases + FAQ Split */
.split-section { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
.usecase-panel {
  background: var(--bg-soft-blue);
  border: 1px solid #E0E7FF;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}
.usecase-intro h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 10px; line-height: 1.25; }
.usecase-intro p { font-size: 14px; color: var(--slate); margin-bottom: 18px; }
.usecase-list { display: flex; flex-direction: column; gap: 10px; }
.usecase-row {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.faq-panel {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.faq-panel h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.faq-a { display: none; padding: 0 0 14px; font-size: 14px; color: var(--slate); line-height: 1.55; }
.faq-item.open .faq-a { display: block; }

/* Contact Form */
.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }
.bd-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--navy);
  background: var(--bg-white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.form-alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}
.form-alert-success { background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0; }
.form-alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

/* Final CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 50%, #6D28D9 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-md);
}
.cta-left { display: flex; align-items: center; gap: 20px; max-width: 680px; }
.cta-robot {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-banner h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 6px; }
.cta-banner p { font-size: 15px; color: #E2E8F0; }

/* Footer */
.site-footer { background: var(--navy); color: #CBD5E1; padding: 56px 0 28px; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand { color: #FFFFFF; font-size: 20px; font-weight: 800; margin-bottom: 10px; display: block; }
.footer-contact { font-size: 13px; color: #94A3B8; line-height: 1.7; margin-top: 12px; }
.footer-contact a { color: #93C5FD; }
.footer-col h4 { color: #FFFFFF; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-col a:hover { color: #FFFFFF; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .hero-grid, .process-box, .why-box, .delivery-box, .split-section, .usecase-panel, .contact-layout { grid-template-columns: 1fr; }
  .grid-4, .process-steps { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-services, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .header-cta { display: none; }
  .mobile-toggle { display: inline-flex; }
  .grid-2, .grid-4, .grid-5, .grid-services, .grid-3, .process-steps, .why-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .cta-banner { padding: 32px 24px; }
}
