html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

@media (max-width: 640px) {
  html { scroll-padding-top: 64px; }
}

/* Лендинг: свой фон (псевдоэлемент), без дубля с body из main.css */
body.page-landing {
  background-color: transparent !important;
  background-image: none !important;
}

.landing-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  color: var(--text-primary, #2d2d2d);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip;
  overflow-y: visible;
  background-color: #fbf7f2;
}

/* Фиксированный фон — theme-light / theme-dark из static/img */
.landing-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #fbf7f2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22), rgba(251, 247, 242, 0.45)),
    url("/static/img/theme-light.png");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: brightness(1.02);
}

[data-theme="dark"] .landing-page {
  background-color: #1a1510;
}

[data-theme="dark"] .landing-page::before {
  background-color: #1a1510;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.42), rgba(26, 21, 16, 0.55)),
    url("/static/img/theme-dark.png");
  filter: brightness(0.9);
}

/* Лёгкий паттерн поверх фона (читаемость + «текстура») */
.landing-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%238B7355' stroke-width='1.5'%3E%3Ccircle cx='50' cy='50' r='20'/%3E%3Cpath d='M150 30 L170 70 L130 70Z'/%3E%3Crect x='250' y='30' width='40' height='40' rx='5'/%3E%3Cpath d='M340 20 Q360 50 340 80'/%3E%3Cellipse cx='60' cy='180' rx='25' ry='15'/%3E%3Cpath d='M160 150 L160 210'/%3E%3Cpath d='M145 180 L175 180'/%3E%3Ccircle cx='270' cy='180' r='15'/%3E%3Cpath d='M350 150 C370 170 350 190 370 210'/%3E%3Cpath d='M40 300 L80 300 L60 340Z'/%3E%3Crect x='150' y='290' width='30' height='50' rx='10'/%3E%3Ccircle cx='280' cy='320' r='18'/%3E%3Cpath d='M350 290 Q370 320 350 350'/%3E%3C/g%3E%3C/svg%3E")
    repeat;
  background-size: 400px 400px;
}

[data-theme="dark"] .landing-page::after {
  opacity: 0.055;
}

.landing-page > *:not(.landing-nav) {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .landing-page::before {
    background-attachment: scroll;
  }
}

.landing-page section[id] {
  scroll-margin-top: 96px;
}

.landing-page * {
  box-sizing: border-box;
}

.landing-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.landing-page .header,
.landing-page .landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.landing-page .header.scrolled,
.landing-page .landing-nav.scrolled {
  background: rgba(255, 255, 255, 0.88) !important;
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.landing-page .nav {
  min-height: 72px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: max(0px, env(safe-area-inset-left, 0px));
  padding-right: max(0px, env(safe-area-inset-right, 0px));
}

@media (max-width: 640px) {
  .landing-page .nav {
    min-height: 76px;
  }
}

.landing-page .logo {
  display: inline-flex;
  align-items: center;
  align-self: center;
  text-decoration: none;
  gap: 0;
}

.landing-page .logo .logo-text {
  font-size: clamp(24px, 3vw, 32px);
}

.landing-page .nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.landing-page .nav-link-mobile-only {
  display: none;
}

.landing-page .nav-links a {
  position: relative;
  color: #7a7267;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.landing-page .nav-links a:hover {
  color: #3a3632;
}

.landing-page .nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #c4956a;
  transition: width 0.3s ease;
}

.landing-page .nav-links a:hover::after {
  width: 100%;
}

.landing-page .nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-page .btn-login {
  text-decoration: none;
  color: #2d2d2d;
  font-weight: 600;
  padding: 8px 16px;
}

/* --- Auth nav (logged-in state) --- */
.landing-page .nav-user-menu {
  position: relative;
}

.landing-page .nav-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(58, 54, 50, 0.07);
  border: 1px solid rgba(58, 54, 50, 0.12);
  border-radius: 40px;
  padding: 5px 14px 5px 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  font: inherit;
  color: #3a3632;
}

