/* ===== Base ===== */
:root {
  --ink: #010204;
  --muted: #6b7280;
  --glass: #0078f8;
  --stroke: rgba(5, 197, 255, 0.822);
  --brand1: #02a1fd;
  --brand2: #2563eb;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  overflow-x: hidden;
}
body {
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 60% at 50% -10%, rgba(2, 161, 253, 0.18), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #eaf4ff 100%);
  isolation: isolate;
  overflow-x: hidden;
}

/* ===== Layout wrapper (centers the pill navbar) ===== */
.nav-wrap {
  max-width: 1120px;
  margin: 28px auto 0;
  padding: 0 16px;
}

/* ===== Pill Navbar ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--stroke);
  border-radius: 9999px;
  padding: 10px 14px;
}

/* ===== Brand ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-name {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
}

#lottie-icon {
  width: 120px;
  height: 50px;
  display: inline-block;
  margin-left: 20px;
}
.brand-icon {
  width: 28px;
  height: 28px;
  display: inline-block;
}

/* ===== Menu ===== */
.menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.menu a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 14.5px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.22s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-position 0.38s cubic-bezier(0.22, 0.61, 0.36, 1),
    color 0.15s ease, background-color 0.15s ease;
}
.menu a:hover {
  background-image: linear-gradient(90deg, #2563eb, #02a1fd, #2563eb);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-position: 100% 50%;
  transform: translateY(-1px);
  filter: saturate(1.05);
}

/* ===== Buttons (shared) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--brand1), var(--brand2));

  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease,
    background-color 0.15s ease, color 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(64, 87, 217, 0.25);
}

/* ===== Responsive (navbar links) ===== */
@media (max-width: 840px) {
  .menu {
    gap: 16px;
  }
}
@media (max-width: 720px) {
  .menu {
    display: none;
  }
}

/* ===== Hamburger (PNG icons) ===== */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}
.hamburger .icon {
  width: 22px;
  height: 22px;
  display: block;
}
.hamburger .icon.close {
  display: none;
}
.hamburger[aria-expanded='true'] .icon.menu {
  display: none;
}
.hamburger[aria-expanded='true'] .icon.close {
  display: block;
}

/* ===== Drawer ===== */
.drawer[hidden] {
  display: none !important;
}
.drawer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
  background: #fff;
  border: 1px solid rgba(2, 8, 23, 0.06);
  border-radius: 16px;
  margin-top: 10px;
  box-shadow: 0 8px 28px rgba(2, 8, 23, 0.06);
}
.drawer.open {
  max-height: 320px;
  opacity: 1;
  transform: translateY(0);
}
.drawer .menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px;
}
.drawer .menu a {
  padding: 12px 14px;
  border-radius: 10px;
}
.drawer .menu a + a {
  margin-top: 2px;
}
.drawer .menu .btn.full {
  display: block;
  text-align: center;
  margin-top: 8px;
  color: #fff;
}

