@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-cyan: #00b4d8;
  --color-blue: #2153c0;
  --color-blue-dark: #003e7a;
  --color-gray-100: #f3f5f9;
  --color-gray-200: #e7ecf4;
  --color-gray-300: #c6d1e0;
  --color-gray-500: #697285;
  --color-gray-700: #25344d;
  --color-charcoal: #111e35;
  --color-white: #ffffff;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #fbfcff 0%, #eff6ff 100%);
  color: var(--color-charcoal);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

button,
.btn,
.nav-cta-btn,
.site-nav a {
  font-family: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(33, 83, 192, 0.12);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  padding: 26px 0;
}

.logo-img {
  height: 30px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--color-gray-700);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--color-blue);
}

/* DROPDOWN NAV */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-gray-700);
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  padding: 0;
  transition: color 0.2s ease;
}

.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger {
  color: var(--color-blue);
}

.nav-dropdown-trigger svg {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #ffffff;
  border: 1px solid rgba(33, 83, 192, 0.1);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 8px;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--color-gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--color-gray-100);
  color: var(--color-blue);
}

/* ── MEGA MENU ────────────────────────────────────────── */
.nav-mega-wrap .nav-dropdown-menu {
  min-width: 1020px;
  padding: 28px 40px;
  left: 50%;
}
.nav-mega-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 40px;
}
.nav-mega-col { padding: 0; }
.nav-mega-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b0b8c8;
  padding: 0 10px 12px;
  border-bottom: 1px solid #f0f2f8;
  margin-bottom: 8px;
  display: block;
}
.nav-mega-link {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 11px 12px !important;
  border-radius: 10px !important;
  white-space: normal !important;
  text-decoration: none;
  transition: background 0.15s ease !important;
  margin-bottom: 3px;
}
.nav-mega-link:hover { background: var(--color-gray-100) !important; }
.nav-mega-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nm-blue   { background: rgba(33,83,192,0.1);  color: #2153c0; }
.nm-green  { background: rgba(39,174,96,0.1);  color: #1e8449; }
.nm-cyan   { background: rgba(0,180,216,0.1);  color: #0097b2; }
.nm-gold   { background: rgba(212,175,55,0.1); color: #b8922a; }
.nm-red    { background: rgba(231,76,60,0.1);  color: #c0392b; }
.nm-orange { background: rgba(249,115,22,0.1); color: #ea580c; }
.nm-purple { background: rgba(124,58,237,0.1); color: #6d28d9; }
.nav-mega-text { line-height: 1.35; }
.nav-mega-text strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-charcoal);
  display: block;
}
.nav-mega-text span {
  font-size: 0.73rem;
  color: #9ca3af;
  display: block;
  margin-top: 2px;
}
.nav-mega-link:hover .nav-mega-text strong { color: var(--color-blue); }

.nav-free-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 7px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 5px;
  border: 1px solid #bbf7d0;
  vertical-align: middle;
  margin-left: 6px;
  text-transform: uppercase;
  line-height: 1.5;
  white-space: nowrap;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 180, 216, 0.18);
  text-decoration: none;
  font-weight: 600;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
}

/* ── LOGIN DROPDOWN ─────────────────────────────────────── */
/* Right-align the panel so it doesn't overflow the viewport */
.nav-login .nav-dropdown-menu {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(-6px);
  min-width: 200px;
}

.nav-login:hover .nav-dropdown-menu,
.nav-login:focus-within .nav-dropdown-menu {
  transform: translateX(0) translateY(0);
}

/* Subtle divider between items */
.nav-login .nav-dropdown-menu a + a {
  border-top: 1px solid var(--color-gray-200);
  margin-top: 2px;
  padding-top: 10px;
}

/* ── HERO ───────────────────────────────────────────────── */
.hero-section {
  padding: 80px 0 0;
  background: #013387;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* 3px brand accent line at top */
.hero-top-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #00BCE7;
  z-index: 5;
}

/* Radial glow — light source centre-right */
.hero-glow {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 65%;
  height: 90%;
  background: radial-gradient(ellipse at 60% 35%, #006DAF 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: hero-glow-in 0.8s ease-out 0.1s both;
}

@keyframes hero-glow-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* Grain texture — 4% opacity */
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

/* Particle canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-center {
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 56px;
}

/* Eyebrow */
.hero-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 188, 231, 0.70);
  margin-bottom: 20px;
  opacity: 0;
  animation: hero-slide-up 0.4s ease-out 0.3s both;
}

/* Arrival line */
.hero-arrival {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
  opacity: 0;
  animation: hero-slide-up 0.4s ease-out 0.45s both;
}

/* Headline */
.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-h1-light {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  color: #ffffff;
  opacity: 0;
  animation: hero-slide-up 0.5s ease-out 0.5s both;
}

.hero-h1-bold {
  font-size: clamp(3.1rem, 5.5vw, 4.7rem);
  font-weight: 900;
  color: #ffffff;
  opacity: 0;
  animation: hero-slide-up 0.5s ease-out 0.7s both;
}

/* Animation keyframes */
@keyframes hero-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-screenshot-wrap {
  position: relative;
  z-index: 2;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.hero-product-img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 50, 0.32));
  animation:
    hero-fade-in 0.8s ease-out 1.1s both,
    hero-float 4s ease-in-out 1.9s infinite;
}

