:root {
  --blue: #0d8bf2;
  --blue-dark: #1f2d3d;
  --sidebar: #2f363d;
  --bg: #f4f6f9;
  --white: #ffffff;
  --soft-blue: #eaf4fc;
  --success: #28a745;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #dbe4ef;
  --shadow: 0 14px 34px rgba(31, 45, 61, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Roboto, Arial, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

button, input { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #075da6);
  box-shadow: 0 8px 18px rgba(13, 139, 242, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  text-decoration: none;
}

.nav a:hover { color: var(--blue); }

.section {
  padding: 72px 7vw;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 48px;
  padding-top: 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h2 {
  margin-bottom: 16px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.18;
  color: var(--text);
}

.hero-text, .section-heading p, .solution-card p, .about p, .contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 45, 61, 0.15);
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
}

.btn-success {
  color: var(--white);
  background: var(--success);
}

.btn-outline {
  color: var(--blue-dark);
  background: var(--white);
  border-color: var(--line);
}

.btn-small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  display: block;
}

.metric-card {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 142px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(31, 45, 61, 0.14);
}

.metric-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.metric-card strong {
  color: var(--blue-dark);
  font-size: 24px;
}

.metric-sales { left: 22px; bottom: 24px; }
.metric-support { right: 22px; top: 24px; }

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2, .about h2, .contact-card h2 {
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: clamp(28px, 4vw, 42px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 16px;
}

.service-card, .solution-card, .contact-card, .erp-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(31, 45, 61, 0.06);
}

.service-card {
  padding: 22px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover, .solution-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: var(--blue);
  background: var(--soft-blue);
  font-weight: 900;
}

.service-card h3, .solution-card h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
}

.service-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.section-soft {
  background: linear-gradient(180deg, var(--soft-blue), rgba(234, 244, 252, 0));
}

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

.solution-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.solution-card.accent {
  border-color: rgba(40, 167, 69, 0.22);
  background: linear-gradient(180deg, #ffffff, #f4fff7);
}

.solution-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.erp-panel {
  margin-top: 22px;
  padding: 22px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-title h3 { margin: 0; }

.icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.company-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.company-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.company-item strong { color: var(--blue-dark); }

.about {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 42px;
  background: var(--white);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 800;
}

.benefit span { color: var(--success); }

.contact {
  display: grid;
  place-items: center;
}

.contact-card {
  width: min(920px, 100%);
  padding: 32px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.contact-list div {
  padding: 14px;
  border-radius: 8px;
  background: var(--bg);
}

.contact-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.footer {
  padding: 28px 7vw;
  color: #cbd5e1;
  background: var(--blue-dark);
}

@media (max-width: 1180px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .topbar {
    height: auto;
    flex-wrap: wrap;
    padding: 14px 20px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-visual, .hero-visual img {
    min-height: 360px;
  }

  .service-grid, .solution-grid, .company-list, .about, .contact-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .section { padding: 54px 20px; }
  .topbar .btn { width: 100%; }
  .nav a { font-size: 13px; }
  .hero-actions .btn { width: 100%; }
  .metric-card { position: static; margin: 12px; }
  .hero-visual { padding-bottom: 8px; }
  .benefit-grid { grid-template-columns: 1fr; }
}
