/* ======================================
   DigiLakshya — Design System v3
   Blue-Led Color Strategy
   70% White/Neutral · 20% Blue · 10% Accent
====================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;1,9..40,400&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   COLOR TOKENS
   -- Primary:  Deep Blue  #1F4E8C → #163A6B  (20% of UI)
   -- Accent:   Purple     #6D28D9 → #7C3AED  (≤10% of UI)
   -- Neutral:  White/Grey               (70% of UI)
   -- CTA:      Bright Blue #2563EB → #1D4ED8
   ============================================================ */
:root {

  /* ── BLUE PRIMARY (trust / authority) ── */
  --blue-900:   #0F2851;   /* darkest — hero headings, footer bg */
  --blue-800:   #163A6B;   /* dark blue */
  --blue-700:   #1F4E8C;   /* primary brand blue */
  --blue-600:   #2563EB;   /* CTA blue — buttons */
  --blue-500:   #3B82F6;   /* mid blue */
  --blue-400:   #60A5FA;   /* light blue */
  --blue-200:   #BFDBFE;   /* very light blue border */
  --blue-100:   #DBEAFE;   /* blue tint bg */
  --blue-50:    #EFF6FF;   /* almost white blue */

  /* ── ACCENT PURPLE (≤10%, highlights only) ── */
  --purple-700: #6D28D9;
  --purple-600: #7C3AED;
  --purple-400: #A78BFA;
  --purple-100: #EDE9FE;
  --purple-50:  #F5F3FF;

  /* ── ACCENT GREEN (success states) ── */
  --green-600:  #059669;
  --green-50:   #ECFDF5;
  --green-200:  #A7F3D0;

  /* ── ACCENT TEAL (secondary accent, ~5%) ── */
  --teal-600:   #0891B2;
  --teal-400:   #22D3EE;
  --teal-50:    #ECFEFF;

  /* ── NEUTRALS (70% of UI) ── */
  --white:      #FFFFFF;
  --grey-50:    #F9FAFB;
  --grey-100:   #F3F4F6;
  --grey-200:   #E5E7EB;
  --grey-300:   #D1D5DB;
  --grey-400:   #9CA3AF;
  --grey-500:   #6B7280;
  --grey-600:   #4B5563;
  --grey-700:   #374151;
  --grey-800:   #1F2937;
  --grey-900:   #111827;

  /* ── SEMANTIC ALIASES ── */
  --primary:          var(--blue-700);
  --primary-dark:     var(--blue-800);
  --primary-darker:   var(--blue-900);
  --primary-light:    var(--blue-600);
  --primary-lighter:  var(--blue-400);
  --primary-bg:       var(--blue-50);
  --primary-bg2:      var(--blue-100);
  --primary-border:   var(--blue-200);

  --accent:           var(--purple-600);
  --accent-light:     var(--purple-400);
  --accent-bg:        var(--purple-50);
  --accent-bg2:       var(--purple-100);

  --success:          var(--green-600);
  --success-bg:       var(--green-50);

  --bg-base:          #FAFAFA;
  --bg-card:          var(--white);
  --bg-section:       var(--grey-50);
  --bg-section2:      var(--blue-50);
  --bg-dark:          var(--blue-900);
  --bg-dark2:         #0A1E3D;

  --text-primary:     var(--grey-900);
  --text-secondary:   var(--grey-600);
  --text-muted:       var(--grey-400);

  --border:           var(--grey-200);
  --border-light:     #EFEFEF;
  --border-blue:      var(--blue-200);

  /* ── SHADOWS (blue-tinted) ── */
  --shadow-xs:  0 1px 2px rgba(31,78,140,0.06);
  --shadow-sm:  0 2px 8px rgba(31,78,140,0.08);
  --shadow-md:  0 4px 20px rgba(31,78,140,0.10);
  --shadow-lg:  0 8px 36px rgba(31,78,140,0.12);
  --shadow-xl:  0 16px 56px rgba(31,78,140,0.15);
  --shadow-2xl: 0 24px 80px rgba(31,78,140,0.18);

  /* ── RADIUS ── */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-2xl:  28px;
  --radius-full: 9999px;

  /* ── TRANSITIONS ── */
  --transition:        all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   all 0.4s  cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
 /* font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;*/
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea, select { font-family: inherit; outline: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--text-secondary); line-height: 1.75; }

/* ── Gradient text: blue → teal (not purple) ── */
.text-gradient {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 50%, var(--teal-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Accent gradient: only on decorative elements ── */
.text-accent-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 108px 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.01em;
  cursor: pointer;
}

/* Primary CTA — solid CTA blue */
.btn-primary {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,0.30), 0 1px 3px rgba(37,99,235,0.12);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-700) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.38), 0 2px 8px rgba(37,99,235,0.18);
}
.btn-primary:active { transform: translateY(0); }