/* legacy two-col layout classes (kept for other pages) */
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 5vw, 5rem);
  line-height: 0.98;
  font-weight: 300;
  margin-bottom: 24px;
}

.hero-copy h1 span {
  display: inline-block;
  font-weight: 700;
}

.hero-text {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 36px;
  opacity: 0;
  animation: hero-fade 0.4s ease-out 0.9s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 14px;
  opacity: 0;
  animation: hero-fade 0.3s ease-out 1.1s both;
}

/* Primary CTA — cyan on navy */
.btn-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00BCE7;
  color: #013387;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* Secondary CTA — ghost */
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-ghost:hover {
  border-color: rgba(255, 255, 255, 0.70);
}

.hero-note {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  opacity: 0;
  animation: hero-fade 0.3s ease-out 1.3s both;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  padding: 14px 28px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 180, 216, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
}

.stats-section {
  padding: 44px 0 52px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 24px 50px rgba(33, 83, 192, 0.08);
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-blue-dark);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-gray-700);
}

.awards-section {
  padding: 84px 0;
  background: #efefef;
}

.awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.awards-copy {
  max-width: 560px;
}

.awards-copy .section-label {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 18px;
}

.awards-copy h2 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.section-text,
.awards-support {
  font-size: 1rem;
  color: var(--color-gray-700);
  line-height: 1.9;
}

.awards-support {
  margin-top: 20px;
  max-width: 520px;
}

.awards-image {
  display: grid;
  gap: 22px;
}

.awards-image img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  min-height: 320px;
}

.award-list {
  display: grid;
  gap: 12px;
}

.award-pill {
  padding: 18px 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(33, 83, 192, 0.08);
}

.award-pill strong {
  display: block;
  color: var(--color-blue-dark);
  margin-bottom: 6px;
}

.award-pill span {
  color: var(--color-gray-700);
  font-size: 0.95rem;
}

.section-header {
  text-align: center;
  margin-bottom: 38px;
}

.section-header .section-label {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-header .section-copy {
  max-width: 680px;
  margin: 0 auto;
  color: var(--color-gray-700);
  font-size: 1rem;
  line-height: 1.85;
}

.features-section,
.customers-section,
.why-built-section,
.testimonials-section,
.faq-section,
.final-cta-section {
  padding: 84px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-item {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px 26px;
  box-shadow: 0 24px 55px rgba(33, 83, 192, 0.07);
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--color-charcoal);
}

.feature-item p {
  color: var(--color-gray-700);
  line-height: 1.9;
}

.customer-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  align-items: center;
}

.customer-logos-grid img {
  height: 80px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(33, 83, 192, 0.08);
}

.why-built-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.why-copy .section-label {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 14px;
}

.why-copy h2 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

.why-copy .section-copy {
  color: var(--color-gray-700);
  font-size: 1.02rem;
  line-height: 1.88;
}

.why-stats-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-stat {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 24px 55px rgba(33, 83, 192, 0.07);
  text-align: center;
}

.why-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-blue-dark);
  margin-bottom: 8px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 34px 26px;
  box-shadow: 0 24px 55px rgba(33, 83, 192, 0.07);
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--color-gray-700);
  line-height: 1.85;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-blue-dark);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.faq-item {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 26px;
  box-shadow: 0 24px 55px rgba(33, 83, 192, 0.07);
}

.faq-item h3 {
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--color-charcoal);
}