/* ===== Mobile Visibility (navbar only) ===== */
@media (max-width: 720px) {
  .hamburger {
    display: flex;
  }
  .navbar .btn {
    display: none;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 16px 56px;
  color: #0b1221;
  background: radial-gradient(1200px 60% at 50% -10%, rgba(2, 161, 253, 0.18), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #eaf4ff 100%);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__waves {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 1500px;
  max-width: none;
  height: auto;
  opacity: 0.9;
}
.hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.pill {
  display: inline-block;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(90deg, #02a1fd, #2563eb);
}
.badge-link {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(2, 8, 23, 0.12);
  background: rgba(2, 8, 23, 0.03);
}
.badge-link:hover {
  color: #0b1221;
  border-color: rgba(2, 8, 23, 0.2);
}

.hero__title {
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.1;
  font-size: clamp(38px, 6vw, 64px);
  margin: 8px auto 14px;
  max-width: 18ch;
}
.grad {
  
  background-image: linear-gradient(90deg, #2563eb, #02a1fd, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

}




.hero__subtitle {
  max-width: 70ch;
  margin: 0 auto 28px;
  color: #334155;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 42px;
}
.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, #2f6ff7, #02a1fdbc);
}
.btn-primary:hover {
  transform: translateY(-1px);
}
.btn-ghost {
  color: #0b1221;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.285);
  border-radius: 12px;
  padding: 12px 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.15s ease, backdrop-filter 0.15s ease;
}
.btn-ghost:hover {
  background: rgba(223, 226, 234, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  margin-bottom: 16px;
}
.stats {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}
.stat__value {
  font-size: 28px;
  font-weight: 800;
  color: #0b1221;
}
.stat__label {
  font-size: 13px;
  color: #475569;
}

.promo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(2, 8, 23, 0.08);
  box-shadow: 0 6px 18px rgba(2, 8, 23, 0.06);

  width: fit-content;
  max-width: 420px;
  margin-left: auto;
}
.promo__icon {
  width: 45px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #2f6ff7, #02a1fdbc);
  justify-content: center;
  text-align: center;
}
.promo__title {
  font-weight: 700;
  letter-spacing: 0.2px;
}
.promo__text {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: #475569;
}

/* Responsive styles for hero */
@media (max-width: 900px) {
  .hero {
    padding-top: 80px;
  }
  .hero__footer {
    flex-direction: column;
    gap: 18px;
  }
  .stats {
    justify-content: center;
  }
  .promo {
    width: 100%;
    justify-content: center;
    text-align: left;
  }
}
@media (max-width: 520px) {
  .hero__actions {
    flex-direction: column;
    gap: 10px;
  }
  .stats {
    gap: 22px;
  }
}

@media (max-width: 1200px) {
  .promo,
  .hero__footer {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center;
  }
}

/* hero animation */
.hero .anim-left,
.hero .anim-right,
.hero .anim-up,
.hero .anim-down,
.hero .anim-pop {
  opacity: 0;
  will-change: transform, opacity;
  transform: translateZ(0); /* GPU hint */
  transition: transform .7s cubic-bezier(.22,.61,.36,1), opacity .7s ease;
  transition-delay: var(--d, 0ms);
}

/* Offsets for each direction */
.hero .anim-left  { transform: translateX(-26px); }
.hero .anim-right { transform: translateX( 26px); }
.hero .anim-up    { transform: translateY( 24px); }
.hero .anim-down  { transform: translateY(-24px); }
.hero .anim-pop   { transform: scale(.985); filter: saturate(.96); }

/* Activated state (JS adds .is-in on hero) */
.hero.is-in .anim-left,
.hero.is-in .anim-right,
.hero.is-in .anim-up,
.hero.is-in .anim-down,
.hero.is-in .anim-pop {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Title layout: allow mixed spans on multiple lines nicely */
.hero .hero__title {
  display: flex;
  flex-wrap: wrap;
  gap: .3ch .5ch;
  justify-content: center;
}
@media (max-width: 720px) {
  .hero .hero__title { gap: .2ch .4ch; }
}

/* Gradient shimmer (subtle, premium) */
.grad-shimmer {
  position: relative;
  background-image: linear-gradient(90deg, #2563eb, #02a1fd, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow: hidden;
}
.grad-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.35) 45%, transparent 60%);
  transform: translateX(-120%);
  animation: heroShimmer 3s ease-in-out .9s infinite;
  pointer-events: none;
}
@keyframes heroShimmer {
  0%   { transform: translateX(-120%); }
  55%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}



/* Promo: gentle float after it arrives (layered with entrance) */
@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
.hero.is-in .promo.anim-right {
  animation: floatY 7.2s 1.4s ease-in-out infinite;
}

/* Button hover refinement (keeps your existing styles) */
.hero__actions .btn {
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
}
.hero__actions .btn:hover {
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

/* Respect user preference */
@media (prefers-reduced-motion: reduce) {
  .hero .anim-left,
  .hero .anim-right,
  .hero .anim-up,
  .hero .anim-down,
  .hero .anim-pop {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .grad-shimmer::after { display: none !important; }
  .waves-lines path { animation: none !important; }
  .hero .promo { animation: none !important; }
}


/*--------------- trusted section -------------------------- */

.trusted-section {
  background-color: #fff;
  text-align: center;
  padding: 44px 0 34px 0;
  overflow: hidden;
}
.trusted-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.trusted-subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 32px;
  font-weight: 500;
}

.carousel-rows {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.logo-carousel.limited-width {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: none;
  box-sizing: border-box;
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: fit-content;
}
.track-left {
  animation: scroll-left 42s linear infinite;
}
.track-right {
  animation: scroll-right 42s linear infinite;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.brand-logo {
  height: 36px;
  opacity: 0.88;
  transition: filter 0.2s, opacity 0.2s;
  user-select: none;
  margin: 0 8px;
}
.brand-logo:hover {
  filter: none;
  opacity: 1;
  cursor: pointer;
}

/* Optional: fade out edges only if you prefer */
.logo-carousel.limited-width::before,
.logo-carousel.limited-width::after {
  content: '';
  position: absolute;
  top: 0;
  width: 32px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.logo-carousel.limited-width::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}
.logo-carousel.limited-width::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}
@media (max-width: 1200px) {
  .logo-carousel.limited-width {
    max-width: 95vw;
  }
}
@media (max-width: 900px) {
  .carousel-rows {
    gap: 18px;
  }
  .logo-track {
    gap: 26px;
  }
  .brand-logo {
    height: 22px;
    margin: 0 6px;
  }
}
@media (max-width: 600px) {
  .trusted-section {
    padding: 32px 0 24px 0;
  }
  .brand-logo {
    height: 12px;
    margin: 0 4px;
  }
  .trusted-title {
    font-size: 1.15rem;
  }
}

@media (max-width: 889px) and (min-width: 480px) {
  .carousel-rows {
    gap: 14px;
    flex-direction: column;
    align-items: center;
  }
  .logo-carousel.limited-width {
    max-width: 98vw;
    border-radius: 9px;
  }
  .logo-track {
    gap: 18px;
  }
  .brand-logo {
    height: 18px;
    margin: 0 4px;
  }
  .trusted-title {
    font-size: 1.1rem;
  }
}


/* Basic fade in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply fade-in for items you want to animate */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
  animation-play-state: paused; /* start paused */
}

.fade-in.animated {
  animation-play-state: running;
}


/*---------------------------- about section---------------------- */

.about-chatbot-section {
  background: linear-gradient(180deg, #fff 0%, #eaf4ff 100%);
  padding: 62px 0;
  display: flex;
  justify-content: center;
}

.about-chatbot-wrap {
  display: flex;
  align-items: center;
  gap: 54px;
  max-width: 1090px;
  width: 95vw;
  margin: 0 auto;
}

.about-chatbot-image {
  flex: 1 1 320px;
  min-width: 220px;
  min-height: 320px;
  background: radial-gradient(ellipse at 60% 40%, var(--brand1) 14 0%, transparent 80%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-chatbot-image img {
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 2px 28px #2563eb33);
}

.about-chatbot-content {
  flex: 1 1 420px;
  text-align: left;
}

.about-chatbot-title {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.17;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}
.about-chatbot-gradient {
  background-image: linear-gradient(90deg, #2563eb, #02a1fd, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.about-chatbot-desc {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 630px;
  margin-bottom: 38px;
  line-height: 1.63;
  text-align: justify;
}

.about-chatbot-btn {
  display: inline-block;
  color: #fff;
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  font-weight: 600;
  border-radius: 36px;
  padding: 14px 42px;
  font-size: 1.05rem;

  text-decoration: none;
  transition: filter 0.18s, transform 0.15s;
  filter: brightness(0.97);
}
.about-chatbot-btn:hover {
  filter: brightness(1.12) saturate(1.09);
  transform: translateY(-2px) scale(1.03);
}

/* Responsive styles */
@media (max-width: 900px) {
  .about-chatbot-wrap {
    flex-direction: column;
    gap: 38px;
    align-items: center;
  }
  .about-chatbot-content {
    text-align: center;
  }
  .about-chatbot-title {
    font-size: 1.33rem;
  }
}
@media (max-width: 500px) {
  .about-chatbot-section {
    padding: 34px 0 16px 0;
  }
  .about-chatbot-image img {
    max-width: 160px;
  }
  .about-chatbot-desc {
    text-align: justify;
    font-size: 16px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 889px) and (min-width: 480px) {
  .about-chatbot-wrap {
    flex-direction: column;
    gap: 26px;
    align-items: center;
    width: 98vw;
    max-width: 98vw;
  }
  .about-chatbot-content {
    text-align: center;
  }
  .about-chatbot-title {
    font-size: 1.15rem;
    margin-bottom: 16px;
  }
  .about-chatbot-desc {
    font-size: 0.99rem;
    margin-bottom: 24px;
    text-align: justify;
    margin-left: 1px;
    margin-right: 10px;
    line-height: 1.45;
  }
  .about-chatbot-image img {
    max-width: 200px;
  }
}

/* === About section: animation) === */

.about-chatbot-section.reveal .from-left,
.about-chatbot-section.reveal .from-right,
.about-chatbot-section.reveal .from-right [data-stagger] {
  opacity: 0;
  will-change: transform, opacity;
}

.about-chatbot-section.reveal .from-left {
  transform: translateX(-28px);
}

.about-chatbot-section.reveal .from-right {
  transform: translateX(28px);
}


.about-chatbot-section.reveal.show .from-left,
.about-chatbot-section.reveal.show .from-right {
  opacity: 1;
  transform: translateX(0);
  transition: transform .6s ease, opacity .6s ease;
}


.about-chatbot-section.reveal.show .from-right [data-stagger] {
  opacity: 1;
  transform: translateX(0);
  transition: transform .6s ease, opacity .6s ease;
  transition-delay: calc(var(--stagger, 0) * 1ms);
}
.about-chatbot-section.reveal .from-right [data-stagger="2"] { transform: translateX(18px); }
.about-chatbot-section.reveal .from-right [data-stagger="3"] { transform: translateX(22px); }
.about-chatbot-section.reveal .from-right [data-stagger="4"] { transform: translateX(26px); }


@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
.about-chatbot-section.reveal.show .about-chatbot-image img {
  animation: floatY 6s ease-in-out .6s infinite;
}


@media (prefers-reduced-motion: reduce) {
  .about-chatbot-section.reveal .from-left,
  .about-chatbot-section.reveal .from-right,
  .about-chatbot-section.reveal .from-right [data-stagger] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .about-chatbot-section.reveal.show .about-chatbot-image img {
    animation: none !important;
  }
}



/*---------------------------- features---------------------- */
.ai-solutions-section {
  background: linear-gradient(180deg, #fff 0%, #eaf4ff 100%);
  padding: 76px 0 65px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-solutions-inner {
  width: 96vw;
  max-width: 1150px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 18px;
}

.ai-solutions-title {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.11;
  color: var(--ink);
  margin-bottom: 9px;
}

.ai-gradient {
  background-image: linear-gradient(90deg, #2563eb, #02a1fd, #2563eb);
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.ai-solutions-desc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.ai-solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 32px;
  place-items: stretch;
  margin-top: 10px;
}

.ai-solution-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.859) 7%, rgba(255, 255, 255, 0.96) 94%);
  border-radius: 17px;
  box-shadow: 0 2px 18px 0 rgba(37, 99, 235, 0.066), 0 1.5px 8px 0 rgba(2, 161, 253, 0.09);
  border: 1.4px solid rgba(2, 161, 253, 0.12);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  padding: 28px 25px 22px 25px;
  transition: box-shadow 0.17s, border 0.17s;
  position: relative;
  overflow: hidden;
}
.ai-solution-card:hover {
  box-shadow: 0 10px 42px rgba(37, 99, 235, 0.18);
  border: 1.7px solid #02a1fd4f;
}

.ai-solution-icon {
  font-size: 2rem;
  margin-bottom: 13px;
  display: inline-block;
  color: var(--brand2);
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-solution-card h3 {
  font-size: 1.17rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 9px;
}

.ai-solution-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 900px) {
  .ai-solutions-inner {
    max-width: 97vw;
  }
  .ai-solutions-title {
    font-size: 1.19rem;
  }
  .ai-solutions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .ai-solution-card {
    padding: 18px 14px;
    height: auto;
  }
}
@media (max-width: 600px) {
  .ai-solutions-title {
    font-size: 1.33rem;
  }
  .ai-solutions-grid {
    grid-template-columns: 1fr;
  }
  .ai-solution-card {
    padding: 14px 5px;
    height: auto;
  }
  .ai-solutions-desc {
    font-size: 16px;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* Features: animation */
.ai-solution-card.fade-in {
  animation-delay: calc(var(--fade, 0) * 1ms);
}
.ai-solution-card.fade-in[data-fade="1"] { --fade: 60; }
.ai-solution-card.fade-in[data-fade="2"] { --fade: 120; }
.ai-solution-card.fade-in[data-fade="3"] { --fade: 180; }

/*------------ use case ---------- */
.usecase-section {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 16px 44px;
}
.usecase-header {
  text-align: center;
  margin-bottom: 38px;
}
.usecase-badge {
  display: inline-block;
  background: rgba(220, 233, 255, 0.19);
  box-shadow: 0 4px 24px rgba(44, 98, 174, 0.09);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 8px 22px;
  font-size: 1.5rem;
  font-weight: 600;
  background-image: linear-gradient(90deg, #2563eb, #02a1fd, #2563eb);
  background-clip: text;
  color: transparent;
  border: 1.2px solid rgba(44, 98, 174, 0.13);
}

.usecase-desc {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 60px;
}
.usecase-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  margin-bottom: 24px;
}
.usecase-step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-bottom: 48px;
}
.usecase-step-row:last-child {
  margin-bottom: 0;
}
.usecase-card.left,
.usecase-card.right {
  padding: 0 20px;
}
.usecase-card.usecase-content {
  border-radius: 26px;
  padding: 40px 28px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}
.usecase-card.usecase-image {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  background: transparent;
  padding: 0;
}
.usecase-img {
  width: 100%;
  max-width: 500px;
  min-height: 140px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  border-radius: 26px;
  box-shadow: 0 2px 32px 0 rgba(0, 106, 255, 0.148);
}
.usecase-step {
  display: inline-block;
  background: #eaf4ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 00;
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 1px;
  margin-left: 0;
}
.usecase-card-title {
  font-size: 1.37rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #000000;
}
.usecase-card-desc {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 10px;
  font-weight: 100;
  text-align: justify;
}

@media (max-width: 1200px) {
  .usecase-section {
    padding-left: 10px;
    padding-right: 10px;
  }
  .usecase-step-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
  }
  .usecase-card.left,
  .usecase-card.right {
    padding: 0;
  }
  .usecase-card.usecase-image {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 16px;
  }
  .usecase-img {
    max-width: 60%;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 32px 0 rgba(0, 106, 255, 0.1);
  }
  .usecase-card.usecase-content {
    padding-left: 10px;
    padding-right: 10px;
  }
  .usecase-step-row:nth-child(even) {
    flex-direction: column-reverse;
  }
}

/* Responsive stacking: step, then image (for smaller mobile) */
@media (max-width: 900px) {
  .usecase-section {
    max-width: 96%;
    padding: 38px 6px 34px;
  }
  .usecase-step-row {
    flex-direction: column;
  }
  .usecase-card.usecase-content,
  .usecase-card.usecase-image {
    padding: 18px 6px;
    border-radius: 18px;
    box-shadow: none;
  }
  .usecase-card-title {
    font-size: 1.15rem;
  }
  .usecase-img {
    max-width: 100%;
    width: calc(100% - 12px);
    margin-left: 6px;
    margin-right: 6px;
    margin-bottom: 20px;
  }
  .usecase-step-row:nth-child(even) {
    flex-direction: column-reverse;
  }
}

/* Usecase: fade-in stagger like Features */
.usecase-header .fade-in,
.usecase-card.fade-in {
  animation-delay: calc(var(--fade, 0) * 1ms);
}

/* simple stagger mapping */
.usecase-header .fade-in[data-fade="1"],
.usecase-card.fade-in[data-fade="1"] { --fade: 60; }

.usecase-header .fade-in[data-fade="2"],
.usecase-card.fade-in[data-fade="2"] { --fade: 140; }

.usecase-card.fade-in[data-fade="3"] { --fade: 220; }

/* ------------qa section --------------- */
.faq-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 52px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  border-radius: 16px;
  box-shadow: 0 4px 40px 0 rgba(37, 99, 235, 0.08), 0 1.5px 8px 0 rgba(2, 161, 253, 0.09);
  margin-bottom: 100px;
}

.faq-left {
  flex: 1 1 330px;
  min-width: 280px;
}
.faq-title {
  font-size: 2.6rem;
  color: #000000;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 14px;
}
.faq-title span {
  background-image: linear-gradient(90deg, #2563eb, #02a1fd, #2563eb);

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.faq-desc {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 32px;
}
.faq-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--brand1) 5%, var(--brand2) 95%);
  color: #fff;
  padding: 12px 30px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 12px 0 rgba(2, 161, 253, 0.09);
  transition: background 0.18s;
  letter-spacing: 0.01em;
}
.faq-btn:hover {
  background: linear-gradient(90deg, var(--brand2), var(--brand1));
}

.faq-right {
  flex: 2 1 520px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(2, 161, 253, 0.07);
  border: 1px solid #007bff5b;
  padding: 0;
  color: #000000;
  transition: box-shadow 0.14s, background 0.14s;
}
.faq-item.open,
.faq-item:hover {
  box-shadow: 0 4px 18px 0 rgba(2, 161, 253, 0.17);
  border: 1px solid #007bff5b;
  background: #ffffff;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: #000000;
  font-size: 1.11rem;
  font-weight: 700;
  padding: 24px 26px 16px 26px;
  border-radius: 12px 12px 0 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.15s;
}
.faq-toggle {
  font-size: 1.49rem;
  color: var(--brand1);
  padding-left: 12px;
  font-weight: 700;
  transition: color 0.14s;
}
.faq-answer {
  display: none;
  color: #6b7280;
  font-size: 1rem;
  font-weight: 200;
  padding: 0 26px 24px 26px;
  border-radius: 0 0 12px 12px;
}
.faq-item.open .faq-answer {
  display: block;
}

/* Responsive */
@media (max-width: 950px) {
  .faq-section {
    flex-direction: column;
    gap: 34px;
    padding: 36px 12px;
  }
  .faq-right {
    gap: 18px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .faq-title {
    font-size: 2.15rem;
  }
}
@media (max-width: 600px) {
  .faq-title {
    font-size: 1.6rem;
  }
  .faq-section {
    padding: 24px 6px;
  }
  .faq-left {
    margin-bottom: 0px;
  }
  .faq-right {
    margin-top: 0px;
  }
  .faq-question,
  .faq-answer {
    padding-left: 14px;
    padding-right: 14px;
  }
}


/* FAQ: fade-in stagger like Features */
.faq-left .fade-in,
.faq-item.fade-in {
  animation-delay: calc(var(--fade, 0) * 1ms);
}

.faq-left .fade-in[data-fade="1"],
.faq-item.fade-in[data-fade="1"] { --fade: 60; }

.faq-left .fade-in[data-fade="2"],
.faq-item.fade-in[data-fade="2"] { --fade: 120; }

.faq-left .fade-in[data-fade="3"],
.faq-item.fade-in[data-fade="3"] { --fade: 180; }


.faq-right .faq-answer {
  display: block;             
  max-height: 0;              
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
}

.faq-right .faq-item.open .faq-answer {
  max-height: 600px;         
  opacity: 1;
}


.faq-toggle {
  transition: transform .25s ease;
  display: inline-block;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg); 
}


@media (prefers-reduced-motion: reduce) {
  .faq-left .fade-in,
  .faq-item.fade-in { animation: none !important; opacity: 1 !important; transform: none !important; }
  .faq-right .faq-answer { transition: none !important; }
}


/* ----------------- contact ----------- */

.contact-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  padding: 60px 10vw;
  min-height: 80vh;
}
.glass {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.17);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1.5px solid rgba(0, 106, 255, 0.15);
}
.contact-info {
  flex: 1 1 420px;
  padding: 54px 40px;
  color: #000000;
}
.contact-label {
  background-image: linear-gradient(90deg, #2563eb, #02a1fd, #2563eb);
  background-clip: text;
  color: transparent;

  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.contact-info h1 {
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px 0;
}
.icon-paper-plane {
  color: #477BFF;
  font-size: 2rem;
  margin: 0 0.08em;
}
.contact-info .contact-desc {
  font-size: 1.18rem;
  margin-bottom: 32px;
  color: #282828d5;
}
.avatar-row {
  display: flex;
  align-items: center;
  margin-top: 38px;
}
.avatar {
  font-size: 3.8rem;
  margin-right: 30px;
}

.contact-form {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 54px 40px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 17px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.48);
  border: 1.2px solid rgba(19, 94, 199, 0.08);
  color: #000000;
  resize: none;
  margin-bottom: 0;
}
.contact-form textarea {
  min-height: 88px;
  max-height: 180px;
}
.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.captcha-refresh {
  width: 24px;
  height: 24px;
  cursor: pointer;
  vertical-align: middle;
}
#captchaText {
  color: #000000;
  border: 2;
  font-weight: 400;
  padding: 8px 18px;
  letter-spacing: 2px;
  border-radius: 8px;
  font-size: 1.08rem;
  user-select: none;
}
#captchaInput {
  flex: 1;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #02a1fd54;
  box-shadow: 0 0 5px rgba(2, 161, 253, 0.223);
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  color: #000000;
}

.contact-form button {
  width: 100%;
  padding: 16px 0;
 background: linear-gradient(90deg, #2563eb, #02a1fd, #2563eb);
  color: #fff;
  font-size: 1.18rem;
  border: none;
  border-radius: 18px;
  font-weight: 700;
  margin-top: 6px;
  transition: background 0.18s;
  cursor: pointer;
}
.contact-form button:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

#formStatus {
  color: #ee233e;
  font-size: 1rem;
  margin-top: 10px;
  text-align: left;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .contact-section {
    padding: 40px 6vw;
  }
}
@media (max-width: 900px) {
  .contact-section {
    flex-direction: column;
    gap: 40px;
    padding: 36px 4vw;
  }
  .contact-info,
  .contact-form {
    width: 100%;
    padding: 32px 18px;
  }
  .captcha-row {
    gap: 8px;
  }
  .captcha-row #captchaText {
    font-size: 0.9rem;
    padding: 6px 10px;
  }
  .captcha-row img.captcha-refresh {
    width: 22px;
    height: 22px;
  }
  .captcha-row input#captchaInput {
    flex: 1;
    font-size: 0.95rem;
    padding: 10px 10px;
  }
}
@media (max-width: 600px) {
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 0.94rem;
  }
  .contact-form button {
    font-size: 1.1rem;
  }
  .contact-section {
    padding: 28px 4vw;
  }
}

