/* Freedome — главная в стиле Apple (18.11.2026). Цвета, меню, кнопки и подвал — в chrome.css (грузится раньше). */

:root { --wrap: 1080px; }
.more { font-size: 17px; }
.more::after { content: " ›"; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: radial-gradient(900px 520px at 12% -6%, rgba(124, 58, 237, .20), transparent 70%),
    radial-gradient(800px 600px at 100% 38%, rgba(124, 58, 237, .10), transparent 70%), var(--bg);
  background-attachment: fixed; color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.47; letter-spacing: -.012em; -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 32px, var(--wrap)); margin: 0 auto; }

/* ── заголовки ── */
.eyebrow { display: block; font-size: 17px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.h-xl { font-size: clamp(44px, 8vw, 88px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; margin: 0; }
.h-lg { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.07; letter-spacing: -.03em; font-weight: 700; margin: 0; }
.h-md { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; margin: 0; }
.sub { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.38; color: var(--muted); font-weight: 500; letter-spacing: -.015em; }
.grad {
  background: linear-gradient(100deg, #fff 10%, #cdbcff 45%, #9b7bff 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.center { text-align: center; }

/* ── первый экран ── */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; text-align: center; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: 220px; width: 1100px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(124, 58, 237, .30), rgba(79, 134, 255, .10) 55%, transparent); pointer-events: none;
}
.hero .sub { max-width: 720px; margin: 18px auto 0; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.live:hover { text-decoration: none; color: var(--text); }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.live.ok .dot { background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.live.warn .dot { background: #fbbf24; }

/* телефон с экраном приложения (свёрстан, а не картинка: чёткий и переводится) */
.device-stage { position: relative; display: flex; justify-content: center; margin-top: 64px; height: 560px; }
.phone {
  position: relative; width: 300px; height: 620px; border-radius: 54px; padding: 12px;
  background: linear-gradient(160deg, #3a4150, #161a22 40%, #2a303c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 120px rgba(0, 0, 0, .6);
}
.phone .scr { height: 100%; border-radius: 43px; background: #0b0d16; overflow: hidden; position: relative; padding: 54px 18px 0; text-align: left; }
.phone .island { position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); background: #000; border-radius: 20px; }
.scr .app-title { font-size: 19px; font-weight: 700; margin: 0 0 14px; }
.scr .banner { font-size: 12px; color: #c7d4ee; border: 1px solid rgba(124, 167, 255, .35); background: rgba(79, 134, 255, .1); border-radius: 12px; padding: 8px 10px; }
.scr .ring {
  width: 168px; height: 168px; margin: 26px auto 14px; border-radius: 50%; border: 4px solid var(--green);
  display: grid; place-items: center; text-align: center; background: radial-gradient(circle, rgba(52, 211, 153, .14), #0d1a16 70%);
  box-shadow: 0 0 60px rgba(52, 211, 153, .25);
}
.scr .ring b { display: block; color: var(--green); font-size: 21px; }
.scr .ring small { color: var(--muted); font-size: 12px; }
.scr .srv { text-align: center; font-weight: 600; font-size: 15px; }
.scr .meta { text-align: center; color: var(--muted); font-size: 12px; margin-top: 4px; }
.scr .row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; margin-top: 8px; border-radius: 13px; background: #161a2a; font-size: 14px; }
.scr .row.on { outline: 1.5px solid #8b7cf6; }
.scr .row .ms { margin-left: auto; color: var(--muted); font-size: 12px; }
.chip-float {
  position: absolute; top: 140px; padding: 14px 18px; border-radius: 18px; text-align: left; font-size: 14px;
  background: rgba(17, 24, 39, .75); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.chip-float b { display: block; font-size: 15px; }
.chip-float span { color: var(--muted); }
.chip-float.l { right: calc(50% + 190px); }
.chip-float.r { left: calc(50% + 190px); top: 300px; }

/* ── секции и плитки ── */
.section { padding: 120px 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 920px; margin: 0 auto 56px; text-align: center; }
.section-head .sub { margin-top: 14px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  grid-column: span 2; background: var(--tile); border-radius: var(--radius); padding: 34px 32px; border: 1px solid var(--line);
  position: relative; overflow: hidden; min-height: 260px; display: flex; flex-direction: column;
}
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile.w6 { grid-column: span 6; }
.tile .ico { font-size: 40px; line-height: 1; margin-bottom: auto; padding-bottom: 28px; }
.tile h3 { font-size: 24px; line-height: 1.17; letter-spacing: -.02em; margin: 0 0 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.tile .big { font-size: clamp(56px, 7vw, 80px); font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-bottom: auto; padding-bottom: 24px; }
.tile.glow { background: radial-gradient(120% 120% at 0% 0%, rgba(79, 134, 255, .28), transparent 55%), var(--tile); }

/* страны: крупные флаги в ряд */
.flags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1080px; margin: 0 auto; }
.flag {
  display: flex; flex-direction: column; align-items: center; gap: 8px; width: 108px; padding: 20px 6px 16px;
  border-radius: 22px; background: var(--tile); border: 1px solid var(--line); font-size: 14px; color: var(--muted); text-align: center;
}
.flag i { font-style: normal; font-size: 42px; line-height: 1; }
.note { max-width: 680px; margin: 36px auto 0; text-align: center; color: var(--muted); font-size: 15px; }

/* устройства */
.devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.device { background: var(--tile); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.device img { width: 44px; height: 44px; object-fit: contain; margin: 0 auto 18px; filter: grayscale(1) brightness(1.8); }
.device h3 { margin: 0 0 6px; font-size: 21px; }
.device p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }

/* тарифы */
.trial { text-align: center; margin: -24px auto 40px; color: var(--muted); }
.trial b { color: var(--text); }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { background: var(--tile); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px 32px; display: flex; flex-direction: column; text-align: center; }
.price.best { border: 1.5px solid var(--blue-2); background: linear-gradient(180deg, rgba(79, 134, 255, .14), transparent 45%), var(--tile); }
.price .tag { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); min-height: 18px; }
.price h3 { font-size: 28px; margin: 10px 0 4px; letter-spacing: -.02em; }
.price .amount { font-size: 48px; font-weight: 700; letter-spacing: -.03em; margin: 10px 0 2px; }
.price .per { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.price ul { list-style: none; padding: 0; margin: 0 0 28px; color: var(--muted); font-size: 15px; }
.price li { padding: 8px 0; border-top: 1px solid var(--line); }
.price .pill { margin-top: auto; width: 100%; }
.fine { text-align: center; color: var(--muted); font-size: 14px; max-width: 720px; margin: 32px auto 0; }

/* вопросы */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 21px; font-weight: 600; letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 30px; font-weight: 300; color: var(--muted); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); font-size: 17px; }

/* финальный призыв */
.final { text-align: center; padding: 140px 0; background: radial-gradient(60% 80% at 50% 100%, rgba(79, 134, 255, .22), transparent), var(--bg); }
.final .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ── телефоны и планшеты ── */
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile.w3, .tile.w4 { grid-column: span 1; }
  .tile.w6 { grid-column: span 2; }
  .devices { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .chip-float { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 84px 0; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.w6 { grid-column: span 1; min-height: 0; }
  .device-stage { height: 470px; margin-top: 48px; }
  .phone { transform: scale(.86); transform-origin: top center; }
  .flag { width: calc(33.3% - 10px); }
  .faq summary { font-size: 18px; }
  .hero .cta .pill, .final .cta .pill { width: 100%; }
}
