/* ============================================================
   NikaCare — Unified Stylesheet
   Combined CSS from index.html, offer.html, privacy.html, terms.html
   ============================================================ */

/* ==========================================================
   1. CSS VARIABLES
   ========================================================== */
:root {
  --lavender: #c4b5e3;
  --lavender-deep: #a594d0;
  --lavender-light: #e8e0f5;
  --lavender-bg: #f5f1fb;
  --pink: #f0c6d4;
  --pink-light: #fce4ec;
  --pink-warm: #e8a0b5;
  --peach: #f5d5c0;
  --peach-glow: #fcebd8;
  --gold: #d4b896;
  --gold-accent: #c9a96e;
  --green: #8bc48a;
  --green-deep: #6dae6d;
  --text-dark: #3d3252;
  --text-mid: #5c4f6e;
  --text-light: #8a7d9b;
  --white: #ffffff;
  --bg-gradient: linear-gradient(135deg, #f5f1fb 0%, #fce8ef 40%, #fcebd8 100%);
  --card-shadow: 0 4px 24px rgba(150, 120, 180, 0.10);
  --card-shadow-hover: 0 8px 40px rgba(150, 120, 180, 0.18);
  --border: rgba(196, 181, 227, 0.20);
  --border2: rgba(196, 181, 227, 0.12);
}

/* ==========================================================
   2. RESET & BASE STYLES
   ========================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bg-gradient);
  background-attachment: fixed;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ==========================================================
   3. NAVIGATION (shared)
   ========================================================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 241, 251, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196, 181, 227, 0.18);
}

/* Nav inner — used by legal pages (offer, privacy, terms) */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav container — used by index.html */
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0;
}

/* "Care" accent */
.nav-logo-text span {
  color: var(--lavender-deep);
  font-style: normal;
}

/* "Ника" — russian name */
.nav-logo-ru {
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* "/" divider */
.nav-logo-divider {
  color: var(--lavender);
  font-weight: 300;
  margin: 0 5px;
  opacity: 0.6;
}

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Nav text link */
.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--lavender-deep);
}

/* Nav CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink-warm) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(196, 181, 227, 0.4);
}

/* Nav CTA — hide text on small screens, show icon only */
.nav-cta .nav-cta-text {
  display: inline;
}

@media (max-width: 480px) {
  nav .container,
  .nav-inner {
    padding: 0 16px;
  }

  .nav-logo img {
    width: 30px;
    height: 30px;
  }

  .nav-logo-text {
    font-size: 1.05rem;
  }

  .nav-right {
    gap: 14px;
  }

  .nav-link {
    font-size: 0.82rem;
  }

  .nav-cta {
    padding: 9px 16px;
    font-size: 0.82rem;
    gap: 6px;
  }

  .nav-cta .nav-cta-text {
    display: none;
  }
}

/* Nav back button — used by privacy and terms nav */
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink-warm) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-back:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(196, 181, 227, 0.4);
}

.nav-back svg {
  transition: transform 0.2s;
}

.nav-back:hover svg {
  transform: translateX(-3px);
}

/* ==========================================================
   4. FOOTER (shared)
   ========================================================== */
footer {
  padding: 60px 0 0;
  border-top: 1px solid rgba(196, 181, 227, 0.15);
  background: rgba(245, 241, 251, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Legacy simple footer for legal pages */
footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
  text-align: center;
}

footer .footer-inner p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.8;
}

footer a {
  color: var(--lavender-deep);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--text-dark);
}

/* ── Footer grid (index page) ── */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-col {
  min-width: 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
  padding: 10px 14px;
  background: rgba(232, 160, 181, 0.08);
  border: 1px solid rgba(232, 160, 181, 0.15);
  border-radius: 12px;
}