/* Contact: fade-in stagger like other sections */
.contact-section .fade-in {
  animation-delay: calc(var(--fade, 0) * 1ms);
  animation-duration: 0.8s; /* a touch snappier for form fields */
}

/* map data-fade numeric directly to --fade via inline; nothing else needed */

/* optional: slightly larger lift for the two cards on first reveal */
.contact-info.glass.fade-in,
.contact-form.glass .fade-in:first-child {
  transform: translateY(22px);
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  .contact-section .fade-in { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* -----captcha  */
/* Make CAPTCHA container flexible for responsiveness */
.captcha-row {
  flex-wrap: wrap; /* allow wrapping on smaller screens */
  align-items: center; /* vertically align items */
  display: flex;
  gap: 12px;
}

/* Make the canvas responsive, max width 100%, auto height, initial width */
#captchaCanvas {
max-width: 160px; /* limit max width */
  width: 100%;      /* fit container's width */
  height: 40px;     /* reduce height */
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
  object-fit: contain; /* keep aspect ratio if canvas is resized */
}

/* Style the input to occupy remaining space and be responsive */
#captchaInput {
  flex: 1 1 auto;
  min-width: 150px; /* prevent it from shrinking too small */
  padding: 10px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(25, 94, 174, 0.3);
  width: 100%; /* to fill the container width */
  box-sizing: border-box; /* include padding & border in width */
}

