/* ============================================================
   DxAI page — FULL REPLICA of the prodistics.com design
   Chrome (header/menu/footer), photographic parallax bands, and
   type all mirror /templates/prodistics_home (prod.css + general.css).
   Assets copied locally into ./assets (logo.png, hexbg.jpg) so the
   page renders standalone (file://) without the Joomla template.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Serif+4:wght@400;600&family=Lustria&display=swap");

html { scroll-behavior: smooth; }

:root {
  --blue:  #0071BC;   /* primary brand blue          */
  --navy:  #02446e;   /* deep navy (footer/bands)     */
  --teal:  #00B2A0;   /* accent / menu hover          */
  --menu:  #035f7c;   /* menu text                    */
  --link:  #2C8CD6;   /* link blue                    */
  --slate: #484B56;   /* dark slate body              */
  --ink:   #1d1f26;   /* near-black body text         */
  --sky:   #59c2ff;   /* footer light-blue text       */
  --serif-head: "Playfair Display", Georgia, serif;   /* section display */
  --serif-body: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --serif-alt:  "Lustria", Georgia, serif;            /* hero / band headings */
}

.dxai * { box-sizing: border-box; margin: 0; padding: 0; }
.dxai {
  font-family: var(--serif-body);
  font-size: 16px;
  color: var(--ink);
  line-height: 1.6;
}
.dxai h1, .dxai h2, .dxai h3 { line-height: 1.15; font-weight: 700; }
.dxai a { color: inherit; text-decoration: none; }
.dxai .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.dxai .center { text-align: center; }
.dxai section[id] { scroll-margin-top: 92px; }

/* =====================================================================
   HEADER — mirrors the interior-page chrome (white bar + logo + menu)
   .logo (230x80 logo.png), .menu (Source Serif Pro, teal-block hover)
   ===================================================================== */
.dxai-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff; height: 80px;
  border-bottom: 1px solid #e6e8ec;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.dxai-header .bar {
  display: flex; align-items: center; height: 80px;
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.dxai-header .brand { display: flex; align-items: center; gap: 12px; }
.dxai-header .brand .logo {
  display: block; width: 200px; height: 60px;
  background: url("assets/logo.png") no-repeat left center;
  background-size: contain;
}
.dxai-header .brand .product {
  font-family: var(--serif-head); font-weight: 900;
  font-size: 20px; color: var(--blue); letter-spacing: .5px;
  padding-left: 14px; border-left: 2px solid #dfe3e8; line-height: 1;
}
.dxai-header .brand .product small {
  display: block; font-family: var(--serif-body); font-weight: 400;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--menu); margin-top: 3px;
}

/* Menu — replicates .menu / .menu_items from prod.css */
.dxai-header nav { margin-left: auto; }
.dxai-header nav ul { display: flex; list-style: none; }
.dxai-header nav li { position: relative; }
.dxai-header nav a {
  display: block;
  font-family: var(--serif-body);
  color: var(--menu);
  font-size: 15px; letter-spacing: .5px; text-transform: uppercase;
  padding: 30px 20px 28px;
  transition: background .12s, color .12s;
}
.dxai-header nav a:hover,
.dxai-header nav a.active {
  background: var(--teal); color: #fff; font-family: var(--serif-alt);
}
.dxai-header nav a.hdr-cta {
  background: var(--teal); color: #fff;
  margin-left: 8px; padding: 30px 22px 28px; font-family: var(--serif-alt);
}
.dxai-header nav a.hdr-cta:hover { background: #009a8b; }

@media (max-width: 900px) {
  .dxai-header { height: auto; position: static; }
  .dxai-header .bar { height: auto; flex-wrap: wrap; padding: 12px 20px; }
  .dxai-header .brand .logo { width: 170px; height: 50px; }
  .dxai-header nav { width: 100%; margin: 6px 0 0; }
  .dxai-header nav ul { flex-wrap: wrap; justify-content: center; }
  .dxai-header nav a { padding: 12px 14px; }
}

/* =====================================================================
   PARALLAX BANDS — photographic background + brand color overlay,
   fixed attachment (mirrors section.module.parallax on the live site).
   Headings are Lustria, white, uppercase, with a soft text-shadow.
   ===================================================================== */
.dxai .parallax {
  position: relative; color: #fff; text-align: center;
  padding: 96px 0; overflow: hidden;
  background: var(--navy);
}
.dxai .parallax::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: url("assets/hexbg.jpg");
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.dxai .parallax::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
}
.dxai .parallax .wrap { position: relative; z-index: 2; }

