/* Absolute Technology Associates — landing page
   Palette: Black / Charcoal / Gold / White. Tonal hierarchy is built from
   neutral blacks and grays so the metallic ATA identity remains dominant. */

:root {
  --navy-950: #050505;
  --navy-900: #111111;
  --navy-700: #252525;
  --navy-500: #666666;
  --navy-300: #b7b7b7;
  --navy-100: #e6e6e6;

  --slate: #4a4a4a;

  --gold: #bd9b60;
  --gold-dark: #8f7040;
  --gold-light: #e3cea4;

  --ivory: #ffffff;
  --ivory-dim: #ffffff;
  --white: #ffffff;

  --success: #3f7a4f;
  --danger: #a5342a;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.16);
  --max-width: 1180px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-950);
  background: var(--ivory);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--navy-900); margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: .875rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn:not(.btn-sm):not(.btn-lg) { padding: 12px 22px; font-size: .9375rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--gold); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-300);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 15, 24, 0.97);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(189, 155, 96, .5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy-900);
}
.brand-logo {
  display: block;
  width: 320px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(143, 112, 64, .16));
}

.main-nav {
  display: flex;
  gap: 28px;
  font-size: .9375rem;
  font-weight: 500;
}
.main-nav a {
  text-decoration: none;
  color: var(--navy-100);
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.site-header .btn-primary {
  background: var(--gold);
  color: var(--navy-950);
  box-shadow: 0 6px 18px rgba(189, 155, 96, .18);
}
.site-header .btn-primary:hover { background: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(189, 155, 96, .65);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--gold-light);
}

/* Hero */
.hero {
  padding: 76px 0 64px;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(189, 155, 96, .18), transparent 60%),
    var(--ivory);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  max-width: 20ch;
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--slate);
  max-width: 52ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 0;
  font-size: .875rem;
  color: var(--slate);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-trust-vert { flex-direction: column; gap: 10px; }

.hero-panel { display: flex; justify-content: center; }
.panel-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 26px;
  width: 100%;
  max-width: 360px;
  border: 1px solid var(--navy-100);
}
.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--ivory-dim);
  font-weight: 600;
  color: var(--navy-900);
  font-size: .9375rem;
}
.panel-row:last-of-type { border-bottom: none; }
.panel-badge {
  background: var(--gold);
  color: var(--white);
  font-size: .6875rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.panel-foot {
  margin-top: 14px;
  font-size: .8125rem;
  color: var(--slate);
  font-style: italic;
}

/* Stat bar */
.stat-bar { background: var(--navy-900); }
.stat-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px 24px;
}
.stat { text-align: center; color: var(--ivory); }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold-light);
  font-weight: 600;
}
.stat-label { font-size: .8125rem; color: var(--navy-100); }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--ivory-dim); }
.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  max-width: 24ch;
}
.section-sub {
  color: var(--slate);
  font-size: 1.0625rem;
  max-width: 62ch;
  margin-bottom: 40px;
}

#solutions {
  position: relative;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(0, 0, 0, .045), transparent 62%),
    radial-gradient(700px 380px at 100% 100%, rgba(189, 155, 96, .10), transparent 60%),
    var(--ivory);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid-four { grid-template-columns: repeat(2, 1fr); }
.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--navy-100);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.feature-card p { color: var(--slate); font-size: .9375rem; margin: 0; }

.feature-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}
.feature-icon-badge svg { width: 30px; height: 30px; }
.badge-navy {
  background: linear-gradient(155deg, var(--navy-700), var(--navy-900));
  color: var(--white);
}
.badge-gold {
  background: linear-gradient(155deg, var(--gold-light), var(--gold));
  color: var(--navy-900);
}

