/* =========================================================
   Simple Loyalty — Global CSS
   Design system built on Bootstrap 5.3
   ========================================================= */

/* 1. CSS Custom Properties
   ========================================================= */
:root {
  --navy:   #001a4d;
  --navy-2: #002966;
  --blue:   #0066ff;
  --blue-2: #3385ff;
  --cyan:   #56d8ff;
  --purple: #7b61ff;
  --pink:   #ff5fb7;
  --mint:   #51f0b3;
  --ice:    #f3f8ff;
  --white:  #ffffff;
  --text:   #0b1f45;
  --muted:  #5c6f91;
  --glass:  rgba(255,255,255,0.12);
  --shadow: 0 28px 80px rgba(0, 31, 92, 0.22);

  /* Compatibility aliases — used by ContactPage & ContactForm until they are redesigned */
  --lw-indigo:        #0066ff;
  --lw-indigo-dark:   #001a4d;
  --lw-indigo-hover:  #3385ff;
  --lw-indigo-light:  rgba(0,102,255,0.08);
  --lw-amber:         #f59e0b;
  --lw-amber-dark:    #d97706;
  --lw-amber-light:   #fef3c7;
  --lw-green:         #10b981;
  --lw-green-light:   #d1fae5;
  --lw-red:           #ef4444;
  --lw-red-light:     #fee2e2;
  --lw-gray-50:       #f9fafb;
  --lw-gray-100:      #f3f4f6;
  --lw-gray-200:      #e5e7eb;
  --lw-gray-400:      #9ca3af;
  --lw-gray-500:      #6b7280;
  --lw-gray-600:      #4b5563;
  --lw-gray-700:      #374151;
  --lw-gray-800:      #1f2937;
  --lw-gray-900:      #111827;
  --lw-section-py:    5rem;
  --lw-card-radius:   1rem;
  --lw-btn-radius:    0.5rem;
  --lw-navbar-height: 72px;
}

/* 2. Base / Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--ice);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* 3. Site Wrapper
   ========================================================= */
