:root {
  --jg-blue: #1268f3;
  --jg-blue-dark: #0b3f9f;
  --jg-blue-soft: #edf5ff;
  --jg-green: #16a34a;
  --jg-ink: #101828;
  --jg-muted: #667085;
  --jg-line: #e5ecf7;
  --jg-purple: #1268f3;
  --jg-purple-dark: #0b3f9f;
  --jg-soft: #f7f9fd;
}

body {
  background: #f3f6fb;
}

.landing-page {
  background: #f3f6fb;
  color: var(--jg-ink);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.floating-product-icons {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 1;
}

.floating-product-icons i {
  align-items: center;
  animation: productIconFloat 7s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(190, 216, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 18px 46px rgba(18, 104, 243, 0.16);
  color: rgba(18, 104, 243, 0.68);
  display: flex;
  font-size: 1.55rem;
  height: 58px;
  justify-content: center;
  opacity: 0.72;
  position: absolute;
  width: 58px;
}

.floating-product-icons i:nth-child(1) { left: 5%; top: 14%; transform: rotate(-12deg); }
.floating-product-icons i:nth-child(2) { right: 8%; top: 18%; transform: rotate(13deg); animation-delay: -1.4s; }
.floating-product-icons i:nth-child(3) { left: 2%; top: 45%; transform: rotate(8deg); animation-delay: -2.2s; }
.floating-product-icons i:nth-child(4) { right: 3%; top: 50%; transform: rotate(-10deg); animation-delay: -3s; }
.floating-product-icons i:nth-child(5) { left: 11%; bottom: 12%; transform: rotate(16deg); animation-delay: -4.2s; }
.floating-product-icons i:nth-child(6) { right: 13%; bottom: 10%; transform: rotate(-14deg); animation-delay: -5s; }
.floating-product-icons i:nth-child(7) { left: 43%; top: 10%; transform: rotate(8deg); animation-delay: -2.8s; }
.floating-product-icons i:nth-child(8) { left: 51%; bottom: 7%; transform: rotate(-8deg); animation-delay: -3.6s; }

@keyframes productIconFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -18px;
  }
}

.landing-page > section,
.landing-page > .container-xl {
  position: relative;
  z-index: 2;
}

.landing-page .container-xl {
  max-width: 1180px;
}

.landing-hero {
  padding: 1rem 0 0;
  position: relative;
}

.landing-hero-bg {
  display: none;
}

.landing-hero .container-xl {
  background:
    radial-gradient(circle at 86% 18%, rgba(18, 104, 243, 0.16), transparent 22rem),
    radial-gradient(circle at 8% 28%, rgba(18, 104, 243, 0.12), transparent 18rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(229, 236, 247, 0.92);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.08);
  overflow: hidden;
  position: relative;
}

.landing-brand {
  align-items: center;
  color: var(--jg-ink);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 850;
  gap: 0.65rem;
  text-decoration: none;
}

.landing-brand:hover {
  color: var(--jg-ink);
}

.landing-brand-icon {
  align-items: center;
  background: var(--jg-blue);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(18, 104, 243, 0.22);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  overflow: hidden;
  padding: 5px;
  width: 34px;
}

.landing-brand-icon img {
  box-sizing: border-box;
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.landing-btn-blue {
  background: var(--jg-blue);
  border: 0;
  box-shadow: 0 16px 34px rgba(18, 104, 243, 0.24);
  color: #ffffff;
}

.landing-btn-blue:hover,
.landing-btn-blue:focus {
  background: var(--jg-purple);
  color: #ffffff;
}

.landing-hero-content {
  min-height: 640px;
  padding: 2rem 0 3.6rem;
  position: relative;
  z-index: 2;
}

.landing-kicker {
  background: #ffffff;
  border: 1px solid #d4e4ff;
  box-shadow: 0 10px 24px rgba(18, 104, 243, 0.08);
  color: var(--jg-purple-dark);
  font-size: 0.74rem;
  padding: 0.48rem 0.78rem;
}

.landing-title {
  color: var(--jg-ink);
  font-size: clamp(2.8rem, 5vw, 4.85rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 1.15rem;
  max-width: 760px;
}

.landing-title span {
  color: var(--jg-purple);
}

.landing-copy,
.section-heading p,
.landing-feature-card p,
.workflow-card p {
  color: var(--jg-muted);
}

.landing-copy {
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 1.6rem;
  max-width: 610px;
}

.landing-hero-actions .btn {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
  justify-content: center;
}

.proof-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--jg-line);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
  padding: 0.9rem;
}

