:root {
  --bg: #f5fbfd;
  --bg-soft: #eef9fc;
  --surface: #ffffff;
  --surface-2: #f8fdff;
  --text: #122033;
  --text-soft: #4d647a;
  --line: rgba(18, 32, 51, 0.1);
  --primary: #58cfe6;
  --primary-dark: #28b8d6;
  --accent: #0f1f3a;
  --success: #2bb673;
  --shadow: 0 16px 40px rgba(18, 32, 51, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(88, 207, 230, 0.14), transparent 25%),
    linear-gradient(180deg, #f9fdff 0%, #f3fbfd 100%);
}

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

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

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}

.brand__text {
  font-size: 1.15rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text-soft);
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent);
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(88, 207, 230, 0.35);
  background: #fff;
  color: var(--accent);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  min-width: 84px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(88, 207, 230, 0.14);
}

.lang-switch__flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-switch__text {
  line-height: 1;
}

/* HERO */
.hero-section {
  padding: 5rem 0 3.5rem;
}

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

.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(88, 207, 230, 0.14);
  color: #1388a5;
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 760px;
}

.hero-text {
  margin: 0;
  max-width: 680px;
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 18px 30px rgba(88, 207, 230, 0.28);
}

.btn--secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--accent);
}

.trust-points {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.trust-points li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.trust-points li::before {
  content: "•";
  position: absolute;
  left: 0.35rem;
  top: 0;
  color: var(--primary-dark);
  font-weight: 900;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 390px);
  padding: 14px;
  border-radius: 42px;
  background: linear-gradient(180deg, #d7f6fb 0%, #ffffff 100%);
  box-shadow: 0 28px 60px rgba(18, 32, 51, 0.12);
  border: 1px solid rgba(88, 207, 230, 0.22);
}

.phone-frame img {
  border-radius: 32px;
  width: 100%;
  object-fit: cover;
}

/* SECTIONS */
.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(88, 207, 230, 0.07), rgba(88, 207, 230, 0.02));
  border-top: 1px solid rgba(18, 32, 51, 0.04);
  border-bottom: 1px solid rgba(18, 32, 51, 0.04);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.1;
}

.section-heading p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 1.03rem;
}

/* CARDS */
.info-cards,
.feature-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.info-card,
.feature-card,
.doc-card,
.mini-panel,
.contact-box,
.screen-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 32, 51, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.info-card,
.feature-card,
.doc-card,
.contact-box {
  padding: 1.5rem;
}

.info-card h3,
.feature-card h3,
.doc-card h2,
.contact-box h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.info-card p,
.feature-card p,
.doc-card p,
.doc-card li,
.contact-box li {
  color: var(--text-soft);
  line-height: 1.7;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(88, 207, 230, 0.12);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* SCREENS */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.screen-card {
  overflow: hidden;
  margin: 10px;
  text-align: center;
}

.screen-card img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.screen-card figcaption {
  padding: 1rem;
  color: var(--text-soft);
  font-weight: 600;
}

/* TRUST */
.trust-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.trust-links {
  display: grid;
  gap: 1rem;
}

.mini-panel {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem 1.3rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mini-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 207, 230, 0.35);
}

.mini-panel strong {
  font-size: 1.02rem;
}

.mini-panel span {
  color: var(--text-soft);
  line-height: 1.55;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-copy p {
  color: var(--text-soft);
  line-height: 1.75;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.contact-list a {
  display: inline-flex;
  width: fit-content;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(18, 32, 51, 0.08);
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--accent);
}

/* DOCS */
.page-main {
  min-height: calc(100vh - 160px);
}

.doc-page {
  padding: 3rem 0 5rem;
}

.doc-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.doc-header h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.doc-header p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.doc {
  max-width: 900px;
}

.doc--legal {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 32, 51, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.doc h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.doc h2 {
  margin-top: 2.3rem;
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-size: 1.35rem;
}

.doc p,
.doc li {
  color: var(--text-soft);
  line-height: 1.8;
}

.doc ul {
  padding-left: 1.2rem;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  padding: 2rem 0 1rem;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-grid p,
.footer-links a,
.footer-meta a {
  color: var(--text-soft);
  line-height: 1.7;
}

.footer-links,
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  padding: 1rem 0 2rem;
  color: var(--text-soft);
  border-top: 1px solid rgba(18, 32, 51, 0.06);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .screens-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .trust-block,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .info-cards,
  .feature-grid,
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 680px) {
  .hero-section {
    padding-top: 3rem;
  }

  .info-cards,
  .feature-grid,
  .support-grid,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .header-row {
    min-height: 70px;
  }

  .brand__logo {
    width: 36px;
    height: 36px;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .doc--legal {
    padding: 1.3rem;
  }
}


.lang-switcher {
  position: relative;
}

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

.lang-switch__chevron {
  font-size: 0.82rem;
  line-height: 1;
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  min-width: 220px;
  padding: 0.45rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(18, 32, 51, 0.08);
  box-shadow: 0 18px 40px rgba(18, 32, 51, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.lang-switch__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.8rem;
  border: 0;
  background: transparent;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
}

.lang-option:hover,
.lang-option.is-active {
  background: rgba(88, 207, 230, 0.12);
}

.lang-option__flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-option__content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.lang-option__code {
  font-weight: 800;
  line-height: 1.1;
}

.lang-option__name {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.2;
}
