/* ============================================================
   PEGACORE TECHNOLOGIES — DESIGN SYSTEM
   Palette: deep navy / electric blue / neon cyan / soft light
   Type: Space Grotesk (display) · Inter (body) · IBM Plex Mono (data)
   Signature: the "Constellation" — nodes = products, edges = the
   connected ecosystem the whole brief is about.
   ============================================================ */
body {
    background: white !important;
}
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  --navy: #081120;
  --navy-2: #0B1730;
  --navy-3: #10203E;
  --blue: #0066FF;
  --blue-dim: #2E5CC7;
  --cyan: #00D9FF;
  --bg: #F7F9FC;
  --bg-card: #FFFFFF;
  --line: #E3E8F0;
  --ink: #0B1424;
  --ink-dim: #4C596E;
  --ink-faint: #8B96A8;
  --on-dark: #EAF1FF;
  --on-dark-dim: #8FA2C4;

  --radius: 18px;
  --radius-sm: 12px;
  --glow: 0 0 0 1px rgba(0,102,255,.15), 0 20px 60px -20px rgba(0,102,255,.35);
  --glow-cyan: 0 0 40px -6px rgba(0,217,255,.55);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; line-height:1.08; letter-spacing:-0.01em; }
p{ margin:0; }
button{ font-family: inherit; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{
  content:''; width:22px; height:1px; background: var(--blue); display:inline-block;
}
.eyebrow.on-dark{ color: var(--cyan); }
.eyebrow.on-dark::before{ background: var(--cyan); }

.wrap{ max-width: 1200px; margin: 0 auto; padding: 0 32px; }
section{ position: relative; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-body); font-weight:600; font-size:15px;
  padding: 13px 24px; border-radius: 100px;
  border: 1px solid transparent; cursor:pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, var(--blue), #0052D6);
  color:#fff; box-shadow: var(--glow);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 24px 50px -18px rgba(0,102,255,.55); }
.btn-ghost{
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover{ border-color: var(--blue); color: var(--blue); }
.btn-ghost.on-dark{ color: var(--on-dark); border-color: rgba(234,241,255,.22); }
.btn-ghost.on-dark:hover{ border-color: var(--cyan); color: var(--cyan); }
.btn-arrow{ transition: transform .25s ease; }
.btn:hover .btn-arrow{ transform: translateX(3px); }
.btn-sm{ padding: 9px 18px; font-size: 13px; }

/* ============================================================
   NAV
   ============================================================ */
.site-nav{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled{
  background: rgba(8,17,32,.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: 12px 0;
  border-color: rgba(255,255,255,.08);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap: 24px; }
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight:700; font-size:19px; color: var(--on-dark); }
.brand .mark{ width:30px; height:30px; }
.brand small{ display:block; font-family: var(--font-mono); font-size:9px; letter-spacing:.14em; color: var(--cyan); font-weight:500; text-transform:uppercase; margin-top:1px; }

.nav-links{ display:flex; align-items:center; gap: 6px; }
.nav-links > li{ position: relative; }
.nav-link{
  display:flex; align-items:center; gap:6px;
  padding: 10px 16px; border-radius: 100px;
  font-size: 14.5px; font-weight:500; color: var(--on-dark-dim);
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover, .nav-link.active{ color: var(--on-dark); background: rgba(255,255,255,.06); }
.nav-link .chev{ width:9px; height:9px; transition: transform .25s ease; opacity:.7; }
.has-dropdown:hover .chev, .has-dropdown.open .chev{ transform: rotate(180deg); }

.dropdown{
  position:absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 560px; padding: 14px;
  background: rgba(11,23,48,.98);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6), var(--glow-cyan);
  opacity:0; visibility:hidden; pointer-events:none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  display:grid; grid-template-columns: 1fr 1fr; gap:4px;
}
.has-dropdown.open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.dd-item{
  display:flex; gap:12px; align-items:flex-start;
  padding: 12px; border-radius: 14px;
  transition: background .2s ease;
}
.dd-item:hover{ background: rgba(255,255,255,.06); }
.dd-icon{
  flex:none; width:36px; height:36px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(0,102,255,.25), rgba(0,217,255,.12));
  border: 1px solid rgba(0,217,255,.3);
}
.dd-icon svg{ width:18px; height:18px; }
.dd-item h4{ font-size:13.5px; color: var(--on-dark); font-weight:600; }
.dd-item p{ font-size:12px; color: var(--on-dark-dim); margin-top:3px; line-height:1.4; }
.dd-foot{
  grid-column: 1 / -1; margin-top:6px; padding-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:space-between;
  padding-left:12px; padding-right:12px;
}
.dd-foot a{ font-size:13px; font-weight:600; color: var(--cyan); display:flex; align-items:center; gap:6px; }

.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-burger{ display:none; }

@media (max-width: 980px){
  .nav-links{ display:none; }
  .nav-cta .btn-ghost{ display:none; }
  .nav-burger{ display:flex; width:38px; height:38px; align-items:center; justify-content:center; border-radius:10px; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); }
  .nav-burger svg{ width:18px; height:18px; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu{
  position: fixed; inset: 0; z-index: 600;
  background: rgba(6,12,24,.98); backdrop-filter: blur(10px);
  padding: 90px 28px 40px; overflow-y:auto;
  transform: translateY(-12px); opacity:0; visibility:hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.mobile-menu.open{ opacity:1; visibility:visible; transform:none; }
.mobile-menu a{ display:block; font-family: var(--font-display); font-size: 26px; color: var(--on-dark); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu .mm-sub{ padding-left: 16px; }
.mobile-menu .mm-sub a{ font-size:16px; font-family: var(--font-body); color: var(--on-dark-dim); padding:10px 0; border:none; }
.mm-close{ position:absolute; top:22px; right:28px; width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; }

/* ============================================================
   HERO / DARK SECTIONS
   ============================================================ */
.dark-section{
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(0,102,255,.28), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(0,217,255,.14), transparent 55%),
    var(--navy);
  color: var(--on-dark);
}
.hero{
  padding: 200px 0 140px;
  position: relative;
}
.hero-canvas{
  position:absolute; inset:0; width:100%; height:100%;
  opacity:.75; pointer-events:none;
}
.hero-grid div{
  /* display:grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items:center; */
  /* position:relative; z-index:2; */
  /* display: flex;
  flex-direction: column;
  align-items: center; */
}
.hero h1{ font-size: clamp(40px, 5.2vw, 68px); font-weight:600; color:#fff; }
.hero h1 em{ font-style:normal; background: linear-gradient(100deg, var(--cyan), var(--blue) 65%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero .lede{ margin-top:22px; font-size:18px; line-height:1.65; color: var(--on-dark-dim); max-width: 540px; }
.hero-actions{ display:flex; gap:14px; margin-top:36px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:34px; margin-top:56px; flex-wrap:wrap; }
.hero-stats .stat b{ display:block; font-family: var(--font-mono); font-size:26px; color:#fff; }
.hero-stats .stat span{ font-size:12px; color: var(--on-dark-dim); }

/* floating glass card used in hero visuals */
.glass-card{
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ============================================================
   LIGHT SECTIONS / SHARED PATTERNS
   ============================================================ */
.section{ padding: 110px 0; }
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head h2{ font-size: clamp(30px, 3.6vw, 44px); margin-top:16px; color: var(--ink); font-weight:600; }
.section-head p{ margin-top:16px; font-size:16.5px; line-height:1.65; color: var(--ink-dim); }
.section-head.on-dark h2{ color:#fff; }
.section-head.on-dark p{ color: var(--on-dark-dim); }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .eyebrow{ justify-content:center; }

.card{
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(11,20,40,.25); border-color: rgba(0,102,255,.25); }
.card .icon-tile{
  width:46px; height:46px; border-radius:12px;
  background: linear-gradient(135deg, rgba(0,102,255,.12), rgba(0,217,255,.08));
  border: 1px solid rgba(0,102,255,.18);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
}
.card .icon-tile svg{ width:22px; height:22px; color: var(--blue); }
.card h3{ font-size:18px; color: var(--ink); font-weight:600; }
.card p{ margin-top:10px; font-size:14.5px; line-height:1.6; color: var(--ink-dim); }

.grid-2{ display:grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.grid-4{ display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* Product grid card (used on home + products landing) */
.product-card{
  position:relative; overflow:hidden;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 30px;
  color: var(--on-dark);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  display:flex; flex-direction:column; min-height: 250px;
}
.product-card:hover{ transform: translateY(-6px); box-shadow: var(--glow-cyan); border-color: rgba(0,217,255,.4); }
.product-card .pc-glow{
  position:absolute; top:-40px; right:-40px; width:160px; height:160px; border-radius:50%;
  background: radial-gradient(circle, var(--cyan-glow, rgba(0,217,255,.35)), transparent 70%);
  filter: blur(10px); opacity:.6;
}
.product-card .icon-tile{ background: rgba(0,217,255,.1); border-color: rgba(0,217,255,.28); }
.product-card .icon-tile svg{ color: var(--cyan); }
.product-card h3{ font-size:20px; color:#fff; }
.product-card .tag{ font-family: var(--font-mono); font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color: var(--cyan); margin-bottom:8px; display:block; }
.product-card p{ margin-top:10px; font-size:14px; line-height:1.6; color: var(--on-dark-dim); flex:1; }
.product-card .pc-link{ margin-top:20px; display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color:#fff; }
.product-card .pc-link svg{ width:14px; height:14px; transition: transform .25s ease; }
.product-card:hover .pc-link svg{ transform: translateX(4px); }

/* Ecosystem / constellation section */
.constellation-wrap{ position:relative; height: 560px; }
.constellation-wrap canvas{ width:100%; height:100%; }
.constellation-caption{ position:absolute; bottom:0; left:0; right:0; text-align:center; font-family: var(--font-mono); font-size:12px; color: var(--on-dark-dim); letter-spacing:.06em; }

/* Values / pillars */
.pill-row{ display:flex; flex-wrap:wrap; gap:10px; }
.pill{
  font-family: var(--font-mono); font-size:12.5px; letter-spacing:.02em;
  padding: 9px 16px; border-radius:100px; border:1px solid var(--line); color: var(--ink-dim);
}
.pill.on-dark{ border-color: rgba(255,255,255,.14); color: var(--on-dark-dim); }

/* numbered list (real sequence contexts only) */
.step{ display:flex; gap:20px; }
.step .num{ font-family: var(--font-mono); font-size:14px; color: var(--blue); flex:none; width:34px; height:34px; border-radius:10px; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; }
.step h4{ font-size:16px; color: var(--ink); font-weight:600; }
.step p{ margin-top:6px; font-size:14.5px; color: var(--ink-dim); line-height:1.6; }

/* Industries strip */
.industry-strip{ display:flex; flex-wrap:wrap; gap:12px; }
.industry-chip{
  display:flex; align-items:center; gap:10px;
  padding: 14px 18px; border-radius: 14px;
  background: var(--bg-card); border:1px solid var(--line);
  font-size: 14px; font-weight:500; color: var(--ink);
}
.industry-chip .dot{ width:7px; height:7px; border-radius:50%; background: var(--blue); }

/* CTA banner */
.cta-banner{
  border-radius: 28px; padding: 70px 60px; position:relative; overflow:hidden;
  background: linear-gradient(135deg, var(--navy-3), var(--navy));
  border: 1px solid rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
}
.cta-banner::after{
  content:''; position:absolute; inset:0;
  background: radial-gradient(500px 300px at 85% 20%, rgba(0,217,255,.25), transparent 60%);
}
.cta-banner h2{ color:#fff; font-size: clamp(26px,3vw,36px); position:relative; z-index:1; max-width:520px; }
.cta-banner .cta-actions{ position:relative; z-index:1; display:flex; gap:14px; flex-wrap:wrap; }

/* Footer */
.site-footer{ background: var(--navy); color: var(--on-dark-dim); padding: 70px 0 30px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid h5{ font-family: var(--font-mono); font-size:16px; letter-spacing:.12em; text-transform:uppercase; color: var(--on-dark); margin-bottom:18px; }
.footer-grid li{ margin-bottom:11px; font-size:14px; }
.footer-grid li a:hover{ color: var(--cyan); }
.footer-brand p{ margin-top:16px; font-size:14px; line-height:1.6; max-width:280px; color: var(--on-dark-dim); }
.footer-bottom{ padding-top:26px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; font-size:13px; }

/* Breadcrumb / product hero specific */
.crumb{ display:flex; align-items:center; gap:8px; font-family: var(--font-mono); font-size:12.5px; color: var(--on-dark-dim); margin-bottom: 26px; }
.crumb a:hover{ color: var(--cyan); }
.crumb .sep{ opacity:.5; }

.product-hero-icon{
  width:76px; height:76px; border-radius:20px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(0,102,255,.25), rgba(0,217,255,.1));
  border: 1px solid rgba(0,217,255,.3);
  margin-bottom: 28px; box-shadow: var(--glow-cyan);
}
.product-hero-icon svg{ width:36px; height:36px; }

.feature-row{ display:flex; gap:18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child{ border-bottom:none; }
.feature-row .icon-tile{ margin-bottom:0; }
.feature-row h4{ font-size:16px; color: var(--ink); font-weight:600; }
.feature-row p{ margin-top:6px; font-size:14.5px; color: var(--ink-dim); line-height:1.6; }

.other-products{ display:flex; gap:16px; overflow-x:auto; padding-bottom: 8px; }
.other-products .product-card{ min-width: 280px; }

/* reveal-on-scroll */
.reveal{ opacity:0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* utility */
.text-center{ text-align:center; }
.mt-lg{ margin-top:70px; }

@media (max-width: 980px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr 1fr; }
  .hero-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .cta-banner{ padding: 46px 30px; }
}
@media (max-width: 640px){
  .wrap{ padding:0 20px; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap:30px; }
  .hero{ padding: 150px 0 90px; }
  .section{ padding: 76px 0; }
  .dropdown{ width: 320px; grid-template-columns: 1fr; }
  .cta-banner{ flex-direction:column; align-items:flex-start; }
}
/* ================================
   PRODUCTS DROPDOWN FIX
================================ */

.has-dropdown {
    position: relative;
}

.has-dropdown > .nav-link {
    cursor: pointer;
}

.has-dropdown .dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 9999;

    min-width: 280px;
    padding: 14px;

    background: #08152f;
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

/* PRODUCTS DROPDOWN - CLICK ONLY */
@media (hover: hover) and (min-width: 769px) {
    .has-dropdown.open .dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}
/* =========================================
   PRODUCTS DROPDOWN — CLICK TO OPEN
========================================= */

.has-dropdown {
    position: relative;
}

/* Products button hover */
.has-dropdown > .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Dropdown */
#products-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;

    width: 380px;
    padding: 14px;

    background: rgba(5, 15, 38, 0.98);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 16px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(0, 217, 255, 0.08);

    z-index: 99999;

    /* CLOSED */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(-50%) translateY(8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

/* ONLY .open can display the dropdown */
.has-dropdown.open #products-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(-50%) translateY(0);
}

/* Individual product */
#products-dropdown .dd-item {
    display: grid;
    grid-template-columns: 42px 1fr;

    gap: 12px;
    align-items: center;

    padding: 12px;

    color: #fff;
    text-decoration: none;

    border-radius: 12px;

    transition: background 0.2s ease, transform 0.2s ease;
}

#products-dropdown .dd-item:hover {
    background: rgba(0, 217, 255, 0.09);
    transform: translateX(3px);
}

#products-dropdown .dd-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.18);

    font-size: 18px;
}

#products-dropdown .dd-item h4 {
    margin: 0 0 3px;

    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

#products-dropdown .dd-item p {
    margin: 0;

    color: rgba(255, 255, 255, 0.58);

    font-size: 11px;
    line-height: 1.4;
}

#products-dropdown .dd-foot {
    margin-top: 8px;
    padding: 10px 12px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.45);

    font-size: 11px;
    text-align: center;
}
/* =====================================================
   PEGACORE PRODUCTS — FINAL COMPACT LAYOUT
   ===================================================== */

#products .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Cards */
#products .product-card {
    padding: 14px;
    border-radius: 18px;
}

/* Icon section */
#products .product-card .icon-tile {
    width: 100%;
    height: 125px;
    margin-bottom: 12px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icons */
#products .product-card .icon-tile svg {
    width: 70px;
    height: 70px;
}

/* Tag */
#products .product-card .tag {
    font-size: 9px;
    margin-bottom: 5px;
}

/* Product title */
#products .product-card h3 {
    font-size: 16px;
    line-height: 1.2;
    margin: 5px 0;
}

/* Description */
#products .product-card p {
    font-size: 12px;
    line-height: 1.4;
    margin: 5px 0 9px;
}

/* Explore link */
#products .product-card .pc-link {
    font-size: 11px;
}

/* Section spacing */
#products {
    padding-top: 45px;
    padding-bottom: 45px;
}

#products .section-head {
    margin-bottom: 20px;
}


/* TABLET */
@media (max-width: 900px) {
    #products .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* MOBILE */
@media (max-width: 600px) {
    #products .grid-3 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #products {
        padding-top: 35px;
        padding-bottom: 35px;
    }
}
/* =====================================================
   CONTACT PAGE
   ===================================================== */

.contact-page {
    padding: 100px 0 90px;
    background: #f7f9fc;
}

.contact-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.contact-heading h1 {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.05;
    margin: 12px 0 20px;
}

.contact-heading h1 span {
    color: #009dff;
}

.contact-intro {
    max-width: 650px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-dim);
}


/* CONTACT GRID */

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: start;
}


