/* ==========================================================================
   PraDeNexus — shared stylesheet
   ========================================================================== */

:root{
  --bg-dark: #05070D;
  --bg-dark-2: #0A0D16;
  --bg-dark-3: #0F1420;
  --card-light: #F7F5FC;
  --card-light-2: #FFFFFF;

  --purple: #7C3AED;
  --purple-light: #A78BFA;
  --orange: #F5A623;
  --orange-light: #FDBA74;
  --blue: #3B82F6;
  --blue-light: #60A5FA;

  --text-light: #F5F6FA;
  --text-dim: #B7BECC;
  --text-faint: #7B8494;
  --text-dark: #14161F;
  --text-dark-dim: #565D6D;

  --border-dark: rgba(255,255,255,0.09);
  --border-dark-strong: rgba(255,255,255,0.16);
  --border-light: rgba(20,22,31,0.09);

  --grad-brand: linear-gradient(95deg, var(--purple) 0%, var(--orange) 100%);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

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

body{
  background:var(--bg-dark);
  color:var(--text-light);
  font-family:'Inter', sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
img, svg{ display:block; max-width:100%; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }

h1,h2,h3,h4{ font-family:'Poppins', sans-serif; font-weight:700; line-height:1.15; }

.wrap{ max-width:1360px; margin:0 auto; padding-left:clamp(20px,4vw,56px); padding-right:clamp(20px,4vw,56px); }

.grad-text{
  background:var(--grad-brand);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.eyebrow-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:'Inter', sans-serif;
  font-size:0.72rem;
  font-weight:600;
  letter-spacing:0.09em;
  text-transform:uppercase;
  padding:9px 20px;
  border:1px solid var(--border-dark-strong);
  border-radius:100px;
}
.eyebrow-pill .seg-purple{ color:var(--purple-light); }
.eyebrow-pill .seg-blue{ color:var(--blue-light); }
.eyebrow-pill .seg-orange{ color:var(--orange-light); }
.eyebrow-pill .dot{ opacity:0.4; margin:0 2px; }

.section-eyebrow{
  font-family:'Inter', sans-serif;
  font-size:0.76rem;
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--purple);
  margin-bottom:14px;
  display:block;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-weight:600; font-size:0.95rem;
  padding:15px 28px;
  border-radius:100px;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn-grad{
  background:var(--grad-brand);
  color:#0B0410;
}
.btn-grad:hover{ transform:translateY(-2px); box-shadow:0 12px 30px -8px rgba(124,58,237,0.45); }

.btn-outline{
  border:1.5px solid var(--border-dark-strong);
  color:var(--text-light);
}
.btn-outline:hover{ border-color:var(--text-light); background:rgba(255,255,255,0.04); }

.btn-pill-outline{
  border:1.5px solid var(--orange);
  color:var(--text-light);
  padding:11px 24px;
  font-size:0.88rem;
}
.btn-pill-outline:hover{ background:rgba(245,166,35,0.1); }

.btn-dark{
  background:var(--text-dark);
  color:#fff;
}
.btn-dark:hover{ transform:translateY(-2px); }

/* ---------- nav ---------- */
header.site-nav{
  position:sticky; top:0; z-index:100;
  background:rgba(5,7,13,0.82);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border-dark);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px clamp(20px,4vw,56px);
  max-width:1360px; margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:16px; }
.brand-text .name{
  font-family:'Poppins', sans-serif; font-weight:700; font-size:1.75rem; line-height:1.1;
}
.brand-text .name .de{ color:var(--blue-light); font-style:italic; }
.brand-text .tag{
  font-size:0.85rem; color:var(--text-faint); letter-spacing:0.03em; margin-top:4px;
}

.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links > li{ position:relative; }
.nav-links a.top-link{
  font-size:0.92rem; font-weight:500; color:var(--text-dim);
  display:flex; align-items:center; gap:5px;
  padding:8px 0;
  transition:color .2s;
}
.nav-links li.active > a.top-link{ color:var(--text-light); position:relative; }
.nav-links li.active > a.top-link::after{
  content:''; position:absolute; left:0; right:0; bottom:-14px; height:2px; background:var(--orange);
}
.nav-links a.top-link:hover{ color:var(--text-light); }
.nav-links .chev{ width:11px; height:11px; opacity:0.7; }

.dropdown{
  position:absolute; top:calc(100% + 18px); left:50%; transform:translateX(-50%);
  background:var(--bg-dark-3); border:1px solid var(--border-dark);
  border-radius:14px; padding:10px; min-width:230px;
  opacity:0; visibility:hidden; transform:translateX(-50%) translateY(6px);
  transition:opacity .18s, transform .18s, visibility .18s;
  box-shadow:0 20px 40px -12px rgba(0,0,0,0.5);
}
.nav-links li:hover .dropdown{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.dropdown a{
  display:block; padding:10px 14px; border-radius:8px; font-size:0.88rem; color:var(--text-dim);
  transition:background .15s, color .15s;
}
.dropdown a:hover{ background:rgba(255,255,255,0.05); color:var(--text-light); }

.nav-cta-wrap{ display:flex; align-items:center; gap:20px; }

.nav-toggle{ display:none; }
@media (max-width: 1020px){
  .nav-links{ display:none; }
  .nav-toggle{ display:block; }
}

/* ---------- logo mark ---------- */
.logo-mark{ flex-shrink:0; width:80px; height:84px; }

/* ---------- hero ---------- */
.hero{
  position:relative;
  padding:12px 0 40px;
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(ellipse 800px 500px at 78% 20%, rgba(124,58,237,0.16), transparent 60%),
    radial-gradient(ellipse 600px 500px at 60% 60%, rgba(245,166,35,0.10), transparent 60%);
  pointer-events:none;
}
.hero-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns:0.88fr 1.12fr; gap:30px; align-items:flex-start;
}
.hero-text-col{
  margin-top:28px;
}
@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-text-col{ margin-top:0; }
}

