.upgrade-flow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.upgrade-flow h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: #fff;
}

.tier-selection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.tier-card {
  background: rgba(30, 30, 40, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px;
  cursor: pointer;
  transition: all 0.3s;
}

.tier-card:hover {
  border-color: rgba(88, 101, 242, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tier-card.selected {
  border-color: #5865f2;
  background: rgba(88, 101, 242, 0.1);
}

.tier-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #fff;
}

.tier-card .price {
  font-size: 32px;
  font-weight: bold;
  color: #5865f2;
  margin-bottom: 24px;
}

.tier-card ul {
  list-style: none;
  padding: 0;
}

.tier-card li {
  padding: 8px 0;
  color: #aaa;
  font-size: 14px;
}

.domain-selection {
  background: rgba(30, 30, 40, 0.8);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.domain-selection h3 {
  margin-bottom: 24px;
  color: #fff;
}

.domain-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.domain-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
}

.domain-input:focus {
  outline: none;
  border-color: #5865f2;
}

.domain-suffix {
  color: #aaa;
  font-size: 16px;
  font-weight: 600;
}

.domain-input-group button {
  padding: 12px 24px;
  background: #5865f2;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.domain-input-group button:hover {
  background: #4752c4;
}

.domain-input-group button:disabled {
  background: #666;
  cursor: not-allowed;
}

.domain-status {
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
}

.domain-status.available {
  background: rgba(35, 165, 90, 0.1);
  border: 1px solid rgba(35, 165, 90, 0.3);
  color: #23a55a;
}

.domain-status.unavailable {
  background: rgba(237, 66, 69, 0.1);
  border: 1px solid rgba(237, 66, 69, 0.3);
  color: #ed4245;
}

.domain-status ul {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.domain-status li {
  padding: 8px 12px;
  margin: 4px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.domain-status li:hover {
  background: rgba(255, 255, 255, 0.1);
}

.checkout-form {
  background: rgba(30, 30, 40, 0.8);
  border-radius: 12px;
  padding: 32px;
}

.card-element-wrapper {
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  margin-bottom: 24px;
}

.error-message {
  color: #ed4245;
  padding: 12px;
  background: rgba(237, 66, 69, 0.1);
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-submit:disabled {
  background: #666;
  cursor: not-allowed;
  transform: none;
}

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

  .upgrade-flow h1 {
    font-size: 28px;
  }
}
