:root {
  --ats-blue: #075da8;
  --ats-blue-dark: #034b89;
  --ats-charcoal: #333439;
  --ats-ink: #15171b;
  --ats-muted: #6a7078;
  --ats-line: #dce3ea;
  --ats-soft: #f3f6f9;
  --ats-white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ats-ink);
  font-family: "Poppins", Arial, sans-serif;
  background: var(--ats-white);
}

a {
  color: inherit;
}

.section {
  padding: 40px 0;
}

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

.navbar {
  border-bottom: 1px solid rgba(7, 93, 168, 0.1);
}

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

.brand-logo {
  width: 132px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  color: var(--ats-charcoal);
  font-weight: 700;
  letter-spacing: 0;
}

.nav-link {
  color: var(--ats-charcoal);
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ats-blue) !important;
}

.btn {
  border-radius: 6px;
  font-weight: 600;
}

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

.btn-primary-custom:hover {
  border-color: var(--ats-blue-dark);
  background: var(--ats-blue-dark);
  color: var(--ats-white);
}

.btn-outline-custom {
  border-color: var(--ats-blue);
  color: var(--ats-blue);
}

.btn-outline-custom:hover {
  background: var(--ats-blue);
  color: var(--ats-white);
}

.btn-call {
  border-color: #1da851;
  background: #1da851;
  color: var(--ats-white);
}

.btn-call:hover {
  border-color: #158442;
  background: #158442;
  color: var(--ats-white);
}

.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(21, 23, 27, 0.96) 0%, rgba(7, 93, 168, 0.9) 52%, rgba(21, 23, 27, 0.8) 100%),
    url("../images/cnc-wire-cut-edm-secondary.jpg") center/cover no-repeat;
}

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(21, 23, 27, 0.92), rgba(7, 93, 168, 0.8)),
    url("../images/wire-cut-edm-system.jpg") center/cover no-repeat;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
}

.eyebrow-dark {
  border-color: rgba(7, 93, 168, 0.22);
  color: var(--ats-blue);
  background: rgba(7, 93, 168, 0.06);
}

.hero h1,
.page-hero h1 {
  max-width: 850px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.94);
}

.hero-panel {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.hero-panel-label {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stat {
  position: relative;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ats-charcoal);
  overflow: hidden;
}

.hero-stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--ats-blue), var(--ats-charcoal));
}

.hero-stat-kicker {
  color: var(--ats-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-stat strong {
  display: block;
  color: var(--ats-blue);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.08;
}

.hero-stat-label {
  display: block;
  color: var(--ats-charcoal);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.stat {
  padding: 18px;
  border-left: 4px solid var(--ats-blue);
  background: var(--ats-white);
  box-shadow: 0 12px 32px rgba(21, 23, 27, 0.08);
}

.stat strong {
  display: block;
  color: var(--ats-blue);
  font-size: 28px;
}

.card-clean,
.product-card,
.info-card {
  border: 1px solid var(--ats-line);
  border-radius: 8px;
  background: var(--ats-white);
  box-shadow: 0 10px 28px rgba(21, 23, 27, 0.05);
}

.product-card {
  height: 100%;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(21, 23, 27, 0.1);
}

.product-media {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ats-white);
  background: var(--ats-soft);
}

.product-media img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 18px;
  background: var(--ats-white);
}

.app-preview {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 34px;
  background: var(--ats-ink);
  box-shadow: 0 22px 48px rgba(21, 23, 27, 0.24);
}

.app-screenshot {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
  background: var(--ats-white);
}

.product-card .card-body {
  padding: 24px;
}

.product-card h3,
.product-card h5 {
  color: var(--ats-charcoal);
  font-size: 20px;
  font-weight: 700;
}

.check-list {
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 26px;
  color: var(--ats-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ats-blue);
}

.feature-card {
  height: 100%;
  padding: 26px;
  border-top: 4px solid var(--ats-blue);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
}

.cta-band {
  background: var(--ats-charcoal);
  color: var(--ats-white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-box {
  padding: 26px;
}

.form-control,
.form-select {
  min-height: 48px;
  border-color: var(--ats-line);
  border-radius: 6px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ats-blue);
  box-shadow: 0 0 0 0.2rem rgba(7, 93, 168, 0.14);
}

.footer-section {
  padding: 56px 0 22px;
  background: var(--ats-ink);
  color: var(--ats-white);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

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

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-actions .btn {
  box-shadow: 0 10px 24px rgba(21, 23, 27, 0.18);
}

@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 92px 0;
  }

  .brand-logo {
    width: 112px;
    height: 46px;
  }
}

@media (min-width: 992px) {
  .navbar-nav {
    gap: 22px;
  }

  .navbar-nav .nav-link {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 56px 0;
  }

  .floating-actions {
    position: static;
    padding: 16px;
    background: var(--ats-white);
  }

  .floating-actions .btn {
    width: 100%;
  }
}


/* =========================================
   ANDROID MOBILE FIX
========================================= */

html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* HERO SECTION MOBILE FIX */
@media (max-width: 768px) {

    .hero {
        min-height: auto !important;
        height: auto !important;
        display: block !important;
        padding: 40px 0 60px !important;
        background-position: center center !important;
    }

    .page-hero {
        min-height: auto !important;
        height: auto !important;
        display: block !important;
        padding: 50px 0 !important;
    }

    .hero .row,
    .page-hero .row {
        min-height: auto !important;
    }

    .hero h1 {
        font-size: 34px !important;
        line-height: 1.2;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-panel {
        margin-top: 30px;
        padding: 20px;
    }

    .brand-logo {
        width: 170px !important;
        height: auto !important;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar-toggler {
        padding: 8px 12px;
    }

    .product-media img {
        height: auto !important;
        max-height: 220px;
        object-fit: contain;
    }

    .btn-lg {
        width: 100%;
    }

    .d-flex.flex-wrap.gap-3 {
        flex-direction: column;
    }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px) {

    .hero h1 {
        font-size: 28px !important;
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .display-5 {
        font-size: 1.8rem !important;
    }

    .section {
        padding: 30px 0;
    }
}

/* HERO CTA */
.hero-cta-buttons {
    margin-top: 10px;
}

/* APP DOWNLOAD SECTION */
.app-download-box {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.download-label {
    margin-bottom: 14px;
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* STORE BUTTONS */
.store-btn img {
    height: 48px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.store-btn img:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* MOBILE */
@media (max-width:768px){

    .hero-cta-buttons .btn {
        width: 100%;
    }

    .app-download-box {
        margin-top: 24px;
    }

    .store-btn img {
        height: 42px;
    }
}