:root {
  --red: #dc1e2e;
  --black: #0a0a0c;
  --white: #ffffff;
  --gray: #f5f5f5;
  --text: #1a1a1a;
  --border: #e0e0e0;
  --font: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text); background: var(--white); }
.site-header { background: var(--black); color: var(--white); padding: 16px 0; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 16px; }
.company-label { font-size: 14px; color: #aaa; }
.header-pitch { max-width: 1200px; margin: 0 auto; padding: 24px 24px 28px; }
.header-pitch h1 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.header-pitch p { font-size: 16px; color: #ccc; line-height: 1.6; max-width: 640px; }
.iframe-wrapper { width: 100%; height: 90vh; border-top: 3px solid var(--red); }
.iframe-wrapper iframe { width: 100%; height: 100%; border: none; }
.offer-section { background: var(--white); padding: 60px 24px; }
.offer-section > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.offer-title { font-size: 32px; font-weight: 700; text-align: center; margin-bottom: 40px; }
.offer-hero { text-align: center; margin-bottom: 48px; }
.offer-hero__title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; color: var(--black); margin-bottom: 14px; line-height: 1.1; }
.offer-hero__sub { font-size: 16px; color: #555; line-height: 1.65; max-width: 540px; margin: 0 auto; }
.timer-block { text-align: center; margin-bottom: 48px; background: var(--gray); border-radius: 20px; padding: 32px 24px; }
.timer-label { font-size: 13px; font-weight: 600; color: #888; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.timer-display { font-size: 52px; font-weight: 800; color: var(--red); letter-spacing: 2px; font-variant-numeric: tabular-nums; line-height: 1; }
.timer-sub { font-size: 13px; color: #aaa; margin-top: 10px; }
.offer-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.offer-path { display: flex; gap: 14px; padding: 22px; border-radius: 14px; background: var(--gray); align-items: flex-start; }
.offer-path__icon { font-size: 18px; font-weight: 700; line-height: 1.4; min-width: 24px; }
.offer-path--yes .offer-path__icon { color: #2e7d32; }
.offer-path--no .offer-path__icon { color: #999; }
.offer-path--q .offer-path__icon { color: var(--red); }
.offer-path strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 5px; color: var(--black); }
.offer-path p { font-size: 13px; color: #555; line-height: 1.55; margin: 0; }
.offer-path a { color: var(--red); text-decoration: none; }
@media (max-width: 768px) { .offer-paths { grid-template-columns: 1fr; } }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 40px; }
.tier { border: 2px solid var(--border); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.tier--featured { border-color: var(--red); }
.tier-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px; }
.tier-name { font-size: 18px; font-weight: 700; }
.tier-price { font-size: 36px; font-weight: 800; color: var(--red); }
.tier-desc { font-size: 14px; color: #555; line-height: 1.5; flex: 1; }
.tier-btn { display: block; width: 100%; background: var(--red); color: #fff; text-align: center; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; margin-top: 8px; border: none; cursor: pointer; }
.tier-btn:hover { background: #b01825; }
.offer-note { text-align: center; font-size: 13px; color: #888; line-height: 1.6; }
.deleted-page { background: var(--black); color: var(--white); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.deleted-inner { text-align: center; padding: 40px; }
.deleted-inner h1 { font-size: 32px; margin: 24px 0 12px; }
.deleted-inner p { color: #aaa; margin-bottom: 24px; }
.deleted-inner a { color: var(--red); text-decoration: none; }
.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 24px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.btn { display: inline-block; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; border: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-secondary { background: var(--gray); color: var(--text); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.table th { background: var(--gray); font-weight: 600; }
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status-active { background: #e8f5e9; color: #2e7d32; }
.status-viewed { background: #fff8e1; color: #f57f17; }
.status-paid { background: #e3f2fd; color: #1565c0; }
.status-published { background: #f3e5f5; color: #6a1b9a; }
.status-deleted { background: #fce4ec; color: #b71c1c; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-group input, .form-group select { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; }

/* Landing page — стиль atma.company */
.l-header { padding: 20px 0; }
.l-header__inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; }
.l-logo { display: flex; align-items: center; text-decoration: none; }
.l-logo__img { height: 26px; width: auto; display: block; }
.l-nav__cta { background: var(--red); color: #fff; padding: 10px 22px; border-radius: 100px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background 0.15s; }
.l-nav__cta:hover { background: #b01825; }
.l-container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.l-btn { display: inline-block; background: var(--red); color: #fff; padding: 16px 36px; border-radius: 100px; font-weight: 700; font-size: 16px; text-decoration: none; transition: background 0.15s; }
.l-btn:hover { background: #b01825; }
/* Hero */
.l-hero { padding: 80px 0 100px; text-align: center; }
.l-hero__inner { display: flex; flex-direction: column; align-items: center; }
.l-hero__title { font-size: clamp(52px, 8vw, 96px); font-weight: 800; line-height: 1.0; letter-spacing: -3px; color: var(--black); margin-bottom: 28px; }
.l-hero__pill { display: inline-block; background: #ebebeb; border-radius: 16px; padding: 2px 18px 6px; color: var(--black); }
.l-hero__accent { color: var(--red); }
.l-hero__sub { font-size: 17px; color: #666; line-height: 1.6; max-width: 480px; margin-bottom: 36px; }
.l-hero__micro { margin-top: 14px; font-size: 13px; color: #aaa; }
/* Steps */
.l-steps { padding: 80px 0; background: var(--gray); }
.l-label { font-size: 13px; font-weight: 600; color: #aaa; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 48px; }
.l-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
@media (max-width: 768px) { .l-steps__grid { grid-template-columns: 1fr; gap: 32px; } .l-header__inner, .l-container { padding: 0 20px; } .l-hero__title { letter-spacing: -1px; } }
.l-step__num { font-size: 52px; font-weight: 800; color: var(--black); opacity: 0.08; line-height: 1; margin-bottom: 20px; }
.l-step__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--black); }
.l-step__text { font-size: 15px; color: #666; line-height: 1.6; }
/* Works */
.l-works { padding: 80px 0; }
.l-works__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 40px; }
.l-work-card { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: var(--text); transition: border-color 0.15s, box-shadow 0.15s; }
.l-work-card:hover { border-color: var(--red); box-shadow: 0 2px 12px rgba(220,30,46,.08); }
.l-work-card__name { font-weight: 600; font-size: 15px; }
.l-work-card__arrow { color: var(--red); font-size: 18px; }
/* CTA */
.l-cta { padding: 100px 0; text-align: center; }
.l-cta__title { font-size: clamp(32px, 5vw, 60px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 12px; color: var(--black); }
.l-cta__sub { font-size: 16px; color: #666; margin-bottom: 32px; }
/* Footer */
/* Pitch header — compact single row */
.pitch-header { border-bottom: 1px solid var(--border); }
.pitch-header__inner { max-width: 1280px; margin: 0 auto; padding: 14px 48px; display: flex; align-items: center; gap: 20px; }
.pitch-header__copy { display: flex; flex-direction: column; gap: 2px; }
.pitch-header__title { font-size: 15px; font-weight: 600; color: var(--black); }
.pitch-header__title strong { font-weight: 700; }
.pitch-header__sub { font-size: 13px; color: #888; }
/* Pitch features */
.pitch-features { padding: 56px 0; border-top: 1px solid var(--border); background: var(--gray); }
.pitch-features__inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.pitch-feature { display: flex; gap: 16px; margin-bottom: 28px; }
.pitch-feature:last-child { margin-bottom: 0; }
.pitch-feature__num { font-size: 22px; font-weight: 800; color: var(--red); opacity: 0.35; min-width: 28px; line-height: 1.4; }
.pitch-feature p { font-size: 15px; color: #444; line-height: 1.65; margin: 0; }
.pitch-feature__arrow { color: var(--red); }
.pitch-phone { background: var(--black); border-radius: 36px; padding: 14px; box-shadow: 0 24px 64px rgba(0,0,0,.18); display: inline-block; }
.pitch-phone__screen { width: 272px; height: 490px; overflow: hidden; border-radius: 22px; position: relative; }
.pitch-phone iframe { width: 375px; height: 676px; border: none; display: block; transform: scale(0.7253); transform-origin: top left; }
@media (max-width: 900px) {
  .pitch-features__inner { grid-template-columns: 1fr; gap: 40px; }
  .pitch-phone { max-width: 320px; }
  .pitch-header__inner { padding: 14px 20px; }
}
@media (max-width: 600px) {
  .pitch-features__inner { padding: 0 20px; }
}
.l-footer { border-top: 1px solid var(--border); padding: 28px 0; }
.l-footer__inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #aaa; }
.l-footer__link { color: #aaa; text-decoration: none; }
.l-footer__link:hover { color: var(--red); }

/* Sticky pitch bar */
.pitch-sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transform: translateY(-100%);
  transition: transform 0.25s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.pitch-sticky--visible { transform: translateY(0); }
.pitch-sticky__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  height: 56px; display: flex; align-items: center; gap: 20px;
}
.pitch-sticky__msg { font-size: 14px; color: #555; flex: 1; }
.pitch-sticky__timer {
  font-size: 18px; font-weight: 700; color: #aaa;
  font-variant-numeric: tabular-nums; letter-spacing: 1px;
}
.pitch-sticky__timer--active { color: var(--red); }
@media (max-width: 600px) {
  .pitch-sticky__inner { padding: 0 16px; }
  .pitch-sticky__msg { display: none; }
}

/* Pay modal */
.pay-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pay-modal { background: #fff; border-radius: 20px; padding: 40px; max-width: 440px; width: 100%; position: relative; }
.pay-modal__close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 20px; color: #aaa; cursor: pointer; line-height: 1; }
.pay-modal__close:hover { color: var(--black); }
.pay-modal__title { font-size: 22px; font-weight: 800; color: var(--black); margin-bottom: 8px; }
.pay-modal__tier { font-size: 16px; font-weight: 700; color: var(--red); margin-bottom: 16px; }
.pay-modal__sub { font-size: 14px; color: #555; line-height: 1.55; margin-bottom: 20px; }
.pay-modal__field input { width: 100%; padding: 14px 16px; border: 2px solid var(--border); border-radius: 10px; font-size: 16px; outline: none; transition: border-color .15s; }
.pay-modal__field input:focus { border-color: var(--red); }
.pay-modal__btn { display: block; width: 100%; background: var(--red); color: #fff; text-align: center; padding: 15px; border-radius: 10px; font-weight: 700; font-size: 16px; border: none; cursor: pointer; margin-top: 14px; transition: background .15s; }
.pay-modal__btn:hover { background: #b01825; }
.pay-modal__notice { font-size: 12px; color: #888; line-height: 1.55; margin-top: 14px; text-align: center; }
.offer-path a[href^="tel:"] { white-space: nowrap; }

/* Payment success */
.paid-success { text-align: center; padding: 60px 24px; max-width: 560px; margin: 0 auto; }
.paid-success__icon { width: 72px; height: 72px; background: #16a34a; color: #fff; border-radius: 50%; font-size: 36px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.paid-success__title { font-size: 28px; font-weight: 800; color: var(--black); margin-bottom: 16px; }
.paid-success__tier { font-size: 16px; color: #555; margin-bottom: 12px; }
.paid-success__phone { font-size: 16px; color: #333; line-height: 1.6; margin-bottom: 20px; }
.paid-success__notice { font-size: 13px; color: #888; }
.paid-success__notice a { color: var(--red); white-space: nowrap; }
