:root {
  --brand: #0a3f51;
  --brand-2: #135b73;
  --brand-3: #edf6fa;
  --ink: #173844;
  --muted: #66808a;
  --line: #d9e7ed;
  --bg-soft: #f7fbfc;
  --shadow: 0 14px 40px rgba(10, 63, 81, 0.08);
  --shadow-lg: 0 22px 56px rgba(10, 63, 81, 0.12);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.navbar {
  backdrop-filter: saturate(160%) blur(12px);
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid rgba(10, 63, 81, 0.07);
  transition: box-shadow 0.25s ease;
}
.navbar.scrolled {
  box-shadow: 0 10px 28px rgba(10, 63, 81, 0.08);
}
.navbar-brand img {
  height: 48px;
  width: auto;
}
.nav-link {
  color: var(--ink) !important;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 0.9rem !important;
}
.nav-link:hover {
  color: var(--brand-2) !important;
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border: none;
  box-shadow: 0 10px 24px rgba(10, 63, 81, 0.18);
  transition: all 0.25s ease;
}
.btn-brand:hover {
  color: #fff;
  transform: translateY(-2px);
}
.btn-soft {
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(10, 63, 81, 0.12);
  transition: all 0.25s ease;
}
.btn-soft:hover {
  color: var(--brand);
  transform: translateY(-2px);
}

.hero {
  padding: 7rem 0 4.2rem;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(19, 91, 115, 0.06),
      transparent 22%
    ),
    radial-gradient(
      circle at 90% 10%,
      rgba(19, 91, 115, 0.07),
      transparent 20%
    ),
    linear-gradient(180deg, #fff 0%, #fbfeff 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.15rem;
  padding-left: 0px;
  border-radius: 999px;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: var(--brand);
  margin: 1rem 0 0.9rem;
  max-width: 680px;
}

.hero .lead {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 630px;
  margin-bottom: 0;
}

.hero-wrap {
  position: relative;
}
.hero-slider {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-slide {
  padding: 2rem 2rem 4rem 2rem;
}
.hero-visual {
  position: relative;
  min-height: 490px;
  background: linear-gradient(180deg, #fcfeff 0%, #eef7fb 100%);
  border-radius: 22px;
  border: 1px solid rgba(10, 63, 81, 0.07);
  overflow: hidden;
}
.hero-screen {
  position: absolute;
  left: 48px;
  right: 34px;
  top: 44px;
  bottom: 52px;
  background: #fff;
  border: 1px solid rgba(10, 63, 81, 0.08);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-slider .carousel-inner {
  min-height: 680px;
}

.hero-slider .carousel-item {
  height: 100%;
}

.hero-slide {
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 1rem 2rem 4rem 2rem;
}

.hero-slide .row {
  width: 100%;
  min-height: 100%;
  align-items: center;
}

.hero-product-image {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
}
@media (max-width: 991.98px) {
  .hero-slider .carousel-inner,
  .hero-slide {
    min-height: 600px;
  }

  .hero-product-image {
    max-height: 320px;
  }
}

@media (max-width: 767.98px) {
  .hero-slider .carousel-inner,
  .hero-slide {
    min-height: auto;
  }

  .hero-slide {
    padding: 1.25rem 1rem 3.5rem;
  }

  .hero-slide .row {
    min-height: auto;
  }

  .hero-product-image {
    max-height: 250px;
  }
}
.screen-top {
  display: flex;
  gap: 0.45rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(10, 63, 81, 0.06);
  background: #fbfdfe;
}
.screen-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bfd7e0;
  display: block;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  padding: 1rem;
}
.metric-box {
  background: #fff;
  border: 1px solid rgba(10, 63, 81, 0.08);
  border-radius: 16px;
  padding: 0.95rem;
}
.metric-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.metric-value {
  font-size: 1.45rem;
  color: var(--brand);
  font-weight: 800;
}
.chart-box {
  margin: 0 1rem 1rem;
  border: 1px solid rgba(10, 63, 81, 0.08);
  border-radius: 16px;
  height: 140px;
  padding: 0.8rem;
  background: #fff;
}
.chart-box svg {
  width: 100%;
  height: 100%;
}

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 0.9rem 1rem;
}
.float-device {
  right: 18px;
  top: 28px;
  width: 150px;
  text-align: center;
}
.float-bottom {
  left: 14px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.float-tag {
  right: 36px;
  bottom: 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand);
}
.device-shell {
  width: 76px;
  height: 116px;
  border-radius: 20px;
  border: 1px solid rgba(10, 63, 81, 0.12);
  background: linear-gradient(180deg, #fff, #eef7fa);
  margin: 0 auto 0.8rem;
  position: relative;
}

.carousel-indicators {
  bottom: 20px;
  margin-bottom: 0;
}
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #b8cfd8;
  opacity: 1;
}
.carousel-indicators .active {
  background: var(--brand);
}

.section {
  padding: 4.6rem 0;
}
.section-sm {
  padding: 3.2rem 0;
}
.section-separator {
  padding: 0;
}

.section-separator .line {
  height: 28px;
  border: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 63, 81, 0.045) 0%,
    rgba(10, 63, 81, 0.018) 45%,
    rgba(10, 63, 81, 0) 100%
  );
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.9rem;
  max-width: 760px;
}
.section-copy {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 0;
}
#news .section-title,
#customers .section-title,
#use-cases .section-title,
#use-cases .section-copy,
#news .section-copy,
#customers .section-copy {
  max-width: 100%;
}

.card-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 0.45rem;
}

.stat-card,
.feature-card,
.product-card,
.platform-card,
.news-card,
.customer-card,
.usecase-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  height: 100%;
}