.site-wrap {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(0,102,255,0.16), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(123,97,255,0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

/* 4. Prototype Banner
   ========================================================= */
.sl-prototype-banner {
  background: #1e1b4b;
  color: rgba(255,255,255,0.75);
  text-align: center;
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  letter-spacing: 0.02em;
}

/* 5. Navbar
   ========================================================= */
.site-nav.navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(0, 26, 77, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.site-nav > .container-fluid {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0;
}

.site-nav .navbar-brand {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}

/* Navbar collapse */
.site-nav .navbar-collapse {
  flex-grow: 1;
}

/* Nav links list */
.site-nav-links {
  gap: 26px;
}

.site-nav .nav-link {
  color: rgba(255,255,255,0.72) !important;
  font-size: 12px;
  font-weight: 700;
  padding: 0 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active {
  color: #ffffff !important;
}

/* Dropdown menus */
.site-nav .dropdown-menu {
  background: rgba(0, 16, 51, 0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 8px;
  margin-top: 12px;
}

.site-nav .dropdown-item {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 14px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus,
.site-nav .dropdown-item.active {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
}

/* CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: var(--white) !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(0,102,255,0.35);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0,102,255,0.48);
}

/* Hamburger toggler */
.site-nav .navbar-toggler {
  width: 50px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(86,216,255,0.44);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 4px rgba(86,216,255,0.12);
  flex: 0 0 auto;
}

.site-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(86,216,255,0.22);
  outline: none;
}

.hamburger-lines {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
  margin: 0 auto;
}

.hamburger-lines::before,
.hamburger-lines::after,
.hamburger-lines > span {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: #ffffff;
}

.hamburger-lines::before { top: 0; }
.hamburger-lines > span  { top: 7px; }
.hamburger-lines::after  { bottom: 0; }

/* Desktop */
@media (min-width: 992px) {
  .site-nav .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
  }

  .site-nav .site-nav-links,
  .site-nav ul.navbar-nav {
    flex-direction: row !important;
    align-items: center;
  }
}

/* Mobile / tablet */
@media (max-width: 991.98px) {
  .site-nav.navbar {
    padding: 20px 24px;
  }

  .site-nav > .container-fluid {
    flex-wrap: wrap;
  }

  .brand-logo { width: 270px; }

  .site-nav .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    margin-top: 20px;
  }

  .site-nav .navbar-collapse:not(.show) {
    display: none !important;
  }

  .site-nav .navbar-collapse.show,
  .site-nav .navbar-collapse.collapsing {
    display: block !important;
  }

  .site-nav .site-nav-links,
  .site-nav ul.navbar-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px;
    width: 100%;
    padding: 24px;
    margin: 0;
    border-radius: 24px;
    background: rgba(0, 16, 51, 0.94);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 60px rgba(0,0,0,0.22);
  }

  .site-nav .nav-link { font-size: 13px; }

  /* Hide CTA button on mobile (nav links list acts as contact entry) */
  .nav-cta { display: none !important; }
}

@media (max-width: 520px) {
  .brand-logo { width: 230px; }
}

@media (max-width: 390px) {
  .brand-logo { width: 200px; }
  .site-nav .navbar-toggler { width: 46px; height: 42px; }
}

/* 6. General Sections
   ========================================================= */

/* Opt-in vertical rhythm — add .sl-section to any page section that needs standard spacing */
.sl-section {
  padding: clamp(70px, 8vw, 110px) clamp(20px, 5vw, 64px);
}

/* Bootstrap container-fluid inside Umbraco block wrappers adds 12px — strip it for full-bleed */
.umb-block-list > section > .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

/* Neutralise the nested site-wrap that comes from CMS-pasted content */
.site-wrap .site-wrap {
  background: none;
  min-height: 0;
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 13px;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-style: italic;
  font-weight: 900;
  margin-bottom: 18px;
}

.lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 640px;
}

/* 7. Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 740px;
  color: var(--white);
  padding: clamp(60px, 8vw, 108px) clamp(20px, 5vw, 64px) 88px;
  background:
    radial-gradient(circle at 18% 20%, rgba(86,216,255,0.34), transparent 26%),
    radial-gradient(circle at 76% 18%, rgba(255,95,183,0.24), transparent 26%),
    radial-gradient(circle at 70% 72%, rgba(81,240,179,0.16), transparent 30%),
    linear-gradient(135deg, #001033 0%, #002966 42%, #004ad9 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.65;
  pointer-events: none;
}

.hero::before {
  width: 360px; height: 360px;
  top: -120px; right: 8%;
  background: radial-gradient(circle, rgba(86,216,255,0.32), transparent 62%);
  animation: floatGlow 9s ease-in-out infinite;
}

.hero::after {
  width: 280px; height: 280px;
  bottom: -110px; left: 18%;
  background: radial-gradient(circle, rgba(123,97,255,0.32), transparent 62%);
  animation: floatGlow 10s ease-in-out infinite reverse;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(14px);
  color: rgba(255,255,255,0.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 99px;
  background: var(--mint);
  box-shadow: 0 0 18px var(--mint);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--mint), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 610px;
  color: rgba(255,255,255,0.75);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 18px 44px rgba(0,102,255,0.42);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
}

.btn-white {
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(0,0,0,0.18);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-white:hover { transform: translateY(-3px); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Hero visual — phone mockups */
.hero-visual {
  position: relative;
  min-height: 560px;
}

.phone {
  position: absolute;
  width: 252px;
  min-height: 500px;
  border-radius: 38px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  box-shadow: 0 34px 90px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.65);
}

.phone-main {
  left: 50%; top: 12px;
  transform: translateX(-50%) rotate(4deg);
  animation: floatPhone 5.8s ease-in-out infinite;
}

.phone-back {
  left: 6%; top: 82px;
  transform: rotate(-9deg) scale(0.88);
  opacity: 0.82;
  animation: floatPhone 6.6s ease-in-out infinite reverse;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  min-height: 472px;
  border-radius: 30px;
  padding: 22px 18px;
  background:
    radial-gradient(circle at top right, rgba(86,216,255,0.34), transparent 42%),
    linear-gradient(180deg, #021d55 0%, #0645ca 100%);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.75);
  font-size: 11px;
  font-weight: 800;
}

.mini-logo {
  width: 35px; height: 35px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
  color: var(--white);
  font-weight: 900;
  font-style: italic;
}

.reward-card {
  border-radius: 24px;
  padding: 20px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,0.26), transparent 28%),
    linear-gradient(135deg, rgba(86,216,255,0.32), rgba(123,97,255,0.42));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
  margin-bottom: 18px;
}

