:root {
  --bg-page: #eaf3fc;
  --bg-page-end: #d7e8f8;
  --bg-dark: #071726;
  --bg-dark-end: #0a2238;
  --primary: #185fa5;
  --primary-light: #378add;
  --primary-bright: #5aa3ec;
  --text: #042c53;
  --text-muted: #5e7c9c;
  --text-faint: #90a8c2;
  --text-on-dark: #eaf2fb;
  --card: rgba(255, 255, 255, 0.78);
  --card-border: rgba(255, 255, 255, 0.82);
  --hairline: rgba(9, 46, 89, 0.08);
  --shadow: 0 18px 55px rgba(24, 95, 165, 0.14);
  --shadow-card: 0 4px 24px rgba(9, 46, 89, 0.08);
  --radius: 20px;
  --radius-lg: 28px;
  --dot: rgba(24, 95, 165, 0.1);
  --dot-dark: rgba(255, 255, 255, 0.07);
  --green: #1e9e63;
  --max: 1120px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: 4.85rem;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-page-end) 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 960px) {
  body { padding-top: 5.35rem; }
}

.dot-grid {
  background-image: radial-gradient(circle, var(--dot) 1.15px, transparent 1.15px);
  background-size: 24px 24px;
}

.dot-grid-dark {
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(55, 138, 221, 0.14), transparent 70%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-end) 100%),
    radial-gradient(circle, var(--dot-dark) 1.15px, transparent 1.15px);
  background-size: auto, auto, 24px 24px;
  color: var(--text-on-dark);
}

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

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

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

.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.75rem 0.85rem 0;
  background: transparent;
  border: none;
  pointer-events: none;
}

.glass-nav > .container {
  pointer-events: auto;
}

@media (min-width: 960px) {
  .glass-nav { padding: 1rem 1.25rem 0; }
}

.site-nav {
  position: relative;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(9, 46, 89, 0.09);
  border-radius: 999px;
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow:
    0 2px 8px rgba(9, 46, 89, 0.05),
    0 14px 40px rgba(9, 46, 89, 0.1);
  padding: 0.35rem 0.45rem 0.35rem 0.55rem;
}

@media (min-width: 960px) {
  .site-nav { padding: 0.42rem 0.55rem 0.42rem 0.7rem; }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.1rem;
}

@media (min-width: 960px) {
  .nav-inner { min-height: 3.35rem; gap: 1rem; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
}

@media (min-width: 960px) {
  .brand { flex: 0 1 auto; }
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  box-shadow: 0 8px 20px rgba(24, 95, 165, 0.22);
}

.brand-title {
  font-size: clamp(0.82rem, 2.5vw, 0.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 11.5rem;
}

.site-nav .brand-title {
  color: var(--text);
}

@media (min-width: 480px) {
  .brand-title { max-width: none; }
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 11.5rem;
}

.site-nav .brand-sub {
  color: var(--text-muted);
}

@media (max-width: 479px) {
  .brand-sub { display: none; }
}

@media (min-width: 960px) {
  .brand-sub { display: none; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
  margin-right: 0.35rem;
}

.nav-links a {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(9, 46, 89, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .nav-actions { gap: 0.5rem; }
}

.lang-switch {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(9, 46, 89, 0.06);
  border: 1px solid var(--hairline);
}

.site-nav .lang-switch,
.mobile-drawer .lang-switch {
  background: rgba(9, 46, 89, 0.06);
  border-color: var(--hairline);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}

.site-nav .lang-btn,
.mobile-drawer .lang-btn {
  color: var(--text-muted);
}

.lang-btn.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(9, 46, 89, 0.08);
}

.site-nav .lang-btn.active,
.mobile-drawer .lang-btn.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(9, 46, 89, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 1rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #4a8bff 0%, var(--primary-light) 45%, var(--primary) 100%);
  box-shadow: var(--shadow);
}

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

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--hairline);
}

.btn-sm { padding: 0.55rem 0.9rem; font-size: 0.8rem; border-radius: 0.8rem; }

.btn-app-store {
  border-radius: 999px;
  color: #0a0a0a;
  background: #fff;
  border: 1px solid rgba(9, 46, 89, 0.08);
  box-shadow: 0 8px 22px rgba(9, 46, 89, 0.12);
  gap: 0.45rem;
  padding-left: 1.05rem;
  padding-right: 1.3rem;
}

.btn-app-store::before {
  content: "";
  flex-shrink: 0;
  width: 1.05em;
  height: 1.05em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.btn-app-store:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(9, 46, 89, 0.16);
}

.btn-sm.btn-app-store::before {
  width: 0.95em;
  height: 0.95em;
}

.hero {
  padding: 2.5rem 0 4.5rem;
  color: var(--text);
  text-align: center;
  background:
    radial-gradient(ellipse 85% 55% at 50% -5%, rgba(90, 163, 236, 0.14), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 100%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 44rem;
  margin-inline: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 95, 165, 0.14);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(9, 46, 89, 0.04);
}

.pill-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(30, 158, 99, 0.2);
}

