/* ─── Northbridge Digital — Shared Stylesheet ─── */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

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

:root {
  --primary:      #2563EB;
  --primary-d:    #1D4ED8;
  --secondary:    #3B82F6;
  --accent:       #F97316;
  --accent-d:     #EA6C0A;
  --bg:           #F8FAFC;
  --surface:      #FFFFFF;
  --text:         #1E293B;
  --text-muted:   #64748B;
  --border:       rgba(37,99,235,0.15);
  --glass-bg:     rgba(255,255,255,0.55);
  --glass-border: rgba(255,255,255,0.6);
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 16px rgba(37,99,235,0.12), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:    0 20px 48px rgba(37,99,235,0.16), 0 8px 20px rgba(0,0,0,0.08);
  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;
  --transition:   200ms cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--bg);
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  transition: all var(--transition); cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(249,115,22,0.35); }
.btn-primary:hover { background: var(--accent-d); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,0.45); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.18); color: #fff; border: 1.5px solid rgba(255,255,255,0.35); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.28); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #F0F9FF; transform: translateY(-2px); }

/* ─── Section Helpers ─── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,0.08); color: var(--primary);
  padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label svg { width: 14px; height: 14px; }
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 560px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px; transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(248,250,252,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.nav.solid { background: rgba(248,250,252,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; color: var(--text); }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.logo-mark svg { width: 20px; height: 20px; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-muted); transition: color var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--primary); border-radius: 2px; transform: scaleX(0); transition: transform var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 4px; border-radius: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(248,250,252,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 24px; z-index: 999; flex-direction: column; gap: 16px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 16px; font-weight: 500; color: var(--text); padding: 8px 0; border-bottom: 1px solid var(--border); }

/* ─── Page Hero (inner pages) ─── */
.page-hero { background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #1D4ED8 100%); padding: 140px 0 80px; position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.25; }
.hero-orb-1 { width: 400px; height: 400px; background: #3B82F6; top: -100px; right: -50px; }
.hero-orb-2 { width: 300px; height: 300px; background: #F97316; bottom: -80px; left: -60px; }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 580px; line-height: 1.75; }
.page-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.page-breadcrumb a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb span { font-size: 14px; color: rgba(255,255,255,0.35); }
.page-breadcrumb strong { font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 600; }

/* ─── Cards ─── */
.glass-card { background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* ─── Forms ─── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: 'Open Sans', sans-serif; font-size: 14px; color: var(--text);
  background: var(--surface); transition: all var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-req { color: var(--accent); }

/* ─── Trust Strip ─── */
.trust-strip { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.trust-label { font-size: 13px; color: var(--text-muted); font-weight: 500; white-space: nowrap; margin-right: 8px; }
.trust-logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.trust-logo { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700; color: #CBD5E1; letter-spacing: -0.01em; white-space: nowrap; transition: color var(--transition); }
.trust-logo:hover { color: var(--text-muted); }

/* ─── CTA Banner ─── */
.cta-banner { background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 60%, #1D4ED8 100%); padding: 96px 0; position: relative; overflow: hidden; }
.cta-banner-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.2; }
.cta-orb-1 { width: 400px; height: 400px; background: #F97316; top: -150px; right: -100px; }
.cta-orb-2 { width: 300px; height: 300px; background: #8B5CF6; bottom: -100px; left: -80px; }
.cta-inner { position: relative; z-index: 2; text-align: center; }
.cta-banner h2 { font-size: clamp(28px,4vw,48px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta-banner p { font-size: 18px; color: rgba(255,255,255,0.65); margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ─── Footer ─── */
.footer { background: #0F172A; color: rgba(255,255,255,0.6); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: all var(--transition); }
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.social-btn svg { width: 16px; height: 16px; }
.footer-col h5 { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ─── Reveal Animations ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
.mobile-menu .btn {
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 15px;
}
@media (max-width: 480px) {
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, .reveal { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