.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li {
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.footer-links li strong {
  color: var(--text-dark);
  font-weight: 600;
}

.footer-company li {
  color: var(--text-light);
  font-size: 0.82rem;
}

/* ── Footer bottom bar ── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid rgba(196, 181, 227, 0.12);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-light);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--text-light);
}

.footer-bottom-links a:hover {
  color: var(--lavender-deep);
}

/* ==========================================================
   5. LEGAL DOCUMENT LAYOUT (shared by offer, privacy, terms)
   ========================================================== */

/* Page layout with sidebar + content */
.page-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 24px 6rem;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 7rem;
  height: fit-content;
  align-self: start;
}

.sidebar-meta {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border2);
}

.sidebar-title {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.sidebar-date {
  font-size: 0.82rem;
  color: var(--text-light);
}

.sidebar-date b {
  color: var(--text-mid);
  font-weight: 600;
}

/* Table of contents */
.toc-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 1rem;
}

.toc {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.toc li a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.78rem;
  color: var(--text-light);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.2s;
  line-height: 1.4;
  border-bottom: 1px solid var(--border2);
}

.toc li:first-child a {
  border-top: 1px solid var(--border2);
}

.toc li a .toc-n {
  font-size: 0.62rem;
  color: var(--text-light);
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 600;
}

.toc li a:hover {
  color: var(--lavender-deep);
  border-left-color: var(--lavender-deep);
  background: rgba(196, 181, 227, 0.08);
}

.toc li a.active {
  color: var(--lavender-deep);
  border-left-color: var(--lavender-deep);
  background: rgba(196, 181, 227, 0.08);
}

/* ==========================================================
   6. DOCUMENT CONTENT (shared by offer, privacy, terms)
   ========================================================== */

/* Document header */
.doc-header {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.doc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.doc-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--lavender-deep);
  opacity: 0.6;
  border-radius: 1px;
}

.doc-h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

.doc-h1 em {
  font-style: normal;
  color: var(--lavender-deep);
}

.doc-intro {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 60ch;
  margin-bottom: 2rem;
}

.doc-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.meta-item {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.meta-item b {
  color: var(--text-mid);
  font-weight: 600;
}

/* Alert boxes */
.warn-box {
  background: rgba(240, 198, 212, 0.12);
  border: 1px solid rgba(232, 160, 181, 0.25);
  border-left: 3px solid var(--pink-warm);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 3rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.warn-box strong {
  color: var(--pink-warm);
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

.info-box {
  background: rgba(196, 181, 227, 0.08);
  border: 1px solid var(--border);
  border-left: 3px solid var(--lavender-deep);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.info-box strong {
  color: var(--lavender-deep);
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

/* Document sections */
.doc-section {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border2);
  scroll-margin-top: 8rem;
}

.doc-section:last-child {
  border-bottom: none;
}

.sec-num {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  font-weight: 700;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sec-num::after {
  content: '';
  flex: 0 0 16px;
  height: 2px;
  background: var(--lavender-deep);
  opacity: 0.4;
  border-radius: 1px;
}

.doc-section h2 {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.doc-section h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lavender-deep);
  margin: 2rem 0 0.8rem;
  text-transform: uppercase;
}

.doc-section p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.doc-section p:last-child {
  margin-bottom: 0;
}

.doc-section ul,
.doc-section ol {
  padding-left: 0;
  list-style: none;
  margin-bottom: 1.2rem;
}

.doc-section ul li,
.doc-section ol li {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--border2);
}

.doc-section ul li:first-child,
.doc-section ol li:first-child {
  border-top: 1px solid var(--border2);
}

.doc-section ul li::before {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lavender-deep);
  opacity: 0.5;
}

.doc-section ol {
  counter-reset: list;
}

.doc-section ol li::before {
  counter-increment: list;
  content: counter(list) ".";
  position: absolute;
  left: 0;
  top: 0.35rem;
  color: var(--lavender-deep);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Definition grid */
.def-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.2rem;
}

.def-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border2);
}

.def-row:first-child {
  border-top: 1px solid var(--border2);
}

