/* ===== ATLAS AUTOMATION — SHARED STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0D2B5E;
  --navy-deep: #081A3D;
  --navy-soft: #1A4A8A;
  --teal: #00A888;
  --teal-bright: #00C9A7;
  --teal-dim: rgba(0, 168, 136, 0.08);
  --teal-border: rgba(0, 168, 136, 0.25);
  --ink: #131826;
  --grey: #5C6470;
  --grey-light: #8A92A0;
  --line: #E6E9EE;
  --paper: #FAFBFC;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--max);
  margin: 0 auto;
}

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

.brand img { height: 120px; width: auto; }

.brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.brand-text span { font-weight: 400; color: var(--grey); font-size: 16px; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
nav.main-nav a:hover { color: var(--teal); }
nav.main-nav a.active { color: var(--navy); font-weight: 600; }
nav.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--teal-bright);
  border-radius: 2px;
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 13px !important;
  white-space: nowrap;
  min-width: 125px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--teal); transform: translateY(-1px); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.mobile-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 64px 32px 32px;
  margin-top: 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .brand-text { color: var(--white); }
.footer-brand .brand-text span { color: rgba(255,255,255,0.55); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal-bright); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.social-row { display: flex; gap: 16px; }
.social-row a { color: rgba(255,255,255,0.55); font-size: 13px; }
.social-row a:hover { color: var(--teal-bright); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  border: none;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(13,43,94,0.25);
}
.btn-primary:hover { background: var(--teal); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,168,136,0.3); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { background: var(--teal-bright); color: var(--white); }

/* ===== SECTION HELPERS ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,201,167,0.6);
}

section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: 36px; margin-bottom: 14px; }
.section-head p { color: var(--grey); font-size: 16.5px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

@media (max-width: 880px) {
  nav.main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 64px 0; }
  .section-head h2 { font-size: 28px; }
}
@media (max-width: 880px) {
  nav.main-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 24px 32px;
    gap: 18px;
    box-shadow: 0 12px 24px -8px rgba(13,43,94,0.15);
    border-bottom: 1px solid var(--line);
  }
  .site-header { position: relative; }
}.fade-in-down {
  opacity: 0;
  animation: fadeInDown 0.9s ease forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}