.landing-page .nav-user-btn:hover {
  background: rgba(58, 54, 50, 0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.landing-page .nav-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c4956a, #a67c52);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.landing-page .nav-user-name {
  font-weight: 600;
  font-size: 14px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-page .nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(58, 54, 50, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 200px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.landing-page .nav-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.landing-page .nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #3a3632;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s ease;
}

.landing-page .nav-dropdown-item:hover {
  background: rgba(58, 54, 50, 0.06);
}

.landing-page .nav-dropdown-logout {
  color: #c0392b;
}

.landing-page .nav-dropdown-logout:hover {
  background: rgba(192, 57, 43, 0.06);
}

.landing-page .nav-dropdown-divider {
  height: 1px;
  background: rgba(58, 54, 50, 0.1);
  margin: 4px 8px;
}

/* --- Dark theme overrides for auth nav --- */
[data-theme="dark"] .landing-page .nav-user-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-text-placeholder);
  color: #f5f0e8;
}

[data-theme="dark"] .landing-page .nav-user-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .landing-page .nav-dropdown {
  background: #1a1714;
  border-color: var(--color-text-placeholder);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

[data-theme="dark"] .landing-page .nav-dropdown-item {
  color: #f5f0e8;
}

[data-theme="dark"] .landing-page .nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .landing-page .nav-dropdown-logout {
  color: #e07060;
}

[data-theme="dark"] .landing-page .nav-dropdown-logout:hover {
  background: rgba(224, 112, 96, 0.1);
}

[data-theme="dark"] .landing-page .nav-dropdown-divider {
  background: rgba(255, 255, 255, 0.1);
}

.landing-page .mobile-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 4px;
}

.landing-page .mobile-toggle span {
  width: 22px;
  height: 2px;
  background: #2d2d2d;
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(5deg);
  }
}

@keyframes float-slow-reverse {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(-4deg);
  }
}

@keyframes deco-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes shimmer-badge {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 100%;
  }
}

@keyframes cta-shine {
  0%,
  100% {
    transform: translate(-10%, -10%) rotate(0deg);
  }
  50% {
    transform: translate(10%, 5%) rotate(2deg);
  }
}

@keyframes pulse-cta {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 8px 32px rgba(0, 0, 0, 0.34);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.45), 0 14px 44px rgba(0, 0, 0, 0.42);
  }
}

@keyframes star-pop {
  from {
    opacity: 0;
    transform: scale(0);
  }
  55% {
    transform: scale(1.15);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce-number {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.15);
  }
  65% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1.08);
  }
}

.landing-page .hero,
.landing-page .hero-section {
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 120px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.landing-page .hero-content {
  width: 100%;
  position: relative;
  z-index: 2;
}

.landing-page .hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 20px;
  border-radius: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  color: #7a7267;
  font-size: 14px;
  overflow: hidden;
  animation: hero-fade-in 0.65s ease 0.15s both;
}

.landing-page .hero-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  animation: shimmer-badge 4.5s ease-in-out 1.2s infinite;
  pointer-events: none;
}

.landing-page .hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c4956a, #8b7355);
  box-shadow: 0 0 0 1px rgba(196, 149, 106, 0.35);
}

.landing-page .hero-section h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  margin: 20px 0 0;
  animation: hero-fade-in 0.65s ease 0.35s both;
}

.landing-page .accent-text {
  color: #7a5c3a;
  font-weight: 800;
}

.landing-page .hero-section .hero-subtitle {
  max-width: 560px;
  margin: 24px auto 40px;
  color: #7a7267;
  font-size: 18px;
  animation: hero-fade-in 0.65s ease 0.55s both;
}

.landing-page .hero-section .hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: hero-fade-in 0.65s ease 0.75s both;
}

.landing-page .hero-section .hero-features {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 20px;
  color: #7a7267;
  font-size: 14px;
  animation: hero-fade-in 0.65s ease 0.95s both;
}

.landing-page .check {
  color: #8a9a7b;
}

.landing-page .stats {
  padding: 32px 0 48px;
}

.landing-page .problems,
.landing-page .features-section,
.landing-page .how-it-works {
  padding: 52px 0;
}

.landing-page .reviews {
  padding: 52px 0 32px;
}

.landing-page .pricing {
  padding: 32px 0 40px;
}

.landing-page .cta {
  padding: 24px 0 36px;
}

.landing-page .stats-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.landing-page .stat-item {
  text-align: center;
  padding: 20px 24px;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
  min-width: 140px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-page .stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
}

.landing-page .stat-number {
  font-size: 48px;
  font-weight: 800;
}

.landing-page .stat-label {
  color: #7a7267;
}

.landing-page .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-bottom: 32px;
}

.landing-page .section-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: #2d2d2d;
  text-align: center;
  text-wrap: balance;
  max-width: 720px;
  margin: 0 0 12px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
}