.faq-item p {
  color: var(--color-gray-700);
  line-height: 1.8;
}

.final-cta-section {
  background: linear-gradient(135deg, #006daf 0%, #00bce7 100%);
  color: #ffffff;
  padding: 84px 0 100px;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.final-cta-text {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
  margin-bottom: 32px;
}

.final-cta-visual img {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.18);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: linear-gradient(175deg, #080e1c 0%, #060b16 100%);
  color: rgba(255,255,255,0.72);
  overflow: hidden;
}

/* Animated background orbs */
.ft-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}
.ft-orb--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #1a3a8a 0%, transparent 70%);
  top: -200px; left: -200px;
  opacity: 0.25;
  animation: ft-drift1 18s ease-in-out infinite;
}
.ft-orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #d4af37 0%, transparent 70%);
  top: 80px; right: -120px;
  opacity: 0.1;
  animation: ft-drift2 22s ease-in-out infinite;
}
.ft-orb--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #00b4d8 0%, transparent 70%);
  bottom: 0; left: 38%;
  opacity: 0.1;
  animation: ft-drift3 26s ease-in-out infinite;
}
@keyframes ft-drift1 {
  0%, 100% { transform: translate(0, 0); }
  40%       { transform: translate(60px, -40px); }
  70%       { transform: translate(-30px, 60px); }
}
@keyframes ft-drift2 {
  0%, 100% { transform: translate(0, 0); }
  35%       { transform: translate(-50px, 30px); }
  65%       { transform: translate(40px, -60px); }
}
@keyframes ft-drift3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-40px, -50px); }
}

/* Main Grid */
.ft-main {
  position: relative;
  z-index: 1;
  padding: 64px 0 48px;
}
.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.ft-logo-img {
  height: 34px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.ft-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
  line-height: 1.5;
}
.ft-mission {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 320px;
}
.ft-social {
  display: flex;
  gap: 8px;
}
.ft-social-link {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.ft-social-link:hover {
  background: rgba(33,83,192,0.35);
  border-color: rgba(33,83,192,0.6);
  color: #ffffff;
  transform: translateY(-3px);
}
.ft-col-heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 22px;
}
.ft-link-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.ft-link-list li a,
.ft-link-list li span {
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.ft-link-list li a::after {
  content: '→';
  margin-left: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s, transform 0.2s, margin 0.2s;
  font-size: 0.78rem;
}
.ft-link-list li a:hover {
  color: #ffffff;
}
.ft-link-list li a:hover::after {
  opacity: 1;
  transform: translateX(0);
  margin-left: 6px;
}

/* Bottom Bar */
.ft-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0 32px;
}
.ft-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.ft-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}
/* Reveal animations */
.ft-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.ft-reveal.ft-visible {
  opacity: 1;
  transform: translateY(0);
}
.ft-reveal-d1 { transition-delay: 0.08s; }
.ft-reveal-d2 { transition-delay: 0.16s; }
.ft-reveal-d3 { transition-delay: 0.24s; }
.ft-reveal-d4 { transition-delay: 0.32s; }

/* Footer responsive */
@media (max-width: 960px) {
  .ft-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .ft-brand-col {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 40px;
    align-items: start;
  }
  .ft-brand-col .ft-logo-img,
  .ft-brand-col .ft-tagline,
  .ft-brand-col .ft-mission { grid-column: 1; }
  .ft-brand-col .ft-social { grid-column: 2; grid-row: 1 / 4; align-self: center; flex-direction: column; }
}
@media (max-width: 640px) {
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-brand-col { grid-column: 1 / -1; display: block; }
}
@media (max-width: 440px) {
  .ft-grid { grid-template-columns: 1fr; }
  .ft-bottom-inner { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 1080px) {
  .hero-grid,
  .awards-grid,
  .why-built-grid,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .why-stats-grid,
  .testimonials-grid,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-mega-wrap .nav-dropdown-menu {
    min-width: min(580px, calc(100vw - 32px));
    left: 0;
    transform: translateY(-6px);
  }
  .nav-mega-wrap:hover .nav-dropdown-menu,
  .nav-mega-wrap:focus-within .nav-dropdown-menu {
    transform: translateY(0);
  }
  .nav-mega-cols {
    grid-template-columns: 1fr 1fr;
  }
  .nav-mega-col:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr;
    align-items: center;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid #f0f2f8;
  }
  .nav-mega-col:last-child .nav-mega-label {
    border-bottom: none;
    padding-bottom: 2px;
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: center;
    gap: 14px;
  }

  .hero-section {
    padding-top: 80px;
  }

  .hero-copy h1 {
    font-size: 2.8rem;
  }

  .stats-grid,
  .why-stats-grid,
  .testimonials-grid,
  .faq-grid,
  .feature-grid,
  .customer-logos-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .hero-actions,
  .footer-bottom-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-cta-btn,
  .btn {
    width: 100%;
  }
}