.hero h1 {
  margin: 1.1rem 0 0;
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text);
}

.hero p {
  margin: 1rem auto 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.chip {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(9, 46, 89, 0.03);
}

.hero .btn-app-store {
  border-color: rgba(9, 46, 89, 0.1);
  box-shadow: 0 8px 24px rgba(9, 46, 89, 0.1);
}

.section {
  padding: 4.5rem 0;
}

.section-light { background: transparent; }

.section-white {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid rgba(255, 255, 255, 0.7);
}

.section-title {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-title p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.6;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
}

.card h3 {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.icon-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  background: rgba(24, 95, 165, 0.1);
  color: var(--primary);
  font-size: 1.1rem;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .screenshots { grid-template-columns: repeat(3, 1fr); }
}

.shot-btn {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  display: block;
  width: 100%;
}

.shot-btn img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  background: #fff;
  border-radius: 1.1rem;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.shot-btn:hover img {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 52rem;
  margin-inline: auto;
}

@media (min-width: 760px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }

.pricing-featured {
  border: 2px solid rgba(55, 138, 221, 0.45);
  background: linear-gradient(180deg, rgba(234, 243, 252, 0.95), rgba(255, 255, 255, 0.95));
}

.price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 0.35rem;
}

.price small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.list li::before { content: "✓ "; color: var(--green); font-weight: 800; }

.faq { max-width: 44rem; margin: 2rem auto 0; }

.faq-item {
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  overflow: hidden;
}

.faq-item + .faq-item { margin-top: 0.65rem; }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  color: var(--text);
}

.faq-panel {
  display: none;
  padding: 0 1.1rem 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-item.open .faq-panel { display: block; }
.faq-item.open .faq-trigger { color: var(--primary); }

.cta-band {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(234,243,252,.95));
  border: 1px solid rgba(55, 138, 221, 0.18);
  box-shadow: var(--shadow);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.82);
  padding: 2rem 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 760px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

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

.legal-page { padding: 2.5rem 0 4rem; }

.legal-hero {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: linear-gradient(135deg, #3d8fe0, #1a62a8, #0e3f73);
  color: #fff;
  box-shadow: var(--shadow);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.legal-hero p { margin: 0.65rem 0 0; opacity: 0.88; line-height: 1.6; }

.legal-meta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  font-size: 0.78rem;
  font-weight: 700;
}

.legal-section {
  margin-top: 1rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.88);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
}

.legal-section h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.legal-section p,
.legal-section li {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.92rem;
}

.legal-section ul { margin: 0.65rem 0 0; padding-left: 1.1rem; }

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

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.82);
  padding: 1rem;
}

#lightbox.open { display: grid; }

#lightbox img {
  max-height: 90vh;
  max-width: 100%;
  object-fit: contain;
}

#lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--hairline);
  background: rgba(9, 46, 89, 0.04);
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s;
}

.mobile-menu-btn:hover,
.mobile-menu-btn[aria-expanded="true"] {
  background: rgba(9, 46, 89, 0.08);
  border-color: rgba(9, 46, 89, 0.14);
}

.mobile-menu-icon,
.mobile-menu-icon::before,
.mobile-menu-icon::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.mobile-menu-icon {
  position: relative;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-menu-icon::before { top: -6px; }
.mobile-menu-icon::after { top: 6px; }

.mobile-menu-btn[aria-expanded="true"] .mobile-menu-icon {
  background: transparent;
}

.mobile-menu-btn[aria-expanded="true"] .mobile-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .mobile-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (min-width: 960px) {
  .mobile-menu-btn { display: none; }
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(7, 23, 38, 0.18);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 960px) {
  .mobile-nav-backdrop { display: none; }
}

.mobile-drawer {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0.35rem;
  right: 0.35rem;
  z-index: 48;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  border: 1px solid transparent;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 18px 40px rgba(9, 46, 89, 0.12);
  transition: max-height 0.28s ease, opacity 0.22s ease, visibility 0.22s ease, border-color 0.22s ease;
}

.mobile-drawer.open {
  max-height: min(80vh, 520px);
  opacity: 1;
  visibility: visible;
  border-color: var(--hairline);
  overflow-y: auto;
}

@media (min-width: 960px) {
  .mobile-drawer {
    display: none !important;
  }
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem 0;
}

.mobile-drawer a {
  display: block;
  padding: 0.85rem 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 0.75rem;
  transition: color 0.15s, background 0.15s;
}

.mobile-drawer a:hover,
.mobile-drawer a:focus-visible {
  color: var(--primary);
  background: rgba(24, 95, 165, 0.06);
}

.mobile-drawer-footer {
  padding: 0.85rem 1rem 1.1rem;
  border-top: 1px solid var(--hairline);
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-drawer-footer .lang-switch {
  align-self: flex-start;
}

.mobile-drawer-footer .btn {
  width: 100%;
}

.nav-cta-desktop {
  display: none;
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta-desktop { display: inline-flex; }
}

@media (max-width: 959px) {
  .nav-cta-desktop { display: none !important; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.nav-open {
  overflow: hidden;
}