.def-term {
  padding: 0.75rem 1rem 0.75rem 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lavender-deep);
  text-transform: uppercase;
  align-self: start;
  padding-top: 0.9rem;
}

.def-desc {
  padding: 0.75rem 0 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.75;
  border-left: 1px solid var(--border2);
}

/* Inline legal styles */
em.legal {
  font-style: normal;
  color: var(--text-dark);
  font-weight: 500;
}

a.legal-link {
  color: var(--lavender-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(165, 148, 208, 0.35);
  transition: border-color 0.2s;
}

a.legal-link:hover {
  border-color: var(--lavender-deep);
}

/* Contact block */
.contact-block {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 181, 227, 0.15);
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: var(--card-shadow);
}

.contact-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.contact-val {
  font-size: 0.88rem;
  color: var(--text-mid);
}

.contact-val a {
  color: var(--lavender-deep);
  text-decoration: none;
}

.contact-val a:hover {
  color: var(--text-dark);
}

/* Sign block */
.sign-block {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 181, 227, 0.15);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  margin-top: 2.5rem;
  box-shadow: var(--card-shadow);
}

.sign-name {
  font-size: 2rem;
  font-weight: 700;
  font-style: normal;
  color: var(--lavender-deep);
  margin-bottom: 0.4rem;
}

.sign-title {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Data table — used by privacy.html */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(196, 181, 227, 0.12);
}

.data-table th {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  font-weight: 700;
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(196, 181, 227, 0.15);
  background: rgba(196, 181, 227, 0.08);
}

.data-table td {
  padding: 0.75rem 1rem;
  color: var(--text-mid);
  border-bottom: 1px solid rgba(196, 181, 227, 0.08);
  vertical-align: top;
  line-height: 1.6;
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* Rights grid — used by privacy.html */
.rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.rights-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 181, 227, 0.15);
  border-radius: 20px;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.rights-card:hover {
  box-shadow: var(--card-shadow);
}

.rights-card-title {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.rights-card ul {
  margin: 0;
}

.rights-card ul li {
  font-size: 0.85rem;
  border-color: transparent;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.rights-card ul li:first-child {
  border-top: none;
}

/* ==========================================================
   7. INDEX PAGE — Hero
   ========================================================== */

/* Hero logo */
.hero-logo {
  width: 100px;
  height: 100px;
  border-radius: 28px;
  object-fit: cover;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(196, 181, 227, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

/* Hero section */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 181, 227, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 198, 212, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(196, 181, 227, 0.15);
  border: 1px solid rgba(196, 181, 227, 0.25);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hero heading */
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 20px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--lavender-deep) 0%, var(--pink-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero subtitle */
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
}

/* Hero CTA group */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink-warm) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 181, 227, 0.45);
}

/* Secondary button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(196, 181, 227, 0.3);
  color: var(--text-mid);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--lavender);
}

/* Telegram button variant */
.btn-telegram {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
}

.btn-telegram:hover {
  box-shadow: 0 8px 30px rgba(42, 171, 238, 0.35);
}

/* Hero note */
.hero-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
}

.hero-note a {
  color: var(--lavender-deep);
  text-decoration: none;
}

.hero-note a:hover {
  text-decoration: underline;
}

/* ==========================================================
   8. INDEX PAGE — Social Proof
   ========================================================== */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 500;
}

.proof-item svg {
  flex-shrink: 0;
}

/* ==========================================================
   8b. INDEX PAGE — Hero Poster
   ========================================================== */
.hero-poster {
  margin-top: 56px;
  position: relative;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(150, 120, 180, 0.18),
    0 8px 24px rgba(150, 120, 180, 0.10);
  border: 1px solid rgba(196, 181, 227, 0.18);
  background: rgba(255, 255, 255, 0.4);
}

.hero-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(196, 181, 227, 0.35),
    rgba(240, 198, 212, 0.25),
    rgba(245, 213, 192, 0.20),
    rgba(196, 181, 227, 0.15)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.hero-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

