/* ═══════════════════════════════════════════════════
   PUJASO TECHNOLOGIES — Shared Stylesheet
   Variables, header, footer, layout utilities
═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:      #7c3aed;
  --purple-dark: #5b21b6;
  --purple-light:#8b5cf6;
  --navy:        #0f1523;
  --navy2:       #1a1f35;
  --white:       #ffffff;
  --gray:        #6b7280;
  --gray-light:  #f5f5f7;
  --border:      #e5e7eb;
  --blue-pin:    #2563eb;
}

/* ── Pujaso Logo ── */
.pujaso-logo { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.pujaso-wordmark {
  display: flex; align-items: baseline;
  font-size: 1.3rem; font-weight: 900; color: #fff;
  letter-spacing: -.5px; font-family: 'Inter', sans-serif;
}
.pujaso-P { position: relative; display: inline-block; margin-right: 0; }
.pujaso-pin {
  position: absolute; top: 3px; left: 4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-pin);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.6);
}
.pujaso-pin::after {
  content: ''; position: absolute; bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 4px;
  background: var(--blue-pin); border-radius: 0 0 2px 2px;
}
.pujaso-tagline {
  font-size: .5rem; font-weight: 700; color: rgba(255,255,255,.6);
  letter-spacing: 2.8px; text-transform: uppercase;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1f2937; background: #fff; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ════════════════════════════
   UTILITY HEADER
════════════════════════════ */
.util-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.util-inner {
  max-width: 1340px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 54px;
}
.site-logo { display: flex; align-items: center; }
.util-right { display: flex; align-items: center; gap: .15rem; }
.util-link {
  font-size: .82rem; color: rgba(255,255,255,.75);
  padding: .4rem .75rem; transition: color .18s;
}
.util-link:hover { color: #fff; }
.util-sep { color: rgba(255,255,255,.25); font-size: .85rem; }
.util-icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75); font-size: .95rem; transition: all .18s;
}
.util-icon-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-contact-sales {
  padding: .5rem 1.3rem; background: var(--purple);
  color: #fff; border-radius: 4px; font-size: .83rem; font-weight: 700;
  margin-left: .4rem; transition: all .2s; white-space: nowrap;
}
.btn-contact-sales:hover { background: var(--purple-dark); }

