/* ==========================================
   ПОДПИСАЙТ — Main Styles
   ========================================== */

:root {
  --purple:       #8249f2;
  --purple-light: #f1ebff;
  --orange:       #ff8040;
  --orange-hover: #e56422;
  --dark-text:    #504359;
  --medium-text:  #9085a6;
  --grey-text:    #737580;
  --grey-60:      #8a8c99;
  --grey-75:      #acafbf;
  --grey-bg:      #f5f6fa;
  --grey-border:  #e1e3eb;
  --purple-note:  #b1a3cc;
  --section-gap:  160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; overflow-x: hidden; }
body  {
  font-family: 'Manrope', sans-serif;
  background: #fff;
  
  color: var(--dark-text);
  overflow-x: hidden;
}

.landing-block {
  padding-top: var(--section-gap);
}

.landing-block.cta-section {
  padding-bottom: var(--section-gap);
}

@media (max-width: 1344px) {
  :root { --section-gap: 72px; }
}

@media (max-width: 650px) {
  :root { --section-gap: 64px; }
}

/* ── Container ── */
.container {
  max-width: 1344px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Buttons */
.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.84px;
  padding: 26px 39px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
  align-self: flex-start;
    margin-left: 5px;
}
.btn-orange:hover { background: #E56422; }

/* ==========================================
   COOKIE BANNER
   ========================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  background: #fff;
  border-radius: 24px;
  padding: 16px 24px;
  width: 350px;
  box-shadow: 0 8px 40px rgba(80,67,89,.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-banner.hidden { display: none; }

.cookie-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  align-self: center;
  display: block;
}
.cookie-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey-text);
  line-height: 1.5;
  letter-spacing: -0.36px;
}
.cookie-text a { color: var(--purple); font-weight: 800; text-decoration: underline; }
.btn-cookie {
  background: var(--purple);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.42px;
  padding: 12px 20px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
  font-family: 'Manrope', sans-serif;
}
.btn-cookie:hover { opacity: .9; }

/* ==========================================
   PLANS SECTION
   ========================================== */
.plans-section {
  padding: 160px 48px 40px;
  max-width: 1344px;
  margin: 0 auto;
}
.plans-card {
  background: linear-gradient(120deg, #ece4f6 0%, #f6e8f0 70%, #ffe9dd 100%);
  border-radius: 32px;
  min-height: 0;
  padding: 24px 24px 0;
  display: grid;
   grid-template-columns: 1fr 540px;
  gap: 20px;
  position: relative;
  overflow: visible;
}
.plans-left h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--dark-text);
  letter-spacing: -1.92px;
  line-height: 1;
  margin-bottom: 26px;
  max-width: 520px;
  margin-top: 20px;
}
.plans-tabs-wrap {
  background: rgba(255,255,255,.7);
  border-radius: 100px;
  padding: 8px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 20px;
  position: relative;
}
.tab-slider {
  position: absolute;
  background: var(--purple);
  border-radius: 100px;
  z-index: 0;
  pointer-events: none;
  transition: left .35s cubic-bezier(.22,1,.36,1), width .35s cubic-bezier(.22,1,.36,1);
}
.plan-tab {
  font-size: 28px;
  font-weight: 600;
  color: #504359;
  letter-spacing: -0.84px;
  padding: 22px 24px;
  border-radius: 100px;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: 'Manrope', sans-serif;
  white-space: nowrap;
  transition: color .35s;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.plan-tab.active {
  color: #fff;
}
.plans-list-wrap {
  background: rgba(255,255,255,.35);
  border-radius: 32px;
  overflow: hidden;
  max-width: 600px;
  padding: 40px 40px 36px;
  margin-top: 120px;
}
.plans-tab-content { display: none; padding: 0; }
.plans-tab-content.active { display: block; margin-top: 24px; }
.plans-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 16px;
}
.plans-features li {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.plans-features .tick {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}
.plans-features .ft {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-text);
  line-height: 1.1;
  letter-spacing: -0.6px;
}
.plans-features .note { color: var(--purple-note); }