/* INFORMATION */

.contact-info {
    padding-top: 10px;
}

.contact-card {
    margin-bottom: 35px;
}

.contact-card h2 {
    font-size: 30px;
    margin: 10px 0 15px;
}

.contact-card p {
    color: var(--ink-dim);
    line-height: 1.7;
}


/* CONTACT DETAILS */

.contact-detail {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 22px 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(0, 157, 255, 0.1);
    color: #009dff;

    font-size: 20px;
}

.contact-detail small {
    display: block;
    color: var(--ink-dim);
    margin-bottom: 4px;
}

.contact-detail a {
    color: var(--ink);
    text-decoration: none;
}

.contact-detail strong {
    color: var(--ink);
}


/* FORM */

.contact-form-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.contact-form-card h2 {
    color: #0f172a;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 15px;

    border: 1px solid #dce3ed;
    border-radius: 10px;

    background: #fbfcfe;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition: 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #009dff;
    background: white;

    box-shadow:
        0 0 0 3px rgba(0, 157, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-submit {
    border: none;
    cursor: pointer;
    padding: 14px 22px;
}

.contact-submit span {
    margin-left: 8px;
}


/* MOBILE */

@media (max-width: 800px) {

body {
    background: var(--bg);
}

    .contact-page {
        padding: 70px 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-card {
        padding: 25px;
    }

}

/* SMALLER PRODUCT CARDS */

#all-products-grid {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

#all-products-grid .product-card {
    padding: 18px;
    min-height: 190px;
    border-radius: 16px;
}

#all-products-grid .product-card .icon-tile {
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
}

#all-products-grid .product-card .icon-tile svg {
    width: 26px;
    height: 26px;
}

