/* ══════════════ PIXELLNET landing page — palette v3 (warm charcoal + mocha + amber + blue) ══════════════ */

/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #2B2A28;      /* warm charcoal */
  color: #E8E3DB;           /* warm off-white */
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }

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

/* ══════════════ Header ══════════════ */
.header {
  padding: 20px 0;
  border-bottom: 1px solid #423F3A;
  position: sticky;
  top: 0;
  background: rgba(43, 42, 40, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.brand__name {
  font-size: 18px;
  letter-spacing: 0.5px;
}
.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav a {
  font-size: 15px;
  color: #A69E90;
  transition: color 200ms;
}
.nav a:hover { color: #E8E3DB; }
.nav__cta {
  background: #B08858;   /* mocha primary */
  color: #231508 !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.nav__cta:hover { background: #C89C6A !important; }

@media (max-width: 640px) {
  .nav { gap: 16px; }
  .nav a:not(.nav__cta) { display: none; }
}

/* ══════════════ Hero ══════════════ */
.hero {
  padding: 80px 0 100px;
  text-align: center;
}
.hero__title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.accent {
  color: #B08858;   /* mocha */
}
.hero__subtitle {
  font-size: 18px;
  color: #A69E90;
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero__note {
  color: #A69E90;
  font-size: 14px;
}

/* ══════════════ Buttons ══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform 100ms, background 200ms, border-color 200ms;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: #B08858;
  color: #231508;
}
.btn--primary:hover { background: #C89C6A; }
.btn--secondary {
  background: transparent;
  color: #E8E3DB;
  border-color: #544F47;
}
.btn--secondary:hover { background: #35332F; border-color: #B08858; }
.btn--outline {
  background: transparent;
  color: #B08858;
  border-color: #B08858;
}
.btn--outline:hover { background: rgba(176, 136, 88, 0.1); }
.btn--large {
  padding: 18px 40px;
  font-size: 18px;
}
.btn--block { width: 100%; }

/* ══════════════ Sections + grids ══════════════ */
.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-align: center;
  margin: 0 0 56px;
  letter-spacing: -0.01em;
}
.grid {
  display: grid;
  gap: 24px;
}
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ══════════════ Features ══════════════ */
.features {
  padding: 80px 0;
  border-top: 1px solid #423F3A;
}
.feature {
  padding: 32px 24px;
  background: #35332F;   /* surface container */
  border-radius: 16px;
  transition: transform 200ms;
}
.feature:hover { transform: translateY(-4px); }
.feature__icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}
.feature p {
  color: #A69E90;
  margin: 0;
  font-size: 15px;
}

/* ══════════════ How ══════════════ */
.how { padding: 80px 0; }
.step {
  padding: 40px 24px;
  text-align: center;
  position: relative;
}
.step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #B08858;
  color: #231508;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}
.step p {
  color: #A69E90;
  margin: 0;
}
.link { color: #8FA8C4; text-decoration: underline; }

/* ══════════════ Tariffs ══════════════ */
.tariffs {
  padding: 80px 0;
  background: #23272F;
}
.tariff {
  padding: 40px 32px;
  background: #35332F;
  border-radius: 20px;
  border: 2px solid transparent;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tariff--featured {
  border-color: #B08858;
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(176, 136, 88, 0.2);
}
.tariff__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #D4B26A;   /* amber */
  color: #2A1F05;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tariff__name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #A69E90;
}
.tariff__price {
  margin-bottom: 32px;
}
.tariff__amount {
  font-size: 40px;
  font-weight: 800;
  color: #E8E3DB;
}
.tariff__period {
  color: #A69E90;
  margin-left: 8px;
}
.tariff__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}
.tariff__features li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: #E8E3DB;
}
.tariff__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8FA05A;   /* olive success */
  font-weight: 700;
}

/* ══════════════ Tariff dual-CTA (сайт + Telegram) ══════════════ */
.tariff__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.btn-link {
  display: inline-block;
  padding: 8px 12px;
  text-align: center;
  color: #A69E90;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
  transition: color 200ms, background 200ms;
}
.btn-link:hover {
  color: #B08858;
  background: rgba(176, 136, 88, 0.08);
}
.btn-link::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: middle;
  background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23229ED9'><path d='M9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z'/></svg>");
}

