:root {
  --nl-primary-blue: #2196F3;
  --nl-orange: #FF9800;
  --nl-navy: #0A1931;
  --nl-light: #F5F7FA;
}

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

.portfolio-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.94));
  border: 1px solid rgba(19, 88, 255, 0.10);
  box-shadow: 0 16px 34px rgba(10, 25, 49, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(19, 88, 255, 0.13);
  border-color: rgba(33, 150, 243, 0.42);
}

.portfolio-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #07152d, #0c42cc);
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-body {
  display: grid;
  gap: 12px;
  padding: 20px;
  height: 100%;
}

.portfolio-body h3,
.portfolio-body p {
  margin: 0;
}

.portfolio-body h3 {
  font-size: 1.12rem;
  color: var(--nl-navy);
}

.portfolio-body p {
  color: #5f6f8d;
  line-height: 1.68;
}

.portfolio-body .button {
  margin-top: auto;
}

.consultation-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.consultation-copy,
.consultation-form-card {
  border-radius: 28px;
  border: 1px solid rgba(19, 88, 255, 0.10);
  box-shadow: 0 18px 36px rgba(10, 25, 49, 0.08);
}

.consultation-copy {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
}

.consultation-form-card {
  padding: 24px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.consultation-head {
  margin-bottom: 0;
}

.consultation-points {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.consultation-point {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(33, 150, 243, 0.08);
  border: 1px solid rgba(33, 150, 243, 0.10);
}

.consultation-point strong,
.consultation-point span {
  display: block;
}

.consultation-point strong {
  color: var(--nl-navy);
  margin-bottom: 4px;
}

.consultation-point span {
  color: #5f6f8d;
  line-height: 1.62;
}

.consultation-actions {
  margin-top: 18px;
}

.lead-form {
  display: grid;
  gap: 18px;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form span {
  font-weight: 700;
  color: var(--nl-navy);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(19, 88, 255, 0.12);
  background: #ffffff;
  padding: 14px 15px;
  font: inherit;
  color: var(--nl-navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgba(33, 150, 243, 0.48);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.12);
}

.lead-form-full {
  grid-column: 1 / -1;
}

.lead-form-feedback {
  min-height: 24px;
  font-size: 0.94rem;
  color: #5f6f8d;
}

.lead-form-feedback.is-error {
  color: #c62828;
}

.lead-form-feedback.is-success {
  color: #156c2e;
}

.lead-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lead-form-actions .button {
  min-width: 220px;
}

@media (max-width: 1180px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultation-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .portfolio-grid,
  .lead-form-grid {
    grid-template-columns: 1fr;
  }

  .consultation-copy,
  .consultation-form-card {
    padding: 20px 18px;
  }

  .lead-form-actions .button {
    width: 100%;
    min-width: 0;
  }
}

/* Premium polish pass: stronger hierarchy, better section rhythm, and cleaner accessibility states without changing the live content structure. */
body {
  background:
    radial-gradient(circle at 12% 0%, rgba(19, 88, 255, 0.18), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(133, 180, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #eef4ff 0%, #ffffff 38%, #edf3ff 100%);
}

.topbar-wrap {
  background: rgba(3, 10, 28, 0.88);
  box-shadow: 0 20px 38px rgba(2, 8, 20, 0.26);
}

.nav {
  gap: 10px;
}

.nav a {
  background: rgba(18, 38, 82, 0.88);
  border-color: rgba(105, 154, 255, 0.18);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.nav a:hover,
.nav a:focus-visible {
  transform: translateY(-2px);
  background: rgba(28, 69, 152, 0.96);
  border-color: rgba(145, 182, 255, 0.34);
  box-shadow: 0 16px 28px rgba(7, 21, 45, 0.22);
}

.hero {
  padding: 30px 0 26px;
}

.hero-showcase {
  padding: clamp(24px, 3vw, 38px);
  border-radius: 42px;
  background:
    radial-gradient(circle at 14% 18%, rgba(61, 118, 255, 0.18), transparent 26%),
    radial-gradient(circle at 86% 14%, rgba(138, 183, 255, 0.16), transparent 22%),
    linear-gradient(135deg, #03102c 0%, #08235b 52%, #020b1f 100%);
}

.hero-grid {
  gap: 24px;
}

.hero-copy h1 {
  max-width: 720px;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

.hero-copy p {
  max-width: 680px;
  font-size: 1.05rem;
}

.actions {
  margin-top: 28px;
}

.button {
  min-height: 52px;
}

.button:focus-visible,
.nav a:focus-visible,
.contact-card:focus-visible,
.bottom-links a:focus-visible,
.bottom-social a:focus-visible,
.lead-form input:focus-visible,
.lead-form select:focus-visible,
.lead-form textarea:focus-visible {
  outline: 3px solid rgba(19, 88, 255, 0.22);
  outline-offset: 3px;
}

.micro-grid,
.hero-support-strip {
  margin-top: 30px;
}

.micro-card,
.hero-support-item,
.service-card,
.product-card,
.pricing-card,
.portfolio-card,
.partner-card,
.contact-card,
.consultation-copy,
.consultation-form-card {
  backdrop-filter: blur(12px);
}

.section {
  padding: 24px 0 40px;
}

.section + .section {
  position: relative;
}

.section + .section::before {
  content: "";
  display: block;
  width: min(100%, 1180px);
  height: 1px;
  margin: 0 auto 26px;
  background: linear-gradient(90deg, transparent, rgba(19, 88, 255, 0.14), transparent);
}

.section-head {
  gap: 10px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 0.98;
}

.section-head p {
  max-width: 760px;
  font-size: 1rem;
}

#about,
#services,
#product,
#pricing,
#portfolio,
#partners,
#contact,
#consultation {
  scroll-margin-top: 96px;
}

.services-grid {
  gap: 22px;
}

.service-card {
  border-radius: 28px;
  box-shadow: 0 24px 46px rgba(10, 25, 49, 0.08);
}

.service-body {
  padding: 24px;
}

.service-copy p,
.portfolio-body p,
.pricing-card p,
.contact-card span,
.consultation-point span {
  font-size: 0.98rem;
}

.services-cta {
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-grid {
  gap: 20px;
}

.product-card {
  border-radius: 28px;
  border: 1px solid rgba(19, 88, 255, 0.08);
  box-shadow: 0 22px 44px rgba(7, 21, 45, 0.08);
}

.feature-card,
.playstore-strip,
.pricing-card,
.contact-card,
.partner-card {
  border-radius: 22px;
}

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

.pricing-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(19, 88, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(242, 247, 255, 0.96));
  box-shadow: 0 20px 40px rgba(7, 21, 45, 0.07);
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #0c42cc, #2196F3, #86b3ff);
}

.pricing-card.featured {
  transform: translateY(-8px);
  box-shadow: 0 26px 52px rgba(12, 66, 204, 0.14);
}

.portfolio-grid {
  gap: 22px;
}

.portfolio-card,
.partner-card,
.contact-card {
  box-shadow: 0 18px 38px rgba(7, 21, 45, 0.07);
}

.partners-grid {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

.partner-card {
  min-height: 132px;
  background:
    radial-gradient(circle at top right, rgba(19, 88, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.contact-grid {
  gap: 18px;
}

.contact-card {
  min-height: 142px;
  display: grid;
  align-content: start;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.consultation-shell {
  gap: 24px;
}

.consultation-copy,
.consultation-form-card {
  border-radius: 30px;
}

.consultation-copy {
  background:
    radial-gradient(circle at top right, rgba(19, 88, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
}

.lead-form-actions {
  justify-content: space-between;
}

.cta-band {
  margin-top: 12px;
  border-radius: 34px;
  box-shadow: 0 28px 62px rgba(7, 21, 45, 0.16);
}

.bottom-band {
  margin-top: 20px;
}

.bottom-links a,
.bottom-social a {
  transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.bottom-links a:hover,
.bottom-social a:hover,
.bottom-links a:focus-visible,
.bottom-social a:focus-visible {
  transform: translateY(-2px);
}

@media (max-width: 1180px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-showcase {
    border-radius: 34px;
  }

  .services-cta {
    grid-template-columns: 1fr;
  }

  .services-cta-actions,
  .lead-form-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  .hero {
    padding-top: 18px;
  }

  .section {
    padding: 18px 0 28px;
  }

  .section + .section::before {
    margin-bottom: 18px;
  }

  .contact-card,
  .partner-card,
  .pricing-card,
  .service-card,
  .portfolio-card,
  .consultation-copy,
  .consultation-form-card {
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Homepage cleanup pass: show full service artwork and rebalance the product showcase after removing the brochure poster. */
.service-media {
  display: grid;
  place-items: center;
  padding: 16px;
  background:
    radial-gradient(circle at top right, rgba(19, 88, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #e9f1ff 0%, #ffffff 100%);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  filter: drop-shadow(0 14px 28px rgba(7, 21, 45, 0.12));
}

.service-media::after {
  display: none;
}

.product-layout {
  grid-template-columns: 176px 1fr;
  gap: 18px;
  align-items: start;
}

.product-poster-column {
  display: grid;
  gap: 14px;
  align-content: start;
}

.product-copy {
  max-width: none;
}

.product-copy p {
  max-width: 720px;
}

.product-playstore-card {
  margin-top: 0;
}

.product-highlight {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-mark {
  width: 190px;
  height: 190px;
  filter: drop-shadow(0 10px 26px rgba(19, 88, 255, 0.24));
}

.brand-copy strong {
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
}

.brand-copy span {
  color: #69a3ff;
}

.hero-showcase {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: stretch;
  padding-bottom: 108px;
}

.hero-showcase::after {
  content: "";
  position: absolute;
  top: 34px;
  right: 34px;
  bottom: 34px;
  width: min(34%, 360px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 24%, rgba(81, 137, 255, 0.26), transparent 22%),
    radial-gradient(circle at 68% 72%, rgba(129, 178, 255, 0.16), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(136, 176, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-grid {
  width: 100%;
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 30px;
  align-items: center;
}

.hero-copy {
  max-width: none;
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-panel-card {
  width: min(100%, 380px);
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(7, 21, 45, 0.28);
  border: 1px solid rgba(136, 176, 255, 0.14);
  box-shadow: 0 24px 50px rgba(2, 8, 20, 0.22);
  backdrop-filter: blur(14px);
}

.hero-panel-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #d9e6ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-panel-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.24));
}

.hero-support-strip {
  position: absolute;
  top: auto;
  right: 26px;
  bottom: 34px;
  left: auto;
  width: min(48%, 430px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  overflow: hidden;
  align-content: end;
  align-items: start;
  white-space: normal;
  mask-image: none;
}

.hero-support-item {
  min-height: 148px;
  padding: 18px 16px;
  border-radius: 24px;
  background: rgba(9, 26, 64, 0.5);
  border: 1px solid rgba(136, 176, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: normal;
  animation: heroFloatX 12s ease-in-out infinite;
}

@keyframes heroFloatX {
  0% {
    transform: translateX(-12px);
  }
  50% {
    transform: translateX(12px);
  }
  100% {
    transform: translateX(-12px);
  }
}

.hero-support-item:nth-child(2n) {
  animation-delay: -3s;
}

.hero-support-item:nth-child(3n) {
  animation-delay: -6s;
}

.portfolio-media {
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(19, 88, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #edf4ff 0%, #ffffff 100%);
}

.portfolio-media img {
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(7, 21, 45, 0.12));
}

.contact-premium {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 20px;
  align-items: stretch;
}

.contact-premium-copy,
.contact-premium-panel {
  border-radius: 30px;
  border: 1px solid rgba(19, 88, 255, 0.1);
  box-shadow: 0 18px 38px rgba(7, 21, 45, 0.08);
}

.contact-premium-copy {
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(19, 88, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
}

.contact-kicker {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(19, 88, 255, 0.08);
  color: #0c42cc;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-premium-copy h3,
.contact-premium-copy p {
  margin: 0;
}

.contact-premium-copy h3 {
  margin-top: 16px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #07152d;
}

.contact-premium-copy p {
  margin-top: 14px;
  max-width: 720px;
  color: #5f6f8d;
  line-height: 1.76;
}

.contact-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-premium-panel {
  display: grid;
  gap: 0;
  padding: 18px 24px;
  background: linear-gradient(180deg, #07152d 0%, #0c42cc 100%);
  color: #fff;
}

.contact-line {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line strong {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(223, 235, 255, 0.72);
}

.contact-line a,
.contact-line span {
  color: #ffffff;
  font-size: 1.04rem;
  font-weight: 700;
}

.why-card {
  display: grid;
  align-content: start;
  gap: 18px;
}

.why-card-head {
  display: grid;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(19, 88, 255, 0.12);
}

.why-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(19, 88, 255, 0.08);
  color: #0c42cc;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.why-card-head h3 {
  margin: 0;
}

.why-card-head p {
  margin: 0;
  max-width: 620px;
  color: #5f6f8d;
  line-height: 1.7;
}

.why-list {
  gap: 0;
  margin-top: 0;
}

.why-item {
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 14px 0;
  align-items: start;
}

.why-dot {
  width: 28px;
  height: 28px;
  margin-top: 1px;
  font-size: 0.82rem;
  box-shadow: 0 10px 18px rgba(19, 88, 255, 0.16);
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-highlight {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: auto;
    padding-bottom: 90px;
  }

  .hero-showcase::after {
    display: none;
  }

  .hero-grid,
  .contact-premium {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .hero-support-strip {
    position: static;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }

  .hero-support-item {
    min-height: 112px;
  }
}
