/* CloseUp landing — dark, no external assets. ENG-only UI (rule). */
:root {
  --bg: #0f1115;
  --bg2: #14171e;
  --card: #171a22;
  --line: #262b36;
  --text: #e6e8ee;
  --muted: #9aa3b2;
  --dim: #6b7484;
  --accent: #3b6fe0;
  --accent2: #7c5cff;
  --radius: 14px;
  --maxw: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(24px, 4vw, 34px); }
p { margin: 0 0 1em; }
a { color: #8fb0ff; }

.wrap, header, footer, section { max-width: var(--maxw); }
header, footer, section { margin: 0 auto; padding: 0 24px; }

/* header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px !important; position: sticky; top: 0;
  background: rgba(15, 17, 21, .85); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); z-index: 10;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none;
}
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-block; border-radius: 10px; cursor: pointer;
  padding: 10px 18px; font-size: 15px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent;
  transition: background .15s, border-color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.12); }
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--line);
}
.btn-ghost:hover { border-color: #3a4252; background: var(--bg2); }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; padding-top: 72px !important; padding-bottom: 72px !important;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px); letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff 30%, #a9c0ff 70%, #b9a5ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 18px; color: var(--muted); max-width: 46ch; }
.lead strong { color: var(--text); }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 10px; }
.meta { color: var(--dim); font-size: 13.5px; }

/* hero visual — viewer window mock, pure CSS */
.shot { perspective: 1200px; }
.win {
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  transform: rotate3d(1, -1, 0, 4deg) rotateY(-6deg);
}
.bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--dim);
}
.bar i {
  width: 11px; height: 11px; border-radius: 50%; background: #333a47;
}
.bar span { margin-left: 8px; }
.canvas {
  position: relative; height: 300px; overflow: hidden;
}
.photo {
  position: absolute; inset: -12%;
  background:
    radial-gradient(38% 46% at 26% 30%, #ff9d6f 0%, transparent 100%),
    radial-gradient(42% 50% at 68% 26%, #ffd27a 0%, transparent 100%),
    radial-gradient(46% 56% at 74% 74%, #5f8bff 0%, transparent 100%),
    radial-gradient(36% 44% at 32% 78%, #a86bff66 0%, transparent 100%),
    linear-gradient(160deg, #20242e, #171a22);
  filter: saturate(1.05);
}
.loupe {
  position: absolute; left: 46%; top: 30%; width: 168px; height: 168px;
  border-radius: 50%;
  border: 3px solid #ffffff2e;
  outline: 1px solid #0006;
  box-shadow: 0 18px 42px #000a, inset 0 0 0 1px #ffffff14;
  background:
    radial-gradient(38% 46% at 26% 30%, #ffb08c 0%, transparent 100%),
    radial-gradient(42% 50% at 68% 26%, #ffe09a 0%, transparent 100%),
    radial-gradient(46% 56% at 74% 74%, #7da0ff 0%, transparent 100%),
    radial-gradient(36% 44% at 32% 78%, #c291ff80 0%, transparent 100%),
    linear-gradient(160deg, #2a2f3b, #1d212b);
  background-size: 148% 148%;
  filter: saturate(1.35) contrast(1.12);
}
.loupe span {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  background: #14171eee; border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 999px; color: #cdd8ff;
}
.chip {
  position: absolute; font-size: 11.5px; color: var(--muted);
  background: #14171ed9; border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 999px;
}
.chip.zoom { right: 12px; bottom: 12px; }
.film {
  display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--line);
  background: #12151c;
}
.film i {
  flex: 1; height: 44px; border-radius: 6px;
  background: linear-gradient(140deg, #232834, #1a1e27);
  border: 1px solid var(--line);
}
.film i.on {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  background:
    radial-gradient(40% 55% at 30% 32%, #ff9d6f 0%, transparent 100%),
    radial-gradient(45% 55% at 70% 70%, #5f8bff 0%, transparent 100%),
    #1a1e27;
}

/* sections */
.features, .pricing, .faq { padding-top: 84px !important; padding-bottom: 84px !important; }
.features h2, .pricing h2, .faq h2 { text-align: center; margin-bottom: 40px; }
.sub { text-align: center; color: var(--muted); max-width: 56ch; margin: -24px auto 40px; }
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.grid article, .plans article {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.grid h3 { font-size: 17px; margin-bottom: 8px; }
.grid p { color: var(--muted); font-size: 15px; margin: 0; }

/* pricing */
.plans {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  align-items: stretch;
}
.plans article { display: flex; flex-direction: column; align-items: center; text-align: center; }
.plans .best {
  border-color: #3b6fe066;
  box-shadow: 0 0 0 1px #3b6fe066, 0 24px 48px #0006;
  background: linear-gradient(180deg, #1a1f2c, var(--card) 60%);
}
.plans h3 { font-size: 16px; color: var(--muted); font-weight: 600; }
.plans .price { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.plans .per { color: var(--dim); font-size: 14px; margin-bottom: 18px; }
/* бейдж экономии (владелец 2026-11-18: «все "save" в тарифах выделяй») */
.plans .save {
  display: inline-block; width: fit-content; margin-top: 7px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  color: #4cd596; background: #4cd5961c; border: 1px solid #4cd5963d;
}
.plans .btn { margin-top: auto; width: 100%; }
.fine { color: var(--dim); font-size: 13.5px; text-align: center; max-width: 72ch; margin: 26px auto 0; }

/* faq */
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 0 22px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none;
  position: relative; user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%); color: var(--dim); font-size: 20px;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; max-width: 72ch; }

/* restore band */
.restore-band {
  text-align: center; margin: 24px auto 84px; padding: 44px 24px !important;
  background:
    radial-gradient(60% 120% at 50% 0%, #1c2440 0%, transparent 70%),
    var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.restore-band p { color: var(--muted); }

footer {
  display: flex; gap: 22px; flex-wrap: wrap; justify-content: space-between;
  padding-top: 26px !important; padding-bottom: 34px !important;
  border-top: 1px solid var(--line); color: var(--dim); font-size: 14px;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .shot { max-width: 520px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid, .plans { grid-template-columns: 1fr; }
  .top nav a:not(.btn) { display: none; }
}
