:root {
  --navy: #071833;
  --navy-2: #0b244d;
  --blue: #1266f1;
  --blue-2: #0a47b8;
  --cyan: #16b8d9;
  --green: #10b981;
  --orange: #f59e0b;
  --purple: #7c3aed;
  --ink: #102033;
  --muted: #64748b;
  --line: #dbe5f2;
  --soft: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(7, 24, 51, .12);
  --radius: 22px;
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 64px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(219, 229, 242, .92);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.brand img,
.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(7, 24, 51, .08);
}

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

.main-nav a {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 26px 0;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
  border-color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  margin-left: auto;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--white);
  box-shadow: 0 14px 30px rgba(18, 102, 241, .22);
}

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

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

.btn-ghost-white {
  color: var(--white);
  border-color: rgba(255, 255, 255, .5);
}

.hero {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 12% 14%, rgba(18, 102, 241, .12), transparent 24%),
    radial-gradient(circle at 78% 12%, rgba(22, 184, 217, .18), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1.08fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin: 0 0 13px;
}

.hero h1,
.section-title h2,
.ai-copy h2,
.contact-copy h2,
.cta-box h2 {
  color: var(--navy);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0;
  font-weight: 700;
}

.hero h1 span {
  color: var(--blue);
}

.hero-text {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 620px;
  margin: 22px 0 0;
}

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

.benefit-grid div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-weight: 600;
}

.benefit-grid i,
.solution-card i,
.directory-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  color: var(--white);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.benefit-grid div:nth-child(2) i,
.solution-card:nth-child(2) i {
  background: linear-gradient(135deg, var(--green), #067a66);
}

.benefit-grid div:nth-child(3) i,
.solution-card:nth-child(3) i {
  background: linear-gradient(135deg, var(--orange), #ef4444);
}

.benefit-grid div:nth-child(4) i,
.solution-card:nth-child(4) i {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
}

.hero-actions,
.cta-box > div:last-child {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.dashboard-shell {
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(18, 102, 241, .12), rgba(22, 184, 217, .12));
  padding: 18px;
  box-shadow: var(--shadow);
}

.erp-dashboard {
  min-height: 560px;
  display: grid;
  grid-template-columns: 145px 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.dash-sidebar {
  background: var(--navy);
  color: var(--white);
  padding: 20px 14px;
}

.dash-sidebar img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--white);
  margin-bottom: 24px;
}

.dash-sidebar a {
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.dash-sidebar a.active,
.dash-sidebar a:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

.dash-main {
  background: #f7faff;
  padding: 20px;
}

.dash-top,
.panel-head,
.metric-grid,
.dash-panels,
.orders-panel p,
.product-panel p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dash-top {
  margin-bottom: 18px;
}

.dash-top small,
.metric span,
.panel-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.dash-top strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
}

.dash-top > span {
  background: #e8f1ff;
  color: var(--blue);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
}

.metric,
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.metric strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
  margin-top: 5px;
}

.dash-panels {
  align-items: stretch;
  margin-bottom: 16px;
}

.chart-panel {
  flex: 1.35;
}

.product-panel,
.quick-panel {
  flex: 1;
}

.bar-chart {
  height: 160px;
  display: flex;
  align-items: end;
  gap: 13px;
  padding-top: 24px;
}

