/* ============================================================
   svadebnye-slova.com — main stylesheet
   ============================================================ */
:root {
  /* Основные цвета */
  --gold: #C4A265;
  --gold-light: #D4B87A;
  --gold-dark: #A68845;
  --gold-subtle: rgba(196, 162, 101, 0.08);
  --gold-border: rgba(196, 162, 101, 0.15);
  --gold-border-hover: rgba(196, 162, 101, 0.35);

  /* Фоны */
  --cream: #FDF8F0;
  --cream-dark: #F5EDE0;
  --white: #FFFFFF;

  /* Текст */
  --text: #2C2318;
  --text-light: #6B5D4F;
  --text-muted: #9B8E7E;

  /* Акценты */
  --rose: #E8C4C4;
  --rose-deep: #C9A0A0;
  --sage: #B5C5B0;
  --blush: #F2E0D6;

  /* Тени */
  --shadow-sm: 0 2px 8px rgba(44, 35, 24, 0.04);
  --shadow-md: 0 8px 30px rgba(44, 35, 24, 0.06);
  --shadow-lg: 0 20px 60px rgba(44, 35, 24, 0.08);
  --shadow-gold: 0 8px 30px rgba(196, 162, 101, 0.25);

  /* Типографика */
  --font-display: 'Playfair Display', 'Georgia', serif; /* headings */
  --font-quote: 'Lora', 'Georgia', serif;                /* result text, quotes, examples */
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  /* Размеры */
  --container: 1200px;
  --container-narrow: 900px;
  --header-height: 64px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

/* Reset & base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(253, 248, 240, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  transition: all 0.4s var(--ease);
}
.header--scrolled { height: 52px; box-shadow: var(--shadow-sm); }

.header__logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.5px;
}
.header__logo span { color: var(--gold); }

.header__nav { display: flex; gap: 32px; align-items: center; }
.header__nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  position: relative;
  transition: color var(--duration) var(--ease);
}
.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--duration) var(--ease);
}
.header__nav-link:hover { color: var(--gold); }
.header__nav-link:hover::after { width: 100%; }
.header__nav-link--accent {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--duration);
}
.header__nav-link--accent::after { display: none; }
.header__nav-link--accent:hover {
  background: var(--gold);
  color: var(--white);
}
.header__nav-link--accent i[data-lucide] { width: 14px; height: 14px; }

.header__burger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  padding: 8px;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--gold-border);
  padding: 24px 32px;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav--open { display: flex; }
.mobile-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 8px 0;
  border-bottom: 1px solid var(--gold-border);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-height) + 40px) 24px 80px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(232, 196, 196, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(196, 162, 101, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(181, 197, 176, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero__ornament {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: 32px;
  position: relative;
}
.hero__ornament-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold);
  background: var(--cream);
  padding: 0 12px;
}
.hero__badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero__subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  transition: all 0.4s var(--ease);
}
.btn--primary { background: var(--gold); color: var(--white); }
.btn--primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(44, 35, 24, 0.2);
}
.btn--secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost {
  background: transparent;
  color: var(--text-light);
  padding: 8px 0;
  letter-spacing: 1px;
  font-size: 12px;
}
.btn--ghost:hover { color: var(--gold); }
.btn--large { padding: 18px 48px; font-size: 13px; }
.btn--block { width: 100%; justify-content: center; }
.btn i[data-lucide] { width: 16px; height: 16px; }

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.social-proof { text-align: center; padding: 48px 24px; }
.social-proof__counter {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
}
.social-proof__number {
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 100px 24px; }
.section--white { background: var(--white); }
.section--dark { background: var(--text); color: var(--cream); }
.section--cream-dark { background: var(--cream-dark); }

.section__header { text-align: center; margin-bottom: 56px; }
.section__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section--dark .section__label { color: var(--gold-light); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.section--dark .section__title { color: var(--cream); }

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  padding: 40px 24px 32px;
  border: 1px solid var(--gold-border);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}
.category-card:hover::before { transform: scaleX(1); }
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.category-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 20px;
}
.category-card__icon i[data-lucide] { width: 32px; height: 32px; }
.category-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}
.category-card__desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  font-weight: 400;
  margin-bottom: 16px;
}
.category-card__count {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* ============================================================
   EXAMPLES
   ============================================================ */
.examples__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.example-card {
  background: var(--white);
  padding: 32px;
  border: 1px solid var(--gold-border);
  transition: all 0.4s var(--ease);
}
.example-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.example-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.example-card__tag i[data-lucide] { width: 12px; height: 12px; }
.example-card__tag--oath { color: var(--gold); background: var(--gold-subtle); }
.example-card__tag--toast { color: #8B7355; background: rgba(139, 115, 85, 0.08); }
.example-card__tag--congrats { color: var(--rose-deep); background: rgba(201, 160, 160, 0.1); }
.example-card__tag--wish { color: #7B9B72; background: rgba(123, 155, 114, 0.1); }
.example-card__text {
  font-family: var(--font-quote);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
  color: var(--text);
}
.example-card__meta { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.how__step { text-align: center; }
.how__step-num {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 500;
  color: rgba(196, 162, 101, 0.25);
  line-height: 1;
  margin-bottom: 16px;
}
.how__step-icon { color: var(--gold-light); margin-bottom: 16px; }
.how__step-icon i[data-lucide] { width: 28px; height: 28px; }
.how__step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 10px;
}
.how__step-desc {
  font-size: 15px;
  font-weight: 400;
  color: rgba(253, 248, 240, 0.7);
  line-height: 1.7;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.pricing__grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}
.price-card {
  padding: 36px 28px;
  border: 1px solid var(--gold-border);
  background: var(--white);
  text-align: center;
  transition: all 0.4s var(--ease);
}
.price-card--featured {
  border-color: var(--gold);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card--featured::before {
  content: 'Популярный';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 16px;
  white-space: nowrap;
}
.price-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}
.price-card__amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.price-card__amount small { font-size: 17px; color: var(--text-light); font-weight: 400; }
.price-card__desc {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 24px;
}
.price-card__features { margin-bottom: 28px; }
.price-card__feature {
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(196, 162, 101, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.price-card__feature i[data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  padding: 32px;
  border: 1px solid var(--gold-border);
}
.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: var(--gold);
}
.review-card__stars i[data-lucide] { width: 14px; height: 14px; }
.review-card__text {
  font-family: var(--font-quote);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 16px;
  font-style: italic;
}
.review-card__author {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { max-width: 720px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--gold-border); }
.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
}
.faq__question i[data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--gold);
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
}
.faq__item--open .faq__question i[data-lucide] { transform: rotate(180deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq__item--open .faq__answer { max-height: 500px; }
.faq__answer p {
  padding: 0 0 20px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   SUBPAGE / CATEGORY
   ============================================================ */
.subpage { padding: calc(var(--header-height) + 40px) 24px 80px; }

.breadcrumbs {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumbs li + li::before {
  content: '→';
  margin-right: 8px;
  color: var(--text-muted);
}
.breadcrumbs a {
  color: var(--gold);
  transition: color var(--duration);
}
.breadcrumbs a:hover { color: var(--gold-dark); }

.subpage__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
}
.subpage__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.subpage__intro {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 36px;
  font-weight: 400;
}
.subpage__intro a { color: var(--gold); }
.subpage__intro a:hover { color: var(--gold-dark); }
.subpage__intro p { margin-bottom: 12px; }

.subpage-example {
  background: var(--white);
  padding: 28px;
  border: 1px solid var(--gold-border);
  border-left: 3px solid var(--gold);
  margin-bottom: 20px;
}
.subpage-example__text {
  font-family: var(--font-quote);
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--text);
}
.subpage-example__meta {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.subpage-example__meta i[data-lucide] { width: 12px; height: 12px; color: var(--gold); }

.subpage__cta {
  background: var(--cream);
  border: 1px solid var(--gold-border);
  padding: 32px;
  text-align: center;
  margin: 32px 0;
}
.subpage__cta-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}
.subpage__cta-desc {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 20px;
}

.related-pages {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--gold-border);
}
.related-pages h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}
.related-pages ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.related-pages a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--gold-border);
  color: var(--text-light);
  transition: all var(--duration);
}
.related-pages a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.related-pages a::before {
  content: '→';
  color: var(--gold);
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  height: fit-content;
}
.sidebar__gen {
  background: var(--white);
  padding: 28px;
  border: 1px solid var(--gold-border);
  text-align: center;
  margin-bottom: 20px;
}
.sidebar__gen-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}
.sidebar__gen-desc {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 18px;
}
.sidebar__nav {
  background: var(--white);
  padding: 24px;
  border: 1px solid var(--gold-border);
}
.sidebar__nav-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 14px;
}
.sidebar__nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  padding: 7px 0;
  border-bottom: 1px solid rgba(196, 162, 101, 0.06);
  transition: color var(--duration);
}
.sidebar__nav-link:last-child { border-bottom: none; }
.sidebar__nav-link:hover { color: var(--gold); }
.sidebar__nav-link i[data-lucide] { width: 12px; height: 12px; }

