/* ВАРИАНТ 3: БАНКОВСКИЙ КАРТОЧНЫЙ ДИЗАЙН */

.homepage-cards {
  padding: 24px 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  min-height: calc(100vh - 140px);
}

/* ЗАГОЛОВОК */
.cards-header {
  text-align: center;
  margin-bottom: 32px;
}

.cards-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cards-subtitle {
  font-size: 16px;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

/* ОСНОВНЫЕ КАРТОЧКИ */
.main-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.main-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.main-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* ФОНЫ КАРТОЧЕК */
.card-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  overflow: hidden;
}

.premium-main .card-background {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
}

.business-bg {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
}

.card-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.main-card:hover .card-shine {
  left: 100%;
}

/* ЗАГОЛОВОК КАРТОЧКИ */
.card-header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.card-logo {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1px;
}

.card-status {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.business-status {
  background: rgba(255, 255, 255, 0.25);
}

/* КОНТЕНТ КАРТОЧКИ */
.card-content-main {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

/* СТЕК SIM-КАРТ */
.sim-stack {
  position: relative;
  width: 60px;
  height: 40px;
  flex-shrink: 0;
}

.sim-card-stack {
  position: absolute;
  width: 48px;
  height: 30px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.sim-1 {
  top: 0;
  left: 0;
  z-index: 3;
}

.sim-2 {
  top: 4px;
  left: 4px;
  z-index: 2;
  opacity: 0.8;
}

.sim-3 {
  top: 8px;
  left: 8px;
  z-index: 1;
  opacity: 0.6;
}

.main-card:hover .sim-1 {
  transform: translateY(-2px);
}

.main-card:hover .sim-2 {
  transform: translate(-2px, 2px);
}

.main-card:hover .sim-3 {
  transform: translate(-4px, 4px);
}

.sim-inner {
  padding: 6px;
  height: 100%;
  display: flex;
  align-items: flex-start;
}

.sim-chip-main {
  width: 12px;
  height: 10px;
  background: #d4d4d8;
  border-radius: 2px;
  border: 1px solid #a1a1aa;
}

/* ЛОГОТИПЫ ПЛАТФОРМ */
.business-logos {
  position: relative;
  width: 80px;
  height: 60px;
  flex-shrink: 0;
}

.platform-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.fb-logo-main {
  background: #1877f2;
  top: 0;
  left: 0;
  z-index: 2;
}

.google-logo-main {
  background: #4285f4;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.logo-letter {
  font-size: 18px;
  font-weight: bold;
  color: white;
  font-family: Arial, sans-serif;
}

.connection-line {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  z-index: 1;
}

.main-card:hover .fb-logo-main {
  transform: translateY(-4px) rotate(-5deg);
}

.main-card:hover .google-logo-main {
  transform: translateY(4px) rotate(5deg);
}

/* ИНФОРМАЦИЯ КАРТОЧКИ */
.card-info-main {
  flex: 1;
}

.card-name-main {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-tagline-main {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.card-features-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-main {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ФУТЕР КАРТОЧКИ */
.card-footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-label-main {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.price-amount-main {
  font-size: 28px;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-action-main {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.card-action-main:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(4px);
}

.action-text-main {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.action-arrow-main {
  font-size: 16px;
  color: white;
  transition: transform 0.2s ease;
}

.card-action-main:hover .action-arrow-main {
  transform: translateX(4px);
}

/* БЫСТРЫЕ ФАКТЫ */
.quick-facts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}

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

.fact-number {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.fact-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.fact-divider {
  width: 1px;
  height: 32px;
  background: #e2e8f0;
}

/* СКРЫВАЕМ ВАРИАНТ 3 */
.homepage-cards {
  display: none !important;
}

/* АДАПТИВНОСТЬ */
@media (min-width: 768px) {
  .homepage-cards {
    padding: 40px 24px;
  }
  
  .main-cards {
    max-width: 600px;
    margin: 0 auto 32px auto;
  }
  
  .quick-facts {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .cards-title {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .homepage-cards {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 32px;
  }
}