#all-products-grid .product-card h3 {
    font-size: 17px;
    margin: 6px 0;
}

#all-products-grid .product-card p {
    font-size: 12px;
    line-height: 1.45;
    margin: 6px 0 12px;
}

#all-products-grid .product-card .pc-link {
    font-size: 12px;
}





/* ================================
   CONTACT PAGE
================================ */

.contact-page {
    padding: 90px 0;
    background: #f7f9fc;
}

.contact-heading {
    max-width: 750px;
    margin-bottom: 55px;
}

.contact-heading h1 {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.05;
    margin: 12px 0 20px;
}

.contact-heading h1 span {
    color: #009dff;
}

.contact-intro {
    max-width: 650px;
    color: var(--ink-dim);
    font-size: 17px;
    line-height: 1.7;
}


/* MAIN LAYOUT */

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 55px;
    align-items: start;
}


/* LEFT */

.contact-info h2 {
    font-size: 32px;
    margin: 10px 0 18px;
}

.contact-info > p:not(.eyebrow) {
    color: var(--ink-dim);
    line-height: 1.7;
    max-width: 500px;
}


/* CONTACT DETAILS */

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 28px;
}

.contact-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(0, 157, 255, 0.1);

    color: #009dff;

    font-size: 20px;
}

.contact-detail small {
    display: block;
    color: var(--ink-dim);
    font-size: 12px;
    margin-bottom: 4px;
}

