/* RAMS TARGET GYM - Clean White Cards, Pricing & Workout Plans Stylesheet (GPU Accelerated) */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform, box-shadow;
  contain: content;
}

.card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: var(--border-red);
  box-shadow: var(--shadow-hover);
}

/* Category Filter Tabs */
.plan-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.plan-tab-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--text-secondary);
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: var(--shadow-flat);
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  transform: translateZ(0);
}

.plan-tab-btn:hover,
.plan-tab-btn.active {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
  box-shadow: 0 4px 16px var(--accent-red-glow);
}

.plan-tab-btn:active {
  transform: scale(0.97);
}

/* Membership Pricing Cards Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.6rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.6rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-light);
}

.pricing-card.popular {
  border: 2px solid var(--accent-red);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.12);
}

.pricing-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--accent-red);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
}

.save-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-top: 0.4rem;
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.2rem;
}

.pricing-plan-title {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.pricing-price-container {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.original-price {
  font-size: 1.15rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 600;
}

.pricing-price {
  font-family: 'Oswald', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-weight: 600;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-feature-item svg {
  width: 17px;
  height: 17px;
  color: var(--accent-red);
  flex-shrink: 0;
}

/* Workout Schedule Inner Card Details */
.workout-focus-tag {
  display: inline-block;
  background: var(--accent-red-muted);
  color: var(--accent-red);
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  border: 1px solid var(--border-red);
  margin-bottom: 1rem;
}

.exercise-item {
  contain: content;
}