/* Outline — blue border */
.btn-outline {
  border: 1.5px solid var(--blue-600);
  color: var(--blue-700);
  background: transparent;
}
.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-700);
  color: var(--blue-800);
  transform: translateY(-2px);
}

/* White (on dark backgrounds) */
.btn-white {
  background: #fff;
  color: var(--blue-700);
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}
.btn-white:hover {
  background: var(--blue-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}

.btn-sm  { padding: 9px 18px;  font-size: 0.83rem; }
.btn-lg  { padding: 16px 32px; font-size: 1rem;    }

/* Ghost white (used on dark CTAs) */
.btn-ghost-white {
  border: 1.5px solid rgba(255,255,255,0.45);
  color: #fff;
  background: transparent;
  border-radius: var(--radius-full);
  padding: 13px 26px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.75);
  transform: translateY(-2px);
}

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
/* Blue badge — primary usage */
.badge-blue   { background: var(--blue-100); color: var(--blue-700); border: 1px solid var(--blue-200); }
/* Accent purple — use sparingly (10% max) */
.badge-purple { background: var(--purple-50); color: var(--purple-700); border: 1px solid rgba(109,40,217,0.2); }
.badge-green  { background: var(--success-bg); color: var(--success); border: 1px solid var(--green-200); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-blue);
}

/* ============================================================
   GRID HELPERS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(229,231,235,0.6);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(250, 250, 250, 0.97);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 70px;
  max-width: 1260px;
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 38px; width: auto; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  display: block;
  padding: 7px 13px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-600);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}
.nav-links a:hover { color: var(--blue-700); background: var(--blue-50); }
.nav-links a.active { color: var(--blue-700); background: var(--blue-50); font-weight: 600; }

.nav-cta { margin-left: 14px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--grey-800);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 14px 28px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  gap: 2px;
  box-shadow: var(--shadow-md);
}
.nav-mobile a {
  display: block;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-600);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}
.nav-mobile a:hover, .nav-mobile a.active {
  color: var(--blue-700);
  background: var(--blue-50);
  font-weight: 600;
}
.nav-mobile .btn { margin-top: 10px; width: 100%; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--blue-900);
  color: rgba(255,255,255,0.78);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}
.footer-logo { display: flex; align-items: center; text-decoration: none; margin-bottom: 18px; }
.footer-logo img { height: 34px; width: auto; object-fit: contain; filter: brightness(10); }

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.75;
  margin-bottom: 26px;
  max-width: 300px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  transition: var(--transition);
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--blue-600);
  color: #fff;
  border-color: var(--blue-600);
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.60);
  transition: var(--transition);
  text-decoration: none;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.32); }
.footer-bottom a { color: rgba(255,255,255,0.52); transition: var(--transition); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   TRUSTED BY
   ============================================================ */
.trusted-section {
  padding: 44px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trusted-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trusted-logo-item {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #C5C9D4;
  letter-spacing: 0.5px;
  transition: var(--transition);
  white-space: nowrap;
  cursor: default;
}
.trusted-logo-item:hover { color: var(--blue-400); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 148px 0 84px;
  background: linear-gradient(150deg, var(--bg-base) 0%, var(--bg-section) 60%, var(--blue-50) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 680px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero p { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 30px; line-height: 1.8; }

/* ============================================================
   GRADIENT ORBS — blue tones
   ============================================================ */
.orb-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: orbFloat 9s ease-in-out infinite;
}
.orb-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(37,99,235,0.14) 0%, transparent 70%);
  top: -120px; right: 8%;
  animation-duration: 10s;
}
.orb-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(8,145,178,0.10) 0%, transparent 70%);
  bottom: -60px; right: 22%;
  animation-duration: 12s;
  animation-delay: -3s;
}
.orb-3 {
  width: 260px; height: 260px;
  /* Only orb-3 uses a hint of accent purple */
  background: radial-gradient(circle, rgba(109,40,217,0.06) 0%, transparent 70%);
  top: 15%; left: -60px;
  animation-duration: 14s;
  animation-delay: -6s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(18px, -18px) scale(1.04); }
  66%       { transform: translate(-14px, 14px) scale(0.97); }
}

/* ============================================================
   LABEL PILL (hero eyebrow)
   ============================================================ */
.label-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue-100);
  border: 1px solid var(--blue-200);
  color: var(--blue-700);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.label-pill .dot {
  width: 6px; height: 6px;
  background: var(--blue-500);
  border-radius: 50%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .section    { padding: 60px 0; }
  .section-lg { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .trusted-logos { gap: 28px; }
  .container { padding: 0 20px; }
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }
  .container { padding: 0 16px; }
  .trusted-logos { gap: 20px; }
  .trusted-logo-item { font-size: 0.9rem; }
}