.contact-detail a,
.contact-detail strong {
    color: var(--ink);
    text-decoration: none;
}


/* FORM CARD */

.contact-form-card {
    background: #ffffff;

    padding: 35px;

    border-radius: 24px;

    border: 1px solid rgba(0, 40, 100, 0.08);

    box-shadow:
        0 20px 60px rgba(0, 30, 80, 0.08);
}


/* FORM ROW */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}


/* FORM GROUP */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;

    font-weight: 600;

    color: var(--ink);
}


/* INPUTS */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 15px;

    border: 1px solid #dce3ed;

    border-radius: 10px;

    background: #fbfcfe;

    color: var(--ink);

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition: 0.2s ease;
}


/* FOCUS */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #009dff;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(0, 157, 255, 0.1);
}


/* MESSAGE */

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}


/* BUTTON */

.contact-submit {
    border: none;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 14px 25px;
}

.contact-submit span {
    transition: transform 0.2s ease;
}

.contact-submit:hover span {
    transform: translateX(5px);
}


/* MOBILE */

@media (max-width: 850px) {

    .contact-page {
        padding: 65px 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}


@media (max-width: 600px) {

    .contact-form-card {
        padding: 22px;
        border-radius: 18px;
    }

    .contact-heading h1 {
        font-size: 40px;
    }

    .contact-submit {
        width: 100%;
    }

}

/* =========================================
   CONTACT FORM
   ========================================= */




.contact-form-card::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    background: rgba(0, 238, 255, 0.08);

    border-radius: 50%;

    filter: blur(60px);

    top: -120px;
    right: -100px;

    pointer-events: none;
}


