:root {
  --color-primary: #1a77b3;
  --color-primary-light: #4da3d9;
  --color-text: #111111;
  --color-body: #555555;
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-border: rgba(17, 17, 17, 0.08);
  --shadow-soft: 0 22px 60px rgba(17, 17, 17, 0.08);
  --shadow-card: 0 16px 40px rgba(26, 119, 179, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Helvetica Neue", "Manrope", Arial, sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(77, 163, 217, 0.12), transparent 30%),
    linear-gradient(180deg, #fdfefe 0%, #ffffff 42%, #f8fafc 100%);
}

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

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-logo {
  width: 154px;
  height: auto;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  max-width: 260px;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.brand-copy small {
  color: var(--color-body);
  font-size: 0.82rem;
  line-height: 1.35;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--color-body);
  font-weight: 600;
  justify-content: flex-end;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-switch__select {
  min-width: 96px;
  min-height: 42px;
  padding: 0 38px 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-text);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.lang-switch::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-body);
  border-bottom: 2px solid var(--color-body);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-primary);
}

.hero,
.section {
  padding: 96px 0;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.72) 62%, rgba(255, 255, 255, 0.82) 100%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.1), rgba(248, 250, 252, 0.42)),
    url("./assets/hero-finance-network.jpg") center right / cover no-repeat;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.25rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.lead,
.section-heading p,
.service-card p,
.info-card p,
.contact-panel p,
.platform-card span,
.hero-card p,
.hero-points {
  color: var(--color-body);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 32px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
  cursor: pointer;
}

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

.button-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-card);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #0e5f90;
}

.button-secondary {
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: rgba(255, 255, 255, 0.85);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(26, 119, 179, 0.4);
  color: var(--color-primary);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li,
.service-card li {
  position: relative;
  padding-left: 18px;
}

.hero-points li::before,
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-primary-light);
}

.hero-panel {
  display: grid;
  gap: 20px;
}

.hero-card,
.info-card,
.service-card,
.platform-card,
.contact-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  padding: 28px;
}

.hero-card-primary {
  background:
    linear-gradient(135deg, rgba(26, 119, 179, 0.08), rgba(77, 163, 217, 0.14)),
    rgba(255, 255, 255, 0.96);
}

.hero-card span,
.platform-card strong,
.card-index {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.5rem;
  line-height: 1.2;
}

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

.hero-stats article {
  padding: 24px 18px;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--color-border);
  text-align: center;
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  color: var(--color-primary);
}

.hero-stats span {
  color: var(--color-body);
  font-weight: 600;
}

.section-light {
  background: rgba(248, 250, 252, 0.72);
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 42px;
}

.split-heading {
  grid-template-columns: 1fr 0.9fr;
  align-items: end;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.platform-card {
  padding: 28px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.info-card:hover,
.platform-card:hover {
  transform: translateY(-5px);
  background: var(--color-primary);
  color: white;
}

.platform-card {
  display: block;
}

.info-card:hover p,
.platform-card:hover span,
.info-card:hover .card-index,
.platform-card:hover strong,
.platform-card:hover .platform-meta,
.platform-card:hover .platform-logo-fallback {
  color: white;
}

.platform-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 48px;
  max-width: 190px;
  margin-bottom: 14px;
  object-fit: contain;
  object-position: left center;
}

.platform-logo-shell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 72px;
  margin-bottom: 14px;
}

.platform-logo-wide {
  max-width: 220px;
  max-height: 46px;
}

.platform-logo-tall {
  max-width: 150px;
  max-height: 58px;
}

.platform-logo-partner-badge {
  max-width: 112px;
  max-height: 58px;
}

.platform-logo-microsoft {
  max-width: 194px;
  max-height: 44px;
}

.platform-logo-oracle {
  max-width: 196px;
  max-height: 42px;
}

.platform-logo-zoho {
  max-width: 170px;
  max-height: 42px;
}

.platform-logo-xentral {
  max-width: 172px;
  max-height: 54px;
}

.platform-logo-compact {
  max-width: 88px;
  max-height: 24px;
}

.platform-logo-fallback {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 14px;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.platform-meta {
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
 }

.service-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 22px;
}

.service-card {
  padding: 28px;
}

.service-card.featured {
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(26, 119, 179, 0.08), rgba(255, 255, 255, 0.98)),
    white;
}

.service-card ul {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
  color: var(--color-body);
  line-height: 1.8;
}

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

.founder-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 36px;
  align-items: center;
}

.founder-portrait-wrap {
  position: relative;
}

.founder-portrait-wrap::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(26, 119, 179, 0.14), rgba(77, 163, 217, 0.05));
  z-index: 0;
}

.founder-portrait {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 420px;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.founder-copy p {
  color: var(--color-body);
  font-size: 1.06rem;
  line-height: 1.75;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px;
}

.button-social {
  border-color: rgba(26, 119, 179, 0.18);
  color: var(--color-primary);
  gap: 10px;
}

.button-social::before {
  content: "in";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #0a66c2;
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.site-imprint {
  padding: 0 0 40px;
}

.imprint-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  padding: 28px 32px;
}

.imprint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.imprint-label {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.imprint-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 18px;
}

.imprint-links a {
  color: var(--color-text);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
}

.imprint-links a:hover {
  color: var(--color-primary);
}

.imprint-entry {
  margin: 0;
  color: var(--color-body);
  line-height: 1.72;
}

.imprint-entry strong {
  color: var(--color-text);
}

.section-divider {
  width: min(85%, 1000px);
  height: 4px;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    rgba(26, 119, 179, 0),
    #1a77b3,
    #4da3d9,
    #1a77b3,
    rgba(26, 119, 179, 0)
  );
}

@media (max-width: 960px) {
  .hero-grid,
  .split-heading,
  .service-layout,
  .platform-grid,
  .founder-grid,
  .three-up,
  .contact-panel,
  .imprint-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-points,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  h1,
  h2 {
    max-width: none;
  }
}

@media (max-width: 1120px) {
  .brand-copy {
    max-width: 210px;
  }

  .brand-copy small {
    display: none;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.95rem;
  }
}

@media (max-width: 720px) {
  .nav {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    width: 128px;
  }

  .brand-copy {
    max-width: none;
  }

  .hero,
  .section {
    padding: 72px 0;
  }

  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero-card,
  .info-card,
  .service-card,
  .platform-card,
  .contact-panel,
  .founder-portrait {
    border-radius: 22px;
  }
}
