:root {
  --bg: #f6f9ff;
  --card: #ffffff;
  --text: #0b1b3f;
  --muted: #62708f;
  --blue: #0877e8;
  --blue-dark: #06194a;
  --border: rgba(8, 119, 232, 0.14);
  --shadow: 0 24px 70px rgba(7, 30, 82, 0.12);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(8, 119, 232, 0.16), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(255, 153, 0, 0.13), transparent 26rem),
    var(--bg);
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 18px clamp(18px, 5vw, 70px);
  backdrop-filter: blur(18px);
  background: rgba(246, 249, 255, 0.76);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover { color: var(--blue); }

.language-switcher {
  position: relative;
}

.language-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255,255,255,0.86);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.chevron {
  transform: translateY(-1px);
  color: var(--muted);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: 210px;
  max-height: 360px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow);
}

.language-switcher.open .language-menu {
  display: grid;
  gap: 2px;
}

.language-menu button {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  color: var(--text);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button.active {
  color: var(--blue);
  background: rgba(8, 119, 232, 0.08);
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 80px clamp(18px, 5vw, 70px) 50px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 { margin-bottom: 10px; font-size: 22px; }

.hero-text,
.section-heading p,
.about-text,
.cta p,
.app-card p,
.value p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 17px;
}

.hero-text {
  max-width: 720px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover { transform: translateY(-2px); }

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: 0 16px 36px rgba(8, 119, 232, 0.28);
}

.button.secondary {
  color: var(--blue-dark);
  background: white;
  border: 1px solid var(--border);
}

.hero-card {
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 54px);
  min-height: 460px;
  border: 1px solid var(--border);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: min(100%, 420px);
  border-radius: 34px;
}

.section {
  padding: 72px clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.app-card,
.value,
.cta {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 42px rgba(7, 30, 82, 0.07);
}

.app-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 26px;
  border-radius: var(--radius);
}

.app-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  font-size: 24px;
  font-weight: 900;
}

.app-card p { margin-bottom: 22px; }

.app-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 800;
}

.about {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  align-items: start;
}

.about-text { max-width: 850px; }

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

.value {
  padding: 26px;
  border-radius: var(--radius);
}

.value span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.cta {
  margin: 50px clamp(18px, 5vw, 70px) 72px;
  padding: clamp(34px, 6vw, 72px);
  border-radius: 40px;
  text-align: center;
}

.cta p { margin-bottom: 28px; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 70px);
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .hero,
  .about {
    grid-template-columns: 1fr;
  }

  .hero-card { min-height: auto; }

  .apps-grid,
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 14px;
  }

  .brand span {
    display: none;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
  }

  .language-button {
    max-width: 190px;
  }

  #currentLanguage {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .language-menu {
    right: 0;
    width: min(86vw, 240px);
  }

  .hero {
    padding-top: 50px;
  }

  .apps-grid,
  .values {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