.form-header {
    margin-bottom: 32px;

    position: relative;

    z-index: 1;
}


.form-header .eyebrow {
    color: #00d9ff;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.16em;

    margin-bottom: 12px;
}


.form-header h2 {
    color: #ffffff;

    font-size: clamp(28px, 3vw, 42px);

    line-height: 1.1;

    margin: 0 0 14px;
}


.form-header h2 span {
    color: #00d9ff;
}


.form-header > p:last-child {
    color: rgba(255, 255, 255, 0.68);

    font-size: 15px;

    line-height: 1.7;

    max-width: 600px;
}


/* FORM ROW */

.form-row {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin-bottom: 20px;
}


/* FORM GROUP */

.form-group {
    margin-bottom: 20px;
}


.form-group label {
    display: block;

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 9px;
}


/* INPUTS */

.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 12px;

    padding: 15px 16px;

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


/* PLACEHOLDER */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.42);
}


/* FOCUS */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color: #00d9ff;

    background: rgba(0, 217, 255, 0.06);

    box-shadow:
        0 0 0 3px rgba(0, 217, 255, 0.10);
}


/* SELECT */

.form-group select {
    appearance: none;

    cursor: pointer;

    background-image:
        linear-gradient(45deg, transparent 50%, #00d9ff 50%),
        linear-gradient(135deg, #00d9ff 50%, transparent 50%);

    background-position:
        calc(100% - 18px) 21px,
        calc(100% - 13px) 21px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;

    padding-right: 45px;
}


.form-group select option {
    background: #07194f;

    color: #ffffff;
}


/* TEXTAREA */

.form-group textarea {
    min-height: 170px;

    resize: vertical;

    line-height: 1.6;
}


/* SUBMIT BUTTON */

.contact-submit {
    margin-top: 5px;

    min-width: 180px;

    cursor: pointer;

    border: none;
}


/* MOBILE */

@media (max-width: 700px) {

    .contact-form-card {
        padding: 26px 20px;

        border-radius: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;

        margin-bottom: 0;
    }

    .form-header h2 {
        font-size: 30px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }

    .contact-submit {
        width: 100%;
    }

}

/* =========================================
   CONTACT PAGE FIX
   ========================================= */

body {
    background: #f7f8fc;
    color: #172554;
}

/* Navigation */
.site-nav {
    background: #071a4d;
    color: #ffffff;
}

.site-nav a {
    color: #ffffff;
}

.site-nav .nav-link {
    color: #ffffff;
}

.site-nav .brand {
    color: #ffffff;
}

/* Contact page */
.contact-page {
    background: #f7f8fc;
    color: #172554;
}

/* Contact heading */
.contact-page h1,
.contact-page h2,
.contact-page h3 {
    color: #172554;
}

.contact-page p {
    color: #64748b;
}

/* Contact form card */
.contact-form-card {
    /* background: linear-gradient(135deg, #173b9e, #0757d9); */
    background-color: #081120;
    color: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

/* Form heading */
.contact-form-card h2,
.contact-form-card h3 {
    color: #ffffff;
}

/* Form description */
.contact-form-card p {
    color: #e5efff;
}

/* Labels */
.contact-form-card label {
    color: #ffffff;
}

/* Inputs */
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 14px 16px;
}

/* Placeholder text */
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

/* Dropdown */
.contact-form-card select {
    color: #ffffff;
}

.contact-form-card select option {
    color: #172554;
    background: #ffffff;
}

/* Textarea */
.contact-form-card textarea {
    min-height: 160px;
    resize: vertical;
}

/* Send button */
.contact-submit {
    background: #087cff;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 14px 22px;
    cursor: pointer;
    font-weight: 700;
}

.contact-submit:hover {
    background: #0068df;
}
/* =========================================
   PEGACORE CONTACT PAGE - FINAL LAYOUT FIX
   ========================================= */

.contact-page {
    background: #f7f8fc;
    color: #172554;
    padding: 90px 0;
    min-height: auto;
}

.contact-page .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Contact heading */
.contact-heading {
    margin-bottom: 55px;
}

.contact-heading h1 {
    color: #172554;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    margin: 0 0 20px;
}

.contact-heading p {
    color: #64748b;
    max-width: 700px;
    font-size: 17px;
    line-height: 1.7;
}

/* Main two-column layout */
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* Left contact information */
.contact-info {
    color: #172554;
}

.contact-info h2 {
    color: #172554;
    font-size: 32px;
    margin: 10px 0 20px;
}

.contact-info p {
    color: #64748b;
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 28px;
}

.contact-detail small {
    display: block;
    color: #64748b;
    margin-bottom: 5px;
}

.contact-detail strong {
    color: #172554;
}

/* FORM CARD */
.contact-form-card {
    display: block;
    width: 100%;
    box-sizing: border-box;
    /* background: linear-gradient(135deg, #173b9e, #0757d9); */
    background-color: #081120;
    color: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.contact-form-card h2 {
    color: #ffffff;
    margin-top: 0;
    font-size: 38px;
}

.contact-form-card p {
    color: #e5efff;
}

/* Form rows */
.contact-form-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-card .form-group {
    margin-bottom: 20px;
}

.contact-form-card label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Inputs */
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: rgba(255,255,255,0.65);
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: #00d9ff;
    box-shadow: 0 0 0 3px rgba(0,217,255,0.12);
}

.contact-form-card select option {
    color: #172554;
    background: #ffffff;
}

.contact-form-card textarea {
    min-height: 150px;
    resize: vertical;
}

/* Button */
.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #087cff;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 700;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 800px) {

    .contact-page {
        padding: 60px 0;
    }

    .contact-page .wrap {
        padding: 0 20px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-card {
        padding: 25px;
    }

    .contact-form-card .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-card h2 {
        font-size: 30px;
    }
}
.brand-logo {
    width: 5776px;
    height: auto;
    display: block;
}
/* EXTRA-SLIM HEADER */
.site-nav {
    padding: 10;
    min-height: 20;
}

.nav-inner {
    height: 38px;
    min-height: 38px;
    padding: 0 12px;
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 350px;
    height: auto;
    display: block;
}

.nav-links {
    gap: 14px;
}

.nav-cta {
    gap: 6px;
}
.wrap.nav-inner .brand-logo {
    width: 200px;
}
/* Move footer description closer to the logo */
.site-footer .footer-brand p {
    margin-top: 8px !important;
}
/* Footer logo and description spacing */
.site-footer .brand-logo {
    margin-bottom: 5px !important;
    width: 230px;
}
/* Bring footer description directly under logo */
.site-footer .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer .footer-brand p {
    margin-top: 50 !important;
    padding-top: 0 !important;
}
/* ===== PRODUCTS DROPDOWN - REMOVE OLD LOGO/WATERMARK ===== */

.products-dropdown::before,
.products-dropdown::after {
    content: none !important;
    display: none !important;
    background-image: none !important;
}

.products-dropdown {
    background-image: none !important;
}