:root {
  --brand: #C74634;      /* Oracle red */
  --brand-dark: #A3392B; /* Oracle red, darkened for hover/text */
  --ink: #241F1D;        /* Oracle Redwood warm dark neutral */
  --ink-darker: #1B1717; /* Oracle Redwood darkest warm neutral */
  --surface: #F7F5F3;    /* Oracle Redwood warm light surface */
  --border-soft: #E8E3DE;/* Oracle Redwood warm border */
  --muted: #8A817C;      /* Oracle Redwood muted warm text */
}

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  margin-right: 0.35rem;
}

.btn-primary {
  background-color: var(--brand);
  border-color: var(--brand);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
}
.btn-outline-secondary {
  border-color: var(--border-soft);
  color: var(--ink);
}

.badge-soft {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(199, 70, 52, 0.1);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(760px circle at 88% 6%, rgba(199, 70, 52, 0.12), transparent 55%),
    radial-gradient(circle at top right, var(--surface) 0%, #ffffff 55%);
}

.hero-subhead {
  font-size: 1.1rem;
  color: var(--brand-dark);
}

.hero-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  box-shadow: 0 20px 45px -20px rgba(36, 31, 29, 0.25);
}

.hd-card {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hd-netsuite { background: rgba(199, 70, 52, 0.08); color: var(--brand-dark); }
.hd-hub { background: var(--ink); color: #fff; justify-content: center; }
.hd-store { background: var(--surface); color: var(--ink); flex: 1; text-align: center; justify-content: center; }
.hd-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: currentColor; opacity: 0.6; display: inline-block;
}
.hd-dot-live {
  margin-left: auto;
  background: #35d07f;
  opacity: 1;
  box-shadow: 0 0 0 rgba(53, 208, 127, 0.6);
  animation: hd-pulse 1.8s ease-out infinite;
}
@keyframes hd-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(53, 208, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0); }
}
.hd-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}
.hd-row { display: flex; gap: 0.75rem; width: 100%; }
.hd-arrow { font-size: 0.8rem; color: var(--muted); }
.hero-diagram-caption {
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 600;
  color: var(--brand-dark);
}

@media (prefers-reduced-motion: reduce) {
  .hd-dot-live { animation: none; }
}

/* ── Features ─────────────────────────────────────────────────────────── */
.feature-card {
  padding: 1.75rem;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  background: #fff;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.feature-card:hover {
  box-shadow: 0 20px 40px -24px rgba(36, 31, 29, 0.25);
  transform: translateY(-2px);
}
.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: rgba(199, 70, 52, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* ── Steps ────────────────────────────────────────────────────────────── */
.step-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  padding: 1.75rem;
  height: 100%;
}
.step-number {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ── Logo ticker ──────────────────────────────────────────────────────── */
.logo-ticker-section {
  background: var(--surface) !important;
  border-color: var(--border-soft) !important;
}
.logo-ticker {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.logo-ticker-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  animation: ticker 22s linear infinite;
}
.logo-ticker-track-reverse {
  animation-name: ticker-reverse;
}
.logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 88px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 0.65rem;
}
.logo-chip img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes ticker-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-ticker-track { animation: none; }
}

/* ── Integrations by category ─────────────────────────────────────────── */
.integration-category {
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
}
.integration-category-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-dark);
  margin-bottom: 1rem;
}
.integration-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.integration-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.integration-item img {
  height: 1.75rem;
  width: auto;
  max-width: 4rem;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── Case studies ─────────────────────────────────────────────────────── */
.case-card {
  padding: 1.75rem;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  background: #fff;
}

/* ── Contact form ─────────────────────────────────────────────────────── */
#contact.contact-dark {
  background:
    radial-gradient(760px circle at 18% 8%, rgba(199, 70, 52, 0.20), transparent 55%),
    radial-gradient(620px circle at 92% 88%, rgba(199, 70, 52, 0.14), transparent 55%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-darker) 100%);
}
.contact-form .form-control,
.contact-form .form-select {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.contact-form .form-control::placeholder { color: rgba(255,255,255,0.5); }
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(199, 70, 52, 0.25);
}
.contact-form .form-label { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.contact-form option { color: var(--ink); }

/* Honeypot: visually hidden but present in the DOM/tab order kept out */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--ink-darker) !important;
}

@media (min-width: 992px) {
  .py-lg-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
}