/* ============================================================
   Legal pages (oferta / privacy)
   ============================================================ */
.legal-page {
  padding: calc(var(--header-height) + 60px) 24px 80px;
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 24px;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin: 32px 0 12px;
}
.legal-page p, .legal-page li {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 12px;
}
.legal-page ul, .legal-page ol { padding-left: 24px; margin-bottom: 16px; }
.legal-page li { list-style: disc; }

/* ============================================================
   Payment pages
   ============================================================ */
.payment-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 60px) 24px 60px;
}
.payment-page__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
}
.payment-page__icon i[data-lucide] { width: 40px; height: 40px; }
.payment-page h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 16px;
}
.payment-page p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 24px;
  line-height: 1.7;
}
.payment-page__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

.credentials-card {
  max-width: 480px;
  background: var(--cream);
  border: 1px solid var(--gold);
  padding: 32px 36px;
  margin: 24px auto 0;
  text-align: left;
  box-shadow: var(--shadow-md);
}
.credentials-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 6px;
  text-align: center;
}
.credentials-card__subtitle {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 20px !important;
}
.credentials-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(196, 162, 101, 0.12);
  flex-wrap: wrap;
}
.credentials-card__row:last-of-type { border-bottom: none; }
.credentials-card__label {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  min-width: 70px;
}
.credentials-card__value {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  padding: 6px 12px;
  border: 1px solid var(--gold-border);
  word-break: break-all;
}
.credentials-card__copy {
  padding: 7px 14px;
  background: var(--gold);
  color: var(--white);
  border: none;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration);
}
.credentials-card__copy:hover { background: var(--gold-dark); }
.credentials-card__hint {
  font-size: 12px !important;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  line-height: 1.6;
}
.credentials-card__hint a { color: var(--gold); }