/* per-band color overlays (semi-transparent, like the live site's rgba bg) */
.dxai .fill-hero { min-height: 560px; display: flex; align-items: center; }
.dxai .fill-hero::after { background: linear-gradient(180deg, rgba(2,68,110,.78), rgba(0,113,188,.72)); }
.dxai .fill-blue::after { background: rgba(0,113,188,.82); }
.dxai .fill-navy::after { background: rgba(2,68,110,.86); }
.dxai .fill-teal::after { background: rgba(0,120,110,.80); }

/* DxAI hero emblem — clean premium badge: gradient ring + glow + gentle float */
/* DxAI emblem — glassmorphism: a frosted translucent circle sits BEHIND the logo
   (as a pseudo-element) so the full logo renders on top and is never clipped. */
.dxai .dxai-emblem {
  text-align: center; margin: 48px 0 26px;
  position: relative; display: block;
  animation: dxaiFloat 4.5s ease-in-out infinite;
}
.dxai .dxai-emblem::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 150px; height: 150px; transform: translate(-50%, -50%);
  border-radius: 50%; z-index: 0;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 4px solid var(--teal);
  box-shadow:
    0 0 0 4px rgba(0, 178, 160, .30),
    0 0 26px 4px rgba(0, 178, 160, .65),
    0 16px 40px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .8);
}
.dxai .dxai-emblem img {
  position: relative; z-index: 1;
  display: inline-block; width: 100px; height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .22));
}
.dxai .dxai-badge {
  display: inline-block; border-radius: 50%; padding: 6px;
  background: linear-gradient(135deg, #00d9c2 0%, #0090e0 50%, #02446e 100%);
  box-shadow: 0 14px 38px rgba(0,0,0,.35), 0 0 40px rgba(0,178,160,.45);
  animation: dxaiFloat 4.5s ease-in-out infinite;
}
/* Exact original logo fitted fully inside the circle: generous padding + object-fit:contain
   so the whole mark sits inside with clear margin and nothing touches the edge. */
.dxai .dxai-badge .dxai-logo {
  display: block; width: 116px; height: 116px; padding: 31px; box-sizing: border-box;
  background: #fff; border-radius: 50%; object-fit: contain; overflow: hidden;
}
.dxai .dxai-badge img {
  display: block; width: 116px; height: 116px; padding: 31px; box-sizing: border-box;
  background: #fff; border-radius: 50%; object-fit: contain; overflow: hidden;
}
@keyframes dxaiFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.dxai .eyebrow {
  font-family: var(--serif-alt); text-transform: uppercase; letter-spacing: 2.5px;
  font-size: 18px; font-weight: 700; opacity: 1; margin-bottom: 18px;
}
.dxai .parallax h1,
.dxai .parallax h2 {
  font-family: var(--serif-alt); font-weight: 400; color: #fff;
  text-transform: uppercase; letter-spacing: .5px;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.dxai h1.hero { font-size: 50px; margin: 0 auto 20px; max-width: 950px; line-height: 1.12; }
.dxai .parallax h2 { font-size: 38px; max-width: 860px; margin: 0 auto 16px; }
.dxai .sub {
  font-family: var(--serif-alt); font-size: 20px;
  max-width: 760px; margin: 0 auto 30px; line-height: 1.5;
}

/* =====================================================================
   LIGHT CONTENT SECTIONS
   ===================================================================== */
.dxai .block { padding: 80px 0; background: #fff; }
.dxai .block.alt { background: #f4f6f8; }
.dxai .eyebrow-dark {
  font-family: var(--serif-alt); text-transform: uppercase; letter-spacing: 2.5px;
  font-size: 18px; font-weight: 700; color: var(--teal); margin-bottom: 14px;
}
.dxai h2.sec  { font-family: var(--serif-head); font-size: 34px; color: var(--navy); margin-bottom: 12px; }
.dxai .lead { font-size: 18px; color: var(--slate); max-width: 780px; margin: 0 auto; }

/* Buttons */
.dxai .btn {
  display: inline-block; font-family: var(--serif-alt); font-size: 16px;
  letter-spacing: .5px; padding: 14px 30px; border-radius: 2px;
  transition: all .15s; cursor: pointer; border: 0;
}
.dxai .btn-teal  { background: var(--teal); color: #fff; }
.dxai .btn-teal:hover  { background: #009a8b; }
.dxai .btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.75); margin-left: 12px; }
.dxai .btn-ghost:hover { background: rgba(255,255,255,.14); }

/* Grids / cards */
.dxai .grid { display: grid; gap: 22px; margin-top: 40px; }
.dxai .g-2 { grid-template-columns: repeat(2, 1fr); }
.dxai .g-3 { grid-template-columns: repeat(3, 1fr); }
.dxai .g-4 { grid-template-columns: repeat(4, 1fr); }
.dxai .card {
  background: #fff; border: 1px solid #e6e8ec; border-radius: 4px; padding: 26px 24px;
  text-align: left; box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.dxai .parallax .card { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); backdrop-filter: blur(2px); }
.dxai .card h3 { font-family: var(--serif-head); font-size: 21px; color: var(--navy); margin-bottom: 8px; }
.dxai .parallax .card h3 { color: #fff; }
.dxai .card p { font-size: 15px; color: var(--slate); }
.dxai .parallax .card p { color: rgba(255,255,255,.94); }
.dxai .card .surface-name { font-family: var(--serif-head); font-weight: 700; color: var(--blue); font-size: 24px; }
.dxai .step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff;
  font-family: var(--serif-head); font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.dxai .feature-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.dxai .feature-head .eyebrow-dark { margin-bottom: 0; }
.dxai .check { color: var(--teal); font-weight: 700; margin-right: 8px; }

/* Pricing / FAQ */
.dxai .faq { max-width: 780px; margin: 30px auto 0; text-align: left; }
.dxai .faq .card { margin-bottom: 12px; }

/* Form */
.dxai .form-wrap { max-width: 660px; margin: 0 auto; }
.dxai form.demo { background: #fff; border: 1px solid #e6e8ec; border-radius: 6px; padding: 30px; box-shadow: 0 2px 14px rgba(0,0,0,.05); text-align: left; }
.dxai .fields { display: flex; flex-wrap: wrap; gap: 18px; }
.dxai .field { flex: 1 1 260px; }
.dxai .field.full { flex: 1 1 100%; }
.dxai .field label { display: block; text-align: left; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.dxai .field label .req { color: var(--teal); }
.dxai .field input, .dxai .field select, .dxai .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #cdd5dd; border-radius: 3px;
  font-family: var(--serif-body); font-size: 15px; color: var(--ink); background: #fff; outline: none;
}
.dxai .field input:focus, .dxai .field select:focus, .dxai .field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,188,.12);
}
/* Custom Company-size dropdown — open list aligns exactly with the field */
.dxai .cselect { position: relative; }
.dxai .cselect-btn {
  width: 100%; text-align: left; padding: 11px 36px 11px 13px;
  border: 1px solid #cdd5dd; border-radius: 3px; background: #fff;
  font-family: var(--serif-body); font-size: 15px; color: var(--ink);
  cursor: pointer; position: relative;
}
.dxai .cselect-btn::after {
  content: ""; position: absolute; right: 15px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid #55606c; border-bottom: 2px solid #55606c;
  transform: translateY(-70%) rotate(45deg); transition: transform .15s;
}
.dxai .cselect.open .cselect-btn { border-color: var(--blue); }
.dxai .cselect.open .cselect-btn::after { transform: translateY(-30%) rotate(225deg); }
.dxai .cselect-btn:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,188,.12); }
.dxai .cselect-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40;
  margin: 0; padding: 4px 0; list-style: none; background: #fff;
  border: 1px solid #cdd5dd; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.12);
  display: none;
}
.dxai .cselect.open .cselect-list { display: block; }
.dxai .cselect-list li { padding: 9px 13px; font-size: 15px; color: var(--ink); cursor: pointer; }
.dxai .cselect-list li:hover { background: #eaf4fb; }
.dxai .cselect-list li.is-selected { background: #eaf4fb; color: var(--blue); font-weight: 600; }

.dxai .consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--slate); }
.dxai form.demo .btn { width: 100%; margin-top: 18px; }
.dxai .form-note { text-align: center; font-size: 13px; color: var(--slate); margin-top: 12px; }
.dxai .honeypot { position: absolute; left: -9999px; }
.dxai .success {
  display: none; background: #fff; border: 1px solid #e6e8ec; border-radius: 6px;
  padding: 40px 24px; text-align: center; box-shadow: 0 2px 14px rgba(0,0,0,.05);
}
.dxai .success .tick { font-size: 40px; color: var(--teal); }

/* =====================================================================
   FOOTER — navy footer_top band + copyright strip (mirrors the site)
   ===================================================================== */
.dxai-footer .footer_top {
  background: var(--navy); color: var(--sky); text-align: center;
  padding: 28px 20px; font-family: var(--serif-alt); font-size: 17px; line-height: 1.7;
}
.dxai-footer .footer_top a { color: var(--sky); }
.dxai-footer .footer_bottom {
  background: #023a5e; color: #1e85aa; text-align: center;
  padding: 14px 20px; font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .dxai h1.hero { font-size: 34px; }
  .dxai .parallax h2 { font-size: 26px; }
  .dxai h2.sec  { font-size: 26px; }
  .dxai .g-2, .dxai .g-3, .dxai .g-4 { grid-template-columns: 1fr; }
  .dxai .parallax::before { background-attachment: scroll; }
  .dxai .fill-hero { min-height: 440px; }
}