.reward-card span {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.reward-card strong {
  display: block;
  font-size: 28px;
  font-style: italic;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 14px;
}

.stamps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.stamp {
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.68);
  font-size: 13px; font-weight: 900;
  border: 1px solid rgba(255,255,255,0.16);
}

.stamp.done {
  background: var(--mint);
  color: #002966;
  box-shadow: 0 0 22px rgba(81,240,179,0.42);
}

.app-list { display: grid; gap: 10px; }

.app-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border-radius: 17px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
}

.app-icon {
  width: 38px; height: 38px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.15);
  font-size: 17px;
}

.app-item strong { display: block; color: var(--white); font-size: 12px; margin-bottom: 3px; }
.app-item span   { display: block; color: rgba(255,255,255,0.58); font-size: 10.5px; font-weight: 700; }

/* Floating info cards */
.floating-card {
  position: absolute;
  z-index: 4;
  border-radius: 22px;
  padding: 16px;
  color: var(--white);
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.26);
}

.scan-card   { right: 0;  top: 120px;   width: 196px; animation: floatCard 5.2s ease-in-out infinite; }
.unlock-card { left: 0;   bottom: 78px; width: 218px; animation: floatCard 5.8s ease-in-out infinite reverse; }

.floating-card small {
  display: block;
  color: rgba(255,255,255,0.64);
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 8px;
}

.floating-card strong { display: block; font-size: 17px; line-height: 1.15; margin-bottom: 8px; }
.floating-card p      { color: rgba(255,255,255,0.7); font-size: 11px; line-height: 1.55; margin: 0; }

.qr {
  width: 64px; height: 64px;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 4px; padding: 8px;
  border-radius: 14px;
  background: var(--white);
  margin-bottom: 10px;
}

.qr i { border-radius: 3px; background: var(--navy); }

/* 8. Metrics Bar
   ========================================================= */
.metrics {
  position: relative;
  margin: -44px auto 0;
  z-index: 4;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 clamp(20px, 4vw, 40px);
}

.metric {
  width: 100%;
  padding: 24px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(0,102,255,0.12);
  box-shadow: 0 20px 60px rgba(0, 31, 92, 0.12);
  backdrop-filter: blur(16px);
}

.metric strong {
  display: block;
  font-size: 34px; font-style: italic; font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--blue);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* 9. Product Cards
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.product-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 450px;
  border-radius: 34px;
  padding: 34px;
  background: var(--white);
  border: 1px solid rgba(0,102,255,0.1);
  box-shadow: 0 24px 70px rgba(0, 31, 92, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.product-card.network {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 0%, rgba(86,216,255,0.34), transparent 38%),
    linear-gradient(135deg, #002966, #0066ff);
}

.product-card.white-label {
  background:
    radial-gradient(circle at 100% 0%, rgba(255,95,183,0.18), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.product-pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 10px; font-weight: 900;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
}

.white-label .product-pill {
  color: var(--blue);
  background: rgba(0,102,255,0.08);
  border-color: rgba(0,102,255,0.1);
}

.product-card h3 {
  font-size: clamp(28px, 4vw, 42px);
  font-style: italic; font-weight: 900;
  letter-spacing: -0.06em; line-height: 1;
  margin-bottom: 14px;
}

.product-card p {
  font-size: 14.5px; line-height: 1.75;
  max-width: 430px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 24px;
}

.white-label p { color: var(--muted); }

.feature-list { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }

.feature-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.78);
}

.white-label .feature-list li { color: #3d4e70; }

.check {
  width: 22px; height: 22px;
  display: inline-grid; place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--mint);
  color: var(--navy);
  font-size: 12px; font-weight: 900;
}

.product-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: inherit; font-size: 13px; font-weight: 900; text-decoration: none;
}

.white-label .product-link { color: var(--blue); }

.mini-dashboard {
  position: absolute; right: -22px; bottom: -18px;
  width: 270px;
  border-radius: 28px; padding: 18px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(18px);
  transform: rotate(-4deg);
}

.white-label .mini-dashboard {
  background: #ffffff;
  border-color: rgba(0,102,255,0.1);
  box-shadow: 0 18px 50px rgba(0, 31, 92, 0.12);
}

.dash-row { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: center; margin-bottom: 12px; }

.dash-icon {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.16);
}

.white-label .dash-icon { background: rgba(0,102,255,0.08); }

.dash-line { height: 9px; border-radius: 99px; background: rgba(255,255,255,0.2); margin-bottom: 7px; }
.dash-line.small { width: 58%; }
.white-label .dash-line { background: rgba(0,102,255,0.12); }