/* On very small screens, reduce font size of the input and canvas if necessary */
@media (max-width: 600px) {
  #captchaCanvas {
    font-size: 0.85rem;
  }
  #captchaInput {
    font-size: 0.9rem;
    padding: 8px;
  }
}

/* New fix for very small screens <=419px */
@media (max-width: 419px) {
  .captcha-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  #captchaCanvas {
    width: 100% !important;
    height: auto !important;
    max-width: auto;
    margin: 0 auto;
    border-radius: 8px;
  }
  #captchaInput {
    min-width: initial; /* allow full width */
    width: 90%;
    font-size: 1rem;
    padding: 10px;
  }
}




/* <!-- ----------------- footer ---------- --> */

.footer-section {
  background: linear-gradient(to bottom, #105190 0%, #0f2447 100%);
  color: #fff;
  position: relative;
  padding: 56px 0 0 0;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}
.footer-main {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 0 36px 92px 36px;
  z-index: 2;
  position: relative;
}
.footer-brand {
  max-width: 360px;
}
.footer-logo {
  height: 36px;
  margin-bottom: 12px;
}
.footer-title {
  width: 220px;

  margin: 0 0 10px 0;

  letter-spacing: 1px;
}
.footer-brand p {
  font-size: 1rem;
  color: #c7d2ed;
  margin-bottom: 0;
}

.footer-nav {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #ffffff;
  font-weight: 700;
}
.footer-col ul {
  padding-left: 0;
  margin: 0;
}
.footer-col ul li {
  list-style: none;
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: #c7d2ed;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.15s;
}
.footer-col ul li a:hover {
  color: #3bb6fd;
}

/* Subtle watermark softer, bigger for desktop */
.footer-watermark {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 50px;
  text-align: center;
  font-size: clamp(2.5rem, 15vw, 7.8rem);
  font-weight: 900;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  letter-spacing: 3px;

  background: linear-gradient(
    to top,
    #0f234700 0%,
    rgba(59, 182, 253, 0.104) 35%,
    #93d7fe 80%,
    #a2befc 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.footer-meta {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.01rem;
  color: #b8bdd1;
  padding: 28px 36px;
  border-top: 1px solid rgba(130, 156, 215, 0.18);
  z-index: 2;
  position: relative;
  text-align: center;
}
.footer-meta a {
  color: #c7d2ed;
  text-decoration: underline;
  transition: color 0.16s;
}
.footer-meta a:hover {
  color: #3bb6fd;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 0 16px 62px 16px;
  }
  .footer-watermark {
    font-size: clamp(1.6rem, 18vw, 4.7rem);
    bottom: 104px;
  }
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    width: 100%;
  }
  .footer-meta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 16px;
    font-size: 12px;
  }
  .footer-title {
    width: 160px;
  }
}
@media (max-width: 600px) {
  .footer-main {
    padding-bottom: 24vw;
  }
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .footer-watermark {
    font-size: 2rem;
    bottom: 64px;
  }
}
