/* Reset & Base - СВЕТЛАЯ ТЕМА */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: #ffffff;
  color: #1a1a2e;
  line-height: 1;
  overflow-x: hidden;
}

.processing-button {
  margin-left: 3cqw;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header - СВЕТЛЫЙ */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1a1a2e;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: #4a4a6d;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.nav-link:hover {
  color: #7c5cff;
}

.nav-link:focus,
.nav-link:active {
  outline: none;
}

.nav-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.menu-toggle:focus,
.menu-toggle:active {
  outline: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a2e;
  margin: 4px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  -webkit-appearance: none;
}

.btn:focus,
.btn:active {
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #7c5cff 0%, #01d1fb 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(124, 92, 255, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  color: white;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #4a4a6d;
}

.btn-outline {
  background: transparent;
  border: 2px solid #7c5cff;
  color: #7c5cff;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-xl {
  padding: 18px 40px;
  font-size: 1.2rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 500px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%),
              radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.1) 0%, transparent 70%);
  z-index: -1;
}

/* ИСПРАВЛЕНИЕ: Текстовый блок 50%, загрузчик 50% */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* Текстовый блок */
.hero-content {
  width: 100%;
  padding-top: 20px !important;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #1a1a2e;
  font-weight: 700;
}

.highlight {
  background: linear-gradient(135deg, #7c5cff 0%, #01d1fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: #4a4a6d;
  margin-bottom: 32px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-features {
  list-style: none;
  margin-bottom: 40px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #4a4a6d;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7c5cff, #01d1fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ЗАГРУЗЧИК - СВЕТЛАЯ ВЕРСИЯ */
.hero-uploader {
  width: 100%;
}

.upload-zone {
  background: #f8fafc;
  border-radius: 16px;
  padding: 10px;
  border: 2px dashed #d1d5db;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.upload-zone.dragover {
  border-color: #7c5cff;
  background: #f0f4ff;
}

.upload-area {
  text-align: center;
  padding: 30px 20px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.upload-area:focus {
  outline: none;
}

.upload-icon {
  margin-bottom: 15px;
  font-size: 48px;
  color: #7c5cff;
}

.upload-area h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #1a1a2e;
  font-weight: 600;
}

.upload-area p {
  color: #6b7280;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.upload-note {
  font-size: 0.8rem;
  color: #7c5cff;
  margin-top: 10px;
  font-weight: 500;
}

.image-preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.image-preview-wrap {
  container-type: inline-size;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f1f5f9;
}

.image-preview-wrap .image-preview {
  max-height: 100cqw;
}

.image-preview img {
  max-width: 100%;
  max-height: 100cqw;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.btn-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1a1a2e;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-remove:focus {
  outline: none;
}

.btn-remove:hover {
  background: white;
}

/* СТИЛИ - СВЕТЛАЯ ВЕРСИЯ */
.style-selector {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #e5e7eb;
}

.style-selector h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #1a1a2e;
  font-weight: 600;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.style-btn {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 8px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.style-btn:focus,
.style-btn:active {
  outline: none;
}

.style-btn:hover {
  background: #f0f4ff;
  border-color: #7c5cff;
  transform: translateY(-2px);
}

.style-btn.active {
  background: rgba(124, 92, 255, 0.1);
  border-color: #7c5cff;
}

.style-btn span {
  font-size: 0.90rem;
  color: #4a4a6d;
  text-align: center;
  line-height: 1.2;
  font-weight: 500;
}

/* КНОПКИ - СВЕТЛАЯ ВЕРСИЯ */
.action-buttons {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.action-buttons .btn {
  flex: 1;
  padding: 14px 20px;
  font-size: 0.9rem;
  min-height: 48px;
}

/* СЛАЙДЕР РАЗМЕРА */
.breast-slider {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
}

.breast-slider label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #1a1a2e;
  font-size: 0.95rem;
}

.slider-container {
  position: relative;
  height: 40px;
}

.slider-container input[type="range"] {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.slider-container input[type="range"]:focus {
  outline: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: #7c5cff;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 10px rgba(124, 92, 255, 0.3);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.slider-labels span {
  font-size: 0.8rem;
  color: #6b7280;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 15px;
  transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  font-weight: 500;
}

.slider-labels span:focus,
.slider-labels span:active {
  outline: none;
}

.slider-labels span.active {
  background: rgba(124, 92, 255, 0.1);
  color: #7c5cff;
}

/* Processing */
.processing {
  text-align: center;
  padding: 30px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  backdrop-filter: blur(11px);
  flex-direction: column;
  justify-content: center;
  gap: 60px;
  background: rgba(255, 255, 255, 0.9);
}

.processing-circle {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
}

.progress-ring-bg {
  stroke: rgba(0, 0, 0, 0.1);
  fill: transparent;
}

.progress-ring-fg {
  stroke: #7c5cff;
  fill: transparent;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.5s;
}

.progress-ring {
  transform: scale(1.5);
}

.processing-text {
  position: absolute;
  top: 58%;
  left: 58%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.processing-text span {
  font-size: 1.3rem;
  font-weight: 700;
  display: block;
  color: #1a1a2e;
}

.processing-text p {
  font-size: 1rem;
  color: #4a4a6d;
  margin-top: 4px;
}

/* Result & Comparison */
.result {
  container-type: inline-size;
}

.comparison-slider {
  position: relative;
  width: 100%;
  height: 100cqw;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
}

.comparison-before,
.comparison-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.comparison-before {
  z-index: 3;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.comparison-after {
  z-index: 2;
}

.comparison-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-label {
  position: absolute;
  top: 15px;
  padding: 5px 15px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1a2e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-before .comparison-label {
  left: 15px;
}

.comparison-after .comparison-label {
  right: 15px;
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid #7c5cff;
  -webkit-tap-highlight-color: transparent;
}

.slider-handle:active {
  cursor: grabbing;
}

.slider-handle:focus {
  outline: none;
}

/* Quota */
.quota-info {
  background: #f8fafc;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #e5e7eb;
}

.quota-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  margin-bottom: 10px;
  overflow: hidden;
}

.quota-progress {
  height: 100%;
  background: linear-gradient(90deg, #7c5cff, #01d1fb);
  border-radius: 3px;
  transition: width 0.5s;
}

.quota-info p {
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

.quota-info strong {
  color: #1a1a2e;
  font-weight: 600;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #4a4a6d;
  font-weight: 500;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #1a1a2e;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* How It Works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.step {
  text-align: center;
  position: relative;
  background: #f8fafc;
  border-radius: 16px;
  padding: 30px 20px;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #7c5cff, #01d1fb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  box-shadow: 0 4px 15px rgba(124, 92, 255, 0.3);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: rgba(124, 92, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #1a1a2e;
  font-weight: 600;
}

.step p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Examples */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.example-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  transition: transform 0.3s;
}

.example-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.example-comparison {
  position: relative;
  height: 300px;
  background: #f1f5f9;
}

.example-before,
.example-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.example-before {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.example-comparison img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example-label {
  position: absolute;
  top: 15px;
  padding: 5px 15px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a2e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.example-before .example-label {
  left: 15px;
}

.example-after .example-label {
  right: 15px;
}

.example-description {
  padding: 20px;
  text-align: center;
  font-size: 0.95rem;
  color: #6b7280;
  font-weight: 500;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.benefit-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: rgba(124, 92, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #1a1a2e;
  font-weight: 600;
}

.benefit-card p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  transition: transform 0.3s;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
  border: 2px solid #7c5cff;
  background: white;
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c5cff, #01d1fb);
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #1a1a2e;
  font-weight: 700;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7c5cff, #01d1fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price span {
  font-size: 1rem;
  color: #6b7280;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a4a6d;
  font-size: 0.95rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  color: #01d1fb;
  font-weight: bold;
  font-size: 1.1rem;
}

.pricing-features li.disabled {
  color: #9ca3af;
}

.pricing-features li.disabled::before {
  content: '×';
  color: #9ca3af;
}

.pricing-card .btn {
  width: 100%;
  margin-top: 20px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  color: #1a1a2e;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question:focus,
.faq-question:active {
  outline: none;
}

.faq-question svg {
  transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

.faq-answer p {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.1) 0%, rgba(1, 209, 251, 0.1) 100%);
  border-radius: 30px;
  margin: 80px 20px;
  border: 1px solid rgba(124, 92, 255, 0.2);
}

.cta-content {
  text-align: center;
  padding: 60px 40px;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #1a1a2e;
  font-weight: 700;
}

.cta-text {
  font-size: 1.2rem;
  color: #4a4a6d;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #7c5cff;
  font-weight: 500;
}

/* Footer */
.footer {
  background: #f8fafc;
  padding: 60px 0 30px;
  margin-top: 80px;
  border-top: 1px solid #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1a1a2e;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-description {
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a2e;
  text-decoration: none;
  transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
  background: #7c5cff;
  color: white;
  transform: translateY(-2px);
}

.social-link:focus {
  outline: none;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #1a1a2e;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #7c5cff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 5px;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.m-auto {
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* Navigation enhancements */
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Active nav link */
.nav-link.active {
  color: #7c5cff !important;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #7c5cff, #01d1fb);
  border-radius: 1px;
}

/* Menu toggle animation */
.menu-toggle span {
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Dropdown styles */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 15px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  color: #4a4a6d;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.dropdown a:hover {
  color: #7c5cff;
  background: rgba(124, 92, 255, 0.05);
}

.dropdown a:focus {
  outline: none;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #7c5cff, #01d1fb);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(124, 92, 255, 0.3);
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.back-to-top:focus {
  outline: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.4);
}

.back-to-top:active {
  transform: translateY(-2px);
}

.nav-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 100;
  opacity: 0;
}

/* Mobile menu improvements */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-top: 1px solid #e5e7eb;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-btn {
    width: 100%;
    justify-content: center;
  }
  
  .dropdown {
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    margin-top: 10px;
    display: none;
  }
  
  .dropdown.active {
    display: block;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Performance optimizations */
.blog-post img,
.featured-image img {
  content-visibility: auto;
  contain-intrinsic-size: 400px 250px;
}

/* Ensure images don't cause layout shifts */
.post-image,
.featured-image {
  position: relative;
  overflow: hidden;
}

.post-image img,
.featured-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Active link styles */
.nav-link.active {
  color: #7c5cff;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, #7c5cff, #01d1fb);
  border-radius: 1px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

/* Loading states */
.loading-state {
  display: none;
  text-align: center;
  padding: 40px;
}

.loading-state.active {
  display: block;
}

/* Progressive enhancement */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Accessibility - скрытый текст для screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Улучшение доступности для фокуса */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #7c5cff;
  outline-offset: 2px;
}

/* Улучшение контраста для ссылок */
.nav-link,
.footer-links a {
  color: #4a4a6d;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link:focus,
.footer-links a:hover,
.footer-links a:focus {
  color: #7c5cff;
}

/* Улучшение видимости активных элементов */
.btn:focus {
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .steps,
  .benefits-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-card.popular {
    transform: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .style-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .examples-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .btn-lg,
  .btn-xl {
    padding: 14px 20px;
    font-size: 1rem;
  }
  
  .comparison-slider {
    height: 300px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .style-btn {
    padding: 10px 6px;
  }
  
  .style-btn span {
    font-size: 0.7rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .style-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .style-btn {
    padding: 8px 4px;
  }
}

/* Уведомление о подтверждении возраста */
.age-confirmation-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(1, 209, 251, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #1a1a2e;
  font-size: 14px;
  z-index: 1000000;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.1),
    0 4px 10px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  pointer-events: none;
  min-width: 280px;
  max-width: 90%;
  opacity: 0;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.age-confirmation-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.age-confirmation-toast .toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(1, 209, 251, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.age-confirmation-toast .toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.age-confirmation-toast .toast-title {
  font-weight: 600;
  font-size: 14px;
  color: #1a1a2e;
}

.age-confirmation-toast .toast-message {
  font-size: 13px;
  color: #6b7280;
  font-weight: 400;
}

/* Минималистичная анимация для поля загрузки */
.upload-area {
    transition: all 0.3s ease;
}

.upload-area:hover {
    transform: translateY(-2px);
    background: rgba(124, 92, 255, 0.05);
    border-radius: 12px;
}

.upload-zone:hover {
    border-color: rgba(124, 92, 255, 0.8);
    box-shadow: 0 8px 25px rgba(124, 92, 255, 0.1);
}

.upload-area:hover .upload-icon {
    transform: scale(1.05);
    color: #01d1fb;
}

.upload-area:hover h3 {
    color: #7c5cff;
}

.upload-zone.dragover {
    border-color: #7c5cff;
    background: rgba(124, 92, 255, 0.05);
}

.upload-zone.dragover .upload-icon {
    animation: subtle-pulse 1.2s ease infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Telegram button in mobile header - before hamburger */
.telegram-mobile-btn {
  display: none;
}

@media (max-width: 768px) {
  .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .telegram-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    background: linear-gradient(135deg, #0088cc, #24a1de);
    color: white;
    border: none;
    height: 40px;
    min-width: auto;
    white-space: nowrap;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s ease;
    order: 2;
    margin-left: auto;
    margin-right: 10px;
  }
  
  .telegram-mobile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 136, 204, 0.3);
  }
  
  .telegram-mobile-btn:active {
    transform: translateY(0);
  }
  
  .telegram-mobile-btn svg {
    width: 18px;
    height: 18px;
    fill: white;
    flex-shrink: 0;
  }
  
  .telegram-text {
    font-size: 0.85rem;
    font-weight: 500;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
  .telegram-mobile-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
    height: 36px;
    margin-right: 8px;
    gap: 4px;
  }
  
  .telegram-mobile-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .telegram-text {
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .telegram-text {
    display: none;
  }
  
  .telegram-mobile-btn {
    width: 40px;
    padding: 6px;
    justify-content: center;
  }
  
  .telegram-mobile-btn svg {
    margin-right: 0;
  }
}

/* Мобильная адаптация для toast */
@media (max-width: 768px) {
  .age-confirmation-toast {
    bottom: 20px;
    padding: 14px 18px;
    min-width: 250px;
    font-size: 13px;
  }
  
  .age-confirmation-toast .toast-icon {
    width: 32px;
    height: 32px;
  }
  
  .age-confirmation-toast .toast-title {
    font-size: 13px;
  }
  
  .age-confirmation-toast .toast-message {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .age-confirmation-toast {
    bottom: 16px;
    padding: 12px 16px;
    min-width: 220px;
    font-size: 12px;
  }
}

/* Исправление положения hero-title */
.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Mobile menu animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav > *.fade-in-up {
  animation: fadeInUp 0.3s ease forwards;
}

/* Header animations */
.header {
  transition: transform 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header.header-hidden {
  transform: translateY(-100%);
}