﻿/* MasPlanLot — premium landing */

:root {
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --muted-light: #86868b;
  --bg: #fbfbfd;
  --bg-soft: #f5f5f7;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.65);
  --line: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 16px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1080px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 113, 227, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(99, 102, 241, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(0, 113, 227, 0.05), transparent 45%);
  background-attachment: fixed;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

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

.glass {
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.85rem 1.25rem;
  pointer-events: none;
}

.header__bar {
  pointer-events: auto;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.85rem 0.55rem 1rem;
  border-radius: 999px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
}

.logo img { border-radius: 8px; }

.nav { display: flex; gap: 1.75rem; }
.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover { color: var(--ink); }

.header__actions { display: flex; align-items: center; gap: 0.5rem; }

.lang-select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.28);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.32);
}

.btn--block { width: 100%; }
.btn--lg { padding: 0.8rem 1.5rem; font-size: 0.9375rem; }

.btn--paypal { background: #0070ba; color: var(--white); }
.btn--paypal:hover { background: #005ea6; }

.btn--tbank { background: #ffdd2d; color: #333; }
.btn--tbank:hover { background: #fcc521; }
.pay-col[hidden],
.pay-qr-panel[hidden] { display: none; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.72); }

.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  align-items: start;
}

.pay-grid--solo {
  grid-template-columns: 1fr;
}

.pay-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.pay-col__qr {
  font-size: 0.8125rem;
  padding: 0.55rem 0.75rem;
}

.pay-col .pay-qr-panel {
  margin-top: 0.25rem;
  text-align: center;
}

.pay-qr-panel {
  text-align: center;
}

.pay-qr-panel__hint {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.pay-qr-panel__code {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 11.75rem;
  height: 11.75rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.pay-qr-panel__img {
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.28s ease, transform 0.32s ease;
}

.pay-qr-panel__code.is-ready .pay-qr-panel__img {
  opacity: 1;
  transform: scale(1);
}

.pay-qr-loader {
  position: absolute;
  inset: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 245, 247, 0.88));
  transition: opacity 0.2s ease;
}

.pay-qr-panel__code.is-ready .pay-qr-loader {
  opacity: 0;
  pointer-events: none;
}

.pay-qr-loader__grid {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.1) 37%, rgba(0, 0, 0, 0.05) 63%);
  background-size: 240% 100%;
  animation: pay-qr-shimmer 0.85s ease-in-out infinite;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.pay-qr-loader__text {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-light);
}

@keyframes pay-qr-shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

.pay-qr-panel__code img {
  border-radius: 8px;
}

.pay-qr-panel__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.pay-qr-panel__link:hover { text-decoration: underline; }