/* ==========================================================
   9. INDEX PAGE — Flow Bar
   ========================================================== */
.flow-bar {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 0 0 60px;
}

/* Step card */
.flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 181, 227, 0.15);
  border-radius: 16px;
  flex: 1;
  max-width: 260px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.flow-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

/* Number circle */
.flow-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink-warm) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Text content */
.flow-content {
  min-width: 0;
}

.flow-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.flow-desc {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 2px;
  line-height: 1.35;
}

/* Arrow connector */
.flow-connector {
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: var(--lavender);
  opacity: 0.4;
  flex-shrink: 0;
}

/* ── Flow Bar responsive ── */
@media (max-width: 820px) {
  .flow-bar {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-bottom: 48px;
  }

  .flow-step {
    max-width: 320px;
    width: 100%;
  }

  .flow-connector {
    padding: 8px 0;
    transform: rotate(90deg);
  }
}

/* ==========================================================
   10. INDEX PAGE — Steps
   ========================================================== */
.steps {
  padding: 40px 0 80px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 181, 227, 0.15);
  border-radius: 24px;
  padding: 36px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lavender-deep);
  margin-bottom: 6px;
}

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.step-card .step-sub {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 16px;
  font-style: normal;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.65;
}

.step-checks {
  list-style: none;
}

.step-checks li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 5px 0;
  padding-left: 28px;
  position: relative;
}

.step-checks li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='8' fill='%238bc48a' fill-opacity='0.15'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%236dae6d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

/* ==========================================================
   11. INDEX PAGE — Section Header
   ========================================================== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lavender-deep);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ==========================================================
   12. INDEX PAGE — Features
   ========================================================== */
.features {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 181, 227, 0.12);
  border-radius: 20px;
  padding: 30px 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon.mem   { background: var(--lavender-light); }
.feature-icon.chart { background: var(--pink-light); }
.feature-icon.lock  { background: var(--peach-glow); }
.feature-icon.sos   { background: #fce4ec; }
.feature-icon.diary { background: var(--lavender-light); }
.feature-icon.act   { background: var(--peach-glow); }

.feature-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.feature-card .feat-sub {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 10px;
  font-weight: 500;
}

.feature-card p.feat-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ==========================================================
   13. INDEX PAGE — Compare
   ========================================================== */
.compare {
  padding: 80px 0;
}

/* Rows container */
.compare-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

/* Single comparison row */
.compare-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

/* Label (left column) */
.compare-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 16px 0;
}

.compare-label svg {
  flex-shrink: 0;
}

/* Cells */
.compare-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.4;
  transition: transform 0.2s;
}

.compare-cell:hover {
  transform: translateY(-1px);
}

.compare-cell svg {
  flex-shrink: 0;
}

/* Tag inside cell — hidden on desktop, shown on mobile */
.compare-cell-tag {
  display: none;
}

/* "Old" cell (therapist) */
.compare-cell-old {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(196, 181, 227, 0.10);
  color: var(--text-light);
}

.compare-cell-old svg {
  stroke: var(--text-light);
  opacity: 0.5;
}

/* "New" cell (NikaCare) */
.compare-cell-new {
  background: linear-gradient(135deg, rgba(196, 181, 227, 0.10), rgba(240, 198, 212, 0.08));
  border: 1px solid rgba(196, 181, 227, 0.20);
  color: var(--green-deep);
  font-weight: 600;
}

.compare-cell-new svg {
  stroke: var(--green-deep);
}

/* Disclaimer */
.compare-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 20px 24px;
  background: rgba(232, 160, 181, 0.06);
  border: 1px solid rgba(232, 160, 181, 0.15);
  border-radius: 16px;
}