/* ============================================================
   Auth / Profile / My pages (moved from generator.css so they
   work on pages that don't include generator.css)
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 20px 60px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(232, 196, 196, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(196, 162, 101, 0.08) 0%, transparent 70%),
    var(--cream);
}
.auth-card {
  max-width: 440px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gold-border);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}
.auth-card__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 8px;
}
.auth-card__subtitle {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.6;
}
.auth-card__hint {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.7;
}
.auth-card__hint a { color: var(--gold); font-weight: 500; }
.auth-card__hint a:hover { color: var(--gold-dark); }

.auth-form__field {
  display: block;
  margin-bottom: 20px;
}
.auth-form__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}
.auth-form__input {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--gold-border);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color var(--duration);
}
.auth-form__input:focus { border-color: var(--gold); }
.auth-form__hint {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.auth-form__error {
  padding: 12px 16px;
  background: rgba(201, 160, 160, 0.1);
  border: 1px solid rgba(201, 160, 160, 0.4);
  color: #8B4747;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.auth-form__error--visible { display: block; }

/* Profile page */
.profile-page {
  padding: calc(var(--header-height) + 40px) 20px 60px;
  background: var(--cream);
  min-height: 100vh;
}
.profile-page__title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 8px;
}
.profile-page__subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 32px;
}
.profile-page__badge {
  display: inline-block;
  font-size: 10px;
  background: var(--gold-subtle);
  color: var(--gold-dark);
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 8px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
}
.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--gold-border);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
  height: fit-content;
}
.profile-sidebar__link {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-light);
  border-left: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration);
}
.profile-sidebar__link:hover { color: var(--gold); }
.profile-sidebar__link--active {
  color: var(--gold-dark);
  border-left-color: var(--gold);
  background: var(--gold-subtle);
}
.profile-sidebar__link--ghost {
  border-top: 1px solid var(--gold-border);
  margin-top: 12px;
  padding-top: 18px;
  color: var(--text-muted);
}
.profile-block {
  background: var(--white);
  border: 1px solid var(--gold-border);
  padding: 32px 36px;
  margin-bottom: 24px;
}
.profile-block__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 20px;
}
.profile-status {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.status-card {
  padding: 20px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}
.status-card--paid { border-left-color: var(--gold-dark); }
.status-card__label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 6px;
}
.status-card__value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
}
.status-card__cta {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 12px;
}
.profile-texts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.profile-texts__empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}
.profile-texts__empty a { color: var(--gold); }

