/* Layout */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 108px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand-logo {
  width: 168px;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.main-navigation a,
.login-link {
  color: #334155;
  font-size: 0.95rem;
  font-weight: 650;
  transition: color var(--transition);
}

.main-navigation a:hover,
.login-link:hover {
  color: var(--primary);
}

.header-actions,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 750;
}

.language-switcher button {
  padding: 4px;
  border: 0;
  background: transparent;
  color: #94a3b8;
}

.language-switcher button.is-active {
  color: var(--primary);
}

.mobile-menu-button {
  display: none;
}

.hero {
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(37, 99, 235, 0.11), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 74px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 32px;
  font-size: 1.2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-trust span::before {
  margin-right: 7px;
  color: var(--success);
  content: "✓";
}

.modules-section {
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading-left {
  margin-inline: 0;
  text-align: left;
}

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

.workflow-section {
  background: var(--surface-soft);
}

.workflow-panel {
  padding: 62px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: #fff;
  box-shadow: var(--shadow-small);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 42px;
  gap: 12px;
}

.cta-section {
  padding-top: 70px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 64px;
  overflow: hidden;
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 80% 10%, rgba(6, 182, 212, 0.35), transparent 28%),
    linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #0f69db 100%);
  color: #fff;
}

.cta-panel h2 {
  max-width: 720px;
  margin-bottom: 14px;
}

.cta-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  margin-top: 110px;
  padding: 76px 0 28px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 52px;
}

.footer-logo {
  width: 156px;
  max-height: 46px;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: left center;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid strong {
  margin-bottom: 6px;
}

.footer-grid a {
  color: var(--text-muted);
}

.footer-grid a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}
