: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%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
}
.integration-category-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-dark);
  margin-bottom: 1.5rem;
}
.integration-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 1rem;
}
.integration-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-radius: 0.75rem;
}
.integration-item img {
  height: 2.75rem;
  width: auto;
  max-width: 5.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── Products page ────────────────────────────────────────────────────── */
.products-header {
  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%);
}
.nav-link.active {
  color: var(--brand-dark) !important;
  font-weight: 600;
}
.products-showcase {
  background:
    radial-gradient(760px circle at 12% 8%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(620px circle at 92% 88%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
}
.product-filters-bar .form-select,
.product-filters-bar .btn {
  border-color: transparent;
  background: #fff;
}
.product-filters-bar .btn {
  color: var(--ink);
}
.product-filters-bar .form-select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 0.2rem rgba(27, 23, 23, 0.2);
}
.products-showcase .product-card {
  background: linear-gradient(165deg, #ffffff 0%, var(--surface) 100%);
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 32px rgba(255, 255, 255, 0.3),
    0 22px 45px -18px rgba(27, 23, 23, 0.5),
    0 10px 24px -14px rgba(199, 70, 52, 0.45);
}
.products-showcase .product-card:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 40px rgba(255, 255, 255, 0.4),
    0 26px 52px -16px rgba(27, 23, 23, 0.55),
    0 14px 30px -12px rgba(199, 70, 52, 0.55);
  transform: translateY(-4px);
}
.product-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  background: #fff;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product-card:hover {
  box-shadow: 0 20px 40px -24px rgba(36, 31, 29, 0.25);
  transform: translateY(-2px);
}
.product-card-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.product-card-logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 5.5rem;
  padding: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
}
.product-card-logo {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.product-card-connector {
  font-size: 1.4rem;
  color: var(--muted);
  flex-shrink: 0;
}
.product-card-badge {
  align-self: flex-start;
}
.product-card h3 {
  font-size: 1.05rem;
}
.product-card p {
  font-size: 0.85rem;
}
.product-card .btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.85rem;
}

/* ── Post-install redirect card (product detail page) ─────────────────── */
.install-success-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-left: 4px solid #35d07f;
  border-radius: 1rem;
}
.install-success-badge {
  background: rgba(53, 208, 127, 0.14);
  color: #1c8a54;
}
.install-success-steps {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--ink);
}

/* ── Pricing tiers (product detail page) ──────────────────────────────── */
.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
}
.pricing-card.is-upcoming {
  background: var(--surface);
  border-style: dashed;
}

/* Three shades of red, lightest to boldest across Basic → Starter → Premium
   so the tiers read as an escalating ladder at a glance. */
.pricing-card--basic {
  background: linear-gradient(165deg, #fceae7 0%, #f6d6cf 100%);
  border-color: rgba(199, 70, 52, 0.2);
}
.pricing-card--starter {
  background: linear-gradient(165deg, #f7d6cf 0%, #efaea0 100%);
  border-color: rgba(163, 57, 43, 0.2);
}
.pricing-card--starter .pricing-card-price,
.pricing-card--starter h3 {
  color: var(--brand-dark);
}
.pricing-card--starter .pricing-card-ideal,
.pricing-card--starter .pricing-card-promo {
  color: var(--brand-dark) !important;
}
.pricing-card--starter .pricing-card-ideal {
  border-bottom-color: rgba(163, 57, 43, 0.2);
}
.pricing-card--starter .pricing-feature-list li.pricing-feature-intro {
  color: var(--brand-dark);
}
.pricing-card--starter .pricing-feature-list li::before {
  color: var(--ink);
}
.pricing-card--premium {
  background: linear-gradient(165deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-color: transparent;
  color: #fff;
}
.pricing-card--premium .pricing-card-price,
.pricing-card--premium h3 {
  color: #fff;
}
.pricing-card--premium .pricing-card-period {
  color: rgba(255, 255, 255, 0.75);
}
.pricing-card--premium .pricing-card-ideal,
.pricing-card--premium .pricing-card-promo {
  color: rgba(255, 255, 255, 0.75) !important;
}
.pricing-card--premium .pricing-card-ideal {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}
.pricing-card--premium .pricing-feature-list li {
  color: #fff;
}
.pricing-card--premium .pricing-feature-list li::before {
  color: #fff;
}
.pricing-card--premium .pricing-feature-list li.pricing-feature-intro {
  color: rgba(255, 255, 255, 0.7);
}
.pricing-card--premium .btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--brand-dark);
  font-weight: 700;
}
.pricing-card--premium .btn-light:hover {
  background: var(--surface);
}
.tiers-promo-shine {
  font-weight: 700;
  color: var(--brand-dark);
  background: linear-gradient(
    90deg,
    var(--brand-dark) 0%,
    var(--brand-dark) 42%,
    #ff9d84 50%,
    var(--brand-dark) 58%,
    var(--brand-dark) 100%
  );
  background-size: 220% 100%;
  background-position: 200% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: promo-shine 3s linear infinite;
}
@keyframes promo-shine {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tiers-promo-shine {
    animation: none;
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}
.pricing-card-badge {
  margin-bottom: 0.75rem;
}
.pricing-card-header {
  margin-bottom: 1rem;
}
.pricing-card-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.pricing-card-price-tba {
  font-size: 1.35rem;
  color: var(--muted);
}
.pricing-card-period {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.pricing-card-promo {
  margin-top: 0.25rem;
}
.pricing-card-ideal {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-soft);
}
.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.pricing-feature-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9rem;
  color: var(--ink);
}
.pricing-feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}
.pricing-feature-list li.pricing-feature-intro {
  padding-left: 0;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pricing-feature-list li.pricing-feature-intro::before {
  content: none;
}

/* ── "Not listed?" promo banner ───────────────────────────────────────── */
.promo-banner {
  position: fixed;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 1080;
  transform: translateY(-50%) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0s linear 0.35s;
  padding: 0 1rem;
}
.promo-banner.is-visible {
  transform: translateY(-50%) scale(1);
  opacity: 1;
  visibility: visible;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.promo-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--ink-darker);
  color: #fff;
  border-radius: 0.85rem;
  box-shadow: 0 16px 40px -12px rgba(27, 23, 23, 0.45);
}
.promo-banner-text {
  color: rgba(255, 255, 255, 0.92);
}
.promo-banner-text strong {
  color: #fff;
}
.promo-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.promo-banner-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 0.25rem;
  cursor: pointer;
}
.promo-banner-close:hover {
  color: #fff;
}

/* ── 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; }
}
