:root {
  --brand: #1877c8;
  --brand-dark: #12466d;
  --accent: #2dce89;
  --text: #163e63;
  --muted: #68839b;
  --bg: #eaf4f8;
  --bg-soft: #f7fbfd;
  --card: #ffffff;
  --border: #d8e5ef;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 18px 50px rgba(18, 70, 109, 0.10);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(216, 229, 239, 0.6);
}

.site-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--brand-dark);
  font-size: 18px;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; }

nav.primary {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center;
}
nav.primary a { color: var(--brand-dark); font-weight: 600; }

.lang-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-switch a {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lang-switch a.active {
  background: var(--brand);
  color: #fff;
}
.lang-switch a:hover { text-decoration: none; }

.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 10% 0%, #d8eefd 0%, transparent 55%),
    radial-gradient(circle at 90% 30%, #d6f5e7 0%, transparent 50%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--brand);
  background: #d8eefd;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
h1 {
  font-size: 52px;
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--brand-dark);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.lead {
  font-size: 18px;
  color: #35536d;
  margin: 0 0 28px;
  max-width: 520px;
}

.store-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #111;
  color: #fff !important;
  border-radius: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.store-btn:hover { text-decoration: none; background: #000; }
.store-btn .mark { font-size: 24px; line-height: 1; }
.store-btn .sub {
  display: block;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.store-btn .main {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.trust {
  display: grid;
  gap: 8px;
  color: #35536d;
  font-size: 15px;
}
.trust li {
  list-style: none;
  padding-left: 26px;
  position: relative;
}
.trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 10px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

.hero-art {
  justify-self: center;
  position: relative;
  width: min(320px, 100%);
  filter: drop-shadow(0 40px 50px rgba(18, 70, 109, 0.25));
}
.hero-art img { width: 100%; height: auto; }

section {
  padding: 80px 0;
}
section h2 {
  font-size: 36px;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand-dark);
}
section .lead {
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 40px;
}

.features {
  background: #fff;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.feature-card h3 {
  font-size: 18px;
  margin: 12px 0 8px;
  color: var(--brand-dark);
}
.feature-card p {
  margin: 0;
  font-size: 15px;
  color: #35536d;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #d8eefd;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.how {
  background: var(--bg);
}
.how-figure {
  margin: 24px auto 32px;
  padding: 0;
  max-width: 860px;
  text-align: center;
}
.how-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-sizing: border-box;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.how-step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.how-step h3 {
  color: var(--brand);
  margin: 0 0 10px;
  font-size: 18px;
}
.how-step p {
  margin: 0;
  color: #35536d;
  font-size: 15px;
}

.shots {
  background: #fff;
  padding-bottom: 40px;
}
.shots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}
.shots img {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 30px 40px rgba(18, 70, 109, 0.18));
}

.handoff {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, #fff 100%);
}
.handoff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.handoff-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 16px 34px rgba(18, 70, 109, 0.08);
}
.handoff-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #d8eefd;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.handoff-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--brand-dark);
}
.handoff-card p {
  margin: 0;
  font-size: 15px;
  color: #35536d;
}

.cta {
  background: linear-gradient(135deg, var(--brand) 0%, #14528c 100%);
  color: #fff;
  text-align: center;
}
.cta h2 { color: #fff; }
.cta .lead { color: rgba(255, 255, 255, 0.85); margin-left: auto; margin-right: auto; }
.cta .store-row { justify-content: center; }

footer.site {
  padding: 40px 0 32px;
  background: #fff;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
footer.site a { color: var(--brand-dark); font-weight: 600; }
.footer-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-inner .spacer { flex: 1; }

.pricing {
  background: var(--bg-soft);
  text-align: center;
}
.pricing > .container > .lead { max-width: 680px; margin-left: auto; margin-right: auto; }
.pricing-billing {
  display: inline-block;
  margin: 4px auto 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
  text-align: left;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(18,70,109,.08);
}
.pricing-card header h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--brand-dark);
}
.pricing-card header .tagline {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  min-height: 2.6em;
}
.pricing-card .price {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-card .amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.01em;
}
.pricing-card .per {
  font-size: 13px;
  color: var(--muted);
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: grid;
  gap: 8px;
}
.plan-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #35536d;
  line-height: 1.4;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.plan-cta:hover { text-decoration: none; transform: translateY(-1px); }
.plan-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.pricing-card.is-selectable { cursor: pointer; }
.pricing-card.is-selectable:focus-visible {
  outline: 3px solid rgba(24,119,200,.35);
  outline-offset: 2px;
}
.pricing-card.is-selected {
  border-color: var(--brand);
  box-shadow:
    0 0 0 3px rgba(24,119,200,.28),
    0 18px 46px rgba(18,70,109,.14);
}
.pricing-card.is-selected .plan-select-indicator::after {
  content: "";
  display: block;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -2px);
}
.pricing-card.is-selected .plan-select-indicator {
  background: var(--brand);
  border-color: var(--brand);
}
.plan-select-indicator {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, border-color .15s ease;
  z-index: 2;
}
.pricing-action {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.pricing-action-hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  transition: color .15s ease, opacity .15s ease;
}
.pricing-action-hint.is-muted { opacity: .55; }
.pricing-action-hint.is-warning {
  color: #b3261e;
  opacity: 1;
  font-weight: 600;
}
.pricing-register-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.005em;
  box-shadow: 0 12px 32px rgba(24,119,200,.34);
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.pricing-register-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  text-decoration: none;
}
.pricing-register-btn.is-disabled {
  background: var(--muted, #7b8b99);
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}
.pricing-register-btn.is-disabled:hover {
  background: var(--muted, #7b8b99);
  transform: none;
}
.plan-cta-ghost {
  background: var(--bg-soft);
  color: var(--brand-dark) !important;
  border: 1px solid var(--border);
}
.plan-cta-ghost:hover { background: #e8eff5; }
.plan-cta-primary {
  background: var(--brand);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(24,119,200,.32);
}
.plan-cta-primary:hover { background: var(--brand-dark); }

.pricing-card-featured {
  border-color: var(--brand);
  transform: scale(1.03);
  box-shadow:
    0 24px 60px rgba(24,119,200,.18),
    0 0 0 4px rgba(24,119,200,.08);
  background: linear-gradient(180deg, #fff 0%, #f6fbff 100%);
}
.pricing-card-featured:hover {
  transform: scale(1.03) translateY(-2px);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(24,119,200,.32);
}
.pricing-footnote {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-card-featured { transform: none; }
  .pricing-card-featured:hover { transform: translateY(-2px); }
}

@media (max-width: 880px) {
  .hero-grid,
  .handoff-grid,
  .feature-grid,
  .how-grid,
  .shots-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid { grid-template-columns: 1fr; }
  h1 { font-size: 40px; }
  section { padding: 56px 0; }
  nav.primary a:not(.lang-switch) { display: none; }
  .hero { padding: 48px 0 32px; }
}
