:root {
  --primary: #6366f1;
  --secondary: #3b82f6;
  --accent: #f59e0b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background: #f8fafc;
  color: #0f172a;
  min-height: 100vh;
}

a {
  text-decoration: none;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.container {
  margin-top: 60px;
  padding: 2rem 5%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(365px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 28px;
  padding: 3rem 2.5rem;
  text-align: center;
  border: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.pricing-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 32px 64px -12px rgba(0,0,0,0.12);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.05), transparent);
  transform: rotate(45deg);
  transition: all 0.6s;
}

.pricing-card:hover::before {
  left: 150%;
}

.plan-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border-radius: 18px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.pricing-card:hover .plan-icon {
  transform: rotate(15deg) scale(1.1);
}

.plan-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.plan-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.plan-name::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.price {
  font-size: 4rem;
  font-weight: 900;
  margin: 2rem 0;
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}

.price::after {
  content: '₽';
  font-size: 1.8rem;
  color: #64748b;
  font-weight: 500;
  align-self: flex-start;
}

.features {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  text-align: left;
}

.features li {
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #64748b;
  border-bottom: 1px solid #f1f5f9;
}

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

.features li svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.buy-button {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  padding: 1.4rem 2.4rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.buy-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.buy-button:hover::after {
  opacity: 1;
}

.buy-button:hover {
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.badge {
  position: absolute;
  top: 20px;
  right: -40px;
  background: var(--accent);
  color: white;
  padding: 0.4rem 2rem;
  transform: rotate(45deg);
  font-size: 0.9rem;
  font-weight: 600;
  width: 160px;
  text-align: center;
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(40px); 
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing-card {
  animation: cardEntrance 0.8s ease forwards;
}

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




.promo-block {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  border-radius: 20px;
  margin: 2rem auto 4rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.2);
  animation: cardEntrance 0.6s ease forwards;
}

.promo-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: rotate(45deg);
  transition: all 0.8s;
}

.promo-block:hover::before {
  left: 150%;
}

.promo-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.promo-icon svg {
  width: 40px;
  height: 40px;
  color: white;
  stroke-width: 1.5;
}

.promo-title {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.promo-text {
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.promo-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 1rem;
  justify-content: center;
}

.promo-input {
  display: none;
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.promo-input::placeholder {
  color: rgba(255,255,255,0.7);
}

.promo-input:focus {
  outline: none;
  border-color: white;
  background: rgba(255,255,255,0.2);
}

.promo-button {
  background: #f59e0b;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.promo-button:hover {
  background: #d97706;
  box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.promo-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}

@media (max-width: 768px) {
  .promo-form {
    flex-direction: column;
  }
    
  .promo-input {
    width: 100%;
  }
    
  .promo-button {
    ustify-content: center;
  }
}










.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

.result-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid #f1f5f9;
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08);
}

.card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-bottom: 1px solid #f1f5f9;
}

.card-content {
  padding: 1.5rem;
  position: relative;
}

.price_product {
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price_product::before {
  content: '₽';
  font-size: 1.2rem;
  color: #64748b;
  margin-right: 2px;
}

.vk-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.9rem;
  background: #0077FF;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.vk-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: rotate(45deg);
  transition: all 0.5s;
}

.vk-button:hover::after {
  left: 150%;
}

.vk-button:hover {
  background: #0066DD;
  box-shadow: 0 4px 12px rgba(0, 119, 255, 0.25);
}

.vk-icon {
  width: 20px;
  height: 20px;
}

/* Анимация загрузки карточек */
@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-card {
  animation: cardEntrance 0.6s ease forwards;
}

@media (max-width: 768px) {
  .header {
    padding: 1rem;
  }

  .days-counter span {
    display: none;
  }

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

  .card-image {
    height: 240px;
  }
}

.watermark {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  color: #e2e8f0;
  font-size: 3rem;
  font-weight: 700;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}



















/*.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3b82f6;
}*/

.steps {
  margin: 0rem 0;margin-bottom: 2rem;
}

.step {
  display: flex;
  gap: 1rem;
  margin-bottom: 0rem;
  padding: 1rem;
  border-radius: 16px;
  transition: all 0.2s;
}

.step:hover {
  background: #f8fafc;
}

.step-icon {
  width: 40px;
  height: 40px;
  background: #e0f2fe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0ea5e9;
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  color: #0f172a;
}

.step-content p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.pay-button {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(45deg, #3b82f6, #6366f1);
  color: white;
  border: none;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: all 0.3s;
}

.pay-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.pay-button svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

@media (max-width: 480px) {  
  .step {
    padding: 1rem 0;
  }
}