/* My / "history" card */
.my-card {
  background: var(--cream);
  border: 1px solid var(--gold-border);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
}
.my-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.my-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
}
.my-card__tag--oath     { color: var(--gold); background: var(--gold-subtle); }
.my-card__tag--toast    { color: #8B7355; background: rgba(139, 115, 85, 0.08); }
.my-card__tag--congrats { color: var(--rose-deep); background: rgba(201, 160, 160, 0.1); }
.my-card__tag--wish     { color: #7B9B72; background: rgba(123, 155, 114, 0.1); }
.my-card__time { font-size: 11px; color: var(--text-muted); }
.my-card__text {
  font-family: var(--font-quote);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 14px;
  color: var(--text);
  white-space: pre-wrap;
}
.my-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.my-card--clickable {
  cursor: pointer;
  transition: all var(--duration);
}
.my-card--clickable:hover {
  border-left-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.my-card__btn {
  padding: 7px 14px;
  background: var(--white);
  border: 1px solid var(--gold-border);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition: all var(--duration);
  text-decoration: none;
  display: inline-block;
}
.my-card__btn:hover { border-color: var(--gold); color: var(--gold); }
.my-card__btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.my-card__btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}
.my-card__btn--ghost {
  margin-left: auto;
  padding: 5px 10px;
  color: var(--text-muted);
  border-color: transparent;
  font-size: 18px;
  line-height: 1;
}
.my-card__meta {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}
.my-page {
  padding: calc(var(--header-height) + 40px) 20px 60px;
}
.my-page__title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 8px;
}
.my-page__subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 32px;
}
.my-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}
.my-empty {
  text-align: center;
  padding: 60px 20px;
}
.my-empty p {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; flex-direction: row; overflow-x: auto; }
  .profile-sidebar__link--ghost { border-top: none; border-left: 1px solid var(--gold-border); margin-top: 0; margin-left: 12px; padding-top: 12px; padding-left: 18px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 56px 24px 28px;
  background: var(--text);
  color: rgba(253, 248, 240, 0.5);
}
.footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
}
.footer__brand-logo span { color: var(--gold); }
.footer__brand-desc {
  font-size: 14px;
  line-height: 1.65;
  margin-top: 10px;
  font-weight: 400;
  color: rgba(253, 248, 240, 0.65);
}
.footer__col-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 14px;
}
.footer__link {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  transition: color var(--duration);
  font-weight: 400;
  color: rgba(253, 248, 240, 0.75);
}
.footer__link:hover { color: var(--gold-light); }
.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(253, 248, 240, 0.08);
  font-size: 12px;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(253, 248, 240, 0.55);
}
.footer__bottom a { transition: color var(--duration); }
.footer__bottom a:hover { color: var(--gold-light); }

