/* ─── RESET & BASE ─────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── VARIABLES ────────────────────────────────── */
:root {
  --navy: #020617;
  --navy-2: #0F172A;
  --navy-3: #1E293B;
  --blue: #1E40AF;
  --teal: #10B981;
  --teal-light: #34D399;
  --teal-glow: rgba(16, 185, 129, 0.15);
  --white: #F8FAFC;
  --muted: #94A3B8;
  --border: rgba(255, 255, 255, 0.05);
  --glass-bg: rgba(15, 23, 42, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(16px);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── SCROLLBAR ────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #050F27;
}

::-webkit-scrollbar-thumb {
  background: #27C2A0;
  border-radius: 3px;
}

/* ─── NAV ──────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 1.5vw, 24px) 7vw;
  background: rgba(3, 8, 22, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  padding: 12px 7vw;
  background: rgba(3, 8, 22, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-logo-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width .3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--teal);
  color: var(--navy) !important;
  font-weight: 800 !important;
  padding: 10px 32px !important;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  transform: scale(0);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
  opacity: 1 !important;
}

.nav-cta:hover::after {
  transform: scale(1);
}

/* ─── MOBILE NAV TOGGLE ────────────────────────── */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
}

.mobile-toggle .bar {
  width: 28px;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

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

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

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(5, 15, 39, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-nav-links a {
  color: #fff;
  font-size: 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-nav-links a.active,
.mobile-nav-links a:hover {
  color: var(--teal);
}

.mobile-nav-links a.nav-cta {
  font-size: 20px;
  display: inline-block;
  margin-top: 15px;
}

.mobile-nav-divider {
  width: 30px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 15px auto;
}

/* ─── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 60px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* animated mesh bg */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  width: 80vw;
  height: 80vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  z-index: 0;
  animation: mesh-float 20s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.hero-bg::before {
  top: -20vw;
  right: -20vw;
  background: radial-gradient(circle, var(--blue), transparent);
}

.hero-bg::after {
  bottom: -20vw;
  left: -20vw;
  background: radial-gradient(circle, var(--teal), transparent);
  animation-delay: -10s;
}

@keyframes mesh-float {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(10vw, 5vw) rotate(90deg) scale(1.1);
  }

  100% {
    transform: translate(-5vw, 15vw) rotate(180deg) scale(0.9);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(39, 194, 160, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 194, 160, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(16, 64, 160, 0.25);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(39, 194, 160, 0.1);
  bottom: 0;
  left: 5%;
  animation-delay: -3s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(39, 194, 160, 0.08);
  top: 30%;
  right: 15%;
  animation-delay: -5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(39, 194, 160, 0.08);
  border: 1px solid rgba(39, 194, 160, 0.3);
  border-radius: 50px;
  padding: 8px 20px 8px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(39, 194, 160, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: fadeUp .6s cubic-bezier(0.16, 1, 0.3, 1) both;
  width: fit-content;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 2px rgba(39, 194, 160, 0.25), 0 0 12px var(--teal);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(39, 194, 160, 0.25), 0 0 12px var(--teal);
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 0 4px rgba(39, 194, 160, 0.1), 0 0 20px var(--teal);
  }
}

.hero-h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: #fff;
  animation: fadeUp .8s .1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-h1 span:not(.accent) {
  display: block;
  background: linear-gradient(135deg, #FFFFFF 30%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-h1 .accent {
  display: inline-block;
  background: linear-gradient(90deg, #10B981, #34D399, #10B981);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accent-shimmer 3s linear infinite;
  filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.3));
}

@keyframes accent-shimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-p {
  font-size: clamp(15px, 1.1vw, 17px);
  color: #94A3B8;
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 44px;
  font-weight: 400;
  letter-spacing: -0.01em;
  animation: fadeUp .7s .22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .7s .35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--teal);
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 10px 20px var(--teal-glow);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px var(--teal-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

/* hero right — phone mockup */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp .9s .25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.phone-mock {
  width: 280px;
  height: 560px;
  background: linear-gradient(160deg, #0f172a, #020617);
  border-radius: 48px;
  border: 4px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 2px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.phone-mock::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 25px;
  border-radius: 15px;
  background: #000;
}

.phone-logo {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.4);
}

.phone-appname {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  letter-spacing: -0.5px;
}

.phone-tagline {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

/* pill stats */
.stat-pill {
  position: absolute;
  background: rgba(5, 15, 39, 0.9);
  border: 1px solid rgba(39, 194, 160, 0.3);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(12px);
  animation: float 6s ease-in-out infinite;
}

.stat-pill:nth-child(1) {
  top: 60px;
  left: -80px;
  animation-delay: -1s;
}

.stat-pill:nth-child(2) {
  bottom: 80px;
  right: -70px;
  animation-delay: -3s;
}

.stat-pill:nth-child(3) {
  top: 200px;
  right: -90px;
  animation-delay: -2s;
}

.stat-icon {
  font-size: 20px;
}

.stat-info .val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
}

.stat-info .lbl {
  font-size: 10px;
  color: var(--muted);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ─── SECTION BASE ──────────────────────────────── */
section {
  padding: clamp(80px, 10vw, 120px) 7vw;
}

.section-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  text-align: center;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  text-align: center;
}

.section-h2 span {
  color: var(--teal);
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 6vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.stat-desc {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ─── FEATURES ──────────────────────────────────── */
.features-section {
  background: var(--navy-2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.feat {
  padding: 54px 40px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(10, 15, 30, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow:
    0 10px 30px -10px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.03);
}

.feat:hover {
  transform: translateY(-12px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(16, 185, 129, 0.1);
}

.feat-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(39, 194, 160, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 28px;
  transition: all 0.5s ease;
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.feat-icon::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.feat:hover .feat-icon {
  background: rgba(39, 194, 160, 0.2);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.4);
}

.feat-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: -0.01em;
}

.feat-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.feat-list {
  list-style: none;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feat-list li {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
  padding-left: 28px;
  position: relative;
  transition: all 0.3s ease;
  line-height: 1.4;
}

.feat-list li:hover {
  color: #fff;
  transform: translateX(4px);
}

.feat-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: rgba(39, 194, 160, 0.1);
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  content: '✓';
  font-size: 10px;
  color: var(--teal);
  font-weight: 900;
}

/* Featured Card Accent */
.feat-accent {
  background: linear-gradient(135deg, rgba(39, 194, 160, 0.08) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
  border-color: rgba(39, 194, 160, 0.3) !important;
}

.feat-accent .feat-icon {
  background: var(--teal) !important;
  color: var(--navy) !important;
  box-shadow: 0 0 30px rgba(39, 194, 160, 0.3);
  border: none;
}

.feat-accent .feat-title {
  color: var(--teal-light);
}

/* ─── ALERT SECTION ─────────────────────────────── */
.alert-section {
  background: linear-gradient(135deg, #061230 0%, #0a1f50 50%, #061230 100%);
  position: relative;
  overflow: hidden;
}

.alert-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(39, 194, 160, 0.08), transparent);
}

.alert-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(39, 194, 160, 0.1);
  border: 1px solid rgba(39, 194, 160, 0.3);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.alert-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.alert-title span {
  color: var(--teal);
}

.alert-p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.alert-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.alert-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.ap-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(39, 194, 160, 0.12);
  border: 1px solid rgba(39, 194, 160, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.alert-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  position: relative;
}

.alert-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(39, 194, 160, 0.5), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.alert-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notif-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.notif-item:last-child {
  margin-bottom: 0;
}

.notif-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.notif-dot.green {
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

.notif-dot.yellow {
  background: #F5C542;
  box-shadow: 0 0 8px #F5C542;
}

.notif-dot.red {
  background: #FF5C5C;
  box-shadow: 0 0 8px #FF5C5C;
}

.notif-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.notif-time {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

/* ─── AUDIENCE SPLIT ────────────────────────────── */
.audience-section {
  background: var(--navy);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.audience-card {
  border-radius: 32px;
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 48px);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.audience-card:hover {
  transform: translateY(-12px);
}

.ac-employer {
  background: linear-gradient(135deg, rgba(16, 64, 160, 0.3), rgba(16, 64, 160, 0.1));
  border: 1px solid rgba(16, 64, 160, 0.5);
}

.ac-employee {
  background: linear-gradient(135deg, rgba(39, 194, 160, 0.12), rgba(39, 194, 160, 0.04));
  border: 1px solid rgba(39, 194, 160, 0.25);
}

.ac-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.ac-employer .ac-tag {
  background: rgba(16, 64, 160, 0.3);
  border: 1px solid rgba(16, 64, 160, 0.6);
  color: #7BA8FF;
}

.ac-employee .ac-tag {
  background: rgba(39, 194, 160, 0.15);
  border: 1px solid rgba(39, 194, 160, 0.35);
  color: var(--teal-light);
}

.ac-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.ac-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.card-download-actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn-download {
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.btn-download:hover {
  transform: translateY(-3px);
}

.btn-download img {
  height: 44px;
  width: auto;
  display: block;
}

/* ─── LOAN SECTION ──────────────────────────────── */
.loan-section {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
}

.loan-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.loan-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.loan-card-header {
  background: rgba(39, 194, 160, 0.08);
  border-bottom: 1px solid rgba(39, 194, 160, 0.15);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.loan-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--teal);
}

.loan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.loan-row:last-child {
  border-bottom: none;
}

.loan-emp {
  font-size: 14px;
  font-weight: 500;
}

.loan-emp-id {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.loan-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.lb-active {
  background: rgba(39, 194, 160, 0.15);
  color: var(--teal);
}

.lb-pending {
  background: rgba(245, 197, 66, 0.15);
  color: #F5C542;
}

.lb-paid {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.loan-amt {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

/* ─── WHY SECTION ───────────────────────────────── */
.why-section {
  background: var(--navy);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.why-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: border-color .3s, transform .3s;
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  border-color: rgba(39, 194, 160, 0.35);
  transform: translateY(-4px);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.why-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── CTA ───────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #061a40 0%, #071f4e 50%, #061a40 100%);
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 7vw;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(39, 194, 160, 0.15), transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.cta-logo img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 0 40px rgba(39, 194, 160, 0.3);
}

.cta-h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-h2 span {
  color: var(--teal);
}

.cta-p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 44px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ────────────────────────────────────── */
footer {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  padding: 48px 6vw 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-left img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.footer-brand-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  color: #fff;
  text-align: left;
}

.footer-tag {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

.footer-center {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-center a {
  color: var(--teal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.3s;
}

.footer-center a:hover {
  opacity: 0.8;
}

.footer-right {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

/* ─── SCROLL REVEAL ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ────────────────────────────────── */
@media(max-width:1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 120px 40px 80px;
    max-width: 800px;
    gap: 60px;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    transform: scale(0.9);
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 60px 40px;
    gap: 40px;
  }
}

@media(max-width:768px) {
  nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: center;
  }

  footer {
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    text-align: center;
    gap: 30px;
  }

  .footer-center {
    justify-content: center;
    gap: 20px;
  }

  .footer-left {
    justify-content: center;
    width: 100%;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-h1 {
    font-size: clamp(32px, 10vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 auto 24px;
  }

  .hero-p {
    font-size: 16px;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .alert-inner,
  .loan-inner,
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card,
  .feat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .feat-list {
    text-align: left;
    width: 100%;
  }

  section {
    padding: 80px 24px;
  }

  .section-h2 {
    font-size: 32px;
  }

  .card-download-actions {
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 8px;
  }

  .btn-download img {
    height: 36px;
  }
}

@media(max-width:480px) {
  .hero-container {
    padding: 100px 20px 60px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions a {
    width: 100%;
    justify-content: center;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    padding: 60px 20px;
    gap: 40px 20px;
  }

  .stat-item {
    align-items: center;
  }

  .stat-num {
    font-size: clamp(32px, 8vw, 42px);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: #fff;
  }

  .stat-desc {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 600;
  }

  .phone-mock {
    width: 260px;
    height: 520px;
    transform: scale(0.9);
    gap: 24px;
  }

  .phone-logo {
    width: 80px;
    height: 80px;
  }

  .phone-appname {
    font-size: 22px;
  }

  .phone-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
  }
}

/* Support for pill scaling on both mobile and desktop without animation conflicts */
:root {
  --pill-scale: 1;
}

@media(max-width:1100px) {
  :root {
    --pill-scale: 0.9;
  }
}

@media(max-width:480px) {
  :root {
    --pill-scale: 0.65;
  }

  .hero-inner {
    padding: 100px 10px 60px !important;
    /* Narrower padding for more mobile space */
  }

  .stat-pill {
    display: flex !important;
    padding: 6px 10px !important;
    gap: 6px !important;
    z-index: 20 !important;
    /* We don't set transform here because it's handled by animation below */
  }

  /* Corrected positioning relative to the phone-mock center */
  .stat-pill[style*="top:60px; left:-90px;"] {
    left: -15px !important;
    top: 50px !important;
  }

  .stat-pill[style*="bottom:80px; right:-95px;"] {
    right: -15px !important;
    bottom: 70px !important;
  }

  .stat-pill[style*="top:210px; right:-100px;"] {
    right: -25px !important;
    top: 190px !important;
  }
}

/* Global float animation using the --pill-scale variable */
@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(var(--pill-scale));
  }

  50% {
    transform: translateY(-20px) scale(calc(var(--pill-scale) * 1.05));
  }
}

/* ─── LEGAL CONTENT ──────────────────────────────── */
.legal-page {
  padding-top: 140px;
  background: var(--navy);
  min-height: 100vh;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 6vw 100px;
}

.legal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.legal-meta {
  font-size: 14px;
  color: var(--teal);
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: 1px;
}

.legal-body {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-size: 16px;
}

.legal-body h2 {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 48px 0 20px;
  color: var(--teal-light);
}

.legal-body p {
  margin-bottom: 20px;
}

.legal-body ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.legal-body li {
  margin-bottom: 12px;
}

.legal-body strong {
  color: #fff;
}

.legal-body a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(39, 194, 160, 0.3);
  transition: border-color .3s;
}

.legal-body a:hover {
  border-color: var(--teal);
}

/* ─── CONTACT MODAL ─────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--navy-2);
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  padding: 25px;
  position: relative;
  transform: translateY(40px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.8);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 15px;
}

.modal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.modal-subtitle {
  color: var(--muted);
  font-size: 13px;
}

.modal-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 4px;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 10px 14px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.btn-submit {
  grid-column: span 2;
  background: var(--teal);
  color: var(--navy);
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.loader {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(2, 6, 23, 0.3);
  border-radius: 50%;
  border-top-color: var(--navy);
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 600px) {
  .modal-overlay {
    padding: 20px 10px;
    align-items: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
  }

  .modal-card {
    padding: 30px 20px;
    border-radius: 20px;
    width: calc(100% - 10px);
    /* Fill screen with slight margin */
    max-width: 100%;
    margin: 10px auto;
    box-sizing: border-box;
    /* Crucial for width calculation */
    transform: translateY(20px) scale(1);
    /* Simplify transform for mobile performance */
  }

  .modal-close {
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
  }

  .modal-title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .modal-form {
    display: flex !important;
    /* Switch to flex for easier stacking control */
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 12px;
    width: 100%;
  }

  .form-group {
    width: 100% !important;
  }

  .form-group.full {
    grid-column: span 1 !important;
  }

  .form-group input,
  .form-group textarea {
    width: 100% !important;
    padding: 12px 15px;
    font-size: 14px;
  }

  .btn-submit {
    padding: 16px;
    font-size: 14px;
    margin-top: 5px;
  }
}

/* ─── FORM VALIDATION ────────────────────────────── */
.error-msg {
  color: #EF4444;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0;
  margin-left: 4px;
  display: block;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.error-msg.visible {
  opacity: 1;
  max-height: 20px;
  margin-top: 8px;
}

.form-group input.input-error,
.form-group textarea.input-error {
  border-color: rgba(239, 68, 68, 0.4) !important;
  background: rgba(239, 68, 68, 0.02) !important;
}

.form-group input.input-error:focus,
.form-group textarea.input-error:focus {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
}

/* ─── LEGAL PAGES ────────────────────────────────── */
.legal-page {
  padding: 160px 0 100px;
  background: var(--navy);
  min-height: 100vh;
}

.legal-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 60px 80px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.legal-card h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
}

.legal-card .effective-date {
  font-size: 14px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 40px;
  display: block;
}

.legal-card h2 {
  font-size: 24px;
  color: #fff;
  margin: 40px 0 20px;
  font-weight: 700;
}

.legal-card p,
.legal-card li {
  font-size: 16px;
  line-height: 1.8;
  color: #94a3b8;
  margin-bottom: 20px;
}

.legal-card strong {
  color: #fff;
}

.legal-card ul {
  padding-left: 20px;
  margin-bottom: 30px;
}

.legal-card a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
}

.legal-card a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 40px 25px;
    margin: 0 15px;
    border-radius: 20px;
  }

  .legal-card h1 {
    font-size: 32px;
  }

  .legal-page {
    padding-top: 120px;
  }
}