.bar-chart i {
  flex: 1;
  min-width: 18px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.product-panel p,
.orders-panel p {
  color: #334155;
  margin: 14px 0;
}

.product-panel span,
.orders-panel span {
  color: var(--blue);
  font-weight: 700;
}

.lower .orders-panel {
  flex: 1.25;
}

.quick-panel div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.quick-panel a {
  background: #eef5ff;
  color: var(--blue);
  text-decoration: none;
  text-align: center;
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
}

.section-title {
  max-width: 740px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-title p:not(.eyebrow),
.ai-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.solution-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  min-height: 290px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 36px rgba(7, 24, 51, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.solution-card h3,
.feature-card h3,
.process-step h3 {
  color: var(--navy);
  margin: 18px 0 10px;
  font-size: 22px;
  font-weight: 650;
}

.solution-card p,
.feature-card p,
.process-step p {
  color: var(--muted);
  line-height: 1.65;
}

.solution-card a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.features {
  background:
    radial-gradient(circle at 10% 15%, rgba(18, 102, 241, .2), transparent 24%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}

.section-title.light h2,
.section-title.light p,
.feature-card h3,
.feature-card p {
  color: var(--white);
}

.feature-card {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255, 255, 255, .08);
}

.feature-card i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 16px;
  color: var(--cyan);
  font-style: normal;
  font-weight: 600;
}

.ai-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.ai-visual {
  min-height: 440px;
  position: relative;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 50%, rgba(18, 102, 241, .16), transparent 43%),
    linear-gradient(135deg, #f7fbff, #eef6ff);
  border: 1px solid var(--line);
  overflow: hidden;
}

.bot-face {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 168px;
  height: 138px;
  transform: translate(-50%, -50%);
  border-radius: 38px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: var(--shadow);
}

.bot-face:before {
  content: "AI";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 42px;
  font-weight: 600;
}

.bot-face span {
  position: absolute;
  top: 42px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
}

.bot-face span:first-child { left: 43px; }
.bot-face span:last-child { right: 43px; }

.chat-bubble {
  position: absolute;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 700;
  box-shadow: 0 15px 36px rgba(7, 24, 51, .1);
}

.chat-bubble.one { left: 38px; top: 76px; }
.chat-bubble.two { right: 34px; bottom: 78px; }

.ai-ring {
  position: absolute;
  inset: 56px;
  border: 2px dashed rgba(18, 102, 241, .28);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.ai-copy h2 {
  margin-bottom: 18px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  display: grid;
  gap: 13px;
}

.check-list li {
  color: #334155;
  font-weight: 600;
}

.check-list li:before {
  content: "+";
  color: var(--green);
  font-weight: 600;
  margin-right: 10px;
}

.process-section {
  background: var(--soft);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.process-step {
  position: relative;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 16px;
  box-shadow: 0 10px 28px rgba(7, 24, 51, .06);
}

.process-step:not(:last-child):after {
  content: "";
  position: absolute;
  top: 42px;
  right: -18px;
  width: 18px;
  height: 2px;
  background: var(--blue);
}

.process-step span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue);
  font-weight: 600;
}

.industries {
  background: var(--white);
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.industry-list span {
  padding: 14px 18px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue-2);
  font-weight: 700;
}

.cta-section {
  padding-top: 40px;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  padding: 44px;
  border-radius: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: var(--shadow);
}

.cta-box h2,
.cta-box p {
  color: var(--white);
}

.cta-box p {
  margin-bottom: 0;
  font-size: 18px;
}

.contact-section {
  background: var(--soft);
}

.contact-copy h2 {
  margin-bottom: 18px;
}

.contact-info {
  margin-top: 26px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.contact-info p {
  margin: 8px 0;
}

.contact-info a {
  color: var(--blue);
  font-weight: 700;
}

.enquiry-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.enquiry-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  outline: none;
  background: #fbfdff;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 102, 241, .12);
}

.form-alert {
  border-radius: 14px;
  padding: 13px 15px;
  margin-bottom: 18px;
  font-weight: 600;
}

.form-alert.success {
  color: #047857;
  background: #d1fae5;
}

.form-alert.error {
  color: #b91c1c;
  background: #fee2e2;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 0;
}

.site-footer {
  color: rgba(255,255,255,.78);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 34px;
  padding: 62px 0 38px;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 14px;
}

.site-footer h3 {
  color: var(--white);
  margin: 0 0 15px;
  font-size: 16px;
}

.site-footer a {
  display: block;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  margin: 9px 0;
}

.site-footer a:hover {
  color: var(--white);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  margin: 0;
  font-weight: 600;
}

.footer-demo {
  display: inline-flex !important;
  color: var(--white) !important;
  background: var(--blue);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 14px !important;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px;
  color: rgba(255,255,255,.72);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
  .hero-grid,
  .ai-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-step:after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
    border: 0;
  }

  .nav-demo {
    display: none;
  }

  .nav-login {
    min-height: 40px;
    padding: 9px 16px;
  }

  .solution-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    display: block;
  }

  .cta-box > div:last-child {
    margin-top: 22px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section-pad {
    padding: 48px 0;
  }

  .brand span {
    max-width: 160px;
    line-height: 1.15;
  }

  .hero {
    min-height: auto;
  }

  .benefit-grid,
  .solution-grid,
  .feature-grid,
  .form-row,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .dash-sidebar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
  }

  .dash-sidebar img {
    margin: 0 8px 0 0;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }

  .dash-sidebar a {
    white-space: nowrap;
    margin: 0;
  }

  .metric-grid,
  .dash-panels {
    grid-template-columns: 1fr;
    display: grid;
  }

  .bar-chart {
    height: 120px;
  }

  .ai-visual {
    min-height: 340px;
  }

  .chat-bubble {
    font-size: 13px;
    max-width: 190px;
  }

  .cta-box,
  .enquiry-form {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .solution-card,
  .ai-ring {
    transition: none;
    animation: none;
  }
}