.proof-item strong {
  color: var(--jg-ink);
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 0.2rem;
}

.proof-item span {
  color: var(--jg-muted);
  font-size: 0.74rem;
  font-weight: 650;
}

.app-showcase {
  min-height: 560px;
  max-width: 520px;
  position: relative;
}

.phone-frame {
  background: #111827;
  border: 9px solid #111827;
  border-radius: 42px;
  box-shadow: 0 30px 80px rgba(16, 24, 40, 0.24);
  height: 520px;
  margin-left: auto;
  overflow: hidden;
  position: relative;
  width: 270px;
  z-index: 3;
}

.phone-frame::before {
  background: #111827;
  border-radius: 0 0 16px 16px;
  content: "";
  height: 22px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 88px;
  z-index: 5;
}

.phone-frame-secondary {
  bottom: 10px;
  height: 438px;
  left: 0;
  position: absolute;
  transform: rotate(-8deg);
  width: 232px;
  z-index: 2;
}

.phone-screen {
  background: #f6f8fc;
  border-radius: 32px;
  height: 100%;
  overflow: hidden;
  padding: 1.05rem;
}

.phone-screen-sales {
  background: #ffffff;
}

.phone-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-top: 0.7rem;
}

.phone-avatar {
  align-items: center;
  background: var(--jg-purple);
  border-radius: 14px;
  color: #ffffff;
  display: flex;
  font-size: 1.05rem;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.phone-avatar img {
  border-radius: inherit;
  box-sizing: border-box;
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  width: 100%;
}

.phone-card-main {
  background: linear-gradient(135deg, var(--jg-blue), #62a0ff);
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(18, 104, 243, 0.24);
  color: #ffffff;
  margin-bottom: 1rem;
  padding: 1.2rem;
}

.phone-card-main span,
.phone-mini span,
.phone-list small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.78;
}

.phone-card-main strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  margin-top: 0.35rem;
}

.phone-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
}

.phone-mini,
.phone-list {
  background: #ffffff;
  border: 1px solid #e8eefb;
}

.phone-mini {
  border-radius: 18px;
  color: var(--jg-ink);
  padding: 0.85rem;
}

.phone-mini strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  margin-top: 0.25rem;
}

.phone-list {
  border-radius: 20px;
  padding: 0.78rem;
}

.phone-list-row {
  align-items: center;
  display: flex;
  gap: 0.7rem;
  padding: 0.55rem 0;
}

.phone-list-row:not(:last-child) {
  border-bottom: 1px solid #eef3fc;
}