.compare-disclaimer-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(232, 160, 181, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-disclaimer p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.compare-disclaimer-emergency {
  margin-top: 6px;
  color: var(--text-mid);
}

.compare-disclaimer-emergency strong {
  color: var(--text-dark);
}

/* ── Compare responsive ── */
@media (max-width: 720px) {
  .compare-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(196, 181, 227, 0.10);
  }

  .compare-rows {
    gap: 0;
  }

  .compare-label {
    padding: 0 0 4px;
    font-size: 0.92rem;
  }

  .compare-cell-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    flex-shrink: 0;
    min-width: 90px;
  }

  .compare-cell-new .compare-cell-tag {
    color: var(--lavender-deep);
  }

  .compare-cell {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
  }

  .compare-disclaimer {
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
  }
}

/* ==========================================================
   13b. INDEX PAGE — Chat Demo
   ========================================================== */
.chat-demo {
  padding: 80px 0;
}

.chat-window {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 181, 227, 0.18);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.chat-header-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(196, 181, 227, 0.08);
  border-bottom: 1px solid rgba(196, 181, 227, 0.12);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--green-deep);
}

.chat-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-msg {
  display: flex;
}

.chat-msg-user {
  justify-content: flex-end;
}

.chat-msg-bot {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.chat-bubble-user {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink-warm) 100%);
  color: var(--white);
  border-bottom-right-radius: 6px;
}

.chat-bubble-bot {
  background: rgba(245, 241, 251, 0.8);
  color: var(--text-mid);
  border: 1px solid rgba(196, 181, 227, 0.12);
  border-bottom-left-radius: 6px;
}

.chat-bubble-bot em {
  font-style: italic;
  color: var(--text-dark);
  font-weight: 500;
}

/* Chat demo tabs */
.chat-demo-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.chat-tab {
  padding: 8px 20px;
  border: 1px solid rgba(196, 181, 227, 0.25);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-mid);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.chat-tab:hover {
  background: rgba(196, 181, 227, 0.12);
  border-color: rgba(196, 181, 227, 0.35);
}

.chat-tab.active {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink-warm) 100%);
  color: var(--white);
  border-color: transparent;
}

.chat-tab-content {
  display: none;
}

.chat-tab-content.active {
  display: block;
}

/* Feature tags on messages */
.chat-feature-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lavender-deep);
  background: rgba(196, 181, 227, 0.12);
  border: 1px solid rgba(196, 181, 227, 0.2);
  border-radius: 100px;
  padding: 2px 10px;
  margin-bottom: 6px;
}

.chat-msg-bot {
  flex-direction: column;
  align-items: flex-start;
}

.chat-demo-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
}

@media (max-width: 540px) {
  .chat-window {
    border-radius: 18px;
  }

  .chat-bubble {
    max-width: 90%;
    font-size: 0.84rem;
  }

  .chat-tab {
    padding: 6px 14px;
    font-size: 0.78rem;
  }
}

/* ==========================================================
   13c. INDEX PAGE — Testimonials
   ========================================================== */
.testimonials {
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 181, 227, 0.12);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.testimonial-stars {
  color: #f0b429;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(196, 181, 227, 0.10);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender-light), var(--pink-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lavender-deep);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-meta {
  font-size: 0.75rem;
  color: var(--text-light);
}

@media (max-width: 820px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ==========================================================
   13d. INDEX PAGE — Community
   ========================================================== */
.community {
  padding: 80px 0;
}

.community-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, rgba(196, 181, 227, 0.08), rgba(240, 198, 212, 0.06));
  border: 1px solid rgba(196, 181, 227, 0.15);
  border-radius: 28px;
  padding: 48px;
}

.community-content .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lavender-deep);
  margin-bottom: 12px;
}

.community-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.community-content p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}

.community-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.community-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-mid);
}

.community-perks li svg {
  flex-shrink: 0;
}

.community-buttons {
  display: flex;
  gap: 12px;
}