/* 10. Platform Showcase
   ========================================================= */
.showcase {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 18%, rgba(86,216,255,0.24), transparent 28%),
    radial-gradient(circle at 82% 75%, rgba(123,97,255,0.24), transparent 30%),
    linear-gradient(135deg, #001033, #002966);
}

.showcase .eyebrow { color: var(--cyan); }
.showcase .lead    { color: rgba(255,255,255,0.7); }

.dashboard-shell {
  margin-top: 42px;
  border-radius: 34px; padding: 18px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 34px 90px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
}

.dashboard { overflow: hidden; border-radius: 24px; background: #f7fbff; color: var(--text); }

.dash-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0,102,255,0.1);
}

.dots { display: flex; gap: 7px; }
.dots span { width: 10px; height: 10px; border-radius: 99px; background: #d5e3f8; }
.dash-top strong { font-size: 13px; font-weight: 900; color: var(--navy); }

.dash-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; padding: 22px; }

.chart-card,
.activity-card {
  width: 100%;
  border-radius: 22px; padding: 22px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(0,31,92,0.08);
}

.chart-card h4,
.activity-card h4 {
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 22px;
  color: var(--muted);
}

.bars { height: 210px; display: flex; align-items: end; gap: 12px; padding-top: 20px; }

.bar {
  flex: 1;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, var(--blue-2), var(--purple));
  min-height: 42px;
  box-shadow: 0 12px 30px rgba(0,102,255,0.18);
}

.bar:nth-child(1) { height: 40%; }
.bar:nth-child(2) { height: 54%; }
.bar:nth-child(3) { height: 48%; }
.bar:nth-child(4) { height: 72%; }
.bar:nth-child(5) { height: 63%; }
.bar:nth-child(6) { height: 86%; }
.bar:nth-child(7) { height: 78%; }

.activity-list { display: grid; gap: 13px; }

.activity {
  display: grid; grid-template-columns: 38px 1fr auto;
  gap: 10px; align-items: center;
  padding-bottom: 13px;
  border-bottom: 1px solid #e9f1ff;
}

.activity:last-child { border-bottom: 0; padding-bottom: 0; }

