:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-alt: #eef5fc;
  --text: #102033;
  --muted: #637083;
  --primary: #0b67b2;
  --primary-dark: #074d87;
  --border: #dbe6f2;
  --shadow: 0 20px 50px rgba(16, 32, 51, 0.1);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #ffffff 100%);
}

body.lightbox-open {
  overflow: hidden;
}

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

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

p {
  color: var(--muted);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.navbar, .section, .site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

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

.language-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.lang-btn {
  border: 0;
  padding: 4px 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
}

.lang-btn.active {
  color: var(--primary);
}

.section {
  padding: 84px 0;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: 18px;
}

.hero-actions, .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: #ffffff;
  background: var(--primary);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  color: var(--primary);
  background: #e9f3fc;
}

.hero-card, .card, .legal-card, .contact-card, details {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.06);
}

.hero-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-radius: 34px;
  text-align: center;
  background: radial-gradient(circle at top, #ffffff 0%, #eef6fd 68%, #e2eef9 100%);
  box-shadow: var(--shadow);
}

.hero-logo {
  width: min(260px, 70%);
  margin-bottom: 24px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.grid, .cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
  border-radius: var(--radius);
}

.screens-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1440px) / 2));
  padding-right: max(16px, calc((100% - 1440px) / 2));
  background: var(--surface-alt);
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(320px, 1fr));
  gap: 48px;
  justify-items: center;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
}

.phone-screenshot {
  width: min(100%, 540px);
  display: flex;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.phone-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 38px;
  filter: drop-shadow(0 30px 60px rgba(16, 32, 51, 0.25));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.phone-screenshot:hover img {
  transform: translateY(-6px) scale(1.02);
  filter: drop-shadow(0 36px 70px rgba(16, 32, 51, 0.3));
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  padding: 22px 26px;
  border-radius: 18px;
}

summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
}

details p {
  margin: 16px 0 0;
}

.legal-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #eaf4fd 100%);
}

.legal-links {
  justify-content: flex-end;
}

.contact-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 26px;
  text-align: center;
}

.contact-card p {
  margin-bottom: 10px;
}

.contact-card a {
  color: var(--primary);
  font-weight: 800;
}

.site-footer {
  padding: 30px 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.lightbox.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 26, 0.84);
  backdrop-filter: blur(10px);
}

.lightbox-modal {
  position: relative;
  z-index: 1;
  width: min(92vw, 760px);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 78px 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: rgba(245, 248, 252, 0.97);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.lightbox-image-wrap {
  width: min(100%, 540px);
  display: grid;
  justify-items: center;
  gap: 14px;
}

.lightbox-image-wrap img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border-radius: 38px;
  filter: drop-shadow(0 18px 44px rgba(16, 32, 51, 0.26));
}

.lightbox-image-wrap p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #102033;
  color: #ffffff;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.lightbox-close:hover {
  background: var(--primary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #102033;
  color: #ffffff;
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  background: var(--primary);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

@media (max-width: 1200px) {
  .phone-grid {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    max-width: 1120px;
  }

  .phone-screenshot {
    width: min(100%, 520px);
  }
}

@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }

  .nav-right {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero, .grid, .cards-grid, .legal-card {
    grid-template-columns: 1fr;
  }

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

  .phone-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }

  .phone-screenshot {
    width: min(100%, 500px);
  }

  .legal-links {
    justify-content: flex-start;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.lightbox.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 26, 0.84);
  backdrop-filter: blur(10px);
}

.lightbox-modal {
  position: relative;
  z-index: 1;
  width: min(94vw, 980px);
  max-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 96px 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: rgba(245, 248, 252, 0.97);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.lightbox-image-wrap {
  width: min(100%, 760px);
  display: grid;
  justify-items: center;
  gap: 16px;
}

.lightbox-image-wrap img {
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: 38px;
  filter: drop-shadow(0 18px 44px rgba(16, 32, 51, 0.26));
}

.lightbox-image-wrap p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #102033;
  color: #ffffff;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.lightbox-close:hover {
  background: var(--primary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: #102033;
  color: #ffffff;
  cursor: pointer;
  font-size: 46px;
  line-height: 1;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: var(--primary);
}

.lightbox-prev {
  left: 28px;
}

.lightbox-next {
  right: 28px;
}

@media (max-width: 900px) {
  .lightbox-modal {
    width: 94vw;
    max-height: 94vh;
    padding: 64px 74px 34px;
  }

  .lightbox-image-wrap {
    width: min(100%, 600px);
  }

  .lightbox-image-wrap img {
    max-height: 76vh;
  }

  .lightbox-prev {
    left: 16px;
  }

  .lightbox-next {
    right: 16px;
  }
}

@media (max-width: 700px) {
  .lightbox {
    padding: 14px;
  }

  .lightbox-modal {
    width: 94vw;
    max-height: 92vh;
    padding: 62px 18px 86px;
    border-radius: 26px;
  }

  .lightbox-image-wrap {
    width: min(100%, 420px);
  }

  .lightbox-image-wrap img {
    max-height: 70vh;
    border-radius: 32px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    width: 50px;
    height: 50px;
    font-size: 40px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 68px);
  }

  .lightbox-next {
    right: calc(50% - 68px);
  }
}

@media (max-width: 520px) {
  .navbar, .section, .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    gap: 34px;
  }

  .hero-actions, .legal-links {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .phone-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .phone-screenshot {
    width: min(100%, 390px);
  }
}