/* Preview card — fake channel posts */
.community-preview {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 181, 227, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.community-preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(196, 181, 227, 0.08);
  border-bottom: 1px solid rgba(196, 181, 227, 0.10);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.community-preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.community-preview-post {
  padding: 14px 18px;
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.55;
  border-bottom: 1px solid rgba(196, 181, 227, 0.06);
}

.community-preview-post:last-child {
  border-bottom: none;
}

.community-preview-post strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 820px) {
  .community {
    padding: 60px 0;
  }

  .community-box {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px;
    border-radius: 20px;
  }

  .community-content h2 {
    font-size: 1.35rem;
  }

  .community-content p {
    font-size: 0.88rem;
  }

  .community-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .community-buttons .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .community-perks {
    margin-bottom: 20px;
  }

  .community-perks li {
    font-size: 0.84rem;
  }

  .community-preview-post {
    padding: 12px 14px;
    font-size: 0.78rem;
  }

  .community-preview-header {
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .community-box {
    padding: 22px 16px;
    gap: 22px;
    border-radius: 16px;
  }

  .community-content h2 {
    font-size: 1.2rem;
  }

  .community-preview-post:last-child {
    display: none;
  }
}

/* ==========================================================
   14. INDEX PAGE — Pricing
   ========================================================== */
.pricing {
  padding: 80px 0 100px;
}

/* Two-card grid */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto 40px;
  align-items: stretch;
}

/* Base card */
.pricing-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 181, 227, 0.15);
  border-radius: 24px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

/* Featured card (Pro) */
.pricing-card-featured {
  background: linear-gradient(135deg, rgba(196, 181, 227, 0.12), rgba(240, 198, 212, 0.10));
  border: 2px solid rgba(196, 181, 227, 0.30);
  position: relative;
  box-shadow: 0 8px 40px rgba(150, 120, 180, 0.14);
}

/* Card header */
.pricing-card-header {
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(196, 181, 227, 0.12);
}

/* Badge */
.pricing-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.trial-badge {
  background: rgba(139, 196, 138, 0.12);
  color: var(--green-deep);
  border: 1px solid rgba(139, 196, 138, 0.25);
}

.pro-badge {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink-warm) 100%);
  color: var(--white);
}

.pricing-card-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

/* Price display */
.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-amount {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Feature list */
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.4;
}

.pricing-features li svg {
  flex-shrink: 0;
}

/* Buttons */
.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  border: none;
  width: 100%;
}

.pricing-btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(196, 181, 227, 0.3);
  color: var(--text-mid);
}

.pricing-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--lavender);
  transform: translateY(-1px);
}

.pricing-btn-primary {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink-warm) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.pricing-btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.pricing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 181, 227, 0.45);
}

/* Pricing footer */
.pricing-footer {
  text-align: center;
}

.pricing-footer p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

.pricing-footer a {
  color: var(--lavender-deep);
  text-decoration: none;
}

.pricing-footer a:hover {
  text-decoration: underline;
}

.pricing-disclaimer {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-light);
  opacity: 0.75;
}

/* Two buttons side by side in pricing card */
.pricing-btn-group {
  display: flex;
  gap: 14px;
  margin-top: auto;
}

.pricing-btn-group .pricing-btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  padding: 14px 12px;
}

.pricing-btn-group .btn-telegram {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  color: var(--white);
  border: none;
}

.pricing-btn-group .btn-telegram:hover {
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.35);
  transform: translateY(-2px);
}

/* OLD — kept for backwards compat if needed */
.cta-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  position: relative;
}

.cta-perks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 500;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  border: 1px solid rgba(196, 181, 227, 0.12);
}

.cta-perks span svg {
  flex-shrink: 0;
}

/* Large CTA button */
.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 48px;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink-warm) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn-cta-large::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.btn-cta-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(196, 181, 227, 0.5);
}

/* CTA micro text */
.cta-micro {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
  position: relative;
}

/* ==========================================================
   14c. INDEX PAGE — FAQ
   ========================================================== */
