/* ═══════════════════════════════════════
   NORDWEB — Shared Styles
   nordw.com · Versatile Technology
═══════════════════════════════════════ */

:root {
  --pink:   #FF3EA5;
  --teal:   #00C2C7;
  --yellow: #FFD000;
  --dark:   #1A1A1A;
  --gray:   #6B6B7B;
  --light:  #F4F4F6;
  --border: #E8E8EE;
  --white:  #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 32px; height: 32px;
}
.logo-mark.sm { width: 26px; height: 26px; }
.logo-mark div:nth-child(1) { background: var(--pink); border-radius: 2px; }
.logo-mark div:nth-child(2) { background: var(--teal); border-radius: 2px; }
.logo-mark div:nth-child(3) { background: var(--yellow); border-radius: 2px; }
.logo-mark div:nth-child(4) { background: var(--dark); border-radius: 2px; }
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem; font-weight: 800;
  color: var(--dark); letter-spacing: -0.02em;
}
.logo-text span { color: var(--teal); }

.logo-text-light {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem; font-weight: 800;
  color: var(--light); letter-spacing: -0.02em;
}
.logo-text-light span { color: var(--teal); }

.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-links li a {
  font-size: 14px; font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--dark); background: var(--light); }
.nav-cta {
  background: var(--dark) !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 9px 20px !important;
}
.nav-cta:hover { background: var(--teal) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: all 0.25s;
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: 140px 0 80px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), var(--teal), var(--yellow));
}
.page-header-mark {
  position: absolute; right: -60px; top: 50%;
  transform: translateY(-50%);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; width: 340px; height: 340px;
  opacity: 0.06;
}
.page-header-mark div:nth-child(1){background:var(--pink);}
.page-header-mark div:nth-child(2){background:var(--teal);}
.page-header-mark div:nth-child(3){background:var(--yellow);}
.page-header-mark div:nth-child(4){background:#fff;}
.page-header-mark div { border-radius: 6px; }
.ph-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 10px;
}
.ph-eyebrow::before { content:''; width:20px; height:2px; background:var(--teal); display:block; }
.page-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; color: #fff; line-height: 1.1;
  margin-bottom: 1rem;
}
.page-header p { color: rgba(255,255,255,0.5); font-size: 1.05rem; max-width: 560px; line-height: 1.7; }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  padding: 60px 0 32px;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--pink), var(--teal), var(--yellow)) 1;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 32px; text-align: center;
}
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 14px; }
.footer-links {
  display: flex; gap: 32px; flex-wrap: wrap; justify-content: center;
}
.footer-links a {
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); letter-spacing: 0.04em; }

/* ── MOBILE ── */
@media(max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    align-items: flex-start;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; width: 100%; }
}
