/* ============================================================
   COLORMENSIS — Design system
   Brand palette extracted from the official logo assets
   ============================================================ */

:root {
  --purple: #9C3CE4;
  --purple-deep: #7B23C2;
  --coral: #FC5454;
  --coral-deep: #E83B3B;
  --yellow: #FCCC24;
  --orange: #FC9C24;
  --magenta: #E43C6C;
  --blue: #3C3CCC;
  --sep-red: #B42424;
  --sep-red-deep: #9C240C;

  --cream: #FFF9F0;
  --paper: #FFFFFF;
  --ink: #2E2438;
  --gray: #545454;
  --line: rgba(46, 36, 56, 0.10);

  --shadow-sm: 0 2px 10px rgba(46, 36, 56, 0.06);
  --shadow-md: 0 14px 40px rgba(46, 36, 56, 0.10);
  --shadow-lg: 0 30px 70px rgba(46, 36, 56, 0.16);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--purple);
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--gray);
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
}

.overline::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 16px 0 0 var(--yellow), -8px -8px 0 -4px var(--coral);
}

.text-gradient {
  background: linear-gradient(100deg, var(--purple) 0%, var(--coral) 55%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn .arrow {
  transition: transform 0.18s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 10px 26px rgba(156, 60, 228, 0.35);
}

.btn-primary:hover {
  background: var(--purple-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(156, 60, 228, 0.42);
}

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 26px rgba(252, 84, 84, 0.35);
}

.btn-coral:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(252, 84, 84, 0.45);
}

.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple-deep);
  transform: translateY(-2px);
}

.btn-lg { padding: 19px 38px; font-size: 1.06rem; }

.btn-block { width: 100%; }

/* ---------- Announcement bar ---------- */

.announce {
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  padding: 10px 16px;
  text-transform: uppercase;
}

.announce a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 249, 240, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-word {
  height: 20px;
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
  position: relative;
  padding: 6px 2px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-cta { flex-shrink: 0; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gray);
  transition: background 0.18s ease, color 0.18s ease;
}

.lang-link span { font-size: 0.72rem; }

.lang-link img {
  width: 20px;
  height: auto;
  border-radius: 2px;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(46, 36, 56, 0.08);
}

.lang-link:hover { color: var(--ink); }

.lang-link.active {
  background: var(--purple);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.admin-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 6px 8px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
  flex-shrink: 0;
}

.admin-link:hover {
  color: var(--purple);
  background: var(--paper);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Sections ---------- */

.section {
  padding: clamp(70px, 10vw, 120px) 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .overline { justify-content: center; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy h1 { margin-bottom: 24px; }
.hero-copy .lede { max-width: 480px; margin-bottom: 34px; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-proof .dot-stack { display: flex; }
.hero-proof .dot-stack span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid var(--cream);
  margin-left: -8px;
}
.hero-proof .dot-stack span:first-child { margin-left: 0; }

.hero-visual { position: relative; }

.hero-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  transform: rotate(1.2deg);
}

.hero-card img { width: 100%; height: auto; }

.float-chip {
  position: absolute;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.9rem;
}

.chip-sept {
  top: 22px;
  left: -18px;
  transform: rotate(-6deg);
  background: var(--sep-red);
  color: #fff;
  border: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.chip-price {
  bottom: 30px;
  right: -14px;
  transform: rotate(4deg);
}

.chip-price strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--purple-deep); }

.chip-stars { bottom: -16px; left: 28px; transform: rotate(-2deg); color: var(--orange); }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: -1;
}

.hero-blob.b1 { width: 340px; height: 340px; background: #E6C7FF; top: -80px; right: -60px; }
.hero-blob.b2 { width: 260px; height: 260px; background: #FFD9D9; bottom: -60px; left: -80px; }

/* ---------- Marquee ticker ---------- */

.ticker {
  margin-top: clamp(56px, 8vw, 96px);
  background: var(--ink);
  color: var(--cream);
  transform: rotate(-1deg);
  overflow: hidden;
  border-block: 4px solid var(--yellow);
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 26s linear infinite;
}

.ticker span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 48px;
}

.ticker span::after { content: "✦"; color: var(--yellow); }

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- Grid cards ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: #F3E8FF;
}

.card h3 { margin-bottom: 10px; font-size: 1.28rem; }
.card p { font-size: 0.97rem; }

