/* ==========================================================================
   Sections: page-specific layout, top to bottom
   ========================================================================== */

section { padding: 104px 0; }
section.tight-top { padding-top: 0; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features .card h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.features .card p { color: var(--muted); font-size: 15px; }

/* ---------- plans ---------- */
#plans { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.plans__toggle { text-align: center; margin-bottom: 40px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
}
.plan--best {
  background: linear-gradient(180deg, #0f1d3d, var(--panel) 60%);
  border-color: rgba(63,184,255,.55); box-shadow: 0 30px 70px -35px rgba(31,123,255,.8);
}
.plan__badge {
  position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.plan h3 { font-size: 20px; font-weight: 700; }
.plan__sub { font-size: 13px; color: var(--muted); }
.plan__price { margin: 22px 0 4px; display: flex; align-items: flex-start; gap: 4px; font-family: var(--font-display); }
.plan__cur { font-weight: 700; font-size: 22px; margin-top: 8px; }
.plan__amt { font-weight: 800; font-size: 56px; line-height: 1; }
.plan__permonth { font-size: 13px; color: var(--muted); min-height: 21px; }
.plan__save { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--ok); min-height: 18px; }
.plan ul { list-style: none; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 14px; color: #c9d2e3; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%;
  background: rgba(31,123,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%233fb8ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.plan .btn { margin-top: auto; }
.plans__note { text-align: center; margin-top: 26px; font-size: 14px; color: var(--muted); }
.plans__note a { color: var(--cyan); }

/* ---------- devices ---------- */
.devices { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 900px; margin: 0 auto; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps .card::before {
  counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 14px;
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 46px; line-height: 1;
  background: linear-gradient(180deg, #2a3e6b, transparent); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- final call to action ---------- */
.cta-band {
  border-radius: 26px; padding: 64px 40px; text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, #133a8a 0%, #0a1a3d 45%, var(--panel) 100%);
  border: 1px solid #22386b;
}
.cta-band img { width: min(360px, 80%); margin: 0 auto 22px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: #b9c5dc; margin-bottom: 28px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 104px; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.site-footer img { height: 24px; width: auto; }
.site-footer a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  section { padding: 76px 0; }
  .features, .steps, .plans { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 22px; }
}
