﻿@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
  --text: #10242b;
  --text-soft: #4a666f;
  --primary: #0f8b8d;
  --primary-dark: #0b6266;
  --accent: #3a8fdc;
  --gold: #f3b33f;
  --bg: #f5f7fa;
  --bg-alt: #ffffff;
  --card-surface: #ffffff;
  --stroke: #e3e9ef;
  --shadow: 0 24px 60px rgba(16, 36, 43, 0.12);
  --radius: 22px;
  --scroll-offset: 30px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: var(--scroll-offset);
}

body {
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(16, 36, 43, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 36, 43, 0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(12px) rotate(1deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-soft {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.04);
  }
}

@keyframes lineGrow {
  from {
    transform: scaleX(0.35);
    opacity: 0.4;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

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

.container {
  width: min(1320px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 5;
  background: transparent;
  border-bottom: none;
  transition: background 0.25s ease;
}

.site-header.is-scrolled {
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  margin: 16px auto;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid rgba(227, 233, 239, 0.7);
  box-shadow: 0 10px 30px rgba(16, 36, 43, 0.12);
  backdrop-filter: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled .header-inner {
  background: var(--bg);
  box-shadow: 0 8px 24px rgba(16, 36, 43, 0.12);
  border-color: rgba(227, 233, 239, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.7);
  animation: pulse 3.8s ease-in-out infinite;
}

.brand-name {
  font-size: 1.05rem;
  transition: opacity 0.35s ease, transform 0.35s ease, max-width 0.35s ease, letter-spacing 0.35s ease;
  transform-origin: left center;
  white-space: nowrap;
  color: var(--text);
}

.site-header.is-scrolled .brand-name {
  opacity: 0;
  transform: translateX(-12px) scale(0.92);
  letter-spacing: -0.4px;
  max-width: 0;
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav a,
.nav summary {
  padding: 6px 4px;
  cursor: pointer;
  color: var(--text);
  transition: color 0.2s ease;
}

.nav-demo-link {
  display: none;
}

.nav a:hover,
.nav summary:hover {
  color: var(--primary);
}

.nav details {
  position: relative;
}

.nav summary {
  list-style: none;
}

.nav summary::-webkit-details-marker {
  display: none;
}

.dropdown {
  position: absolute;
  top: 140%;
  left: 0;
  background: var(--bg-alt);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 8px;
  min-width: 220px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.nav details[open] .dropdown,
.nav details:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown a {
  padding: 6px 8px;
  border-radius: 10px;
  color: var(--text);
}

.dropdown a:hover {
  background: rgba(15, 139, 141, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: var(--bg);
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 28, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 4;
}

body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 16px 40px rgba(15, 139, 141, 0.3);
}

.header-inner > .btn.primary {
  padding: 13px 28px;
  border-radius: 999px;
}

.btn.ghost {
  border-color: rgba(16, 36, 43, 0.2);
  background: white;
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(16, 36, 43, 0.16);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.lead {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

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

.metric {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.metric-label {
  display: block;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}

.hero-image {
  position: absolute;
  width: min(480px, 90vw);
  top: -40px;
  right: -20px;
  opacity: 0.9;
  filter: drop-shadow(0 24px 40px rgba(16, 36, 43, 0.12));
  animation: drift 12s ease-in-out infinite;
  pointer-events: none;
}

.hero-panel {
  position: relative;
  z-index: 1;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 26px;
  width: min(420px, 90vw);
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.chip {
  background: rgba(15, 139, 141, 0.12);
  color: var(--primary-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
}

.panel-chart {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.panel-chart .line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform-origin: left;
  animation: lineGrow 1.4s ease forwards;
  opacity: 0.5;
}

.panel-chart .line:nth-child(2) {
  width: 80%;
  animation-delay: 0.15s;
}

.panel-chart .line:nth-child(3) {
  width: 65%;
  animation-delay: 0.3s;
}

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

.kpi {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.kpi-label {
  display: block;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.hero-orbit {
  position: absolute;
  inset: -40px;
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
  background: radial-gradient(circle at 30% 30%, rgba(15, 139, 141, 0.22), transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(58, 143, 220, 0.2), transparent 55%);
  z-index: -1;
  animation: spin 36s linear infinite;
}

.section {
  padding: 70px 0;
}

.page-main {
  padding-top: 10px;
}

.page-hero {
  padding: 110px 0 30px;
}

.page-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin: 8px 0 14px;
  color: var(--text);
}

.page-hero p {
  max-width: 880px;
  color: var(--text-soft);
  font-size: 1.02rem;
}

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

.page-card,
.legal-card {
  background: var(--bg-alt);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(16, 36, 43, 0.06);
}

.page-card h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.page-card p {
  color: var(--text-soft);
  margin-bottom: 12px;
}

.page-subtitle {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  margin: 14px 0 10px;
}

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

.cert-group {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px;
  background: rgba(15, 139, 141, 0.04);
}

.cert-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cert-badge {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: #fff;
  object-fit: cover;
  flex-shrink: 0;
}

.cert-group h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.98rem;
  margin-bottom: 0;
}

.cert-group .page-list {
  margin: 0;
}

.page-list,
.legal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.page-list li,
.legal-list li {
  margin-bottom: 8px;
}

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

.mini-step {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 16px;
  background: rgba(15, 139, 141, 0.04);
}

.mini-step-number {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  color: var(--primary);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.mini-step h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.mini-step p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

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

.legal-section h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.legal-section p {
  color: var(--text-soft);
  margin-bottom: 10px;
}

.legal-section:last-child p:last-child {
  margin-bottom: 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.section-title {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-soft);
}

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

.solution-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 28px 28px 26px;
  border: 1px solid #edf1f6;
  box-shadow: 0 14px 32px rgba(16, 36, 43, 0.08);
  transition: transform 0.6s ease, box-shadow 0.6s ease, border-color 0.6s ease, background 0.6s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(16, 36, 43, 0.16);
  border-color: rgba(15, 139, 141, 0.45);
}

.solution-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  right: -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  opacity: 0;
  transform: scaleX(0.1);
  transform-origin: left;
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

.solution-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(15, 139, 141, 1), rgba(58, 143, 220, 1));
  color: #ffffff;
  margin-bottom: 18px;
  box-shadow: 0 14px 26px rgba(15, 139, 141, 0.25);
  transition: transform 0.6s ease, box-shadow 0.6s ease, background 0.6s ease;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.solution-card:hover .service-icon {
  transform: translateY(-6px) rotate(-8deg) scale(1.06);
  box-shadow: 0 18px 34px rgba(15, 139, 141, 0.35);
}

.solution-card::before,
.service-card::before,
.news-card::before,
.platform-card::before,
.stat-card::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(58, 143, 220, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.solution-card:hover::before,
.service-card:hover::before,
.news-card:hover::before,
.platform-card:hover::before,
.stat-card:hover::before {
  opacity: 0.8;
}

.solution-card > *,
.service-card > *,
.news-card > *,
.platform-card > *,
.stat-card > * {
  position: relative;
  z-index: 1;
}

.solution-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: var(--bg);
  border-radius: 18px;
  padding: 10px;
  margin-bottom: 16px;
}

.solution-card h3 {
  font-family: 'Sora', sans-serif;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.solution-card p {
  color: var(--text-soft);
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.service-tag {
  background: rgba(15, 139, 141, 0.12);
  color: rgba(15, 139, 141, 1);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: background 0.6s ease, color 0.6s ease, transform 0.6s ease;
}

.solution-card:hover .service-tag {
  background: rgba(15, 139, 141, 1);
  color: #ffffff;
  transform: translateY(-2px);
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(243, 179, 63, 0.2);
  color: #8b5c0b;
  font-weight: 600;
  font-size: 0.8rem;
}

.feature-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse .feature-copy {
  direction: ltr;
}

.feature-copy h2 {
  font-family: 'Sora', sans-serif;
  margin-bottom: 14px;
}

.feature-copy p {
  color: var(--text-soft);
  margin-bottom: 16px;
}

.link {
  color: var(--primary);
  font-weight: 600;
}

.feature-visual {
  height: 220px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.2), rgba(58, 143, 220, 0.25));
  border: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.feature-block:hover .feature-visual img {
  transform: scale(1.03);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.platform-copy h2 {
  font-family: 'Sora', sans-serif;
  margin-bottom: 14px;
}

.platform-copy p {
  color: var(--text-soft);
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.platform-visual {
  display: grid;
  gap: 18px;
}

.platform-illustration {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: var(--bg-alt);
  padding: 10px;
  box-shadow: 0 18px 40px rgba(16, 36, 43, 0.12);
}

.platform-card {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--stroke);
  box-shadow: 0 12px 30px rgba(16, 36, 43, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(16, 36, 43, 0.16);
}

.platform-card h3 {
  font-family: 'Sora', sans-serif;
  margin: 10px 0 6px;
}

.platform-card p {
  color: var(--text-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--card-surface);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--stroke);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16, 36, 43, 0.14);
}

.service-card h3 {
  font-family: 'Sora', sans-serif;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-soft);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.market-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--bg-alt);
  border: 1px solid var(--stroke);
  min-height: 196px;
  display: grid;
  place-items: center;
  color: var(--text-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.market-card::after {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.market-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 139, 141, 0.35);
  box-shadow: 0 18px 40px rgba(16, 36, 43, 0.12);
}

.market-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.market-face {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.market-front {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.market-back {
  position: absolute;
  inset: 18px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.market-card:hover .market-front,
.market-card:focus-within .market-front {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
}

.market-card:hover .market-back,
.market-card:focus-within .market-back {
  opacity: 1;
  transform: translateY(0);
}

.market-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 139, 141, 0.24);
}

.market-icon i {
  font-size: 1.05rem;
}

.market-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  color: var(--text);
  margin: 0;
}

.market-card p {
  margin: 0;
}

.market-chip {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(15, 139, 141, 0.12);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

@media (hover: none) {
  .market-card {
    min-height: auto;
    place-items: stretch;
    text-align: left;
    gap: 12px;
  }

  .market-front {
    justify-items: start;
  }

  .market-back {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    align-content: start;
    justify-items: start;
    gap: 10px;
    inset: auto;
  }
}

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

.stat-card {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--stroke);
  position: relative;
  overflow: hidden;
}

.stat-value {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.stat-label {
  color: var(--text-soft);
}

.partners {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  color: var(--text-soft);
  font-weight: 600;
  text-align: center;
  padding: 10px 0;
}

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

.news-card {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--stroke);
  display: grid;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16, 36, 43, 0.12);
}

.news-card h3 {
  font-family: 'Sora', sans-serif;
}

.news-card p {
  color: var(--text-soft);
}

.news-date {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.contact-intro {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 48px;
}

.contact-intro h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  margin-bottom: 22px;
}

.contact-intro h2::after {
  content: '';
  display: block;
  width: 78px;
  height: 4px;
  border-radius: 999px;
  margin: 14px auto 0;
  background: var(--primary);
}

.contact-intro p {
  color: var(--text);
  font-size: 1.03rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: stretch;
}

.contact-copy {
  display: flex;
  flex-direction: column;
}

.contact-copy h2 {
  font-family: 'Sora', sans-serif;
  margin-bottom: 18px;
}

.contact-copy h2::after {
  content: '';
  display: block;
  width: 90px;
  height: 4px;
  border-radius: 999px;
  margin-top: 12px;
  background: var(--primary);
}

.contact-copy p {
  color: var(--text-soft);
  margin-bottom: 20px;
}

.contact-info {
  display: grid;
  gap: 12px;
}

.contact-roadmap {
  margin-top: 28px;
  flex: 1;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: var(--bg-alt);
  box-shadow: none;
}

.contact-roadmap h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.contact-roadmap > p {
  color: var(--text-soft);
  margin-bottom: 18px;
}

.roadmap-list {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

.roadmap-step {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  box-shadow: 0 10px 18px rgba(15, 139, 141, 0.25);
}

.roadmap-item h4 {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  margin-bottom: 4px;
}

.roadmap-item p {
  color: var(--text-soft);
  font-size: 0.98rem;
}

.roadmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.roadmap-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 139, 141, 0.12);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.84rem;
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.contact-value {
  font-weight: 600;
}

.contact-form {
  background: var(--card-surface);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--stroke);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.contact-form-head {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 6px;
}

.contact-form-head h2,
.contact-form-head h3 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 2.3rem);
  margin-bottom: 12px;
}

.contact-form-head p {
  color: var(--text-soft);
}

input,
textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e4e8ee;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  box-shadow: 0 1px 4px rgba(16, 36, 43, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(16, 36, 43, 0.5);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(15, 139, 141, 0.4);
  border-color: var(--primary);
}

textarea {
  min-height: 180px;
  resize: vertical;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.hidden-trap {
  display: none;
}

.field.invalid input,
.field.invalid textarea,
.field.invalid select {
  border-color: rgba(26, 143, 59, 0.6);
  box-shadow: 0 0 0 2px rgba(26, 143, 59, 0.12);
}

select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e4e8ee;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234a666f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  grid-column: 1 / -1;
}

.form-success {
  font-size: 0.85rem;
  color: #1a8f3b;
  grid-column: 1 / -1;
  text-align: center;
}

.form-error {
  font-size: 0.85rem;
  color: #b42318;
  grid-column: 1 / -1;
  text-align: center;
}

.contact-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  padding: 60px 0 26px;
  background: var(--bg);
  color: var(--text-soft);
  border-top: none;
  font-size: 14px;
  line-height: 1.6;
}

.footer-main {
  display: grid;
  grid-template-columns: 4fr 1fr 2fr 2fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: none;
}

.footer-brand-col {
  max-width: 460px;
}

.footer-spacer {
  min-height: 1px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Sora', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-brand .brand-mark {
  animation: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.footer-brand-text {
  letter-spacing: 0.01em;
}

.footer-slogan {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-contact strong {
  color: var(--text);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(95, 112, 126, 0.4);
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.social-link .bi {
  font-size: 20px;
  line-height: 1;
}

.social-link:hover {
  color: var(--primary);
  border-color: rgba(15, 139, 141, 0.52);
  background: rgba(15, 139, 141, 0.05);
  transform: translateY(-2px);
}

.footer-links-col h4 {
  color: var(--text);
  margin-bottom: 14px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-links-col a {
  display: block;
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links-col a:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.footer-legal {
  display: flex;
  justify-content: center;
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--text);
}

.footer-legal strong {
  font-weight: 700;
}

.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 32px rgba(15, 139, 141, 0.28);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 20;
}

body.nav-open .scroll-top {
  opacity: 0;
  pointer-events: none;
}

.scroll-top:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 22px 40px rgba(15, 139, 141, 0.36);
}

.scroll-top.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: pulse-soft 2.8s ease-in-out infinite;
}

.scroll-top .bi {
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.scroll-top:hover .bi {
  transform: translateY(-2px);
}

.d-flex {
  display: inline-flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.float {
  animation: float 7s ease-in-out infinite;
}

.float.slow {
  animation-duration: 9s;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}

.reveal[data-anim="left"] {
  transform: translateX(-28px);
}

.reveal[data-anim="right"] {
  transform: translateX(28px);
}

.reveal[data-anim="zoom"] {
  transform: scale(0.96);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal.in-view[data-anim="left"],
.reveal.in-view[data-anim="right"] {
  transform: translateX(0);
}

.reveal.in-view[data-anim="zoom"] {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
  }
  .btn {
    transition: none;
  }
  .float,
  .hero-orbit,
  .hero-image,
  .brand-mark,
  .scroll-top {
    animation: none !important;
  }
  .panel-chart .line {
    animation: none;
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (max-width: 1024px) {
  .footer-spacer {
    display: none;
  }

  .site-header {
    position: fixed;
    top: 12px;
    left: 0;
    width: 100%;
    z-index: 30;
  }

  .site-header.is-scrolled {
    top: 22px;
  }

  .header-inner {
    position: relative;
    margin: 0 auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(72vh, 420px);
    overflow-y: auto;
    background: var(--bg);
    border: 1px solid rgba(227, 233, 239, 0.85);
    border-radius: 24px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.28s ease;
    box-shadow: 0 16px 36px rgba(16, 36, 43, 0.16);
    z-index: 6;
  }

  body.nav-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a,
  .nav summary {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .nav a:hover,
  .nav summary:hover {
    background: rgba(15, 139, 141, 0.08);
  }

  .nav-demo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 12px 20px !important;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 24px rgba(15, 139, 141, 0.24);
  }

  .nav a.nav-demo-link:hover {
    background: linear-gradient(120deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    box-shadow: 0 16px 28px rgba(15, 139, 141, 0.3);
  }

  .nav details {
    width: 100%;
  }

  .dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 1px solid rgba(227, 233, 239, 0.8);
    border-radius: 12px;
    padding: 8px;
    margin-top: 4px;
    background: #fff;
  }

  .dropdown a {
    padding: 8px 10px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .feature-block,
  .platform-grid,
  .contact-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .feature-block.reverse {
    direction: ltr;
  }

  .solutions-grid,
  .services-grid,
  .market-grid,
  .stats-grid,
  .partners,
  .news-grid,
  .footer-main {
    grid-template-columns: 1.3fr 1fr;
  }

  .mini-steps {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 721px) and (max-width: 1024px) {
  .hero {
    padding-top: 124px;
  }

  .page-hero {
    padding-top: 132px;
  }

  .menu-toggle {
    display: none;
  }

  .site-header .btn.primary {
    display: inline-flex;
  }

  .header-inner {
    padding: 10px 14px;
    gap: 12px;
  }

  .header-inner > .btn.primary {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .nav {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 14px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    z-index: auto;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
  }

  body.nav-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav a,
  .nav summary {
    padding: 6px 4px;
    border-radius: 0;
  }

  .nav a:hover,
  .nav summary:hover {
    background: transparent;
    color: var(--primary);
  }

  .nav-demo-link {
    display: none;
  }

  .dropdown {
    position: absolute;
    top: 140%;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    box-shadow: var(--shadow);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 12px;
    margin-top: 0;
    background: var(--bg-alt);
  }

  .nav details[open] .dropdown,
  .nav details:hover .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .dropdown a {
    padding: 6px 8px;
  }

  .nav-overlay {
    display: none;
  }

  body.nav-open {
    overflow: auto !important;
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    padding: 10px 14px;
    margin: 0 auto;
    gap: 10px;
  }

  .site-header .btn.primary {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
    width: 40px;
    height: 40px;
  }

  .brand {
    gap: 8px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .nav {
    top: calc(100% + 8px);
    padding: 12px;
    border-radius: 18px;
  }

  .scroll-top {
    width: 40px;
    height: 40px;
    right: calc(env(safe-area-inset-right) + 28px);
    bottom: calc(env(safe-area-inset-bottom) + 18px);
  }

  .scroll-top .bi {
    font-size: 1.15rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    overflow-x: hidden;
    padding-top: 86px;
  }

  .hero-visual {
    overflow: hidden;
    min-height: 330px;
  }

  .contact-intro {
    margin-bottom: 34px;
  }

  .contact-intro p {
    font-size: 0.97rem;
  }

  .contact-form-head h2,
  .contact-form-head h3 {
    font-size: 1.75rem;
  }

  .contact-roadmap {
    padding: 20px;
  }

  .roadmap-item {
    grid-template-columns: 40px 1fr;
    gap: 10px;
  }

  .cert-groups {
    grid-template-columns: 1fr;
  }

  .roadmap-step {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 0.82rem;
  }

  .page-hero {
    padding: 92px 0 24px;
  }

  .page-card,
  .legal-card {
    padding: 22px;
  }

  .hero-image {
    width: min(330px, 84vw);
    top: -20px;
    right: 0;
  }

  .hero-orbit {
    inset: -16px;
  }

  .solutions-grid,
  .services-grid,
  .market-grid,
  .stats-grid,
  .partners,
  .news-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-spacer {
    display: none;
  }

  .footer-legal {
    justify-content: flex-start;
    text-align: left;
    font-size: 14px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}
