:root {
  --bg: #0f1012;
  --bg-mid: #13151a;
  --bg-top: #16181f;
  --surface: #181a1f;
  --surface-elevated: #1e2026;
  --text: #e8e8e8;
  --text-muted: #9a9a9a;
  --accent: #2d7d7d;
  --accent-soft: rgba(45, 125, 125, 0.18);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Cursor & interactive hover */
a,
button,
.btn,
.logo,
.card {
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
  background: #0c0d10;
}

body {
  font-family: var(--font-sans);
  min-height: 100vh;
  background-color: #0c0d10;
  /* Optional: use your own bg image - add images/bg.jpg and uncomment the line below */
  /* background-image: url("images/bg.jpg"); */
  background-image:
    radial-gradient(ellipse 120% 100% at 70% 20%, rgba(38, 117, 253, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 80% 80% at 20% 80%, rgba(45, 125, 125, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 90% 60%, rgba(72, 206, 233, 0.1) 0%, transparent 45%),
    linear-gradient(155deg, #0f1118 0%, #0c0d12 35%, #0a0b0f 50%, #0d0f14 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: 0 0, 0 0, 0 0, 0 0;
  color: var(--text);
  line-height: 1.6;
  position: relative;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* Cursor-following gradient glow (behind blur) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    circle 40vmax at var(--mouse-x) var(--mouse-y),
    rgba(38, 117, 253, 0.22) 0%,
    rgba(45, 125, 125, 0.12) 35%,
    transparent 60%
  );
  filter: blur(80px);
  opacity: 0.95;
  transition: opacity 0.3s;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(15, 16, 18, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.2s, transform 0.2s;
}

.logo:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.logo-img {
  height: 72px;
  width: auto;
  max-width: 320px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  display: none;
}

.logo.logo-no-image .logo-img {
  display: none;
}

.logo.logo-no-image .logo-text {
  display: inline;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s, transform 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-links a.active {
  color: var(--accent);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.65;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.85rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #248080;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45, 125, 125, 0.35);
}

/* Sections */
.section {
  max-width: 700px;
  margin: 0 auto;
  padding: 5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-wide {
  max-width: 1000px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--text);
  text-align: center;
}

.section p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-wide .section-heading {
  margin-bottom: 2.5rem;
}

/* Solution cards (ERP / WMS) */
.solution-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--accent-soft);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(45, 125, 125, 0.1);
  transform: translateY(-2px);
}

.card h2,
.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* Services grid (Host / Develop / Maintain) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.service-icon {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.service-item h2,
.service-item h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.service-item a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.service-item a:hover {
  color: #3a9a9a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-item p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* About */
.section#about p {
  max-width: 60ch;
}

/* CTA / Contact */
.section-cta {
  text-align: center;
}

.section-cta .section-heading {
  margin-bottom: 0.75rem;
}

.section-cta > p {
  margin-bottom: 1.5rem;
}

.section-cta .btn {
  margin-bottom: 1rem;
}

.contact-note {
  font-size: 0.9rem !important;
  color: var(--text-muted);
  opacity: 0.9;
}

/* Inner pages */
.inner-page {
  padding-top: 5rem;
}

.page-banner {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.page-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.page-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-cta-text {
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 0;
}

.prose {
  max-width: 60ch;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.leadership {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.leadership-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.leadership-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 2rem;
}

.leadership-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.leadership-role {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.leadership-bio {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.contact-block {
  margin-bottom: 1.5rem;
}

.contact-block p {
  margin-bottom: 1.25rem;
}

.contact-block a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-block a:hover {
  color: #3a9a9a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-muted {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.link-muted:hover {
  color: var(--accent);
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 700px) {
  .nav {
    padding: 0 0.5rem;
  }

  .nav-links {
    gap: 1.25rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 5rem 1.5rem 3rem;
  }

  .page-banner {
    padding: 3rem 1.5rem 1.5rem;
  }

  .section,
  .section-wide {
    padding: 3.5rem 1.5rem;
  }

  .solution-cards,
  .services-grid {
    grid-template-columns: 1fr;
  }
}
