@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #0c0b14;
  --bg-alt: #110f1c;
  --text: #f4f3f9;
  --sub: #a9a7bd;
  --line: rgba(255, 255, 255, 0.1);
  --card: rgba(255, 255, 255, 0.05);
  --blue: #4f8ef7;
  --purple: #af52de;
  --grad: linear-gradient(135deg, #4f8ef7 0%, #af52de 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Fredoka", "Segoe UI", system-ui, sans-serif; font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 6.2vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(12, 11, 20, 0.72); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Fredoka", system-ui, sans-serif; font-weight: 600; font-size: 24px; text-decoration: none; }
.brand img { border-radius: 10px; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--sub); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }
.bar-right { display: flex; align-items: center; gap: 12px; }
.lang { text-decoration: none; font-size: 14px; font-weight: 700; color: var(--sub); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.lang:hover { color: var(--text); }

/* buttons */
.btn { display: inline-block; background: var(--grad); color: #fff; text-decoration: none; font-family: "Fredoka", system-ui, sans-serif; font-weight: 600; font-size: 18px; padding: 14px 28px; border-radius: 16px; box-shadow: 0 10px 30px rgba(120, 90, 240, 0.35); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(120, 90, 240, 0.45); }
.btn-small { font-size: 15px; padding: 9px 18px; border-radius: 12px; box-shadow: none; }
.btn-ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; color: var(--text); }
.btn-ghost:hover { background: var(--card); box-shadow: none; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; background:
  radial-gradient(700px 420px at 85% 10%, rgba(79, 142, 247, 0.28), transparent 70%),
  radial-gradient(600px 400px at 95% 70%, rgba(175, 82, 222, 0.25), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--sub); margin-top: 20px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.fine { margin-top: 18px; font-size: 14px; color: var(--sub); }

.hero-phones { position: relative; height: 620px; }
.phone { background: #08080a; border: 2px solid #34343e; border-radius: 40px; padding: 7px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.phone img { border-radius: 33px; width: 100%; }
.phone-front { position: absolute; width: 290px; right: 70px; top: 0; transform: rotate(4deg); animation: float 7s ease-in-out infinite; }
.phone-back { position: absolute; width: 260px; right: -10px; top: 80px; transform: rotate(-6deg); opacity: 0.95; animation: float 8s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .phone-front, .phone-back { animation: none; } html { scroll-behavior: auto; } }

/* sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-sub { color: var(--sub); margin-top: 12px; font-size: 19px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.card-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; margin-bottom: 18px; color: #fff; }
.card-icon svg { width: 24px; height: 24px; }
.card p { color: var(--sub); margin-top: 10px; font-size: 16px; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 22px; }
.steps p { color: var(--sub); margin-top: 6px; font-size: 16px; }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.shot { margin: 0; text-align: center; }
.shot .phone { border-radius: 30px; padding: 5px; }
.shot .phone img { border-radius: 25px; }
.shot figcaption { margin-top: 14px; color: var(--sub); font-size: 15px; }

.price { text-align: center; }
.price .lead { margin: 18px auto 30px; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-family: "Fredoka", system-ui, sans-serif; font-weight: 600; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--blue); font-size: 26px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--sub); margin-top: 12px; }
#faq h2 { margin-bottom: 18px; }

.final { text-align: center; padding: 96px 0; background: radial-gradient(700px 300px at 50% 100%, rgba(120, 90, 240, 0.28), transparent 70%); }
.final h2 { max-width: 20em; margin: 0 auto 30px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--sub); font-size: 14px; }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { color: var(--sub); text-decoration: none; }
.foot a:hover { color: var(--text); }

/* tablet and phone */
@media (max-width: 960px) {
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phones { height: 560px; max-width: 420px; margin: 0 auto; width: 100%; }
  .phone-front { right: auto; left: 36%; width: 270px; }
  .phone-back { right: auto; left: 0; width: 230px; top: 70px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .grid { grid-template-columns: 1fr; }
  .btn-small { display: none; }
  .hero-phones { height: 500px; }
  .phone-front { width: 235px; left: 34%; }
  .phone-back { width: 200px; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cta-row .btn { width: 100%; text-align: center; }
}
