:root {
  --text: #223356;
  --muted: #4a5d80;
  --soft: #5a6a88;
  --title: #29406b;
  --brand: #5aa890;
  --brand-hover: #4e9881;
  --card: rgba(255, 255, 255, 0.88);
  --line: #d7deeb;
  --shadow: 0 18px 40px rgba(59, 74, 109, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #f4f7fb 0%, #f7f9fc 38%, #edf2f8 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.hidden {
  display: none !important;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(232, 239, 248, 0.15));
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.brand-fallback {
  font-size: 2rem;
  font-weight: 600;
  color: var(--title);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav a {
  font-size: 0.96rem;
  font-weight: 600;
  color: #465777;
}

.main-nav a:hover {
  color: #20345d;
}

.language-switch {
  display: flex;
  align-items: center;
  border: 1px solid #d9e0ec;
  border-radius: 14px;
  padding: 0.25rem;
  background: #fff;
}

.language-switch span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8c95ab;
  padding: 0 0.45rem;
}

.language-switch button {
  border: 0;
  background: transparent;
  color: #8b93a8;
  font-weight: 700;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  cursor: pointer;
}

.language-switch button.is-active {
  background: #eef4fb;
  color: #2e416b;
}

.route-view {
  position: relative;
  z-index: 1;
}

.hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 18% 22%, rgba(115, 190, 167, 0.18) 0%, transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(82, 138, 219, 0.16) 0%, transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 247, 252, 0.96));
}

.hero-inner {
  padding: 4.2rem 0 4.6rem;
  max-width: 760px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

#hero-title {
  white-space: pre-line;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.14;
  color: var(--title);
}

#hero-lead {
  margin-top: 1.4rem;
  color: #445577;
  line-height: 1.85;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  margin-top: 1.6rem;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 22px rgba(90, 168, 144, 0.2);
}

.btn-primary:hover {
  background: var(--brand-hover);
}

.intro {
  text-align: center;
  padding: 2.8rem 0;
  color: #485978;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.7;
}

.intro-highlight {
  font-weight: 700;
  color: #2c3f6b;
}

.section {
  padding: 1.2rem 0 2.2rem;
}

.products-grid,
.team-grid,
.faq-grid {
  display: grid;
  gap: 1.1rem;
}

.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1rem;
}

.team-grid,
.faq-grid {
  margin-top: 1.2rem;
}

.product-card,
.team-card,
.faq-item,
.card-section,
.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.product-card {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(59, 74, 109, 0.16);
}

.card-accent {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 5px;
  opacity: 0.75;
}

.product-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.product-logo {
  height: 36px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
}

.product-card h3 {
  color: #334a78;
}

.product-card p {
  color: #4b5b7d;
  line-height: 1.75;
  min-height: 75px;
  margin-bottom: 0.6rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.chip {
  display: inline-flex;
  border: 1px solid #dce6f3;
  border-radius: 999px;
  background: #f6f9ff;
  color: #53719c;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
}

.read-more {
  display: inline-block;
  margin-top: auto;
  background: #3478d5;
  color: #fff;
  border-radius: 9px;
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  align-self: flex-start;
}

.cta-arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

.product-card:hover .cta-arrow {
  transform: translateX(3px);
}

.card-section {
  padding: 1.6rem;
}

.card-section h1,
.card-section h2 {
  color: var(--title);
}

.section-title {
  color: var(--title);
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.section-lead {
  margin: 0.35rem auto 0;
  max-width: 720px;
  color: #5e7191;
  font-size: 1.03rem;
  line-height: 1.7;
}

.centered {
  text-align: center;
}

.stack {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.stack p {
  color: var(--muted);
  line-height: 1.82;
}

.team-card {
  padding: 1.15rem;
}

.team-top {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #8dc9bb, #689fd3);
}

.team-card h3 {
  font-size: 1.25rem;
  color: var(--title);
}

.team-role {
  margin-top: 0.25rem;
  color: #6c86ad;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.8rem;
}

.team-area {
  margin-top: 0.65rem;
  display: inline-block;
  border: 1px solid #dce6f3;
  border-radius: 999px;
  background: #f6f9ff;
  color: #48658f;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
}

.team-bio {
  margin-top: 0.7rem;
  color: var(--muted);
  line-height: 1.8;
}

.narrow {
  max-width: 860px;
}

.contact-form {
  margin-top: 1rem;
  padding: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #314467;
  padding: 0.78rem 0.9rem;
  margin-bottom: 0.65rem;
  outline: none;
}

.contact-form textarea {
  background: #f8fbff;
}

.center {
  text-align: center;
}

.status {
  margin-top: 0.85rem;
  text-align: center;
  min-height: 1.2em;
}

.status.success {
  color: #4d8f7f;
}

.status.error {
  color: #7f5a5a;
}

.status.loading {
  color: #5e6f92;
}

.back-link {
  margin-top: 0.5rem;
  border: 0;
  background: transparent;
  color: #56739e;
  font-weight: 700;
  cursor: pointer;
}

.back-link:hover {
  color: var(--title);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b85ac;
}

.lead {
  margin-top: 0.8rem;
  font-size: 1.14rem;
  color: #445577;
  line-height: 1.8;
}

.actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.actions a,
.actions button {
  border: 1px solid #d7deeb;
  border-radius: 12px;
  background: #fff;
  color: #33507f;
  font-weight: 700;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
}

.faq-item {
  padding: 1rem;
}

.faq-item h3 {
  color: var(--title);
}

.faq-item p {
  margin-top: 0.5rem;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  padding: 1rem 0;
}

.footer-grid {
  display: grid;
  gap: 0.45rem;
  color: #5a6883;
  font-size: 0.88rem;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid div:nth-child(2) {
    text-align: center;
  }

  .footer-grid div:nth-child(3) {
    text-align: right;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
}
