/* ===========================
   BLUEPRAME – Global Styles
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Instrument+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --ink:      #07090F;
  --ink2:     #161B2E;
  --blue:     #0052E0;
  --blue-h:   #003EB5;
  --accent:   #00D2FF;
  --pale:     #EEF3FF;
  --muted:    #6B7280;
  --border:   rgba(0,0,0,0.08);
  --white:    #FFFFFF;
  --light:    #F8FAFF;
  --radius:   14px;
  --shadow:   0 8px 40px rgba(0,82,224,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Instrument Sans', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }
.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.3rem;
  letter-spacing: -0.03em; text-decoration: none;
  color: var(--ink);
}
.nav-logo em { color: var(--blue); font-style: normal; }
.nav-links {
  display: flex; gap: 2rem; list-style: none;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  text-decoration: none; color: var(--ink);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blue); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-login {
  font-size: 0.875rem; font-weight: 500;
  text-decoration: none; color: var(--muted);
  transition: color 0.2s;
}
.nav-login:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s; border-radius: 10px;
}
.btn-sm { padding: 0.55rem 1.3rem; font-size: 0.85rem; }
.btn-md { padding: 0.75rem 1.8rem; font-size: 0.95rem; }
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1rem; }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 16px rgba(0,82,224,0.28);
}
.btn-primary:hover {
  background: var(--blue-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,82,224,0.38);
}
.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--blue); color: var(--blue);
  transform: translateY(-1px);
}
.btn-white {
  background: #fff; color: var(--blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.18); }

/* ---- SECTION BASE ---- */
.section { padding: 100px 6%; }
.section-sm { padding: 60px 6%; }
.container { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.8rem;
}
.section-heading {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700; color: var(--ink);
  margin-bottom: 1rem;
}
.section-body {
  font-size: 1rem; color: var(--muted);
  max-width: 540px; line-height: 1.8;
}
.text-center { text-align: center; }
.text-center .section-body { margin: 0 auto; }

/* ---- CHIP ---- */
.chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.9rem; border-radius: 99px;
  font-size: 0.75rem; font-weight: 600;
  background: var(--pale); color: var(--blue);
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  transition: all 0.25s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(0,82,224,0.15);
}
.card-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; color: var(--muted); line-height: 1.75; }

/* ---- GRID UTILS ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
@media(max-width:900px) {
  .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:600px) {
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section { padding: 70px 5%; }
  .nav { padding: 0 5%; }
}

/* ---- FOOTER ---- */
.footer {
  background: var(--ink2);
  color: rgba(255,255,255,0.45);
  padding: 70px 6% 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}
@media(max-width:768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-logo {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: 1.2rem; color: #fff; text-decoration: none;
}
.footer-logo em { color: #60A5FA; font-style: normal; }
.footer-desc { font-size: 0.85rem; margin-top: 0.8rem; line-height: 1.7; max-width: 240px; }
.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: #fff; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  font-size: 0.85rem; color: rgba(255,255,255,0.4);
  text-decoration: none; transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: 0.78rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---- PAGE HERO VARIANT ---- */
.page-hero {
  padding: 140px 6% 80px;
  background: var(--light);
  border-bottom: 1px solid var(--border);
}
.page-hero .section-heading { font-size: clamp(2rem,4vw,3.2rem); }

/* ---- BADGE ---- */
.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem; border-radius: 6px;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-blue { background: var(--pale); color: var(--blue); }
.badge-green { background: #ECFDF5; color: #059669; }
.badge-popular { background: var(--blue); color: #fff; }

/* ---- DIVIDER ---- */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ---- SCROLL ANIMATION ---- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
