@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --primary: #0a0a0a;
  --secondary: #1f2937;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-soft: #93c5fd;
  --accent-green: #22c55e;
  --accent-green-soft: #86efac;
  --bg: #ffffff;
  --light: #f8fafc;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 6px 16px rgba(15, 23, 42, 0.08);
  --radius: 20px;
}

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

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--secondary);
  background: radial-gradient(circle at top, #ffffff 40%, #f8fafc 100%);
  line-height: 1.6;
}

h1, h2, h3, .brand {
  font-family: "Space Grotesk", sans-serif;
  color: var(--primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.2rem, 4.8vw, 5rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2.2rem, 3.2vw, 3.4rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

p {
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(37, 99, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.logo-tagline {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo:hover .logo-mark img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  font-weight: 500;
  color: #fff;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

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

.nav-cta {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-strong);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #f1f5f9);
  border: 1px solid rgba(15, 23, 42, 0.14);
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.burger span {
  display: block;
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
}

.burger span:nth-child(1) {
  transform: translateY(-6px);
  width: 16px;
}

.burger span:nth-child(2) {
  width: 20px;
}

.burger span:nth-child(3) {
  transform: translateY(6px);
  width: 14px;
}

.burger.is-open span:nth-child(1) {
  transform: rotate(45deg);
  width: 20px;
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: rotate(-45deg);
  width: 20px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.4rem 0 1.8rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
}

.mobile-menu a {
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--primary);
}

.mobile-menu a:not(:last-child) {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 10, 10, 0.65), rgba(10, 10, 10, 0.65)),
              url("hero1.png") center/cover no-repeat;
  filter: blur(4px);
  transform: scale(1.05);
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.35), rgba(10, 10, 10, 0.65));
  pointer-events: none;
  z-index: 1;
}

.hero-orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.6;
  z-index: 0;
  animation: float 10s ease-in-out infinite;
}

.orb-1 {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 70%);
  top: -120px;
  left: -120px;
}

.orb-2 {
  background: radial-gradient(circle, rgba(147, 197, 253, 0.45), transparent 70%);
  top: 80px;
  right: -140px;
  animation-delay: 1.5s;
}

.orb-3 {
  background: radial-gradient(circle, rgba(29, 78, 216, 0.25), transparent 70%);
  bottom: -160px;
  left: 40%;
  animation-delay: 3s;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1,
.hero .lead,
.hero .metric,
.hero .metric-label {
  color: #fff;
}

.hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.hero .ghost {
  background: rgba(255, 255, 255, 0.85);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(34, 197, 94, 0.12));
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.lead {
  font-size: 1.05rem;
  margin-top: 1rem;
  color: var(--secondary);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ghost {
  background: #fff;
  color: var(--primary);
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.15);
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.3);
}

.ghost:hover {
  border-color: rgba(34, 197, 94, 0.35);
  color: var(--primary);
}

.hero-metrics {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.metric {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--secondary);
}

.hero-graphic {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid rgba(37, 99, 235, 0.12);
  max-width: 520px;
  margin-left: auto;
  transform: scale(1.12);
  transform-origin: center;
}

.hero-graphic {
  animation: float-soft 8s ease-in-out infinite;
}

.hero-graphic::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.45), rgba(14, 165, 233, 0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-graphic img,
.hero-graphic svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 320px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  animation: float-soft 8s ease-in-out infinite;
}

.graphic-caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--secondary);
  text-align: center;
}

.floating-badge {
  position: absolute;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--primary);
  backdrop-filter: blur(6px);
  animation: badge-float 6s ease-in-out infinite;
}

.floating-badge {
  animation: badge-float 6s ease-in-out infinite;
}

.badge-myr {
  animation-delay: 1.5s;
}

.badge-fx {
  animation-delay: 3s;
}

.badge-usd {
  top: 14px;
  right: 22px;
}

.badge-myr {
  bottom: 74px;
  right: 36px;
}

.badge-fx {
  top: 128px;
  left: 18px;
}

.badge-green {
  bottom: 22px;
  left: 24px;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
  color: #ffffff;
}

.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  z-index: 2;
  position: relative;
}

.hero-trust-logos {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.hero-trust-logos img {
  height: 24px;
  width: auto;
  filter: grayscale(0%);
  opacity: 0.95;
  transition: all 0.3s ease;
}

.hero-trust-logos img:hover {
  opacity: 1;
}

.stats {
  padding: 4rem 0 5rem;
  position: relative;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.06), transparent 40%);
  pointer-events: none;
}

.stats .container {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.08), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.stat-title {
  font-weight: 600;
  color: var(--primary);
}

.section {
  padding: 7.5rem 0;
}

.section.light {
  background: var(--light);
  position: relative;
}

.section.light::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(37, 99, 235, 0.08), transparent 40%);
  opacity: 0.35;
  pointer-events: none;
}

.section.light .container {
  position: relative;
  z-index: 1;
}

.section-header {
  max-width: 720px;
}

.section-top {
  margin-bottom: 2.5rem;
}

.section-visual {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.section-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

.section-lead {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.feature-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.9), rgba(14, 165, 233, 0.3));
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  align-items: center;
}