.btn-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.6px;
  padding: 24px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  width: 100%;
  text-decoration: none;
  margin-top: 24px;
  transition: background .2s;
}
.btn-plan:hover { background: #E56422; }
.plan-discount {
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #A49ABA;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.4px;
  line-height: 1;
}
.plan-discount img {
  width: 30px;
  height: 30px;
  opacity: .7;
}

.plans-right {
  display: flex;
 align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 30px;
}
.plans-phone-wrap {
  position: relative;
  width: 520px;
  transform: translateY(220px);
   isolation: isolate;
}

.plans-phone-screen {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 6px;
  bottom: 56px;
  border-radius: 34px;
  overflow: hidden;
  z-index: 1;
  background: #000;
}
.plans-phone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plans-iphone {
 width: 520px;
  margin-top: -20px;
  transform: none;
  object-fit: contain;
  filter: drop-shadow(0 32px 64px rgba(80,67,89,.15));
  position: relative;
  z-index: 3;
  pointer-events: none;
}

/* ==========================================
   SCROLL REVEAL
   ========================================== */
.reveal {
  opacity: 0;
 transform: translateY(36px);
  transition: opacity 1.4s cubic-bezier(.22,1,.36,1), transform 1.4s cubic-bezier(.22,1,.36,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   MODALS
   ========================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.48);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: #fff;
  border-radius: 24px;
  max-width: 720px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 48px 48px 40px;
  position: relative;
  scroll-behavior: smooth;
}
.modal-card::-webkit-scrollbar { width: 4px; }
.modal-card::-webkit-scrollbar-track { background: transparent; }
.modal-card::-webkit-scrollbar-thumb { background: #d0c8e8; border-radius: 4px; }
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin-left: 16px;
  background: var(--purple-light);
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: background .2s;
}
.modal-close:hover { background: #e0d3ff; }
.modal-close img { width: 14px; height: 14px; }
.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #262626;
  letter-spacing: -0.84px;
  margin-bottom: 28px;
  line-height: 1.1;
}
.modal-title1 {
  font-size: 20px;
  font-weight: 800;
  color: #262626;
  letter-spacing: -0.84px;
  margin-bottom: 28px;
  line-height: 0;
   margin-top: 15px;
}
.modal-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-text);
  line-height: 1.7;
  letter-spacing: -0.3px;
}
.modal-text p { margin-bottom: 10px; }
.modal-text b { font-weight: 700; }

/* ==========================================
   MOBILE RESPONSIVE — max-width: 1024px
   ========================================== */
@media (max-width: 1024px) {

 /* ── COOKIE ── */
  .cookie-banner {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 350px;
  }
  
  /* ── PLANS ── */
  .plans-section { padding: 40px 8px 0; }
  .plans-card {
    grid-template-columns: 1fr;
    padding: 16px 16px 0;
    border-radius: 24px;
  }
  .plans-right { display: none; }
 .plans-left h2 {
    font-size: 32px;
    letter-spacing: -0.96px;
    margin-bottom: 16px;
    margin-top: 8px;
    text-align: center;
  }
  .plans-list-wrap {
    margin-top: 0;
    max-width: none;
    padding: 20px;
    border-radius: 24px;
    margin-bottom: 16px;
  }
  .plans-tabs-wrap { height: 49px; padding: 4px; margin: 0 0 16px; }
  .plan-tab { font-size: 16px; padding: 10px 20px; }
  .plans-features { gap: 14px; }
  .plans-features .ft  { font-size: 14px; }
  .plans-features .tick { width: 16px; height: 16px; }
  .plans-features li { gap: 12px; }
  .btn-plan { font-size: 14px; padding: 18px 24px; margin-top: 16px; }
   .plan-discount { margin-top: 10px; font-size: 16px; letter-spacing: -0.3px; }
  .plan-discount img { width: 22px; height: 22px; }
}

@media (width: 414px) {
   .modal-title1 {
  font-size: 20px;
  font-weight: 800;
  color: #262626;
  letter-spacing: -0.84px;
  margin-bottom: 28px;
  line-height: 1;
}
}
@media (width: 430px) {
  .modal-title1 {
  font-size: 20px;
  font-weight: 800;
  color: #262626;
  letter-spacing: -0.84px;
  margin-bottom: 28px;
  line-height: 1;
}
}