/* ══════════════ Download ══════════════ */
.download {
  padding: 100px 0;
  text-align: center;
}
.download__inner { max-width: 640px; margin: 0 auto; }
.download__note {
  color: #A69E90;
  margin: 0 0 40px;
  font-size: 18px;
}
.download__meta {
  color: #A69E90;
  font-size: 14px;
  margin-top: 20px;
}

/* ══════════════ FAQ ══════════════ */
.faq {
  padding: 80px 0;
  background: #23272F;
}
.faq__item {
  background: #35332F;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 20px 24px;
  transition: background 200ms;
}
.faq__item[open] {
  background: #423F3A;
}
.faq__item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: #B08858;
  transition: transform 200ms;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  color: #A69E90;
  margin: 12px 0 0;
}

/* ══════════════ Footer ══════════════ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid #423F3A;
  background: #23272F;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 640px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.footer__brand .brand__name {
  display: block;
  margin-bottom: 8px;
}
.footer__tagline {
  color: #A69E90;
  margin: 0;
  font-size: 14px;
}
.footer__nav {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.footer__nav a {
  color: #A69E90;
  font-size: 14px;
  transition: color 200ms;
}
.footer__nav a:hover { color: #E8E3DB; }
.footer__copyright {
  text-align: right;
  color: #A69E90;
  font-size: 13px;
}
@media (max-width: 640px) {
  .footer__copyright { text-align: center; }
}

/* ══════════════ Hero icons (v2, AI-first) ══════════════ */
.hero__icons {
  font-size: 40px;
  letter-spacing: 12px;
  margin-bottom: 24px;
  line-height: 1;
}

/* ══════════════ Section lead + tariff note ══════════════ */
.section__lead {
  text-align: center;
  color: #A69E90;
  font-size: 17px;
  max-width: 640px;
  margin: -36px auto 40px;
}
.tariffs__note {
  text-align: center;
  color: #A69E90;
  font-size: 14px;
  margin: 40px 0 0;
}

/* ══════════════ Download page ══════════════ */
.download__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.download__ios,
.download__how {
  margin-top: 56px;
  padding: 32px;
  background: #35332F;
  border-radius: 16px;
  text-align: left;
}
.download__ios h3,
.download__how h3 {
  font-size: 20px;
  margin: 0 0 16px;
  color: #E8E3DB;
}
.download__ios p,
.download__how p {
  color: #A69E90;
  margin: 0;
}
.download__steps {
  color: #E8E3DB;
  padding-left: 24px;
  margin: 0 0 16px;
  line-height: 1.8;
}
.download__steps li {
  margin-bottom: 4px;
}

/* ══════════════ Legal pages (oferta / privacy) ══════════════ */
.legal {
  padding: 60px 0 100px;
}
.legal .section__title {
  text-align: left;
  margin-bottom: 8px;
}
.legal__meta {
  color: #A69E90;
  font-size: 14px;
  margin: 0 0 48px;
}
.legal__body {
  max-width: 800px;
  color: #E8E3DB;
  line-height: 1.75;
}
.legal__body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: #E8E3DB;
  letter-spacing: -0.01em;
}
.legal__body h2:first-child {
  margin-top: 0;
}
.legal__body p {
  margin: 0 0 16px;
  color: #D0C9BC;
}
.legal__body ul {
  margin: 0 0 16px;
  padding-left: 24px;
  color: #D0C9BC;
}
.legal__body ul li {
  margin-bottom: 8px;
}
.legal__body strong {
  color: #E8E3DB;
  font-weight: 600;
}
.legal__body a.link {
  color: #B08858;
}

