:root {
  --bg: #f6faff;
  --bg-tint: #eaf3fd;
  --surface: #ffffff;
  --border: #dbe6f3;
  --text: #0b1533;
  --muted: #4a5875;
  --primary: #1565e6;
  --primary-dark: #0d4fc0;
  --accent: #14b8c4;
  --navy: #0b1a3d;
  --gradient: linear-gradient(90deg, #1565e6 0%, #14b8c4 100%);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(17, 54, 120, 0.08);
  --header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 10px);
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  line-height: 1.1;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Logo */
.logo img {
  height: 34px;
  width: auto;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 50;
  transition: background 0.25s, box-shadow 0.25s, height 0.25s;
}

.header.is-scrolled {
  --header-h: 70px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav {
  display: flex;
  gap: 36px;
  margin-left: auto;
}

.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.97rem;
  position: relative;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav a:hover {
  color: var(--primary);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav .nav__cta-mobile {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switch button.is-active {
  background: var(--navy);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn .arrow {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  transition: transform 0.2s;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn--sm {
  padding: 11px 22px;
  font-size: 0.95rem;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(21, 101, 230, 0.28);
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(21, 101, 230, 0.36);
}

.btn--outline {
  border-color: var(--primary);
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
}

.btn--outline:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 72px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(20, 184, 196, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(21, 101, 230, 0.1), transparent 70%),
    linear-gradient(180deg, #eef6ff 0%, var(--bg) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 40px;
}

.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 28px;
}

.eyebrow-line::before {
  content: "";
  width: 56px;
  height: 2px;
  background: var(--primary);
}

.hero h1 {
  font-size: clamp(2.2rem, 3.85vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero h1 span {
  display: block;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
}

.highlights li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 26px;
  border-left: 1px solid var(--border);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  max-width: 150px;
}

.highlights li:first-child {
  padding-left: 0;
  border-left: 0;
}

.highlights svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.hero__visual {
  position: relative;
  margin-right: -40px;
}

.hero__visual img {
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(0deg, transparent 0%, #000 12%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(0deg, transparent 0%, #000 12%, #000 90%, transparent 100%);
  mask-composite: intersect;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Sections */
.section {
  padding: 110px 0;
}

.section--tint {
  background: var(--bg-tint);
}

.section--dark {
  background:
    radial-gradient(ellipse 50% 80% at 90% 10%, rgba(20, 184, 196, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 80% at 0% 100%, rgba(21, 101, 230, 0.3), transparent 70%),
    var(--navy);
  color: #fff;
}

.section__header {
  max-width: 660px;
  margin-bottom: 56px;
}

.section__header p {
  color: var(--muted);
  font-size: 1.08rem;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  color: var(--primary);
}

.eyebrow--light {
  color: var(--accent);
}

.section h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* Solution cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(21, 101, 230, 0.35);
  box-shadow: 0 18px 40px rgba(17, 54, 120, 0.14);
}

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 8px 18px rgba(21, 101, 230, 0.25);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.97rem;
}

/* Sectors */
.sectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.sector {
  position: relative;
  min-height: 320px;
  border-radius: 22px;
  padding: 30px 26px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 16px 36px rgba(11, 26, 61, 0.18);
  transition: transform 0.3s;
}

.sector::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(6, 16, 40, 0.65) 100%);
}

.sector::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -60px;
  right: -60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  z-index: -1;
  transition: transform 0.4s;
}

.sector:hover {
  transform: translateY(-6px);
}

.sector:hover::after {
  transform: scale(1.2);
}

.sector--wellness { background: linear-gradient(150deg, #7dd3c8 0%, #2a9d8f 55%, #1d6f7a 100%); }
.sector--agri     { background: linear-gradient(150deg, #a3d977 0%, #4c9a2a 55%, #2f6b1d 100%); }
.sector--aqua     { background: linear-gradient(150deg, #6cc6f0 0%, #1f7fd1 55%, #144e9c 100%); }
.sector--more     { background: linear-gradient(150deg, #7aa2ff 0%, #3c4fd0 55%, #1d2a7a 100%); }

.sector__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: auto;
}

.sector__icon svg {
  width: 26px;
  height: 26px;
}

.sector h3 {
  font-size: 1.45rem;
  margin: 24px 0 8px;
}

.sector p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Apps */
.apps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.app {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 44px rgba(11, 26, 61, 0.16);
  transition: transform 0.3s, box-shadow 0.3s;
}

.app:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(11, 26, 61, 0.22);
}

.app__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.app__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.app:hover .app__media img {
  transform: scale(1.04);
}

.app__body {
  padding: 30px 32px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.app__body h3 {
  font-size: 1.6rem;
  margin: 14px 0 10px;
}

.app__body p {
  flex: 1;
}

.app__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.app__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.app__link .arrow {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  transition: transform 0.2s;
}

.app__link:hover .arrow {
  transform: translateX(4px);
}

.app--dark {
  background: #000;
  color: #fff;
}

.app--dark .app__body p { color: rgba(255, 255, 255, 0.72); }
.app--dark .app__tag { background: rgba(255, 255, 255, 0.12); color: #fff; }
.app--dark .app__link { color: #fff; }

.app--kids {
  background: linear-gradient(135deg, #fff7d6 0%, #ffe3f3 50%, #dff4ff 100%);
  color: var(--text);
}

.app--kids .app__body p { color: var(--muted); }
.app--kids .app__tag { background: linear-gradient(90deg, #ff4fb8, #ffb020); color: #fff; }
.app--kids h3 {
  background: linear-gradient(90deg, #1aa7ff, #ff4fb8 55%, #ff9f1a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.app--kids .app__link { color: #e8329b; }

.app__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.app__new {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
}

.app__new::before,
.announce__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
  100% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

.apps__more {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  padding: 30px 34px;
  border-radius: 22px;
  border: 1.5px dashed rgba(21, 101, 230, 0.35);
  background: rgba(255, 255, 255, 0.7);
}

.apps__more strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.apps__more p {
  margin: 0;
  color: var(--muted);
  max-width: 620px;
}

/* Hero announcement */
.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(17, 54, 120, 0.08);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.announce:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 54, 120, 0.14);
}

.announce__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.announce .arrow {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
  color: var(--primary);
  transition: transform 0.2s;
}

.announce:hover .arrow {
  transform: translateX(3px);
}

.hero__content .eyebrow-line {
  display: flex;
}

/* Technology */
.tech {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.tech__intro p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
}

.tech__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tech__grid li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.25s, border-color 0.25s;
}

.tech__grid li:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(20, 184, 196, 0.5);
}

.tech__grid strong {
  font-size: 1.08rem;
}

.tech__grid strong::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient);
  margin-bottom: 14px;
}

.tech__grid span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about__text p {
  color: var(--muted);
  font-size: 1.05rem;
}

.values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.values li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
}

.values strong {
  font-size: 1.08rem;
}

.values span {
  color: var(--muted);
  font-size: 0.93rem;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact__info > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 18px;
}

.contact__list li {
  display: flex;
  flex-direction: column;
}

.contact__list span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.contact__list a {
  font-weight: 700;
  font-size: 1.1rem;
}

.contact__list a:hover {
  color: var(--primary);
}

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  display: grid;
  gap: 18px;
  box-shadow: 0 20px 50px rgba(17, 54, 120, 0.1);
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.form input,
.form textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
  color: var(--text);
  font: inherit;
  font-weight: 400;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 101, 230, 0.12);
}

.form .is-invalid {
  border-color: #e5484d;
}

.form .btn {
  justify-self: start;
}

.form__status {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form__status.is-success { color: #16a34a; }
.form__status.is-error { color: #e5484d; }

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer .logo img {
  height: 26px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .sectors, .cards { grid-template-columns: repeat(2, 1fr); }
  .highlights { grid-template-columns: repeat(2, auto); row-gap: 22px; }
  .highlights li:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }

  .header { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border); }
  .menu-toggle { display: flex; }
  .header__cta { display: none; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    background: #fff;
    box-shadow: 0 20px 30px rgba(11, 26, 61, 0.1);
    transform: translateY(-130%);
    transition: transform 0.3s;
    z-index: -1;
  }

  .nav a { padding: 16px 24px; border-top: 1px solid var(--border); }
  .nav a::after { display: none; }
  .nav .nav__cta-mobile { display: block; color: var(--primary); font-weight: 700; }
  .nav.is-open { transform: translateY(0); }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__visual { margin: 0 -24px; }
  .hero__visual img { -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 12%, #000 92%, transparent 100%); mask-image: linear-gradient(0deg, transparent 0%, #000 12%, #000 92%, transparent 100%); }

  .tech, .about, .contact { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .apps { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin: 0 auto; }
  .section { padding: 80px 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .logo img { height: 28px; }
  .hero__visual { margin: 0 -16px; }
  .hero__cta .btn { width: 100%; }
  .highlights li { padding: 0 16px; }
  .cards, .sectors, .tech__grid, .values { grid-template-columns: 1fr; }
  .sector { min-height: 240px; }
  .form { padding: 24px; }
  .form .btn { justify-self: stretch; }
  .apps__more { padding: 24px; }
  .apps__more .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__visual img { animation: none; }
  .app__new::before, .announce__badge::before { animation: none; }
  * { transition: none !important; }
}