.hero h1{
  font-size:clamp(2.4rem, 5vw, 3.6rem);
  margin:22px 0 22px;
}
.hero p.lede{
  font-size:1.06rem; color:var(--text-dim); max-width:46ch; margin-bottom:32px;
}
.hero-btn-row{ display:flex; gap:16px; flex-wrap:wrap; }

/* ---------- globe graphic ---------- */
.globe-stage{ position:relative; width:100%; max-width:660px; margin:0 auto; }
.globe-stage svg{ width:100%; height:auto; }
.orbit-ring{ animation:spin 40s linear infinite; transform-box:fill-box; transform-origin:center; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.pulse-dot{ animation:blip 2.4s ease-in-out infinite; transform-box:fill-box; transform-origin:center; }
@keyframes blip{ 0%,100%{ opacity:1; } 50%{ opacity:0.35; } }

.globe-continents{ animation:globe-rotate 60s linear infinite; }
@keyframes globe-rotate{ from{ transform:translateX(0px); } to{ transform:translateX(-1034px); } }

.sparkle{ animation-name:twinkle; animation-timing-function:ease-in-out; animation-iteration-count:infinite; transform-box:fill-box; transform-origin:center; }
@keyframes twinkle{
  0%, 100%{ opacity:0.25; transform:scale(0.8); }
  50%{ opacity:1; transform:scale(1.4); }
}

@media (prefers-reduced-motion: reduce){ .orbit-ring, .pulse-dot, .globe-continents, .sparkle{ animation:none !important; opacity:0.7; } }

.callout{
  display:flex; align-items:flex-start; gap:12px;
}
.callout .badge{
  width:42px; height:42px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:1.5px solid; flex-shrink:0;
}
.callout .badge svg{ width:19px; height:19px; }
.callout h4{ font-size:0.92rem; font-weight:700; margin-bottom:2px; }
.callout p{ font-size:0.8rem; color:var(--text-faint); line-height:1.4; }

/* On narrow screens the callouts' fixed 230px width and %-based absolute
   positioning no longer line up with the connector dots (which scale
   proportionally with the shrinking globe). Below this breakpoint, drop
   the absolute positioning/connector-line approach entirely and stack the
   callouts as a simple, always-aligned vertical list under the globe. */
@media (max-width:980px){
  .globe-stage svg .connector-line,
  .globe-stage svg .pulse-dot{ display:none; }
  .globe-stage .callout{
    position:static !important;
    top:auto !important; right:auto !important; left:auto !important; bottom:auto !important;
    width:100% !important;
    max-width:420px;
    margin:0 auto 18px auto;
  }
  .globe-stage{ padding-bottom:8px; }
}
/* ---------- trust strip ---------- */
.trust-strip{ padding:36px 0 30px; border-top:1px solid var(--border-dark); }
.trust-label{
  font-size:0.72rem; font-weight:700; letter-spacing:0.1em; color:var(--text-faint);
  margin-bottom:22px;
}
.trust-logos{
  display:flex; align-items:center; gap:clamp(24px,4vw,52px); flex-wrap:wrap;
  opacity:0.72;
}
.trust-logos .tl{
  font-family:'Poppins', sans-serif; font-weight:600; font-size:1.05rem; color:var(--text-dim);
  display:flex; align-items:center; gap:8px;
}

/* ---------- stats bar ---------- */
.stats-bar{
  background:var(--bg-dark-3);
  border-radius:var(--radius-lg);
  margin:0 auto 0;
  display:grid; grid-template-columns:repeat(4,1fr);
  border:1px solid var(--border-dark);
}
@media (max-width:760px){ .stats-bar{ grid-template-columns:repeat(2,1fr); } }
.stat-cell{
  display:flex; align-items:center; gap:16px;
  padding:30px clamp(16px,3vw,32px);
  border-right:1px solid var(--border-dark);
}
.stat-cell:last-child{ border-right:none; }
@media (max-width:760px){ .stat-cell:nth-child(2n){ border-right:none; } .stat-cell{ border-bottom:1px solid var(--border-dark); } }
.stat-cell .icon{
  width:48px; height:48px; border-radius:50%; border:1.5px solid;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.stat-cell .icon svg{ width:20px; height:20px; }
.stat-num{ font-family:'Poppins', sans-serif; font-weight:700; font-size:1.55rem; }
.stat-label{ font-size:0.82rem; color:var(--text-faint); }

/* ---------- light section ---------- */
.section-light{
  background:var(--card-light);
  color:var(--text-dark);
  padding:60px 0;
}
.section-light .section-eyebrow{ text-align:center; }
.section-head-center{ text-align:center; max-width:640px; margin:0 auto 56px; }
.section-head-center h2{ font-size:clamp(1.9rem,3.4vw,2.6rem); color:var(--text-dark); }
.section-head-center p{ color:var(--text-dark-dim); margin-top:14px; font-size:1rem; }

.card-grid-5{
  display:grid; grid-template-columns:repeat(5,1fr); gap:20px;
}
@media (max-width:1100px){ .card-grid-5{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .card-grid-5{ grid-template-columns:1fr; } }

.solution-card{
  display: flex;
  flex-direction: column;
  background:var(--card-light-2);
  border:1px solid var(--border-light);
  border-radius:var(--radius-md);
  padding:30px 26px;
  box-shadow:0 2px 14px -6px rgba(20,22,31,0.06);
  transition:transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.solution-card:hover{
  transform:translateY(-5px);
  box-shadow:0 22px 40px -10px rgba(20,22,31,0.12), 0 0 24px -4px rgba(124,58,237,0.15);
}
.icon-sq{
  width:52px; height:52px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:20px;
}
.icon-sq svg{ width:24px; height:24px; }
.solution-card h3{ font-size:1.08rem; color:var(--text-dark); margin-bottom:10px; }
.solution-card p{ font-size:0.87rem; color:var(--text-dark-dim); margin-bottom:18px; }
.card-arrow{
  margin-top: auto;
  width:32px; height:32px; border-radius:50%; border:1.5px solid var(--border-light);
  display:flex; align-items:center; justify-content:center;
  transition:background .25s, border-color .25s;
  cursor:pointer;
}
.card-arrow:hover{ background:var(--text-dark); border-color:var(--text-dark); }
.card-arrow:hover svg path{ stroke:#fff !important; }

.bg-purple{ background:rgba(124,58,237,0.12); color:var(--purple); }
.bg-orange{ background:rgba(245,166,35,0.14); color:var(--orange); }
.bg-blue{ background:rgba(59,130,246,0.12); color:var(--blue); }

/* ---------- feature strip (bottom, dark) ---------- */
.feature-strip{
  background:#000; border-top:1px solid var(--border-dark);
  padding:34px 0;
}
.feature-strip .wrap{
  display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:30px;
}
@media (max-width:900px){ .feature-strip .wrap{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .feature-strip .wrap{ grid-template-columns:1fr; } }
.feature-item{ display:flex; align-items:center; gap:14px; }
.feature-item .fi-icon{
  width:46px; height:46px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.feature-item h5{ font-size:0.92rem; font-weight:700; margin-bottom:2px; }
.feature-item p{ font-size:0.8rem; color:var(--text-faint); }
.feature-item .accent{ color:var(--orange); }

/* ---------- generic dark section ---------- */
.section-dark{ padding:60px 0; position:relative; }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head h2{ font-size:clamp(1.9rem,3.4vw,2.6rem); margin-top:14px; }
.section-head p{ color:var(--text-dim); margin-top:14px; font-size:1rem; max-width:54ch; }

/* ---------- generic card (dark) ---------- */
.dcard{
  background:var(--bg-dark-3); border:1px solid var(--border-dark); border-radius:var(--radius-md);
  padding:32px 28px;
}

/* ---------- page header banner (inner pages) ---------- */
.page-banner{
  position:relative; padding:42px 0 46px; overflow:hidden;
  border-bottom:1px solid var(--border-dark);
}
.page-banner::before{
  content:''; position:absolute; inset:0; z-index:0;
  background:radial-gradient(ellipse 700px 400px at 20% 0%, rgba(124,58,237,0.18), transparent 60%),
             radial-gradient(ellipse 600px 400px at 85% 100%, rgba(245,166,35,0.12), transparent 60%);
}
.page-banner .wrap{ position:relative; z-index:1; }
.page-banner h1{ font-size:clamp(2.1rem,4vw,3rem); margin-top:16px; max-width:16ch; }
.page-banner p{ color:var(--text-dim); max-width:56ch; margin-top:16px; font-size:1.02rem; }
.crumb{ font-size:0.82rem; color:var(--text-faint); margin-top:18px; }
.crumb a{ color:var(--text-dim); }
.crumb a:hover{ color:var(--orange); }

/* ---------- CTA banner ---------- */
.cta-banner{
  background:var(--bg-dark-3);
  border:1px solid var(--border-dark);
  border-radius:24px;
  padding:70px 40px;
  text-align:center;
  position:relative; overflow:hidden;
}
.cta-banner::before{
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse 520px 300px at 50% 0%, rgba(124,58,237,0.18), transparent 70%);
}
.cta-banner h2{ position:relative; font-size:clamp(1.8rem,3.2vw,2.4rem); }
.cta-banner p{ position:relative; color:var(--text-dim); margin:14px 0 30px; }
.cta-banner .hero-btn-row{ justify-content:center; position:relative; }

/* ---------- footer ---------- */
footer.site-footer{
  background:#000;
  border-top:1px solid var(--border-dark);
  padding:64px 0 0;
}
.footer-grid{
  display:grid; grid-template-columns:1.5fr 0.8fr 1.2fr 1fr; gap:40px;
  padding-bottom:50px;
}
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h6{
  font-size:0.76rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--text-faint); margin-bottom:18px;
}
.footer-grid ul li{ margin-bottom:12px; }
.footer-grid ul a{ font-size:0.9rem; color:var(--text-dim); transition:color .2s; }
.footer-grid ul a:hover{ color:var(--orange); }
.footer-about p{ font-size:0.88rem; color:var(--text-faint); margin:16px 0 22px; max-width:34ch; }
.social-row{ display:flex; gap:12px; }
.social-row a{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--border-dark-strong);
  display:flex; align-items:center; justify-content:center;
  transition:border-color .2s, background .2s;
}
.social-row a:hover{ border-color:var(--orange); background:rgba(245,166,35,0.08); }
.social-row svg{ width:15px; height:15px; }

.footer-bottom{
  border-top:1px solid var(--border-dark);
  padding:22px 0;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  font-size:0.8rem; color:var(--text-faint);
}
.footer-bottom .legal-links{ display:flex; gap:22px; }
.footer-bottom .legal-links a:hover{ color:var(--text-dim); }

/* ---------- utility ---------- */
.mt-0{ margin-top:0; }
.center{ text-align:center; }

/* ---------- infinite ticker ---------- */
.ticker-section {
  background: var(--bg-dark-2);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.ticker-wrap {
  width: 100%;
  overflow: hidden;
}
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  animation: ticker-slide 32s linear infinite;
}
.ticker-section:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-item {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.02em;
  padding: 0 24px;
  opacity: 0.9;
}
.ticker-dot {
  color: var(--purple-light);
  font-size: 1.4rem;
  opacity: 0.6;
}

@keyframes ticker-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ---------- responsive contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 560px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ---------- scroll reveal fade-up ---------- */
.fade-up-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.fade-up-active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- responsive solutions grid ---------- */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .solution-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- solutions page padding adjustments ---------- */
#strategy, #engineering, #automation, #analytics, #products {
  padding: 36px 0;
}

/* ---------- anchor scroll offset for sticky navigation ---------- */
#strategy, #engineering, #automation, #analytics, #products,
#financial, #healthcare, #retail, #manufacturing, #logistics, #telecom {
  scroll-margin-top: 100px;
}
