:root {
  --color-navy: #081a34;
  --color-blue: #0f3d68;
  --color-cyan: #09aeca;
  --color-cyan-dark: #087c92;
  --color-slate: #4d6076;
  --color-muted: #718197;
  --color-line: #dce6ef;
  --color-soft: #f4f8fb;
  --color-white: #ffffff;
  --shadow-soft: 0 20px 55px rgba(9, 33, 62, 0.12);
  --shadow-card: 0 14px 34px rgba(8, 26, 52, 0.09);
  --radius-card: 8px;
  --radius-button: 8px;
  --max-width: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--color-navy);
  background:
    radial-gradient(circle at top left, rgba(9, 174, 202, 0.12), transparent 34rem),
    linear-gradient(180deg, #f8fbfd 0%, #ffffff 28rem);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(9, 174, 202, 0.2);
}

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

.section {
  padding: 96px 0;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius-button);
  color: var(--color-white);
  background: var(--color-navy);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(220, 230, 239, 0.84);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--color-navy);
}

.brand-logo {
  display: block;
  width: 225px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 650;
  color: var(--color-slate);
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--color-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

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

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-white);
}

.lang-btn {
  min-width: 40px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--color-slate);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 800;
}

.lang-btn.active {
  color: var(--color-white);
  background: var(--color-navy);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-navy), var(--color-blue));
  box-shadow: 0 14px 26px rgba(8, 26, 52, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 34px rgba(8, 26, 52, 0.28);
}

.button-secondary {
  color: var(--color-navy);
  border-color: var(--color-line);
  background: rgba(255, 255, 255, 0.86);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-button);
  background: var(--color-white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--color-navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 86px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-cyan-dark);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.35rem, 4.65vw, 4.82rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 710px;
  margin: 26px 0 0;
  color: var(--color-slate);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

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

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  inset: -24px;
  z-index: -1;
  border: 1px solid rgba(9, 174, 202, 0.18);
  border-radius: 8px;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 174, 202, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(9, 174, 202, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: rotate(-2deg);
}

.dashboard-panel {
  overflow: hidden;
  border: 1px solid rgba(220, 230, 239, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.panel-header {
  display: flex;
  gap: 7px;
  padding: 18px;
  border-bottom: 1px solid var(--color-line);
}

.panel-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--color-line);
}

.panel-header span:first-child {
  background: var(--color-cyan);
}

.signal-card {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--color-line);
}

.metric-label {
  display: block;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.signal-card strong {
  display: block;
  margin-top: 8px;
  font-size: 2.35rem;
  line-height: 1;
}

.signal-card svg {
  width: 100%;
  min-height: 76px;
}

.signal-card path {
  fill: none;
  stroke: var(--color-cyan);
  stroke-linecap: round;
  stroke-width: 5;
  stroke-dasharray: 290;
  animation: drawLine 2.6s ease forwards;
}

.workflow-stack {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.workflow-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--color-slate);
  font-weight: 750;
}

.workflow-item b {
  color: var(--color-cyan-dark);
}

.icon-chip {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--color-white);
  background: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 900;
}

.logo-band {
  padding: 22px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.72);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: center;
  color: var(--color-slate);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.section-heading {
  max-width: 820px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--color-slate);
  font-size: 1.04rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.product-card,
.why-card,
.legal-card,
.contact-form {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 28px;
}

.product-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.product-logo-light {
  background: linear-gradient(180deg, #ffffff, #f7fbfe);
}

.product-logo img {
  width: 100%;
  max-width: 230px;
  max-height: 64px;
  object-fit: contain;
}

.product-logo-dark img {
  max-height: 58px;
}

.signal-card p {
  margin: 10px 0 0;
  color: var(--color-slate);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.45;
}

.product-card h3,
.why-card h3,
.legal-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.product-card p,
.why-card p,
.legal-card,
.contact-copy p,
.site-footer p,
.site-footer a {
  color: var(--color-slate);
}

.product-card p {
  flex: 1;
  margin: 16px 0 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  color: var(--color-cyan-dark);
  font-weight: 900;
}

.text-link::after {
  content: "->";
  transition: transform 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(4px);
}

.about-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: start;
}

.legal-card {
  padding: 28px;
}

.legal-card dl {
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
}

.legal-card dl div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-line);
}