.faq {
  padding: 80px 0;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(196, 181, 227, 0.12);
}

.faq-item:first-child {
  border-top: 1px solid rgba(196, 181, 227, 0.12);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  display: none;
  content: '';
}

.faq-question:hover {
  color: var(--lavender-deep);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform 0.3s;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--lavender-deep);
}

.faq-answer {
  padding: 0 4px 22px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

.faq-answer a {
  color: var(--lavender-deep);
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

@media (max-width: 540px) {
  .faq-question {
    font-size: 0.92rem;
    padding: 18px 0;
  }

  .faq-answer {
    padding: 0 0 18px;
  }
}

/* ==========================================================
   15b. COOKIE CONSENT BANNER
   ========================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
  pointer-events: none;
}

.cookie-banner.cookie-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-inner {
  max-width: 680px;
  margin: 0 auto 20px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(196, 181, 227, 0.20);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(61, 50, 82, 0.12);
}

.cookie-inner p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin: 0;
}

.cookie-inner a {
  color: var(--lavender-deep);
  text-decoration: none;
  font-weight: 500;
}

.cookie-inner a:hover {
  text-decoration: underline;
}

.cookie-btn {
  flex-shrink: 0;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--pink-warm) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cookie-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196, 181, 227, 0.4);
}

@media (max-width: 540px) {
  .cookie-inner {
    flex-direction: column;
    gap: 12px;
    margin: 0 12px 12px;
    padding: 16px 18px;
    text-align: center;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* ==========================================================
   16. BLOG
   ========================================================== */

/* Blog hero */
.blog-hero {
  padding: 120px 0 40px;
  text-align: center;
}

.blog-hero .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lavender-deep);
  margin-bottom: 12px;
}

.blog-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.blog-hero p {
  font-size: 1.05rem;
  color: var(--text-mid);
}

/* Blog preview on index */
.blog-preview {
  padding: 80px 0;
}

.blog-preview-more {
  text-align: center;
  margin-top: 40px;
}

/* Blog grid */
.blog-list {
  padding: 40px 0 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text-light);
  font-size: 1rem;
}

/* Blog card */
.blog-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 181, 227, 0.12);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.blog-card-poster {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-card:hover .blog-card-poster img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-date {
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}

.blog-card-summary {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 14px;
}

.blog-card-read {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lavender-deep);
}

/* Blog article page */
.blog-article {
  padding: 100px 0 60px;
  max-width: 720px;
  margin: 0 auto;
}

/* Breadcrumb */
.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.blog-breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-breadcrumb a:hover {
  color: var(--lavender-deep);
}

.blog-breadcrumb svg {
  opacity: 0.4;
  flex-shrink: 0;
}

/* Article header */
.blog-article-header {
  margin-bottom: 36px;
}

.blog-article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.blog-article-summary {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.blog-article-meta-item svg {
  opacity: 0.5;
  flex-shrink: 0;
}

.blog-article-meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-light);
  opacity: 0.4;
}

/* Article poster */
.blog-article-poster {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--card-shadow);
}

.blog-article-poster img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article content — rendered HTML */
.blog-article-content {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.85;
}

.blog-article-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 2.8rem 0 1rem;
  padding-top: 0.5rem;
}

.blog-article-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2.2rem 0 0.8rem;
}

.blog-article-content p {
  margin-bottom: 1.3rem;
}

.blog-article-content ul,
.blog-article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.3rem;
}

.blog-article-content li {
  margin-bottom: 0.5rem;
}

.blog-article-content li::marker {
  color: var(--lavender-deep);
}

.blog-article-content blockquote {
  border-left: 3px solid var(--lavender-deep);
  padding: 1.2rem 1.6rem;
  margin: 2rem 0;
  background: rgba(196, 181, 227, 0.06);
  border-radius: 0 14px 14px 0;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
}

.blog-article-content img {
  max-width: 100%;
  border-radius: 14px;
  margin: 2rem 0;
}