.bg-purple { background: #F3E8FF; }
.bg-coral { background: #FFE3E3; }
.bg-yellow { background: #FFF4C2; }
.bg-blue { background: #E2E2FF; }
.bg-orange { background: #FFE9D2; }
.bg-magenta { background: #FFE0EC; }

/* ---------- Split spotlight ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split.reverse .split-media { order: -1; }

.split-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--paper);
}

.split-media img { width: 100%; height: auto; }

.split-copy .overline { color: var(--sep-red); }
.split-copy h2 { margin-bottom: 20px; }
.split-copy p { margin-bottom: 18px; }

.check-list { list-style: none; margin: 22px 0 30px; }

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--ink);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
}

/* ---------- Palette chips ---------- */

.palette {
  display: flex;
  gap: 10px;
  margin: 24px 0;
}

.palette .swatch {
  width: 64px;
  height: 84px;
  border-radius: 14px;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

/* ---------- Video ---------- */

.video-shell {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.video-shell video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sound-btn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(46, 36, 56, 0.75);
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}

.sound-btn:hover { background: var(--purple); }

.video-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 999px;
}

/* ---------- Price card ---------- */

.price-card {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 52px);
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(360px 260px at 88% -10%, rgba(156, 60, 228, 0.55), transparent 60%),
    radial-gradient(300px 240px at 6% 110%, rgba(252, 84, 84, 0.45), transparent 60%);
  pointer-events: none;
}

.price-card > * { position: relative; }

.price-card .overline { color: var(--yellow); }
.price-card h2 { color: #fff; margin-bottom: 16px; }
.price-card p { margin-bottom: 26px; max-width: 520px; }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 30px;
}

.price-row .amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}

.price-row .note { font-weight: 600; }

.price-note {
  margin-top: 16px;
  font-size: 0.88rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 8px;
}

.secure { color: var(--yellow); }

/* ---------- Reviews ---------- */

.review { display: flex; flex-direction: column; gap: 14px; }

.stars { color: var(--orange); letter-spacing: 3px; font-size: 1.05rem; }

.review blockquote {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  flex: 1;
}

.review cite {
  font-style: normal;
  font-weight: 700;
  color: var(--purple-deep);
  font-size: 0.95rem;
}

/* ---------- Newsletter ---------- */

.newsletter {
  background: var(--yellow);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter h2 { margin-bottom: 12px; }
.newsletter p { max-width: 460px; margin: 0 auto 28px; }

.news-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

.news-form input {
  flex: 1;
  padding: 16px 22px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.news-form input:focus { box-shadow: 0 0 0 4px rgba(46, 36, 56, 0.15); }

.news-success {
  display: none;
  font-weight: 700;
  color: var(--ink);
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--purple);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 26px 24px;
  font-size: 0.98rem;
  max-width: 660px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-card p { font-size: 0.95rem; }
.contact-card a { color: var(--purple-deep); font-weight: 700; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span2 { grid-column: 1 / -1; }

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--purple);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
  background: #E9F9EC;
  border-radius: var(--radius-lg);
  font-weight: 700;
  color: #1E7A34;
}

.form-error {
  display: none;
  text-align: center;
  padding: 16px 24px;
  margin-bottom: 18px;
  background: #FDF0F0;
  border: 1px solid #F3C2C2;
  border-radius: var(--radius-lg);
  font-weight: 600;
  color: #9C240C;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #C9C2D6;
  padding: clamp(56px, 8vw, 88px) 0 32px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand { max-width: 280px; }

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand .brand-mark { width: 54px; height: 54px; border-radius: 16px; }

.footer-brand p { font-size: 0.95rem; }

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: grid; gap: 10px; }

.footer-col a {
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--yellow); }

.socials { display: flex; gap: 12px; margin-top: 20px; }

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.socials a:hover {
  background: var(--purple);
  border-color: var(--purple);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--yellow); }

.footer-socrates {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-socrates img {
  height: 34px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.footer-socrates a:hover img { opacity: 1; }

/* ---------- Plans (pricing) ---------- */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(46, 36, 56, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(46, 36, 56, 0.14);
}

.plan-card.featured {
  border: 2px solid var(--purple);
  box-shadow: 0 12px 34px rgba(156, 60, 228, 0.2);
}

.plan-head {
  padding: 24px 24px 18px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream), var(--paper));
  border-bottom: 1px solid var(--line);
}

.plan-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.plan-head h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 12px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.plan-price .amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.plan-price .per {
  font-size: 0.82rem;
  color: var(--gray);
}

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

.plan-features {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-features li {
  padding-left: 24px;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #454048;
}

.plan-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--purple);
  font-size: 0.78rem;
}

.plan-card .btn { margin-top: auto; }

/* ---------- Legal pages ---------- */

.legal-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.legal-block h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.legal-block p {
  color: var(--gray);
  line-height: 1.7;
}

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  padding: clamp(52px, 7vw, 90px) 0 40px;
  text-align: center;
}

.page-hero h1 { margin-bottom: 18px; }
.page-hero .lede { max-width: 560px; margin: 0 auto; }
.page-hero .overline { justify-content: center; }

.breadcrumb {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-deep);
  margin-bottom: 16px;
}

/* ---------- Shop page ---------- */

.shop-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.gallery .split-media { margin-bottom: 18px; }
.gallery .video-shell { margin-top: 18px; }

.gallery-tag {
  display: inline-block;
  background: var(--sep-red);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.buy-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3.4vw, 42px);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.buy-panel h1 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 14px; }

.rating-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px;
}

.buy-panel .price-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 22px 0 10px;
}

.buy-panel .amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ink);
}

.buy-panel .compare { color: #9A93A6; text-decoration: line-through; font-weight: 600; }

.meta-list { list-style: none; margin: 20px 0 26px; display: grid; gap: 10px; }

.meta-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.meta-list .ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.stripe-note {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--gray);
  background: #F4F0FA;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .shop-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media { order: 0; }

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

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

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

  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: rgba(255, 249, 240, 0.98);
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 55;
  }

  .main-nav.open { opacity: 1; pointer-events: auto; }

  .main-nav ul {
    flex-direction: column;
    gap: 26px;
    text-align: center;
  }

  .main-nav a { font-size: 1.5rem; font-family: var(--font-display); font-weight: 700; }

  .header-cta { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .grid-3,
  .grid-2,
  .grid-4 { grid-template-columns: 1fr; }

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

  .news-form { flex-direction: column; }

  .hero-proof { flex-wrap: wrap; }

  .chip-price { right: 8px; }

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

  .palette { flex-wrap: wrap; }

  .hero-card { transform: none; }

  .header-inner { gap: 12px; padding: 12px 16px; }

  .brand-word { display: none; }

  .lang-link { padding: 6px 8px; }

  .lang-link span { display: none; }

  .lang-link { font-size: 1rem; }

  .admin-link { font-size: 0.65rem; padding: 4px 6px; }
}