/* ============================================================
   EDITOR MODE — in-place switch from landing to editor after generation
   Triggered by JS via document.body.classList.add('editor-mode').
   Hides landing sections and footer so only the generator + result stay.
   ============================================================ */
body.editor-mode .hero,
body.editor-mode #categories,
body.editor-mode #examples,
body.editor-mode .section--dark,         /* How it works */
body.editor-mode #pricing,
body.editor-mode .section--cream-dark,   /* Reviews */
body.editor-mode #faq,
body.editor-mode .social-proof,
body.editor-mode .footer,
body.editor-mode .header__nav,
body.editor-mode .mobile-nav {
  display: none !important;
}
body.editor-mode .generator-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  min-height: calc(100vh - var(--header-height));
}
body.editor-mode .generator__modes,
body.editor-mode .generator__form,
body.editor-mode .generator__preview,
body.editor-mode .generator__loading,
body.editor-mode .interview {
  display: none !important;
}
body.editor-mode .generator__layout {
  display: block;
}
body.editor-mode .section__header {
  display: none;
}

/* ============================================================
   SHARE MODAL (VK / Telegram / WhatsApp)
   ============================================================ */
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.share-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 35, 24, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.2s;
}
.share-modal__dialog {
  position: relative;
  max-width: 440px;
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--gold);
  padding: 40px 32px 32px;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.3s var(--ease);
}
.share-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
}
.share-modal__close:hover { color: var(--gold-dark); }
.share-modal__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 4px;
}
.share-modal__subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
}
.share-modal__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 10px;
  background: var(--white);
  border: 1.5px solid var(--gold-border);
  text-decoration: none;
  color: var(--text);
  transition: all var(--duration);
}
.share-option:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.share-option__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  letter-spacing: 0.5px;
}
.share-option--vk .share-option__icon { background: #0077FF; }
.share-option--tg .share-option__icon { background: #26A5E4; }
.share-option--wa .share-option__icon { background: #25D366; }
.share-option__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.3px;
}

.share-modal__link {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--gold-border);
}
.share-modal__link input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1.5px solid var(--gold-border);
  background: var(--white);
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--text);
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.share-modal__link input:focus { border-color: var(--gold); }
.share-modal__copy {
  padding: 11px 16px;
  background: var(--gold);
  color: var(--white);
  border: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration);
  white-space: nowrap;
}
.share-modal__copy:hover { background: var(--gold-dark); }
.share-modal__copy--ok { background: var(--sage); }

@media (max-width: 480px) {
  .share-modal__dialog { padding: 32px 20px 24px; }
  .share-modal__options { gap: 6px; }
  .share-option { padding: 14px 8px; }
  .share-option__icon { width: 38px; height: 38px; font-size: 13px; }
}

/* ============================================================
   SCROLL TO TOP (desktop only, discreet)
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(253, 248, 240, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  color: var(--gold-dark);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
  z-index: 90;
  box-shadow: var(--shadow-sm);
}
.scroll-top--visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--cream);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.scroll-top::before {
  content: '↑';
  display: block;
  line-height: 1;
}
@media (max-width: 768px) {
  .scroll-top { display: none !important; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .examples__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; }
  .price-card--featured { transform: none; }
  .subpage__layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 768px) {
  .header { padding: 0 20px; }
  .header__nav { display: none; }
  .header__burger { display: block; }
  .hero { padding-top: calc(var(--header-height) + 24px); min-height: auto; padding-bottom: 60px; }
  .hero__title { font-size: 36px; }
  .section { padding: 60px 20px; }
  .categories__grid { grid-template-columns: 1fr; gap: 14px; }
  .category-card { padding: 28px 20px; }
  .examples__grid { grid-template-columns: 1fr; }
  .how__grid { grid-template-columns: 1fr; gap: 32px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .subpage__title { font-size: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .related-pages ul { grid-template-columns: 1fr; }
}