.landing-page .section-subtitle {
  font-size: 15px;
  line-height: 1.5;
  color: #7a7267;
  text-align: center;
  text-wrap: balance;
  max-width: 560px;
  margin: 0;
}

.landing-page .pricing .section-header {
  margin-bottom: 20px;
}

/* Секции — без своих непрозрачных фонов, виден общий фон лендинга */
.landing-page section,
.landing-page [class$="-section"] {
  background: transparent !important;
}

/* Секция возможностей для мастеров */
.landing-page .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .landing-page .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .landing-page .features-grid {
    grid-template-columns: 1fr;
  }

  .landing-page .section-title {
    font-size: 26px;
  }

  .landing-page .section-subtitle {
    font-size: 14px;
  }
}

.landing-page .feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 240px;
  gap: 4px;
  padding: 28px 22px 24px;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.landing-page .feature-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
  border-color: var(--color-text-secondary) !important;
}

.landing-page .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  flex-shrink: 0;
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.landing-page .feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.landing-page .feature-icon--calendar {
  background: #eef2ff;
  color: #6366f1;
}
.landing-page .feature-icon--bell {
  background: #fef9c3;
  color: #ca8a04;
}
.landing-page .feature-icon--chart {
  background: #ecfdf5;
  color: #16a34a;
}
.landing-page .feature-icon--sparkle {
  background: #f3e8ff;
  color: #9333ea;
}
.landing-page .feature-icon--profile {
  background: #fff1f2;
  color: #e11d48;
}
.landing-page .feature-icon--money {
  background: #fff7ed;
  color: #ea580c;
}

.landing-page .feature-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #2d2d2d;
  word-break: break-word;
}

.landing-page .feature-desc {
  flex: 1 1 auto;
  margin: 0;
  min-height: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #7a7267;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

.landing-page .steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.landing-page .reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

@media (max-width: 900px) {
  .landing-page .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .landing-page .steps-grid {
    grid-template-columns: 1fr;
  }
}

.landing-page .step-card,
.landing-page .review-card,
.landing-page .pricing-card {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 20px !important;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-page .step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-height: 100%;
  height: 100%;
  box-sizing: border-box;
}

.landing-page .step-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

.landing-page .step-card .step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #c4956a, #8b7355);
  color: var(--color-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  margin-bottom: 16px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(139, 115, 85, 0.25);
}

.landing-page .step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #2d2d2d;
}

.landing-page .step-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #7a7267;
  flex: 1 1 auto;
}

.landing-page .step-card:hover .step-number {
  background: linear-gradient(145deg, #6b5740, #8b7355);
  color: var(--color-text-primary);
  transform: scale(1.08);
  animation: bounce-number 0.55s ease;
}

.landing-page .review-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

.landing-page .review-stars {
  color: #c4956a;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 2px;
}

.landing-page .review-stars span {
  display: inline-block;
  opacity: 0;
  transform: scale(0);
}

.landing-page .review-card.visible .review-stars span {
  animation: star-pop 0.4s ease both;
}

.landing-page .review-card.visible .review-stars span:nth-child(1) {
  animation-delay: 0.05s;
}
.landing-page .review-card.visible .review-stars span:nth-child(2) {
  animation-delay: 0.1s;
}
.landing-page .review-card.visible .review-stars span:nth-child(3) {
  animation-delay: 0.15s;
}
.landing-page .review-card.visible .review-stars span:nth-child(4) {
  animation-delay: 0.2s;
}
.landing-page .review-card.visible .review-stars span:nth-child(5) {
  animation-delay: 0.25s;
}

.landing-page .review-text,
.landing-page .review-service,
.landing-page .pricing-period {
  color: #7a7267;
}

.landing-page .review-author {
  display: flex;
  gap: 10px;
  align-items: center;
}

.landing-page .review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8b7355, #c4956a 55%, #d4a574);
  color: var(--color-text-primary);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(196, 149, 106, 0.35);
}

.landing-page .pricing {
  overflow: visible;
}

.landing-page .pricing .container {
  overflow: visible;
}

.landing-page .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
  overflow: visible;
  padding-top: 16px;
  align-items: start;
}