.legal-card dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-card dt {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.legal-card dd {
  margin: 4px 0 0;
  color: var(--color-navy);
  font-weight: 850;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.why-card {
  padding: 24px;
}

.card-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--color-cyan-dark);
  font-size: 0.82rem;
  font-weight: 950;
}

.why-card p {
  margin: 14px 0 0;
}

.faq-section {
  background: #ffffff;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 42px;
}

.faq-item {
  padding: 24px 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: #fbfdff;
}

.faq-item h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: 1.12rem;
  line-height: 1.3;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--color-slate);
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(8, 26, 52, 0.96), rgba(15, 61, 104, 0.94)),
    radial-gradient(circle at 80% 20%, rgba(9, 174, 202, 0.22), transparent 28rem);
  color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.72fr);
  gap: 62px;
  align-items: start;
}

.contact-copy .eyebrow {
  color: #72e2ef;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1.04;
}

.contact-copy p {
  max-width: 590px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.email-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--color-white);
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

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

.field label {
  color: var(--color-navy);
  font-size: 0.9rem;
  font-weight: 850;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-button);
  color: var(--color-navy);
  background: #fbfdff;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.phone-control {
  position: relative;
  display: grid;
  grid-template-columns: minmax(132px, 0.42fr) 1fr;
  gap: 10px;
}

.country-code-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  width: 100%;
  padding: 0 13px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-button);
  color: var(--color-navy);
  background: #fbfdff;
  font-weight: 850;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.country-code-button:hover,
.country-code-button:focus-visible {
  border-color: var(--color-cyan);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(9, 174, 202, 0.12);
}

.country-code-current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-muted);
  border-bottom: 2px solid var(--color-muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.country-code-button[aria-expanded="true"] .select-arrow {
  transform: translateY(2px) rotate(225deg);
}

.country-code-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  display: grid;
  width: min(100%, 360px);
  max-height: 236px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.country-code-list[hidden] {
  display: none;
}

.country-code-option {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: var(--color-slate);
  background: transparent;
  text-align: left;
}

.country-code-option:hover,
.country-code-option:focus-visible,
.country-code-option[aria-selected="true"] {
  color: var(--color-navy);
  background: #edf7fb;
  outline: 0;
}

.country-code-option span:last-child {
  color: var(--color-cyan-dark);
  font-weight: 900;
}

.field input {
  min-height: 48px;
  padding: 0 14px;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
  padding: 12px 14px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--color-cyan);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(9, 174, 202, 0.12);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--color-cyan-dark);
  font-weight: 850;
}

.site-footer {
  padding: 58px 0 24px;
  background: #f7fafc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 1fr 0.85fr;
  gap: 38px;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--color-cyan-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(9, 174, 202, 0.45);
  outline-offset: 3px;
}

@keyframes drawLine {
  from {
    stroke-dashoffset: 290;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .header-cta {
    display: none;
  }

  .primary-nav {
    gap: 18px;
  }

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

  .hero-visual {
    max-width: 620px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .why-grid,
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

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

  .section {
    padding: 70px 0;
  }

  .site-header {
    min-height: var(--header-height);
  }

  .header-shell {
    min-height: var(--header-height);
  }

  .brand {
    max-width: calc(100vw - 150px);
  }

  .brand-logo {
    width: 188px;
    max-height: 44px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .menu-toggle:focus-visible,
  .lang-btn:focus-visible {
    outline-offset: -4px;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--color-line);
    background: var(--color-white);
    box-shadow: none;
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-line);
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11.5vw, 3.08rem);
  }

  .hero-actions,
  .footer-bottom {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual::before {
    inset: 0;
  }

  .signal-card {
    grid-template-columns: 1fr;
  }

  .workflow-item {
    grid-template-columns: 40px 1fr;
  }

  .workflow-item b {
    display: none;
  }

  .focus-grid,
  .why-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .phone-control {
    grid-template-columns: 1fr;
  }

  .country-code-list {
    width: 100%;
  }

  .product-card,
  .why-card,
  .faq-item,
  .legal-card,
  .contact-form {
    padding: 22px;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    width: 158px;
  }

  .language-switcher {
    padding: 3px;
  }

  .lang-btn {
    min-width: 34px;
    min-height: 32px;
  }
}