/* ════════════════════════════
   MAIN NAVIGATION
════════════════════════════ */
.main-nav-bar {
  background: var(--navy2);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.nav-inner {
  max-width: 1340px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: stretch; height: 52px;
  position: relative;
}
.nav-item { position: static; display: flex; align-items: center; }
.nav-btn {
  display: flex; align-items: center; gap: .35rem;
  padding: 0 1.1rem; height: 100%;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: .9rem; font-weight: 600;
  color: rgba(255,255,255,.88); white-space: nowrap;
  border-bottom: 3px solid transparent;
  border-left: 3px solid transparent;
  transition: all .18s;
}
.nav-btn i.chev { font-size: .6rem; transition: transform .18s; }
.nav-item:hover > .nav-btn { color: var(--purple-light); border-bottom-color: var(--purple-light); }
.nav-item:hover > .nav-btn i.chev { transform: rotate(180deg); }
.nav-btn.highlight { color: var(--purple-light); }
.nav-btn.highlight:hover { color: #c4b5fd; }
.nav-btn.active-page { color: var(--purple-light); border-bottom-color: var(--purple-light); }

/* Full-width mega dropdown */
.dd-panel {
  position: absolute;
  top: 100%;
  background: #fff;
  border-top: 2px solid #e5e7eb;
  box-shadow: 0 16px 48px rgba(0,0,0,.13);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 700;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
}
.nav-item:hover > .dd-panel {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dd-inner { max-width: 1340px; margin: 0 auto; padding: 1.8rem 2rem 2rem; }
.dd-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: .85rem; border-bottom: 1px solid #e5e7eb; margin-bottom: 1.4rem;
}
.dd-header-label {
  font-size: .72rem; font-weight: 700; color: #6b7280;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.dd-see-all {
  display: flex; align-items: center; gap: .4rem;
  font-size: .84rem; font-weight: 600; color: var(--purple); transition: gap .18s;
}
.dd-see-all:hover { gap: .65rem; }
.dd-see-all i { font-size: .75rem; }
.dd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .1rem 1rem; }
.dd-grid a {
  display: block; padding: .65rem 0;
  font-size: .95rem; font-weight: 500; color: #111827;
  border-bottom: 1px solid transparent; transition: color .15s;
}
.dd-grid a:hover { color: var(--purple); }

/* Narrow dropdown */
.nav-item.has-narrow { position: relative; }
.dd-panel.narrow {
  width: auto !important; min-width: 230px;
  left: 0 !important; right: auto;
  transform: translateY(-8px) !important;
}
.nav-item.has-narrow:hover > .dd-panel.narrow {
  opacity: 1; visibility: visible;
  transform: translateY(0) !important;
}
.dd-panel.narrow .dd-inner { padding: .8rem 0 .6rem; }
.dd-panel.narrow .dd-grid { grid-template-columns: 1fr; gap: 0; }
.dd-panel.narrow .dd-grid a { padding: .62rem 1.4rem; font-size: .88rem; border-bottom: none; }
.dd-panel.narrow .dd-grid a:hover { background: #f5f3ff; color: var(--purple); padding-left: 1.8rem; }
.dd-panel.narrow .dd-header { display: none; }

/* Hamburger */
.ham-btn {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: .5rem; margin-left: auto;
}
.ham-btn span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ════════════════════════════
   LAYOUT UTILITIES
════════════════════════════ */
.container { max-width: 1340px; margin: 0 auto; padding: 0 2rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #f5f3ff; color: var(--purple);
  padding: .3rem .85rem; border-radius: 20px;
  font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: .85rem;
}
h2.stitle {
  font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 800;
  color: #111827; line-height: 1.15; letter-spacing: -.4px; margin-bottom: .7rem;
}
.sdesc { font-size: .96rem; color: var(--gray); line-height: 1.7; max-width: 560px; }
.sh { margin-bottom: 2.8rem; }
.sh.center { text-align: center; }
.sh.center .sdesc { margin: 0 auto; }

/* ════════════════════════════
   BUTTONS
════════════════════════════ */
.btn-purple {
  padding: .7rem 1.6rem; background: var(--purple); color: #fff;
  border-radius: 4px; font-size: .88rem; font-weight: 700; transition: all .22s;
  display: inline-flex; align-items: center; gap: .4rem;
}
.btn-purple:hover { background: var(--purple-dark); }
.btn-outline-w {
  padding: .7rem 1.6rem; border: 2px solid rgba(255,255,255,.35);
  color: #fff; border-radius: 4px; font-size: .88rem; font-weight: 600; transition: all .22s;
  display: inline-flex; align-items: center; gap: .4rem;
}
.btn-outline-w:hover { border-color: #fff; }

/* ════════════════════════════
   PAGE HERO (inner pages)
════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #0f1523 0%, #1a2744 50%, #0f1523 100%);
  padding: 3.5rem 0 3rem; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; right: -5%; top: -40%;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(124,58,237,.1); pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #fff;
  line-height: 1.1; letter-spacing: -.4px; margin-bottom: .6rem;
}
.page-hero p {
  font-size: 1rem; color: rgba(255,255,255,.7); max-width: 600px; line-height: 1.65;
}
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .78rem; color: rgba(255,255,255,.5); margin-bottom: .9rem;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color .18s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* ════════════════════════════
   PARTNERS
════════════════════════════ */
.partners { padding: 2.8rem 0; border-top: 1px solid var(--border); }
.p-label {
  text-align: center; font-size: .7rem; font-weight: 700; color: var(--gray);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1.4rem;
}
.p-row { display: flex; align-items: center; justify-content: center; gap: 2.8rem; flex-wrap: wrap; }
.p-item {
  display: flex; align-items: center; gap: .45rem;
  font-size: .9rem; font-weight: 700; color: #b0b8c4; transition: color .18s;
}
.p-item:hover { color: var(--purple); }
.p-item i { font-size: 1.1rem; }

/* ════════════════════════════
   CTA BAND
════════════════════════════ */
.cta-band {
  padding: 4.5rem 0;
  background: linear-gradient(130deg, #1e1148 0%, #3b1f8c 100%);
}
.cta-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-text h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: .5rem; }
.cta-text p { color: rgba(255,255,255,.7); font-size: .96rem; }
.cta-btns { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ════════════════════════════
   FOOTER
════════════════════════════ */
footer { background: var(--navy); }
.footer-top { padding: 4rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { font-size: .83rem; color: rgba(255,255,255,.5); line-height: 1.7; margin: .8rem 0 1.2rem; }
.soc-row { display: flex; gap: .55rem; }
.soc {
  width: 34px; height: 34px; border-radius: 7px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-size: .82rem; transition: all .18s;
}
.soc:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.fc-title { font-size: .73rem; font-weight: 700; color: #fff; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul a { font-size: .82rem; color: rgba(255,255,255,.5); transition: all .18s; }
.footer-col ul a:hover { color: var(--purple-light); padding-left: 4px; }
.fc-contact li { display: flex; align-items: flex-start; gap: .55rem; font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: .65rem; line-height: 1.5; }
.fc-contact li i { color: var(--purple-light); margin-top: .15rem; flex-shrink: 0; width: 13px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 1.2rem 0; }
.fb-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.fb-row p { font-size: .76rem; color: rgba(255,255,255,.3); }
.fb-links { display: flex; gap: 1.3rem; }
.fb-links a { font-size: .76rem; color: rgba(255,255,255,.3); transition: color .18s; }
.fb-links a:hover { color: rgba(255,255,255,.7); }

/* ════════════════════════════
   FADE ANIMATION
════════════════════════════ */
.fade { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade.in { opacity: 1; transform: translateY(0); }

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-inner { display: none; }
  .nav-inner.open {
    display: flex; flex-direction: column; position: fixed;
    inset: 0 auto 0 0; width: 280px; background: var(--navy2);
    overflow-y: auto; padding: 1rem 0; z-index: 9999;
    box-shadow: 4px 0 24px rgba(0,0,0,.4);
  }
  .nav-inner.open .nav-btn { padding: .9rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .9rem; }
  .nav-inner.open .dd-panel {
    position: static; opacity: 1; visibility: visible;
    transform: none !important; width: 100% !important; left: 0 !important;
    box-shadow: none; border: none; background: rgba(255,255,255,.04); border-radius: 0;
  }
  .nav-inner.open .dd-panel ul li a { color: rgba(255,255,255,.6); }
  .ham-btn { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-wrap { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .fb-row { flex-direction: column; text-align: center; }
}