/* ══════════════ After-pay section (что получит клиент) ══════════════ */
.after-pay {
  padding: 80px 0;
  background: #2F2D2A;
  border-top: 1px solid #423F3A;
  border-bottom: 1px solid #423F3A;
}
.after-pay .section__lead {
  margin: -36px auto 48px;
}
.after-pay__item {
  padding: 28px 24px;
  background: #35332F;
  border-radius: 16px;
  border: 1px solid #423F3A;
  transition: transform 200ms, border-color 200ms;
}
.after-pay__item:hover {
  transform: translateY(-2px);
  border-color: #B08858;
}
.after-pay__icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.after-pay__item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #E8E3DB;
}
.after-pay__item p {
  color: #A69E90;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.after-pay__item p a { color: #B08858; text-decoration: underline; }

/* ══════════════ Stars shop ══════════════ */
.stars-shop {
  padding: 80px 0;
  background: linear-gradient(180deg, #23272F 0%, #2B2A28 100%);
  border-top: 1px solid #423F3A;
  border-bottom: 1px solid #423F3A;
}
.stars-shop__inner { max-width: 960px; margin: 0 auto; }
.stars-shop__badge {
  display: inline-block;
  background: #D4B26A;
  color: #2A1F05;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 auto 16px;
  text-align: center;
  display: table;
}
.stars-shop .section__lead { margin: 0 auto 48px; max-width: 720px; text-align: center; color: #A69E90; }
.stars-shop__pack {
  padding: 28px 24px;
  background: #35332F;
  border: 1px solid #423F3A;
  border-radius: 16px;
  text-align: center;
  transition: transform 200ms, border-color 200ms;
}
.stars-shop__pack:hover { transform: translateY(-2px); border-color: #D4B26A; }
.stars-shop__amount { font-size: 22px; font-weight: 700; color: #E8E3DB; margin-bottom: 8px; }
.stars-shop__price { font-size: 28px; font-weight: 800; color: #D4B26A; margin-bottom: 6px; }
.stars-shop__save { font-size: 13px; color: #A69E90; text-decoration: line-through; opacity: 0.7; }
.stars-shop__hint { text-align: center; color: #A69E90; font-size: 14px; margin: 32px 0 24px; }
.stars-shop__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ══════════════ Payment methods badges ══════════════ */
.payment-methods {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0 8px;
}
.pm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: #35332F;
  color: #E8E3DB;
  border: 1px solid #423F3A;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.pm-badge--mir     { background: #0F754E; color: #FFF; border-color: #0F754E; }
.pm-badge--sbp     { background: linear-gradient(135deg, #7B41FA 0%, #FA1B70 100%); color: #FFF; border-color: transparent; }
.pm-badge--visa    { background: #1A1F71; color: #F7B600; border-color: #1A1F71; letter-spacing: 1.5px; }
.pm-badge--mc      { background: #FFF; color: #EB001B; border-color: #FFF; font-size: 11px; }
.pm-badge--usdt    { background: #26A17B; color: #FFF; border-color: #26A17B; }
.pm-badge--stars   { background: #229ED9; color: #FFF; border-color: #229ED9; }
.payment-methods__note {
  text-align: center;
  color: #A69E90;
  font-size: 12px;
  margin: 4px 0 0;
}

/* ══════════════ Cookie banner ══════════════ */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px;
  background: #35332F;
  border: 1px solid #544F47;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: none;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner__text {
  flex: 1;
  min-width: 240px;
  color: #E8E3DB;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.cookie-banner__text a {
  color: #B08858;
  text-decoration: underline;
}
.cookie-banner__btn {
  background: #B08858;
  color: #231508;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}
.cookie-banner__btn:hover { background: #C89C6A; }
@media (max-width: 640px) {
  .cookie-banner { padding: 12px 16px; }
}

/* ══════════════ Footer legal block (реквизиты ИП) ══════════════ */
.footer__legal {
  font-size: 12px;
  line-height: 1.5;
  color: #A69E90;
  margin-top: 12px;
}
.footer__legal a {
  color: #B08858;
}
@media (max-width: 640px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__legal {
    text-align: center;
  }
}

/* ══════════════ Inline code (для /stars и подобных команд) ══════════════ */
code {
  background: #423F3A;
  color: #D4B26A;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
  font-size: 0.9em;
}