.feature-card.featured {
  background: linear-gradient(165deg, var(--navy-700) 0%, var(--navy-950) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.feature-card.featured h3 { color: var(--white); }
.feature-card.featured p { color: var(--navy-100); }
.feature-card.featured .feature-icon-badge { box-shadow: 0 4px 14px rgba(0, 0, 0, .28); }

.feature-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--navy-950);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.netsuite-section {
  background: var(--navy-950);
  color: var(--navy-100);
}
.netsuite-section .section-title { color: var(--white); }
.netsuite-section .section-sub { color: var(--navy-100); }
.netsuite-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.netsuite-flow-card {
  position: relative;
  min-height: 250px;
  padding: 32px 28px;
  border: 1px solid rgba(227, 206, 164, .24);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(42, 42, 42, .92), rgba(5, 5, 5, .96));
  overflow: hidden;
}
.netsuite-flow-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(189, 155, 96, .22);
  border-radius: 50%;
}
.flow-number {
  display: block;
  margin-bottom: 36px;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .08em;
}
.netsuite-flow-card h3 { color: var(--white); font-size: 1.2rem; }
.netsuite-flow-card p { margin: 0; color: var(--navy-100); font-size: .9375rem; }

.video-feature {
  margin-top: 60px;
  padding-top: 54px;
  border-top: 1px solid rgba(189, 155, 96, .3);
}
.video-feature-copy {
  max-width: 680px;
  margin-bottom: 24px;
}
.video-feature-copy h3 {
  color: var(--white);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  margin-bottom: 10px;
}
.video-feature-copy p:last-child { color: var(--navy-100); margin: 0; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(189, 155, 96, .58);
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .38);
}
.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--slate);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.quote-card {
  margin: 0;
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}
.quote-card p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 16px;
}
.quote-card footer { font-size: .8125rem; color: var(--slate); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--navy-100);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.0625rem; }
.step p { color: var(--slate); font-size: .9375rem; margin: 0; }

/* Lead form */
.section-form { background: var(--navy-900); }
.section-form .section-title,
.section-form h2 { color: var(--ivory); }
.section-form .section-sub { color: var(--navy-100); }

.form-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.form-intro .hero-trust li { color: var(--navy-100); }
.form-intro .hero-trust li::before { background: var(--gold-light); }

.lead-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.field label span { color: var(--danger); margin-left: 3px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--navy-100);
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--navy-950);
  background: var(--ivory);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 90px; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--danger); }

.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.field-checkbox input { width: auto; margin-top: 3px; }
.field-checkbox label { font-size: .8125rem; font-weight: 400; color: var(--slate); margin: 0; }

.form-fineprint {
  font-size: .75rem;
  color: var(--slate);
  text-align: center;
  margin: 12px 0 0;
}
.form-status {
  margin-top: 14px;
  font-size: .9375rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.2em;
}
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--navy-100);
  border-radius: 10px;
  padding: 16px 20px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-900);
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 700;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 12px 0 0; color: var(--slate); font-size: .9375rem; }

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--navy-100);
  padding: 46px 0 30px;
}
.footer-inner { text-align: center; }
.footer-brand {
  display: inline-flex;
  margin-bottom: 22px;
}
.footer-logo {
  display: block;
  width: min(520px, 88vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(189, 155, 96, .18));
}
.footer-disclaimer {
  font-size: .8125rem;
  max-width: 720px;
  margin: 0 auto 16px;
  line-height: 1.6;
  color: var(--navy-300);
}
.footer-copy { font-size: .8125rem; color: var(--navy-500); margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .why-grid,
  .form-wrap { grid-template-columns: 1fr; }
  .hero-panel { order: -1; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .netsuite-flow { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .brand-logo { width: 270px; }
  .main-nav { gap: 18px; font-size: .875rem; }
  .header-actions .btn-sm { display: none; }
}

@media (max-width: 720px) {
  .brand-logo { width: 225px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-950);
    padding: 18px 24px 24px;
    border-bottom: 1px solid rgba(189, 155, 96, .5);
    gap: 16px;
  }
  .site-header.nav-open .header-actions .btn-sm { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