.blog-article-content a {
  color: var(--lavender-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(165, 148, 208, 0.3);
  transition: border-color 0.2s;
}

.blog-article-content a:hover {
  border-bottom-color: var(--lavender-deep);
}

.blog-article-content hr {
  border: none;
  height: 1px;
  background: rgba(196, 181, 227, 0.2);
  margin: 2.5rem 0;
}

.blog-article-content strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Bottom bar: share + back */
.blog-article-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding: 20px 24px;
  background: rgba(196, 181, 227, 0.05);
  border: 1px solid rgba(196, 181, 227, 0.12);
  border-radius: 16px;
}

.blog-article-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-article-share-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
}

.blog-article-share-buttons {
  display: flex;
  gap: 6px;
}

.blog-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid rgba(196, 181, 227, 0.18);
  color: var(--text-mid);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.blog-share-btn:hover {
  background: rgba(196, 181, 227, 0.15);
  color: var(--lavender-deep);
  border-color: rgba(165, 148, 208, 0.3);
  transform: translateY(-1px);
}

.blog-share-btn.copied {
  background: rgba(165, 148, 208, 0.12);
  color: var(--lavender-deep);
  border-color: var(--lavender);
}

/* Back to blog */
.blog-article-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px 8px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  background: var(--white);
  border: 1px solid rgba(196, 181, 227, 0.18);
  border-radius: 10px;
  transition: all 0.2s;
  white-space: nowrap;
}

.blog-article-back:hover {
  color: var(--lavender-deep);
  border-color: rgba(165, 148, 208, 0.3);
  background: rgba(196, 181, 227, 0.08);
}

.blog-article-back svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.blog-article-back:hover svg {
  transform: translateX(-2px);
}

/* Article footer CTA */
.blog-article-footer {
  margin-top: 36px;
  padding: 36px 32px;
  background: linear-gradient(135deg, rgba(196, 181, 227, 0.10), rgba(240, 198, 212, 0.08));
  border: 1px solid rgba(196, 181, 227, 0.15);
  border-radius: 20px;
  text-align: center;
}

.blog-article-footer-icon {
  margin-bottom: 12px;
}

.blog-article-footer-icon img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blog-article-footer h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.blog-article-footer p {
  font-size: 0.92rem;
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-article-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Blog responsive */
@media (max-width: 820px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-article {
    padding: 80px 16px 48px;
  }

  .blog-breadcrumb {
    margin-bottom: 24px;
  }

  .blog-article-meta {
    gap: 6px;
  }

  .blog-article-poster {
    border-radius: 14px;
    margin-bottom: 28px;
  }

  .blog-article-content {
    font-size: 1rem;
  }

  .blog-article-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 18px;
  }

  .blog-article-footer {
    padding: 28px 20px;
  }

  .blog-article-cta {
    flex-direction: column;
  }

  .blog-article-cta .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================
   15. RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  .nav-inner {
    padding: 0 16px;
  }

  .page-wrap {
    grid-template-columns: 1fr;
    padding: 6rem 16px 4rem;
    gap: 2.5rem;
  }

  .sidebar {
    position: static;
    display: none;
  }

  .doc-h1 {
    font-size: 2rem;
  }

  .contact-block {
    grid-template-columns: 1fr;
  }

  .rights-grid {
    grid-template-columns: 1fr;
  }

  .def-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .def-term {
    border-bottom: none;
    padding-bottom: 0.2rem;
  }

  .def-desc {
    border-left: none;
    border-top: 1px solid var(--border2);
    padding-left: 0;
  }

  .data-table {
    font-size: 0.8rem;
  }

  footer {
    padding: 40px 16px 0;
  }

  footer p {
    font-size: 0.78rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 16px 0;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

@media (max-width: 600px) {
  .compare-table thead th,
  .compare-table tbody td {
    padding: 12px 16px;
    font-size: 0.82rem;
  }
}

@media (max-width: 540px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