.stat-card {
  padding: 1rem 1.05rem;
}
.stat-card h3 {
  margin: 0 0 0.2rem;
  color: var(--brand);
  font-size: 1.7rem;
  font-weight: 800;
}
.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.counter-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: #ffffff;
}

.counter-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1rem;
  background: #fff;
  transition: all 0.25s ease;
}

.counter-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.counter-box h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--brand);
  display: inline-block;
  margin: 0;
}

.counter-suffix {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand);
  margin-left: 4px;
}

.counter-box p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.logo-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.logo-chip {
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.logo-chip img {
  max-width: 100%;
  max-height: 32px;
  object-fit: contain;
  opacity: 0.88;
}

.feature-card,
.product-card,
.platform-card,
.news-card,
.customer-card {
  padding: 1.25rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.feature-card:hover,
.product-card:hover,
.news-card:hover,
.customer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--brand-3);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.95rem;
}
.card-title {
  font-size: 1.16rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--brand);
  margin: 0.15rem 0 0.6rem;
}
.card-text {
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--muted);
  margin: 0;
}

.product-card.featured {
  padding: 1.4rem;
}
.product-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(10, 63, 81, 0.08);
  margin: 1rem 0 1rem;
  background: #f6fafb;
}
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
}
.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.platform-panel {
  border: 1px solid rgba(10, 63, 81, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfeff, #eef8fb);
  padding: 1.2rem;
  height: 100%;
}
.mini-metric {
  border: 1px solid rgba(10, 63, 81, 0.08);
  border-radius: 16px;
  background: #fff;
  padding: 0.95rem;
  height: 100%;
}
.mini-metric .label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.mini-metric .value {
  font-size: 1.35rem;
  color: var(--brand);
  font-weight: 800;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.check-list li {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.check-list i {
  color: var(--brand-2);
  margin-top: 0.15rem;
}

.usecase-card {
  overflow: hidden;
}
.usecase-card img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  display: block;
}
.usecase-body {
  padding: 1rem 1rem 1.1rem;
}

.cta-panel {
  background: linear-gradient(135deg, var(--brand) 0%, #11566d 100%);
  color: #fff;
  border-radius: 32px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 63, 81, 0.18);
}
.cta-panel::before,
.cta-panel::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.cta-panel::before {
  width: 250px;
  height: 250px;
  top: -70px;
  right: -60px;
}
.cta-panel::after {
  width: 170px;
  height: 170px;
  bottom: -75px;
  left: -35px;
}

.news-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1rem;
  display: block;
}
.news-meta {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.customer-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 1.1rem;
}
.customer-card img {
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
  opacity: 0.9;
}

.footer {
  background: #072f3d;
  color: #d3e4ea;
  padding-top: 4.2rem;
}
.footer a {
  color: #d3e4ea;
}
.footer a:hover {
  color: #fff;
}
.footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.7rem;
  padding: 1.2rem 0;
  color: #afc8d1;
  font-size: 0.92rem;
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 7.3rem;
  }
  .hero-visual {
    min-height: 430px;
  }
  .hero-screen {
    left: 24px;
    right: 24px;
    top: 24px;
    bottom: 24px;
  }
  .float-device {
    width: 135px;
    right: 10px;
    top: 14px;
  }
  .float-bottom {
    left: 12px;
    bottom: 12px;
  }
  .float-tag {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand img {
    height: 42px;
  }
  .hero {
    padding-top: 7rem;
    padding-bottom: 3.4rem;
  }
  .hero h1 {
    font-size: 2.45rem;
  }
  .hero-slide {
    padding: 1rem;
  }
  .hero-visual {
    min-height: 360px;
  }
  .metric-grid {
    gap: 0.7rem;
    padding: 0.8rem;
  }
  .metric-value {
    font-size: 1.15rem;
  }
  .chart-box {
    height: 116px;
    margin: 0 0.8rem 0.8rem;
  }
  .float-bottom {
    display: none;
  }
  .float-device {
    width: 120px;
    padding: 0.8rem;
  }
  .cta-panel {
    padding: 1.8rem;
  }
  .usecase-card img,
  .news-card img,
  .product-image {
    height: 180px;
  }
  .eyebrow {
    font-size: 0.84rem;
    padding: 0.72rem 0.95rem;
  }
}
#achievements.section-sm {
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.achievement-title {
  max-width: 720px;
}

.achievement-copy {
  max-width: 700px;
}

.achievement-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.achievement-card-lg {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.achievement-card-sm {
  padding: 1.4rem 1.25rem;
}

.achievement-logo {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.achievement-logo-lg {
  width: 180px;
  flex: 0 0 180px;
}

.achievement-logo-sm {
  max-height: 66px;
  margin: 0 auto;
}

.achievement-text {
  flex: 1;
}

.achievement-stat-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.15rem 1rem;
  text-align: left;
}

.achievement-stat-card h3 {
  margin: 0 0 0.2rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
}

.achievement-stat-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .achievement-card-lg {
    flex-direction: column;
    text-align: center;
  }

  .achievement-logo-lg {
    width: 220px;
    flex: none;
    margin: 0 auto;
  }
}
.team-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.solution-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.solution-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mxw-100 {
  max-width: 100% !important;
}
.real-device {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 12px;
}

.real-device img {
  max-height: 90px; /* controls size */
  width: auto;
  object-fit: contain;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.partner-grid .logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  background: #f8fbfc;
  border-radius: 14px;
  padding: 15px;
  transition: all 0.25s ease;
}

.partner-grid .logo-chip img {
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
  opacity: 0.8;
}

.partner-grid .logo-chip:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.partner-grid .logo-chip:hover img {
  opacity: 1;
}
.partner-grid .logo-chip:last-child {
  grid-column: 2 / 3;
}
@media (max-width: 991px) {
  .partner-grid .logo-chip:last-child {
    grid-column: auto; /* reset */
  }
}