.btn--yoomoney { background: #7c3aed; color: var(--white); }
.btn--yoomoney:hover { background: #6d28d9; }
.btn--yoomoney[hidden] { display: none; }

/* Hero */
.hero {
  position: relative;
  padding: 7.5rem 0 5rem;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  height: 420px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.35rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero__text p {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.65;
}

.hero__cta { margin-top: 2rem; }

.hero__gallery {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.7s ease;
}

.hero__slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.hero__caption {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
}

.hero__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.hero__dot {
  width: 0.48rem;
  height: 0.48rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.hero__dot:hover {
  transform: scale(1.15);
  background: rgba(29, 29, 31, 0.5);
}

.hero__dot.is-active {
  width: 1.35rem;
  background: var(--accent);
}

.hero__dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Sections */
.section { padding: 5rem 0; }
.section--soft { background: var(--bg-soft); }

.section__head--center {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section__title--center { text-align: center; }

.section__sub {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* Pills */
.pill-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.pill {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

/* Feature grid */
.feature-grid {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.feature-card {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.feature-card span {
  display: block;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Benefits */
.benefits {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.benefit {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-sm);
}

.benefit strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.benefit span {
  display: block;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Pricing card */
.pricing-card {
  max-width: 34rem;
  margin: 0 auto;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.pricing-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.pricing-card__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.pricing-card__brand h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pricing-card__badge {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.15rem;
}

.pricing-card__price { text-align: right; }

.billing-toggle {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--line);
  margin-bottom: 0.75rem;
}

.billing-toggle__btn {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.billing-toggle__btn.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.pricing-card__price--toggle .pricing-card__year {
  display: none;
}

.pricing-card__amount {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pricing-card__year {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.pricing-card__lead {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-card__block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.pricing-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.version-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.pay-buttons {
  display: grid;
  gap: 0.65rem;
}

.pay-buttons--row { grid-template-columns: 1fr 1fr; }
.pay-buttons .btn { width: 100%; }

.pay-after {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.55;
}

.pay-after a {
  color: var(--accent);
  font-weight: 600;
}
.pay-after a:hover { text-decoration: underline; }

.pay-after--email {
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
  font-weight: 500;
}

.download-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.dl-card {
  display: block;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}

.dl-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.dl-card__os {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
}

.dl-card__file {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.125rem;
}

.dl-card--accent {
  border: 1px solid var(--accent);
  background: rgba(0, 113, 227, 0.06);
}
.dl-card--accent .dl-card__os { color: var(--accent); }

.dl-card--disabled {
  opacity: 0.72;
  cursor: not-allowed;
}
.dl-card--disabled:hover {
  transform: none;
  box-shadow: none;
}

.pricing-card__note {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.55;
}

/* Reviews */
.reviews-grid {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.review-card {
  padding: 1.5rem 1.65rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.review-card__stars {
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  color: #f5a623;
  line-height: 1;
}

.review-card__text {
  font-size: 0.9875rem;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
}

.review-card__author {
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}

.review-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
}

.review-card__company {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* Support form */
.support-form__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.support-form {
  max-width: 34rem;
  margin: 0 auto;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.support-form__fields {
  display: grid;
  gap: 1rem;
}

.support-form__field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.support-form__field input,
.support-form__field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.support-form__field input:focus,
.support-form__field textarea:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.support-form__field textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.support-form__error {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: #b42318;
  background: rgba(180, 35, 24, 0.06);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
}

.support-form__success {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: #027a48;
  background: rgba(2, 122, 72, 0.08);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
}

.support-form .btn {
  margin-top: 1.25rem;
  width: 100%;
}

.support-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Footer */
.footer {
  padding: 2.5rem 0 3rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer__visits {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.footer__visits strong {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

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

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.mobile-nav.is-open { opacity: 1; pointer-events: auto; }

.mobile-nav__panel {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: min(18rem, calc(100vw - 1.7rem));
  padding: 1.25rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: none;
  opacity: 1;
}

.mobile-nav__panel nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0.5rem 0;
}

.mobile-nav__panel nav a {
  padding: 0.65rem;
  font-weight: 500;
  border-radius: 10px;
}
.mobile-nav__panel nav a:hover { background: rgba(0, 0, 0, 0.04); }

.mobile-nav__panel > button:first-child {
  align-self: flex-end;
  border: none;
  background: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--muted);
}

/* Responsive */
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 768px) {
  .support-form__fields {
    grid-template-columns: 1fr 1fr;
  }

  .support-form__field--full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1fr 1.05fr; }
}

@media (max-width: 767px) {
  .nav,
  .header__actions .btn--primary,
  .header__actions .header__login { display: none; }
  .menu-toggle { display: block; }

  .hero { padding-top: 6.5rem; }

  .pay-buttons--row,
  .pay-grid,
  .download-row { grid-template-columns: 1fr; }

  .pricing-card__head { flex-direction: column; }
  .pricing-card__price { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn--primary:hover,
  .feature-card:hover,
  .dl-card:hover,
  .review-card:hover { transform: none; }

  .pay-qr-panel__img,
  .pay-qr-loader__grid { transition: none; animation: none; }

  .pay-qr-panel__code.is-loading .pay-qr-panel__img { opacity: 1; transform: none; }
  .pay-qr-panel__code.is-loading .pay-qr-loader { display: none; }

  .hero__slide { transition: none; }
}