.bullet-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 1.6rem;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.dashboard {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pill {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.dashboard-body {
  display: grid;
  gap: 0.75rem;
}

.bar {
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  width: var(--w);
}

.dashboard-footer {
  margin-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.muted {
  color: rgba(31, 41, 55, 0.7);
  font-size: 0.85rem;
}

.strong {
  font-weight: 700;
  color: var(--primary);
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.stack-item {
  background: #fff;
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-soft);
  font-weight: 600;
}

.icon-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.icon-card {
  padding: 1.6rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.icon-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.icon-card::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -30%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), transparent 70%);
  pointer-events: none;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.partner-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.partner {
  padding: 1.6rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
  display: grid;
  gap: 0.75rem;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  height: 120px;
}

.partner:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.partner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.08), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.trust .section-header {
  max-width: 720px;
}

.trust .partner-grid {
  margin-top: 2.5rem;
}

.partner img {
  max-height: 44px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(60%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.partner:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.partner.is-active img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.company {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  align-items: center;
}

.company-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.company-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.company-meta {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.2rem;
}

.benefit-list {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.8rem;
}

.benefit-item {
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
}

.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.6rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.form-card::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 70%);
  pointer-events: none;
}

.glow-green {
  position: relative;
}

.glow-green::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18), transparent 70%);
  pointer-events: none;
}

.scroll-indicator {
  margin-top: 2.5rem;
  text-align: center;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  animation: float-soft 3.5s ease-in-out infinite;
}

.section-visual {
  animation: fade-rise 0.7s ease both;
}

.stat-card,
.feature-card,
.icon-card,
.partner,
.stack-item,
.benefit-item,
.form-card {
  animation: fade-rise 0.7s ease both;
}

.stat-card:nth-child(2),
.feature-card:nth-child(2),
.icon-card:nth-child(2),
.partner:nth-child(2),
.stack-item:nth-child(2),
.benefit-item:nth-child(2) {
  animation-delay: 0.08s;
}

.stat-card:nth-child(3),
.feature-card:nth-child(3),
.icon-card:nth-child(3),
.partner:nth-child(3),
.stack-item:nth-child(3),
.benefit-item:nth-child(3) {
  animation-delay: 0.16s;
}

.stat-card:nth-child(4),
.feature-card:nth-child(4),
.icon-card:nth-child(4),
.partner:nth-child(4),
.stack-item:nth-child(4),
.benefit-item:nth-child(4) {
  animation-delay: 0.24s;
}

.stat-card:nth-child(5),
.feature-card:nth-child(5),
.icon-card:nth-child(5),
.partner:nth-child(5),
.stack-item:nth-child(5),
.benefit-item:nth-child(5) {
  animation-delay: 0.32s;
}

.stat-card:nth-child(6),
.feature-card:nth-child(6),
.icon-card:nth-child(6),
.partner:nth-child(6),
.stack-item:nth-child(6),
.benefit-item:nth-child(6) {
  animation-delay: 0.4s;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

.form-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

.form input {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  font-size: 1rem;
  font-family: inherit;
}

.form input:focus {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  border-color: rgba(37, 99, 235, 0.6);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 40;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.modal-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 2.2rem;
  width: min(420px, 90%);
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  animation: pop-in 0.25s ease;
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.4rem;
}

.modal-card h3 {
  margin-bottom: 0.4rem;
}

.modal-card p {
  color: var(--secondary);
  margin-bottom: 1.6rem;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  color: var(--secondary);
  font-size: 1.4rem;
}

.modal-action {
  width: 100%;
}

.modal-actions {
  display: grid;
  gap: 0.75rem;
}

.secondary {
  background: #f1f5f9;
  color: var(--secondary);
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.modal-open {
  overflow: hidden;
}

@keyframes pop-in {
  from {
    transform: scale(0.96);
    opacity: 0.5;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .burger {
    display: flex;
    order: 0;
  }
  .navbar.is-open .mobile-menu {
    display: flex;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .navbar {
    background: rgba(37, 99, 235, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
  }
  .mobile-menu {
    background: rgba(37, 99, 235, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .mobile-menu a {
    color: #fff;
  }
  .mobile-menu a:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .burger {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
  }
  .burger span {
    background: #fff;
  }
  .brand-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    order: 0;
  }
  .logo {
    justify-content: flex-start;
  }
  .logo-mark img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
  }
  .logo-tagline {
    display: none;
  }
  .burger {
    width: 48px;
    height: 48px;
    order: 1;
  }
  .mobile-menu {
    padding-left: 4%;
    padding-right: 4%;
  }
  .hero::before {
    background: linear-gradient(rgba(10, 10, 10, 0.65), rgba(10, 10, 10, 0.65)),
                url("hero2.png") center/cover no-repeat;
    filter: blur(3px);
    transform: scale(1.08);
    opacity: 0.8;
  }
  .hero-graphic img,
  .hero-graphic svg {
    max-height: 220px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 4rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-footer {
    flex-direction: column;
  }
  .footer-inner {
    flex-direction: column;
  }
  .form-card {
    order: 2;
  }
  .stats-grid,
  .feature-grid,
  .icon-grid,
  .partner-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 80%);
    overflow-x: auto;
    padding: 0 0 0.8rem 0;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 10%;
    scroll-behavior: smooth;
    gap: 1rem;
  }
  .stat-card,
  .feature-card,
  .icon-card,
  .partner {
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transform: scale(0.94);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    opacity: 0.9;
  }
  .stat-card.is-active,
  .feature-card.is-active,
  .icon-card.is-active,
  .partner.is-active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  }
  .stat-card:focus,
  .feature-card:focus,
  .icon-card:focus,
  .partner:focus {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
    outline: none;
  }
  .stat-card:focus-visible,
  .feature-card:focus-visible,
  .icon-card:focus-visible,
  .partner:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.4);
    outline-offset: 3px;
  }
  .stats-grid::-webkit-scrollbar,
  .feature-grid::-webkit-scrollbar,
  .icon-grid::-webkit-scrollbar,
  .partner-grid::-webkit-scrollbar {
    height: 6px;
  }
  .stats-grid::-webkit-scrollbar-thumb,
  .feature-grid::-webkit-scrollbar-thumb,
  .icon-grid::-webkit-scrollbar-thumb,
  .partner-grid::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.2);
    border-radius: 999px;
  }
}