.landing-page .pricing-desc {
  font-size: 0.82rem;
  color: var(--text-secondary, #888);
  line-height: 1.5;
  margin: 0 0 10px;
}

.landing-page .pricing-team {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary, #888);
  padding: 8px 12px;
  background: rgba(196,149,106,0.08);
  border-radius: 8px;
  margin-bottom: 12px;
}

.landing-page .pricing-group-title {
  list-style: none;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted, #999);
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid rgba(196,149,106,0.1);
}

.landing-page .pricing-group-title .icon {
  display: none;
}

.landing-page .pricing-disabled {
  opacity: 0.4;
}

.landing-page .pricing-save {
  font-size: 0.78rem;
  color: var(--accent-primary, #c4956a);
  font-weight: 600;
}

.landing-page .pricing-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary, #c4956a);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 2;
}

.landing-page .pricing-badge--max {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.landing-page .pricing-card--max {
  border-color: #ff6b35;
}

.landing-page .pricing-card--max::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  z-index: -1;
  opacity: 0.15;
}

.landing-page .pricing-carousel-wrap {
  position: relative;
}

.landing-page .pricing-arrow {
  display: none;
}

@media (max-width: 900px) and (min-width: 641px) {
  .landing-page .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .landing-page .pricing-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    max-width: 100%;
    padding-bottom: 8px;
  }

  .landing-page .pricing-grid::-webkit-scrollbar {
    display: none;
  }

  .landing-page .pricing-card {
    min-width: 82%;
    max-width: 85%;
    flex-shrink: 0;
    scroll-snap-align: center;
    overflow: hidden;
    padding: 22px 18px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .landing-page .pricing-card.featured {
    transform: none;
  }

  .landing-page .pricing-card.featured:hover {
    transform: translateY(-5px);
  }

  .landing-page .pricing-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(196, 149, 106, 0.2);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    color: #3a3632;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .landing-page .pricing-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }

  .landing-page .pricing-arrow--left {
    left: -4px;
  }

  .landing-page .pricing-arrow--right {
    right: -4px;
  }

  .landing-page .pricing-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .landing-page .pricing-price {
    font-size: 28px;
  }

  .landing-page .pricing-card.featured .pricing-price {
    font-size: 32px;
  }

  .landing-page .pricing-name {
    font-size: 1.1rem;
  }

  .landing-page .pricing-period {
    font-size: 0.78rem;
  }

  .landing-page .pricing-desc {
    font-size: 0.78rem;
  }

  .landing-page .pricing-features li {
    font-size: 0.78rem;
  }

  .landing-page .pricing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(196, 149, 106, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .landing-page .pricing-dot.active {
    background: #c4956a;
    transform: scale(1.25);
  }
}

.landing-page .pricing-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
  overflow: visible;
  padding-top: 32px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.landing-page .pricing-card:not(.featured):hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

.landing-page .pricing-card .btn-primary,
.landing-page .pricing-card .btn-secondary {
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
}

.landing-page .pricing-card.popular {
  border: 2px solid #c4956a;
  position: relative;
}

.landing-page .pricing-card.featured {
  transform: none;
  z-index: 1;
  background: rgba(255, 255, 255, 0.75) !important;
  border-width: 2px;
  border: 2px solid rgba(139, 115, 85, 0.45) !important;
  box-shadow:
    0 8px 24px rgba(139, 115, 85, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
  padding-top: 44px;
}

.landing-page .pricing-card.featured::before {
  content: "⭐ Популярное";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #c4956a, #a67c52);
  color: var(--color-text-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(196, 149, 106, 0.35);
}

.landing-page .pricing-card.featured:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow:
    0 12px 32px rgba(139, 115, 85, 0.14),
    0 24px 64px rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.landing-page .pricing-card.featured .btn-primary {
  background: linear-gradient(135deg, #c4956a, #a67c52);
  color: var(--color-text-primary);
  border: none;
  font-weight: 700;
}

.landing-page .pricing-card.featured .btn-primary:hover {
  background: linear-gradient(135deg, #b3845c, #966d45);
  box-shadow: 0 10px 28px rgba(196, 149, 106, 0.45);
}

.landing-page .pricing-card:not(.featured) .btn-secondary {
  background: transparent;
  border: 2px solid rgba(58, 54, 50, 0.22);
  color: #3a3632;
}

.landing-page .pricing-card:not(.featured) .btn-secondary:hover {
  background: #3a3632;
  color: #fafaf8;
  border-color: #3a3632;
}

.landing-page .pricing-price {
  font-size: 40px;
  font-weight: 800;
  white-space: nowrap;
}

.landing-page .pricing-card.featured .pricing-price {
  font-size: 46px;
  font-weight: 800;
  color: #6b4f32;
}

.landing-page .pricing-card.featured .pricing-price .price-ru {
  letter-spacing: -0.02em;
}

.landing-page .price-ru {
  font-variant-numeric: tabular-nums;
}

.landing-page .pricing-features {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  flex: 1 1 auto;
}

.landing-page .pricing-features li {
  padding: 8px 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #3a3632;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.landing-page .pricing-features li:last-child {
  border-bottom: none;
}

.landing-page .cta-section {
  position: relative;
  overflow: hidden;
  background: rgba(30, 25, 20, 0.52) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.landing-page .cta-section::before {
  content: "";
  position: absolute;
  inset: -60% -40%;
  background: radial-gradient(
    ellipse 45% 35% at 35% 40%,
    rgba(255, 255, 255, 0.07) 0%,
    transparent 55%
  );
  animation: cta-shine 10s ease-in-out infinite;
  pointer-events: none;
}

.landing-page .cta-section .container {
  position: relative;
  z-index: 1;
}

.landing-page .cta-box {
  background: #3a3632;
  border-radius: 24px;
  padding: 56px 36px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.landing-page .cta-box h2 {
  color: #fafaf8;
}

.landing-page .cta-box p {
  color: rgba(250, 250, 248, 0.75);
  max-width: 540px;
  margin: 12px auto 28px;
}

.landing-page .btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #2a2622;
  background: #fff;
  border: none;
  border-radius: 14px;
  padding: 18px 36px;
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.landing-page .cta-box .btn-white.cta-button {
  padding: 18px 40px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  color: #2a2622;
  background: #fff;
  animation: none;
  border: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.landing-page .cta-box .btn-white.cta-button:hover {
  transform: translateY(-3px);
  background: #f5f3f0;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.landing-page .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
  background: #f5f3f0;
}

.landing-page .btn-white:active {
  transform: scale(0.98);
}

.landing-page .footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px 0;
}

.landing-page .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.landing-page .footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-page .footer-copy,
.landing-page .footer-links a {
  color: #7a7267;
  text-decoration: none;
}

.landing-page .footer-links {
  display: flex;
  gap: 20px;
}

/* Пользовательский стиль CTA-кнопки */
.landing-page .btn-primary {
  background: #3a3632;
  color: #fafaf8;
  border-radius: 12px;
  padding: 16px 32px;
  font-weight: 600;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-page .btn-primary:hover {
  background: #c4956a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 149, 106, 0.3);
}

.landing-page .btn-primary:active {
  transform: scale(0.97);
}

.landing-page .btn-secondary {
  border: 1px solid rgba(58, 54, 50, 0.2);
  color: #3a3632;
  border-radius: 12px;
  padding: 16px 32px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease, border-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-page .btn-secondary:hover {
  background: #3a3632;
  color: #fafaf8;
  border-color: #3a3632;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.landing-page .btn-secondary:active {
  transform: scale(0.97);
}

.landing-page .btn-large {
  min-width: 220px;
}

.landing-page .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s ease;
}

.landing-page .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.landing-page .floating-decoration {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

.landing-page .floating-decoration.small {
  width: 56px;
  height: 56px;
  font-size: 26px;
}

.landing-page .deco-1 {
  top: 120px;
  left: 6%;
  opacity: 0;
  animation: deco-fade-in 0.55s ease 1s forwards, float-slow 6.5s ease-in-out 1.5s infinite;
}

.landing-page .deco-2 {
  top: 170px;
  right: 6%;
  opacity: 0;
  animation: deco-fade-in 0.55s ease 1.1s forwards, float-slow-reverse 7s ease-in-out 1.55s infinite;
}

.landing-page .deco-3 {
  bottom: 140px;
  left: 8%;
  opacity: 0;
  animation: deco-fade-in 0.55s ease 1.15s forwards, float-slow-reverse 7.5s ease-in-out 1.6s infinite;
}

.landing-page .deco-4 {
  bottom: 120px;
  right: 8%;
  opacity: 0;
  animation: deco-fade-in 0.55s ease 1.2s forwards, float-slow 8s ease-in-out 1.65s infinite;
}

.landing-page .problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.landing-page .problems-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 50%;
  margin: 0 auto;
}

.landing-page .problem-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 0;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 20px !important;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-page .problem-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
  border-color: var(--color-text-secondary) !important;
}

.landing-page .problem-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.landing-page .problem-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #4a4540;
  overflow: visible;
  white-space: normal;
  word-break: normal;
  hyphens: auto;
}

@media (max-width: 768px) {
  .landing-page .container { padding: 0 16px; }
  .landing-page .nav-links { display: none; }
  .landing-page .nav-links.active {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 250, 248, 0.98);
    padding: 16px;
    flex-direction: column;
    gap: 12px;
  }
  .landing-page .mobile-toggle {
    display: flex;
    margin-left: 14px;
    flex-shrink: 0;
    padding: 8px;
    box-sizing: content-box;
  }
  /* Кнопка «Попробовать» в шапке — компактнее, с отступом от бургера */
  .landing-page .nav-actions .btn-primary {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 10px;
    white-space: nowrap;
  }
  .landing-page .btn-login { display: none; }
  .landing-page .nav-link-mobile-only {
    display: list-item;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 12px;
    margin-top: 4px;
  }
  .landing-page .nav-link-mobile-only a {
    font-weight: 700;
    color: #2d2d2d;
  }
  .landing-page .nav-user-name { display: none; }
  .landing-page .nav-user-btn { padding: 4px; }
  .landing-page .nav-user-btn svg { display: none; }
  .landing-page .nav-dropdown { right: -8px; min-width: 180px; }
  .landing-page .hero,
  .landing-page .hero-section {
    min-height: auto;
    padding: 88px 0 36px;
  }
  .landing-page .hero-buttons { flex-direction: column; }
  /* Три пункта в одну линию на телефоне */
  .landing-page .hero-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 12px;
    font-size: 12px;
    padding: 0 4px;
  }
  .landing-page .hero-features > span {
    white-space: nowrap;
  }
  /* Статистика — три карточки в ряд */
  .landing-page .stats-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }
  .landing-page .stats .stat-item {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 6px;
    max-width: none;
  }
  .landing-page .stats .stat-number {
    font-size: clamp(22px, 6.5vw, 34px);
    line-height: 1.1;
  }
  .landing-page .stats .stat-label {
    font-size: 11px;
    line-height: 1.25;
    margin-top: 4px;
  }
  .landing-page .problems-grid {
    grid-template-columns: 1fr;
  }
  .landing-page .problems-grid > :last-child:nth-child(odd) {
    max-width: 100%;
    margin: 0;
  }
  .landing-page .footer-content { flex-direction: column; text-align: center; }
  .landing-page .floating-decoration { display: none; }
  .landing-page .section-title { font-size: 26px; }
  .landing-page .stats { padding: 20px 0 36px; }
  .landing-page .problems,
  .landing-page .features-section,
  .landing-page .how-it-works,
  .landing-page .reviews { padding: 40px 0 32px; }
  .landing-page .pricing { padding: 28px 0 32px; }
  .landing-page .cta { padding: 16px 0 28px; }
  .landing-page .cta-box { padding: 40px 24px; }
}

@media (min-width: 641px) {
  .landing-page .pricing-dots {
    display: none;
  }
}

/* ============================================
   DARK THEME — landing page overrides
   ============================================ */

[data-theme="dark"] .landing-page .header,
[data-theme="dark"] .landing-page .landing-nav {
  background: rgba(20, 16, 12, 0.72) !important;
  border-bottom-color: rgba(139, 115, 85, 0.15);
}

[data-theme="dark"] .landing-page .header.scrolled,
[data-theme="dark"] .landing-page .landing-nav.scrolled {
  background: rgba(20, 16, 12, 0.92) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .landing-page .hero-section h1 {
  color: #f5f0e8;
}


[data-theme="dark"] .landing-page .nav-links a {
  color: rgba(245, 240, 232, 0.7);
}

[data-theme="dark"] .landing-page .nav-links a:hover {
  color: #f5f0e8;
}

[data-theme="dark"] .landing-page .nav-links a::after {
  background: #d4a574;
}

[data-theme="dark"] .landing-page .btn-login {
  color: #f5f0e8;
}

[data-theme="dark"] .landing-page .accent-text {
  color: #d4a574;
}

[data-theme="dark"] .landing-page .hero-subtitle,
[data-theme="dark"] .landing-page .stat-label,
[data-theme="dark"] .landing-page .section-subtitle {
  color: #a8a29e;
}

[data-theme="dark"] .landing-page .section-title {
  color: #f5f0e8;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .landing-page .stat-number {
  color: #f5f0e8;
}

[data-theme="dark"] .landing-page .check {
  color: #8a9a7b;
}

[data-theme="dark"] .landing-page .hero-badge {
  background: rgba(30, 26, 22, 0.85);
  border: 1px solid rgba(100, 80, 55, 0.25);
  color: #a8a29e;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .landing-page .hero-badge .dot {
  background: linear-gradient(135deg, #d4a574, #b8926a);
}

[data-theme="dark"] .landing-page .hero-features {
  color: #a8a29e;
}

/* Dark cards — glass */
[data-theme="dark"] .landing-page .feature-card,
[data-theme="dark"] .landing-page .problem-card,
[data-theme="dark"] .landing-page .step-card,
[data-theme="dark"] .landing-page .review-card,
[data-theme="dark"] .landing-page .pricing-card {
  background: rgba(30, 25, 20, 0.62) !important;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-color: rgba(139, 115, 85, 0.22) !important;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.22),
    0 12px 40px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(139, 115, 85, 0.12) !important;
}

[data-theme="dark"] .landing-page .feature-card:hover,
[data-theme="dark"] .landing-page .step-card:hover,
[data-theme="dark"] .landing-page .review-card:hover,
[data-theme="dark"] .landing-page .problem-card:hover {
  background: rgba(40, 32, 25, 0.78) !important;
  border-color: rgba(139, 115, 85, 0.38) !important;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.32),
    0 20px 60px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(139, 115, 85, 0.16) !important;
}

[data-theme="dark"] .landing-page .pricing-card:not(.featured):hover {
  background: rgba(40, 32, 25, 0.78) !important;
}

[data-theme="dark"] .landing-page .feature-icon {
  border: 1px solid rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .landing-page .feature-icon--calendar {
  background: rgba(99, 102, 241, 0.18);
}
[data-theme="dark"] .landing-page .feature-icon--calendar .icon-sm {
  color: #a5b4fc;
}
[data-theme="dark"] .landing-page .feature-icon--bell {
  background: rgba(234, 179, 8, 0.18);
}
[data-theme="dark"] .landing-page .feature-icon--bell .icon-sm {
  color: #fde047;
}
[data-theme="dark"] .landing-page .feature-icon--chart {
  background: rgba(34, 197, 94, 0.18);
}
[data-theme="dark"] .landing-page .feature-icon--chart .icon-sm {
  color: #86efac;
}
[data-theme="dark"] .landing-page .feature-icon--sparkle {
  background: rgba(168, 85, 247, 0.18);
}
[data-theme="dark"] .landing-page .feature-icon--sparkle .icon-sm {
  color: #d8b4fe;
}
[data-theme="dark"] .landing-page .feature-icon--profile {
  background: rgba(244, 63, 94, 0.18);
}
[data-theme="dark"] .landing-page .feature-icon--profile .icon-sm {
  color: #fda4af;
}
[data-theme="dark"] .landing-page .feature-icon--money {
  background: rgba(249, 115, 22, 0.18);
}
[data-theme="dark"] .landing-page .feature-icon--money .icon-sm {
  color: #fdba74;
}

[data-theme="dark"] .landing-page .pricing-card.featured {
  background: rgba(35, 28, 22, 0.75) !important;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 2px solid rgba(212, 165, 116, 0.45) !important;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.38),
    0 20px 50px rgba(212, 165, 116, 0.08),
    inset 0 1px 0 rgba(139, 115, 85, 0.16) !important;
}

[data-theme="dark"] .landing-page .stat-item {
  background: rgba(30, 25, 20, 0.55) !important;
  border-color: rgba(139, 115, 85, 0.2) !important;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(139, 115, 85, 0.1) !important;
}

[data-theme="dark"] .landing-page .stat-item:hover {
  background: rgba(40, 32, 25, 0.72) !important;
}

[data-theme="dark"] .landing-page .cta-section {
  background: rgba(12, 10, 8, 0.65) !important;
}

[data-theme="dark"] .landing-page .feature-title,
[data-theme="dark"] .landing-page .step-card h3,
[data-theme="dark"] .landing-page .review-name,
[data-theme="dark"] .landing-page .pricing-name,
[data-theme="dark"] .landing-page .pricing-price {
  color: #f5f0e8;
}

[data-theme="dark"] .landing-page .feature-desc,
[data-theme="dark"] .landing-page .step-card p,
[data-theme="dark"] .landing-page .review-text,
[data-theme="dark"] .landing-page .review-service,
[data-theme="dark"] .landing-page .pricing-period,
[data-theme="dark"] .landing-page .problem-text {
  color: #a8a29e;
}

[data-theme="dark"] .landing-page .pricing-features li {
  color: #c4b8a8;
  border-bottom-color: rgba(100, 80, 55, 0.15);
}

[data-theme="dark"] .landing-page .review-stars {
  color: #d4a574;
}

[data-theme="dark"] .landing-page .floating-decoration {
  background: rgba(24, 20, 16, 0.7);
  border: 1px solid rgba(100, 80, 55, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Dark buttons */
[data-theme="dark"] .landing-page .btn-primary {
  background: linear-gradient(135deg, #d4a574, #b8926a);
  color: #0d0b09;
}

[data-theme="dark"] .landing-page .btn-primary:hover {
  background: linear-gradient(135deg, #e0b88a, #c4a07a);
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3);
  color: #0d0b09;
}

[data-theme="dark"] .landing-page .btn-secondary {
  border-color: rgba(100, 80, 55, 0.35);
  color: #f5f0e8;
}

[data-theme="dark"] .landing-page .btn-secondary:hover {
  background: #d4a574;
  color: #0d0b09;
  border-color: #d4a574;
}

/* Dark pricing */
[data-theme="dark"] .landing-page .pricing-card.featured .pricing-price {
  color: #d4a574;
}

[data-theme="dark"] .landing-page .pricing-card.featured .btn-primary {
  background: linear-gradient(135deg, #d4a574, #b8926a);
  color: #0d0b09;
}

[data-theme="dark"] .landing-page .pricing-card:not(.featured) .btn-secondary {
  border-color: rgba(100, 80, 55, 0.35);
  color: #f5f0e8;
  background: transparent;
}

[data-theme="dark"] .landing-page .pricing-card:not(.featured) .btn-secondary:hover {
  background: #d4a574;
  color: #0d0b09;
  border-color: #d4a574;
}

/* Dark CTA box */
[data-theme="dark"] .landing-page .cta-box {
  background: linear-gradient(135deg, #1a1614, #0d0b09);
  border: 1px solid rgba(100, 80, 55, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .landing-page .cta-box h2 {
  color: #f5f0e8;
}

[data-theme="dark"] .landing-page .cta-box p {
  color: rgba(245, 240, 232, 0.6);
}

[data-theme="dark"] .landing-page .btn-white {
  background: #d4a574;
  color: #0d0b09;
  box-shadow: 0 8px 28px rgba(212, 165, 116, 0.25);
}

[data-theme="dark"] .landing-page .btn-white:hover {
  background: #e0b88a;
  box-shadow: 0 14px 40px rgba(212, 165, 116, 0.3);
}

/* Dark footer */
[data-theme="dark"] .landing-page .footer {
  border-top-color: rgba(100, 80, 55, 0.2);
}

[data-theme="dark"] .landing-page .footer-copy,
[data-theme="dark"] .landing-page .footer-links a {
  color: #6b6560;
}

[data-theme="dark"] .landing-page .footer-links a:hover {
  color: #d4a574;
}

/* Dark pricing carousel */
[data-theme="dark"] .landing-page .pricing-arrow {
  background: rgba(24, 20, 16, 0.9);
  border-color: rgba(100, 80, 55, 0.25);
  color: #d4a574;
}

[data-theme="dark"] .landing-page .pricing-dot {
  background: rgba(100, 80, 55, 0.3);
}

[data-theme="dark"] .landing-page .pricing-dot.active {
  background: #d4a574;
}

/* Dark step numbers */
[data-theme="dark"] .landing-page .step-card .step-number {
  background: linear-gradient(145deg, #d4a574, #b8926a);
  color: #0d0b09;
  box-shadow: 0 2px 8px rgba(212, 165, 116, 0.3);
}

/* Dark mobile nav */
@media (max-width: 768px) {
  [data-theme="dark"] .landing-page .nav-links.active {
    background: rgba(13, 11, 9, 0.98);
  }

  [data-theme="dark"] .landing-page .mobile-toggle span {
    background: #f5f0e8;
  }

  [data-theme="dark"] .landing-page .nav-link-mobile-only {
    border-top-color: var(--color-text-placeholder);
  }
  [data-theme="dark"] .landing-page .nav-link-mobile-only a {
    color: #f5f0e8;
  }
}

/* Client login button in nav */
.landing-page .btn-login-client {
  font-size: 12px;
  opacity: 0.7;
  padding: 6px 12px;
}

.landing-page .btn-login-client:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .landing-page .btn-login-client {
    display: none;
  }
}