.avatar {
  width: 38px; height: 38px;
  border-radius: 14px; display: grid; place-items: center;
  color: var(--white); font-size: 13px; font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.activity strong { display: block; font-size: 12px; margin-bottom: 3px; }
.activity span   { display: block; color: var(--muted); font-size: 10.5px; font-weight: 700; }
.points          { color: var(--blue); font-size: 12px; font-weight: 900; }

/* 11. Steps
   ========================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  position: relative; overflow: hidden;
  width: 100%;
  padding: 28px; min-height: 240px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid rgba(0,102,255,0.1);
  box-shadow: 0 18px 50px rgba(0, 31, 92, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.step-card:hover { transform: translateY(-7px); box-shadow: 0 30px 70px rgba(0, 31, 92, 0.13); }

.step-num {
  display: block;
  font-size: 54px; line-height: 0.9;
  font-weight: 900; font-style: italic; letter-spacing: -0.08em;
  color: rgba(0,102,255,0.16);
  margin-bottom: 20px;
}

.step-card h3 { font-size: 17px; font-weight: 900; margin-bottom: 10px; }
.step-card p  { color: var(--muted); font-size: 13px; line-height: 1.65; }

/* 12. Industries
   ========================================================= */
.industries {
  background:
    radial-gradient(circle at 10% 10%, rgba(86,216,255,0.18), transparent 26%),
    linear-gradient(180deg, #ffffff, #edf5ff);
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; max-width: 930px; }

.tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 18px; border-radius: 999px;
  background: var(--white); color: #173766;
  border: 1px solid rgba(0,102,255,0.12);
  box-shadow: 0 12px 28px rgba(0,31,92,0.06);
  font-size: 13px; font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.tag:hover {
  transform: translateY(-4px);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

/* 13. Testimonials
   ========================================================= */
.testimonials { background: #ffffff; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.quote-card {
  padding: 28px; border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(0,102,255,0.08), transparent 35%),
    #ffffff;
  border: 1px solid rgba(0,102,255,0.11);
  box-shadow: 0 18px 52px rgba(0,31,92,0.08);
}

.stars { color: #ffb000; letter-spacing: 2px; margin-bottom: 17px; }

.quote-card p {
  color: #31456c; font-size: 14px; line-height: 1.75;
  margin-bottom: 24px; font-style: italic;
}

.quote-person { display: flex; align-items: center; gap: 12px; }

.person-avatar {
  width: 44px; height: 44px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  display: grid; place-items: center;
  color: var(--white); font-weight: 900;
}

.quote-person strong { display: block; font-size: 13px; }
.quote-person span   { color: var(--muted); display: block; margin-top: 3px; font-size: 11.5px; font-weight: 700; }

/* 14. Final CTA
   ========================================================= */
.final-cta {
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(86,216,255,0.26), transparent 28%),
    radial-gradient(circle at 80% 60%, rgba(255,95,183,0.22), transparent 30%),
    linear-gradient(135deg, #001033, #0066ff);
}

.final-cta h2 { max-width: 820px; margin-left: auto; margin-right: auto; }

.final-cta p {
  max-width: 560px; margin: 0 auto 32px;
  color: rgba(255,255,255,0.74); line-height: 1.75;
}

.cta-notes {
  margin-top: 24px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
}

.cta-notes span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.76);
  font-size: 11px; font-weight: 800;
}

/* 15. Footer
   ========================================================= */
footer {
  color: var(--white);
  background: #001033;
  padding: 54px clamp(20px, 5vw, 64px) 28px;
}

.footer-grid {
  max-width: 1160px;
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-brand {
  font-size: 24px; font-style: italic; font-weight: 900;
  display: block; margin-bottom: 8px;
}

.footer-grid p {
  color: rgba(255,255,255,0.52);
  font-size: 13px; line-height: 1.7;
  max-width: 340px;
}

footer h5 {
  font-size: 10.5px; letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}

footer a {
  display: block;
  color: rgba(255,255,255,0.58);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  margin-bottom: 9px;
  transition: color 0.15s ease;
}

footer a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}

.footer-bottom span {
  color: rgba(255,255,255,0.36);
  font-size: 11.5px; font-weight: 600;
}

/* 16. Animations
   ========================================================= */
@keyframes floatGlow {
  0%,100% { transform: translate3d(0,0,0); }
  50%      { transform: translate3d(24px,18px,0); }
}

@keyframes floatPhone {
  0%,100% { translate: 0 0; }
  50%      { translate: 0 -16px; }
}

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* 17. Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid,
  .product-grid,
  .dash-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .metrics,
  .steps-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .hero { min-height: auto; padding-bottom: 56px; }
  .hero-visual { min-height: 500px; }

  .phone { width: 220px; min-height: 438px; }
  .phone-screen { min-height: 410px; }
  .phone-back { left: 0; opacity: 0.56; }

  .scan-card   { right: 0; top: 100px; width: 170px; }
  .unlock-card { left: 0; bottom: 30px; width: 180px; }

  .metrics,
  .steps-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric { padding: 22px; }

  .product-card { padding: 26px; min-height: 520px; }
  .mini-dashboard { width: 230px; right: -34px; }

  .bars { height: 160px; }
}

/* =========================================================
   18. Compatibility layer — keeps ContactPage & ContactForm
       working until they are ported to the new design.
   ========================================================= */

/* Inner page hero (used by ContactPage.cshtml) */
.lw-hero-inner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 3.5rem 0 2.75rem;
  color: #fff;
}

.lw-hero-inner .breadcrumb-item,
.lw-hero-inner .breadcrumb-item a { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.lw-hero-inner .breadcrumb-item.active { color: rgba(255,255,255,0.9); }

.lw-hero-inner h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; color: #fff; margin-bottom: 0.5rem;
}

.lw-hero-inner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 0; }

/* Section wrappers */
.lw-section     { padding: 5rem 0; }
.lw-section-alt { padding: 5rem 0; background-color: var(--lw-gray-50); }

/* Heading utility */
.lw-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; line-height: 1.25;
}

/* Social icons */
.lw-social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: background-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.lw-social-icon:hover { background: var(--blue); color: #fff; }

/* Callout box (ContactForm success state) */
.lw-callout {
  background: var(--lw-amber-light);
  border-left: 4px solid var(--lw-amber);
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.25rem 1.5rem;
}

/* Form buttons */
.btn-lw-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px;
  font-size: 14px; font-weight: 900;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 14px 32px rgba(0,102,255,0.35);
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-lw-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0,102,255,0.48);
}