.phone-dot {
  align-items: center;
  background: var(--jg-blue-soft);
  border-radius: 12px;
  color: var(--jg-purple);
  display: flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.phone-product-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.phone-product-grid div {
  align-items: center;
  background: #f7f9ff;
  border: 1px solid #e6edfb;
  border-radius: 16px;
  color: var(--jg-muted);
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-height: 68px;
  padding: 0.55rem 0.35rem;
}

.phone-product-grid i {
  color: var(--jg-purple);
  font-size: 1.25rem;
}

.phone-product-grid span {
  font-size: 0.66rem;
  font-weight: 850;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floating-card {
  background: #ffffff;
  border: 1px solid var(--jg-line);
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(16, 24, 40, 0.14);
  padding: 0.9rem 1rem;
  position: absolute;
  width: 204px;
  z-index: 4;
}

.floating-sales {
  left: 18px;
  top: 72px;
}

.floating-expenses {
  bottom: 68px;
  right: 212px;
}

.floating-card span {
  color: var(--jg-muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 750;
  margin-bottom: 0.25rem;
}

.floating-card strong {
  color: var(--jg-ink);
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
}

.py-lg-6 {
  padding-bottom: 5rem;
  padding-top: 5rem;
}

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

.section-heading h2 {
  color: var(--jg-ink);
  font-size: clamp(1.85rem, 3.3vw, 3rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.landing-feature-card {
  background: #ffffff;
  border: 1px solid var(--jg-line) !important;
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(16, 24, 40, 0.06) !important;
  min-height: 248px;
  padding: 1.45rem;
}

.feature-icon {
  align-items: center;
  background: var(--jg-blue-soft);
  border-radius: 14px;
  color: var(--jg-purple);
  display: flex;
  font-size: 1.45rem;
  height: 52px;
  justify-content: center;
  margin-bottom: 1.2rem;
  width: 52px;
}

.landing-feature-card h3,
.workflow-card h3 {
  color: var(--jg-ink);
  font-weight: 850;
  letter-spacing: 0;
}

.landing-feature-card h3 {
  font-size: 1.2rem;
}

.landing-feature-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.landing-screen-card {
  display: grid;
  gap: 1rem;
  grid-template-rows: 280px 64px 76px 1fr;
  height: 100%;
  min-height: 610px;
}

.landing-screen-card .feature-icon {
  align-self: start;
  margin-bottom: 0;
}

.mini-screen {
  align-self: start;
  background: #f7f9ff;
  border: 1px solid #e3ecfb;
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  height: 280px;
  overflow: hidden;
  padding: 0.9rem;
}

.landing-screen-card h3 {
  align-items: flex-start;
  display: flex;
  line-height: 1.15;
  margin: 0;
  max-width: 100%;
}

.landing-screen-card p {
  align-self: start;
  line-height: 1.65;
  margin: 0;
}

.landing-screen-card .feature-icon + h3 {
  margin-bottom: 0;
}

.mini-screen-top {
  background: linear-gradient(135deg, var(--jg-blue), #62a0ff);
  border-radius: 18px;
  color: #ffffff;
  margin-bottom: 0.75rem;
  padding: 0.85rem;
}

.mini-screen-expense .mini-screen-top {
  background: linear-gradient(135deg, #ef4444, #f87171);
}

.mini-screen-top span {
  display: block;
  font-size: 0.68rem;
  opacity: 0.82;
}

.mini-screen-top strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  margin-top: 0.22rem;
}

.mini-bars {
  align-items: end;
  background: #ffffff;
  border: 1px solid #e8eefb;
  border-radius: 16px;
  display: flex;
  gap: 0.38rem;
  height: 58px;
  margin-bottom: 0.75rem;
  padding: 0.7rem;
}

.mini-bars span {
  background: linear-gradient(180deg, #62a0ff, var(--jg-blue));
  border-radius: 999px;
  flex: 1;
}

.mini-bars span:nth-child(1) { height: 46%; }
.mini-bars span:nth-child(2) { height: 72%; }
.mini-bars span:nth-child(3) { height: 58%; }
.mini-bars span:nth-child(4) { height: 90%; }

.mini-input,
.mini-row,
.mini-products-grid div {
  background: #ffffff;
  border: 1px solid #e8eefb;
}

.mini-input {
  border-radius: 14px;
  color: var(--jg-muted);
  font-size: 0.74rem;
  font-weight: 750;
  margin-bottom: 0.75rem;
  padding: 0.7rem;
}

.mini-row {
  align-items: center;
  border-radius: 14px;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  margin-top: 0.52rem;
  padding: 0.58rem;
}

.mini-row i {
  color: var(--jg-blue);
  font-size: 1rem;
}

.mini-screen-expense .mini-row i {
  color: #ef4444;
}

.mini-row span {
  color: var(--jg-ink);
  font-size: 0.75rem;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-row strong {
  color: var(--jg-green);
  font-size: 0.7rem;
  font-weight: 900;
}

.mini-screen-expense .mini-row strong {
  color: #ef4444;
}

.mini-products-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0.75rem;
}

.mini-products-grid div {
  align-items: center;
  border-radius: 14px;
  color: var(--jg-muted);
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-height: 58px;
  padding: 0.52rem 0.25rem;
}

.mini-products-grid i {
  color: var(--jg-blue);
  font-size: 1.1rem;
}

.mini-products-grid span {
  font-size: 0.64rem;
  font-weight: 850;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-section {
  background: #f7f9fd;
}

.workflow-split {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
}

.workflow-dashboard-mockup {
  align-items: center;
  background:
    radial-gradient(circle at 85% 8%, rgba(98, 160, 255, 0.2), transparent 16%),
    linear-gradient(180deg, #ffffff, #edf5ff);
  border: 1px solid var(--jg-line);
  border-radius: 24px;
  box-shadow: 0 20px 54px rgba(16, 24, 40, 0.08);
  display: flex;
  justify-content: center;
  min-height: 540px;
  overflow: hidden;
  padding: 2rem;
}

.workflow-phone {
  height: 500px;
  margin: 0;
  width: 260px;
}

.workflow-copy-list {
  display: grid;
  gap: 0.9rem;
}

.workflow-card {
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--jg-line);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.05);
  display: flex;
  gap: 0.9rem;
  padding: 1.25rem;
}

.workflow-number {
  align-items: center;
  background: var(--jg-purple);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  flex: 0 0 auto;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.workflow-card h3 {
  font-size: 1rem;
}

.workflow-card p {
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
}

.cta-card {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.34)),
    linear-gradient(135deg, #1268f3 0%, #8cc0ff 58%, #d8ecff 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(86, 67, 211, 0.18);
  color: var(--jg-ink);
  overflow: hidden;
  padding: 3rem;
  position: relative;
}

.cta-card h2,
.cta-card p,
.cta-card .btn {
  position: relative;
  z-index: 2;
}

.cta-card h2 {
  color: var(--jg-ink);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.06;
  max-width: 720px;
}

.cta-card p {
  color: rgba(16, 24, 40, 0.72);
  line-height: 1.7;
  margin: 0;
  max-width: 620px;
}

.is-required-field::after,
.form-label.is-required-field::after {
  color: #ef4444;
  content: " *";
  display: inline;
  font-weight: 900;
}

@media (max-width: 991px) {
  .landing-hero-content {
    min-height: auto;
    padding: 1.4rem 0 2.5rem;
  }

  .app-showcase {
    min-height: 530px;
    max-width: 430px;
  }

  .phone-frame {
    margin: 0 auto;
  }

  .phone-frame-secondary {
    left: 4px;
  }

  .floating-card {
    display: none;
  }

  .workflow-split {
    grid-template-columns: 1fr;
  }

  .workflow-dashboard-mockup {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  .landing-page {
    overflow: visible;
  }

  .landing-hero {
    padding: 0;
  }

  .landing-hero .container-xl {
    border-radius: 0 0 24px 24px;
  }

  .landing-brand {
    font-size: 0.9rem;
  }

  .landing-brand-icon {
    height: 32px;
    width: 32px;
  }

  .landing-title {
    font-size: 2.45rem;
    line-height: 1;
    margin-bottom: 1rem;
  }

  .landing-copy {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
  }

  .landing-hero-actions .btn {
    width: 100%;
  }

  .proof-item {
    padding: 0.75rem;
  }

  .proof-item strong {
    font-size: 1rem;
  }

  .proof-item span {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .app-showcase {
    min-height: 470px;
  }

  .phone-frame {
    height: 455px;
    width: 238px;
  }

  .phone-frame-secondary {
    display: none;
  }

  .py-lg-6 {
    padding-bottom: 2.5rem;
    padding-top: 2.5rem;
  }

  .section-heading h2 {
    font-size: 1.85rem;
  }

  .landing-feature-card {
    min-height: auto;
    padding: 1.15rem;
  }

  .feature-icon {
    height: 50px;
    margin-bottom: 1rem;
    width: 50px;
  }

  .workflow-card {
    padding: 1rem;
  }

  .workflow-dashboard-mockup {
    border-radius: 20px;
    min-height: 455px;
    padding: 1rem;
  }

  .workflow-phone {
    height: 455px;
    width: 236px;
  }

  .cta-card {
    padding: 1.5rem;
  }

  .cta-card h2 {
    font-size: 1.85rem;
  }
}