/* =============================================
   REDESIGN — NEW COMPONENT STYLES
   ============================================= */

/* Nav active state */
.site-nav a.nav-active {
  color: var(--color-blue);
  font-weight: 600;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.toggle-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.toggle-active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.toggle-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* btn-white — white solid button for use on gradient backgrounds */
.btn-white {
  background: #ffffff;
  color: var(--color-blue);
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

/* btn-ghost — transparent outlined button for gradient backgrounds */
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}


/* Stats section — sits right below the screenshot */
.stats-section {
  background: #ffffff;
  padding-top: 56px;
  padding-bottom: 56px;
}

/* Customer logo marquee */
.marquee-section {
  padding: 52px 0;
  background: var(--color-gray-100);
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--color-gray-500);
  margin-bottom: 32px;
}

.marquee-track {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-inner img {
  height: 72px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 20px;
  border: 1px solid rgba(33, 83, 192, 0.08);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-inner:hover {
  animation-play-state: paused;
}

/* Feature icon */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.12), rgba(33, 83, 192, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--color-blue);
  border: 1px solid rgba(33, 83, 192, 0.1);
}

.feature-item:hover .feature-icon {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
  color: #ffffff;
  border-color: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}

.feature-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 72px rgba(33, 83, 192, 0.12);
}

/* Why built — CTA button spacing */
.why-cta-btn {
  margin-top: 28px;
}

/* Testimonial stars */
.testimonial-stars {
  color: #F5A623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--color-gray-200);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(33, 83, 192, 0.05);
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 28px rgba(33, 83, 192, 0.09);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-charcoal);
  text-align: left;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--color-gray-500);
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--color-gray-700);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-item.faq-open .faq-answer {
  max-height: 200px;
}

.faq-item.faq-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-item.faq-open .faq-trigger {
  color: var(--color-blue);
}

/* =============================================
   RESPONSIVE OVERRIDES FOR REDESIGN
   ============================================= */

@media (max-width: 760px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--color-gray-200);
    padding: 16px 0;
    gap: 4px;
  }

  .site-nav.nav-open {
    display: flex;
  }

  .site-nav a,
  .nav-dropdown-trigger {
    padding: 10px 16px;
    width: 100%;
    border-radius: 8px;
  }

  .hero-h1-light { font-size: 2.6rem; }
  .hero-h1-bold  { font-size: 2.9rem; }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .faq-list {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .hero-h1-light { font-size: 2.1rem; }
  .hero-h1-bold  { font-size: 2.4rem; }

  .hero-actions {
    align-items: stretch;
  }
}

/* ── MOBILE MEGA MENU ─────────────────────────── */
@media (max-width: 760px) {

  /* Drop the floating panel — become inline accordion */
  .nav-dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    display: none !important;
  }

  /* Show when trigger is clicked (JS adds .is-open) */
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block !important;
  }

  /* Chevron rotates when open */
  .nav-dropdown.is-open .nav-dropdown-trigger svg {
    transform: rotate(180deg);
  }

  /* Flatten the 3-column mega grid into a single column */
  .nav-mega-wrap .nav-dropdown-menu {
    padding: 0 0 8px !important;
  }

  .nav-mega-cols {
    display: block !important;
  }

  .nav-mega-col {
    padding: 0 !important;
    border-bottom: 1px solid var(--color-gray-200);
    padding-bottom: 4px !important;
    margin-bottom: 4px !important;
  }

  .nav-mega-col:last-child {
    border-bottom: none !important;
    display: block !important;
    grid-template-columns: unset !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .nav-mega-label {
    padding: 10px 16px 6px !important;
    margin-bottom: 2px !important;
    border-bottom: none !important;
  }

  .nav-mega-link {
    padding: 9px 16px !important;
    border-radius: 8px !important;
    margin: 0 6px 2px !important;
  }

  .nav-mega-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
  }
}
